Added Unicode support, Romanian translation
This commit is contained in:
parent
1ccfffff07
commit
955c2a8fd9
@ -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;
|
||||
|
@ -31,18 +31,18 @@
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Distribute|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseOfMfc>false</UseOfMfc>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
|
BIN
src/Config/ui.rc
BIN
src/Config/ui.rc
Binary file not shown.
Loading…
Reference in New Issue
Block a user