Commit graph

22 commits

Author SHA1 Message Date
John Lewin
3a9833697d Platform providers
- New Provider model
- Remove WindowsFileDialogs project
- Remove PlatformAbstract assembly, use AggContext
- Rename OsInformation to OperatingSystem
2017-08-22 13:42:34 -07:00
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07:00
John Lewin
43933e0d35 Prevent AutoGeneratingTranslationMap on Android 2016-01-11 13:43:22 -08:00
John Lewin
049c95fbe6 Revise TranslationMap
- Switch back to Master.txt for English
 - Use AutoGeneratingTranslationMap in debug builds
 - Drop DEBUG_SHOW_TRANSLATED_STRINGS for clarity
2016-01-09 09:03:42 -08:00
John Lewin
8600a35576 Revise TranslationMap, UserSettings
- Move Master.txt translation file to Translations/en/Translation.txt
 - Threadsafe MatterControlTranslationMap initialization
 - Refactor UserSettings:
     - Threadsafe initialization
     - Concise initialization
     - UseTryGetValue for dictionary lookups
     - Use backing fields
     - Cache frequently accessed Language value as local property
2016-01-05 13:31:45 -08:00
John Lewin
0377269a78 Remove heavy DirectoryExists call from LocalizedString.Get 2016-01-04 18:29:52 -08:00
Gregory Diaz
e3c022c55f Fixed bug: Changing Languages in the Language Options dropdown menu and restarting MatterControl does not result in a language change when MatterControl restarts. 2015-12-29 11:41:34 -08:00
John Lewin
879a2856d3 Extract automation tests to a separate assembly to ensure isolation/clean startup
- Fall back to English if translation data is missing, rather than crashing
 - Dump test name to console when running test harness to troubleshoot hangs
2015-12-13 17:29:01 -08:00
Lars Brubaker
591528ee91 Ran code maid against this code. 2015-04-08 15:20:10 -07:00
John Lewin
2ad81a1e4e Revise "Language Options" -> Restart implementation 2015-01-22 10:53:28 -08:00
Lars Brubaker
5326c2e280 localized strings working again 2015-01-07 10:24:55 -08:00
Lars Brubaker
793300839b Reverted LocalizedString
Updated translation files
2015-01-06 17:08:08 -08:00
John Lewin
59cf8782a3 Remove all remaining ApplicationStaticDataPath dependencies 2014-12-04 12:50:37 -08:00
Kevin Pope
1061560a5d Remove non-required imports. 2014-06-27 11:20:21 -07:00
larsbrubaker
76dfe4ce41 enforce translation folders always lower case. 2014-03-20 17:28:52 -07:00
Kevin Pope
85419d8409 Made localizations use stored language preference. 2014-03-20 15:52:19 -07:00
larsbrubaker
d74e59033a Added a string helper that lets us use an extension method to format strings easier.
Added a string extension method for localize that makes it easier to get localized text
Moved code into these new methods.
Removed some strings from localizing (app names and copy write notice)
2014-03-16 10:23:56 -07:00
larsbrubaker
c6f471c7ca Fixing up the localization file to always maintain the master file when in English
added localized start and end to gcode view
Made the TAZ baud rate correct
Some new localizations
2014-03-15 14:02:43 -07:00
larsbrubaker
fd6d04560b default to English not the testing French. 2014-03-11 15:57:22 -07:00
larsbrubaker
5c0993f83e Changed the interface to translations. 2014-03-11 15:24:47 -07:00
larsbrubaker
5a1484ca86 Made it not save out English translations.
Made it create files and directories as necessary.
2014-03-11 15:10:57 -07:00
larsbrubaker
2def10590e Made the first pass of actually doing the localizations.
There is now a small bit of Spanish localization.
Moved the LocalizedString into MC so that it is clearer that translation files aren't saved.
2014-03-11 15:10:11 -07:00