Commit Graph

9 Commits

Author SHA1 Message Date
Jojo-1000 e2e8adf02f Merge branch 'master' into fix-force-locale 2024-05-12 00:01:42 +02:00
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
Jojo-1000 708715e705 Fix force-locale option for CLI and GUI.
- Localization culture is set from multiple threads on the server, so use current local context for every new call instead of global context
- Change locale before executing help commands if flag is present
- When force-locale is set, also change locale for log messages

Closes #4176
2023-06-23 13:30:46 +02:00
Kenneth Hsu 26c91587ed Remove unused Localization helper classes. 2020-04-05 15:06:03 -07:00
Kenneth Hsu f12858e6a5 Mark fields that shouldn't be reassigned as readonly.
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
agrajaghh 08cdcf55b4 set current culture to ParseRequestCulture() 2016-10-05 17:43:42 +02:00
Kenneth Skovhede 07345f6250 Implemented PO file parsing in Localizations 2016-09-27 20:44:19 +02:00
Kenneth Skovhede 8d13e698eb Updated copyright notices 2015-01-20 21:44:52 +01:00
Kenneth Skovhede a30b6e3671 Implemented a scaffold version of a localization service so we can plug in the right one once we have decided which one to use. 2014-06-13 17:34:53 +02:00