a1aee69c5a
the system language: System language returned by Windows for pt_BR is pt_PT, and this language was then used incorrectly to select the dictionary. Now the selected language is stored into PrusaSlicer.ini and if a substitution is to be performed to select locales (not the dictionary) based on the system recommended locales, this substitution is being done in runtime just before switching the locales. Fixes PrusaSlicer 2.3.0 - Language Portuguese (Brazilian) dont work #3901 Also hopefully fixed LANGUAGE environment variable not respected #2970 by calling wxTranslations::Get()->GetBestTranslation() on Unix systems as well, which reads the "LANGUAGE" environment. |
||
---|---|---|
.. | ||
Config | ||
GUI | ||
Utils | ||
CMakeLists.txt | ||
pchheader.cpp | ||
pchheader.hpp |