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
Jack Ye
1da7e1ef35
Merge pull request #3857 from Flow-Launcher/dialog_jump_glyph
...
Add glyph for dialog jump hotkey card item
2025-07-22 19:49:20 +08:00
Jack251970
ea7833efe4
Add glyph for dialog jump hotkey card item
2025-07-22 19:15:54 +08:00
Jack Ye
b6e2740746
Merge pull request #3851 from Flow-Launcher/url_exception
...
Fix uri exception in Report window
2025-07-21 23:26:02 +08:00
Jack Ye
2b4010720a
Merge pull request #3848 from Flow-Launcher/sys_plugin_improvement
...
Improve Sys plugin
2025-07-21 19:50:41 +08:00
Jeremy Wu
d8740768c7
wording
2025-07-21 21:33:57 +10:00
Jeremy Wu
c02ef0e76e
Merge pull request #3850 from Flow-Launcher/fast_load_language
...
Initialize language before portable clean up and plugin initialization
2025-07-21 12:20:13 +10:00
VictoriousRaptor
6044fb4ce1
Merge pull request #3852 from Flow-Launcher/VictoriousRaptor-patch-1
...
Fix typo
2025-07-21 09:42:04 +08:00
VictoriousRaptor
df0f8e01b9
Fix typo
2025-07-21 08:58:12 +08:00
Jack Ye
b639960b8c
Merge branch 'dev' into sys_plugin_improvement
2025-07-20 19:53:48 +08:00
Jack Ye
545d12c57d
Merge branch 'dev' into fast_load_language
2025-07-20 19:53:29 +08:00
Jack251970
b7096ddc32
Fix uri exception in Report window
2025-07-20 19:22:14 +08:00
Kevin Zhang
4f269d3fa9
Dialog Jump - Quickly navigate the Open/Save As dialog window ( #1018 )
2025-07-20 21:11:09 +10:00
Jack251970
fea899d09a
No need to get lower for language code
2025-07-20 17:37:12 +08:00
Jack251970
f77f14b0ee
Improve code quality
2025-07-20 17:35:07 +08:00
Jack251970
ac7da2d2d6
Do not check if the language directory contains default language file
2025-07-20 17:26:14 +08:00
Jack251970
5e8acf7d74
Use OrdinalIgnoreCase
2025-07-20 15:29:27 +08:00
Jack251970
634bdc5bd6
Do not check Flow Launcher default language file since it is binary embedded
2025-07-20 15:26:07 +08:00
Jack251970
2ee53dfbf7
Initialize language before portable clean up since it needs translations
2025-07-20 15:20:18 +08:00
Jeremy Wu
ff2d5e89f9
Merge pull request #3849 from Flow-Launcher/translations
...
Add Translations for All Messages and Message Boxes
2025-07-20 15:12:01 +10:00
Jack251970
d71d3a5094
Fix build issue
2025-07-20 12:57:56 +08:00
Jack Ye
e931f3ae41
Fix translations
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-20 12:57:04 +08:00
Jack251970
1c76114bb0
Fix translations
2025-07-20 12:53:14 +08:00
Jack Ye
d7e09abde3
Fix translations
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-20 12:52:39 +08:00
Jack251970
ba0a113cc9
Add translations & Use ShowMsgError
2025-07-20 12:28:55 +08:00
Jack251970
aed134f589
Add translations
2025-07-20 12:15:48 +08:00
Jack251970
06b3219dcb
Add translations
2025-07-20 12:07:19 +08:00
Jack251970
85ffd6024b
Add translations
2025-07-20 12:07:15 +08:00
Jack251970
0682e9bed1
Improve code quality for public api
2025-07-20 11:38:44 +08:00
Jack251970
b9418f1272
Add translations
2025-07-20 11:33:12 +08:00
Jack Ye
4652392c71
Update translations
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-20 11:29:15 +08:00
Jack251970
b6ecfdcf63
Remove project reference in Sys plugin to Flow.Launcher.Infrastructure
2025-07-20 09:58:30 +08:00
Jack251970
96e6882ec1
Improve string resource
2025-07-20 09:50:07 +08:00
Jack251970
365dd5ee17
Use translation for constant strings
2025-07-20 09:42:32 +08:00
Jack251970
9f63291fda
Improve setting dialog command
2025-07-20 09:35:29 +08:00
Jack Ye
d3824f274d
Merge pull request #3332 from Flow-Launcher/dependabot/nuget/System.Data.OleDb-9.0.3
...
Bump System.Data.OleDb from 8.0.1 to 9.0.3
2025-07-19 20:04:28 +08:00
Jack Ye
48822fffa7
Merge branch 'dev' into dependabot/nuget/System.Data.OleDb-9.0.3
2025-07-19 19:34:19 +08:00
Jeremy Wu
ff7274fe3c
Merge pull request #3286 from Flow-Launcher/net9
...
update to .net 9
2025-07-19 21:32:47 +10:00
Jeremy Wu
7e68d9a49b
Merge pull request #3843 from Flow-Launcher/plugin_update_dialog
...
Add Plugin Update Dialog
2025-07-19 21:30:38 +10:00
Jeremy
0e4c3208be
split readme changes out
2025-07-19 21:17:33 +10:00
Jack251970
50377388dd
Remove duplicated nuget packages
2025-07-19 16:19:24 +08:00
Jeremy
56128a12a8
update readme
2025-07-19 18:08:42 +10:00
Jack251970
c4090bbfe1
Use ScrollViewer for max height
2025-07-18 15:29:52 +08:00
Jack251970
f562e159e8
Add update dialog
2025-07-18 15:26:07 +08:00
Jack251970
6c2f457e0a
Fix update button text
2025-07-18 14:32:15 +08:00
Jack251970
5f2dd1a6a2
Change plugin update check function
2025-07-18 14:22:05 +08:00
Jack Ye
9b8c1c42c9
Merge branch 'dev' into net9
2025-07-18 09:50:02 +08:00
Jack Ye
d400cda33b
Merge pull request #3841 from Flow-Launcher/dependabot/github_actions/check-spelling/check-spelling-0.0.25
...
Bump check-spelling/check-spelling from 0.0.24 to 0.0.25
2025-07-18 09:49:52 +08:00
Jack251970
d59ed3248e
Remove unused pubxml file
2025-07-18 09:45:16 +08:00
Jack251970
d5813ef3fc
Update default plugin and dotnet workflows to use 9
2025-07-18 09:42:27 +08:00