Flow.Launcher/Plugins
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
..
Flow.Launcher.Plugin.BrowserBookmark Fix translations 2025-07-20 12:53:14 +08:00
Flow.Launcher.Plugin.Calculator Smart thousands and decimals 2025-07-22 23:48:11 +01:00
Flow.Launcher.Plugin.Explorer Dialog Jump - Quickly navigate the Open/Save As dialog window (#1018) 2025-07-20 21:11:09 +10:00
Flow.Launcher.Plugin.PluginIndicator Merge remote-tracking branch 'origin/dev' into net9 2025-07-15 15:52:34 -07:00
Flow.Launcher.Plugin.PluginsManager Merge remote-tracking branch 'origin/dev' into net9 2025-07-15 15:52:34 -07:00
Flow.Launcher.Plugin.ProcessKiller Merge remote-tracking branch 'origin/dev' into net9 2025-07-15 15:52:34 -07:00
Flow.Launcher.Plugin.Program Fix build issue 2025-07-20 12:57:56 +08:00
Flow.Launcher.Plugin.Shell Fix translations 2025-07-20 12:52:39 +08:00
Flow.Launcher.Plugin.Sys Update translations 2025-07-20 11:29:15 +08:00
Flow.Launcher.Plugin.Url Add translations & Use ShowMsgError 2025-07-20 12:28:55 +08:00
Flow.Launcher.Plugin.WebSearch Merge remote-tracking branch 'origin/dev' into net9 2025-07-15 15:52:34 -07:00
Flow.Launcher.Plugin.WindowsSettings Merge remote-tracking branch 'origin/dev' into net9 2025-07-15 15:52:34 -07:00