Commit graph

34 commits

Author SHA1 Message Date
Jack251970
495ace1246 Improve plugin description 2025-09-14 12:39:11 +08:00
dcog989
bd186e7fe1 correct + extend description 2025-09-12 20:02:34 +01:00
dcog989
76f834ff1b PR review changes 2025-07-23 17:56:58 +01:00
dcog989
113baac567 Smart thousands and decimals
## Core Logic

*   **Advanced Number Parsing:** We now process numbers with various decimal and thousand-separator formats (e.g., `1,234.56` and `1.234,56`). We distinguish between separator types based on their position and surrounding digits.
*   **Context-Aware Output Formatting:** We now mirror the output format based on the user's input. If a query includes thousand separators, the result will also have them. The decimal separator in the result will match the one used in the query.

## Code Cleanup

*   **Deleted Unused File:** `NumberTranslator.cs` was unused and therefore removed.
*   **Removed Redundant UI Code:** The `CalculatorSettings_Loaded` event handler in `CalculatorSettings.xaml.cs` (and its XAML registration) was removed. The functionality was already handled automatically by data binding.

## Maintainability

*   **Added Code Documentation:** An XML summary comment was added to the new `NormalizeNumber` method in `Main.cs` to clarify its purpose.

So, the plugin is now much more flexible, and will accept whatever format the user gives it regardless of Windows region settings.
2025-07-22 23:48:11 +01:00
Jeremy Wu
71e975a68c
Update Calculator plugin description (#3781) 2025-06-27 15:58:20 +03:00
Jeremy Wu
2b9529d2f9 set all of plugins' version to default 1.0.0 2025-05-20 09:06:11 +00:00
Jeremy
b9890a9756 bump plugin versions 2025-01-27 16:48:43 +11:00
Jeremy Wu
1bbc104182 version bump plugins 2024-11-05 07:30:53 +00:00
Jeremy Wu
58bf75d5cf
bump plugin versions 2024-10-16 13:37:48 +11:00
Jeremy Wu
f042e7ae11 version bump plugins 2024-08-13 18:27:56 +10:00
VictoriousRaptor
e4621a5c87 Fix calculator typo 2024-05-25 14:35:14 +08:00
VictoriousRaptor
fa2df93dd7 Fix calculator decimal separator bug 2024-05-25 14:10:29 +08:00
Jeremy
cd684be0bf bump version for plugins 2024-02-04 13:57:04 +11:00
Jeremy Wu
ddeca153e9 version bump plugins 2023-06-30 21:55:30 +10:00
Jeremy Wu
7e2a2db4c6 version bump plugins 2023-05-03 06:28:38 +10:00
Jeremy
5dc55b00ef update plugin versions 2023-03-02 17:02:35 +11:00
Jeremy
2c124f7768 bump plugin version from .Net upgrade 2023-02-07 08:19:26 +11:00
Jeremy Wu
b3702be59b version bump plugins 2022-12-27 14:15:51 +09:30
Jeremy
824fe10816 bump plugin versions after .Net 6 upgrade 2022-12-09 07:33:25 +11:00
Jeremy Wu
b902427815 version bump plugins 2022-09-28 19:13:35 +10:00
Jeremy
66f835fb00 calculator plugin version bump 2022-04-24 19:34:43 +10:00
Jeremy
6911cadcf3 version bump plugins 2021-12-19 19:58:31 +11:00
张弘韬
b37f9f338a Version Bumps 2021-05-12 20:04:26 +08:00
solitudechn
d17ec3cb39 Modify the plug-in version number as required 2021-04-28 22:56:41 +08:00
弘韬 张
480887edaf Version Bump 2021-03-20 18:03:11 +08:00
弘韬 张
66eaa0a2cd version bump 2021-02-26 18:12:00 +08:00
Jeremy Wu
be1776fd21 version bump for plugins 2021-01-02 12:47:20 +11:00
Jeremy Wu
341275fbbd version bump for Calculator & Program plugins 2020-11-23 13:30:45 +11:00
Jeremy Wu
1bd0fcedb9 version bump plugins 2020-11-16 06:49:08 +11:00
Jeremy Wu
6af40cbaed version bump plugins
Calculator, Color, ControlPanel, Explorer, PluginIndicator, PluginManagement, ProcessKiller, Shell, Sys, Url, WebSearch
2020-11-13 07:57:39 +11:00
Jeremy Wu
775910f31e plugin Calculator version bump 2020-10-18 21:02:12 +11:00
Jeremy Wu
722d1f0db6 Rename- description strings 2020-04-23 18:23:58 +10:00
Jeremy Wu
acdea86a2d update plugin.json url to point to current repo 2020-04-22 21:29:14 +10:00
Jeremy Wu
3c7f067770 rename all project file name 2020-04-21 21:27:02 +10:00
Renamed from Plugins/Wox.Plugin.Calculator/plugin.json (Browse further)