diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-20 00:05:20 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-20 00:05:20 +0200 |
commit | b8c34f6654303870865703476125e333a6830ee9 (patch) | |
tree | f9bdfea5321d5a035a0cd34e70f01128a4ae737e /src/core/Frontend.cpp | |
parent | fixes (diff) | |
parent | Fix CPickups::GenerateNewOne loop (diff) | |
download | re3-b8c34f6654303870865703476125e333a6830ee9.tar re3-b8c34f6654303870865703476125e333a6830ee9.tar.gz re3-b8c34f6654303870865703476125e333a6830ee9.tar.bz2 re3-b8c34f6654303870865703476125e333a6830ee9.tar.lz re3-b8c34f6654303870865703476125e333a6830ee9.tar.xz re3-b8c34f6654303870865703476125e333a6830ee9.tar.zst re3-b8c34f6654303870865703476125e333a6830ee9.zip |
Diffstat (limited to 'src/core/Frontend.cpp')
-rw-r--r-- | src/core/Frontend.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index 0a2903b7..a8a22650 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -2893,6 +2893,9 @@ CMenuManager::InitialiseChangedLanguageSettings() CGame::germanGame = false; #ifdef MORE_LANGUAGES switch (m_PrefsLanguage) { + case LANGUAGE_POLISH: + CFont::ReloadFonts(FONT_LANGSET_POLISH); + break; case LANGUAGE_RUSSIAN: CFont::ReloadFonts(FONT_LANGSET_RUSSIAN); break; @@ -2910,6 +2913,9 @@ CMenuManager::InitialiseChangedLanguageSettings() CGame::germanGame = true; break; #ifdef MORE_LANGUAGES + case LANGUAGE_POLISH: + CGame::polishGame = true; + break; case LANGUAGE_RUSSIAN: CGame::russianGame = true; break; @@ -4264,6 +4270,12 @@ CMenuManager::ProcessButtonPresses(void) SaveSettings(); break; #ifdef MORE_LANGUAGES + case MENUACTION_LANG_PL: + m_PrefsLanguage = LANGUAGE_POLISH; + m_bFrontEnd_ReloadObrTxtGxt = true; + InitialiseChangedLanguageSettings(); + SaveSettings(); + break; case MENUACTION_LANG_RUS: m_PrefsLanguage = LANGUAGE_RUSSIAN; m_bFrontEnd_ReloadObrTxtGxt = true; @@ -5571,6 +5583,7 @@ CMenuManager::ConstructStatLine(int rowIdx) case LANGUAGE_ITALIAN: case LANGUAGE_SPANISH: #ifdef MORE_LANGUAGES + case LANGUAGE_POLISH: case LANGUAGE_RUSSIAN: #endif STAT_LINE("FESTDFM", &CStats::DistanceTravelledOnFoot, true, nil); |