diff options
author | Fire_Head <Fire-Head@users.noreply.github.com> | 2020-04-19 22:01:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 22:01:54 +0200 |
commit | eb4f06114de8578804caf2192e975ae72265f503 (patch) | |
tree | 29936b11d5d37ff0c3f4b5525fe8842668f81730 /src/core/Frontend.cpp | |
parent | Merge pull request #474 from Nick007J/master (diff) | |
parent | MenuScreens.h fix (diff) | |
download | re3-eb4f06114de8578804caf2192e975ae72265f503.tar re3-eb4f06114de8578804caf2192e975ae72265f503.tar.gz re3-eb4f06114de8578804caf2192e975ae72265f503.tar.bz2 re3-eb4f06114de8578804caf2192e975ae72265f503.tar.lz re3-eb4f06114de8578804caf2192e975ae72265f503.tar.xz re3-eb4f06114de8578804caf2192e975ae72265f503.tar.zst re3-eb4f06114de8578804caf2192e975ae72265f503.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 6fe06d96..6bfde701 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; @@ -4254,6 +4260,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; @@ -5550,6 +5562,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); |