diff --git a/src/Config/MainDialog.cpp b/src/Config/MainDialog.cpp index 9e54319f..e8bbcb14 100644 --- a/src/Config/MainDialog.cpp +++ b/src/Config/MainDialog.cpp @@ -229,10 +229,66 @@ void CMainDialog::InitDefaultConfig() auto lang = PRIMARYLANGID(LANGIDFROMLCID(GetUserDefaultLCID())); switch (lang) { + case LANG_CZECH: + m_stConfig.language = kLanguageCzech; + break; + + case LANG_DANISH: + m_stConfig.language = kLanguageDanish; + break; + + case LANG_DUTCH: + m_stConfig.language = kLanguageDutch; + break; + + case LANG_ENGLISH: + m_stConfig.language = kLanguageEnglish; + break; + + case LANG_FRENCH: + m_stConfig.language = kLanguageFrench; + break; + case LANG_GERMAN: m_stConfig.language = kLanguageGerman; break; + case LANG_GREEK: + m_stConfig.language = kLanguageGreek; + break; + + case LANG_HUNGARIAN: + m_stConfig.language = kLanguageHungarian; + break; + + case LANG_ITALIAN: + m_stConfig.language = kLanguageItalian; + break; + + case LANG_POLISH: + m_stConfig.language = kLanguagePolish; + break; + + case LANG_PORTUGUESE: + m_stConfig.language = kLanguagePortuguese; + break; + + case LANG_ROMANIAN: + m_stConfig.language = kLanguageRomanian; + break; + + case LANG_RUSSIAN: + m_stConfig.language = kLanguageRussian; + break; + + case LANG_SPANISH: + m_stConfig.language = kLanguageSpanish; + break; + + case LANG_TURKISH: + m_stConfig.language = kLanguageTurkish; + break; + default: m_stConfig.language = kLanguageEnglish; break; diff --git a/src/Config/Metin2Config.vcxproj b/src/Config/Metin2Config.vcxproj index 9c58713e..a889feb4 100644 --- a/src/Config/Metin2Config.vcxproj +++ b/src/Config/Metin2Config.vcxproj @@ -31,18 +31,18 @@ Application v143 false - MultiByte + Unicode Application v143 false - MultiByte + Unicode Application false - MultiByte + Unicode v143 diff --git a/src/Config/ui.rc b/src/Config/ui.rc index a08cdd90..7b44bf03 100644 Binary files a/src/Config/ui.rc and b/src/Config/ui.rc differ