mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
Use standard locale IDs in common app
This commit is contained in:
parent
1b6447a3ca
commit
b7886c46d7
|
|
@ -9185,13 +9185,13 @@ void CMinecraftApp::getLocale(std::vector<std::wstring> &vecWstrLocales)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DWORD CMinecraftApp::get_eMCLang(WCHAR *pwchLocale)
|
int CMinecraftApp::get_eMCLang(WCHAR *pwchLocale)
|
||||||
{
|
{
|
||||||
return m_eMCLangA[pwchLocale];
|
return m_eMCLangA[pwchLocale];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DWORD CMinecraftApp::get_xcLang(WCHAR *pwchLocale)
|
int CMinecraftApp::get_xcLang(WCHAR *pwchLocale)
|
||||||
{
|
{
|
||||||
return m_xcLangA[pwchLocale];
|
return m_xcLangA[pwchLocale];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -875,8 +875,8 @@ public:
|
||||||
|
|
||||||
void LocaleAndLanguageInit();
|
void LocaleAndLanguageInit();
|
||||||
void getLocale(std::vector<std::wstring> &vecWstrLocales);
|
void getLocale(std::vector<std::wstring> &vecWstrLocales);
|
||||||
DWORD get_eMCLang(WCHAR *pwchLocale);
|
int get_eMCLang(WCHAR *pwchLocale);
|
||||||
DWORD get_xcLang(WCHAR *pwchLocale);
|
int get_xcLang(WCHAR *pwchLocale);
|
||||||
|
|
||||||
void SetTickTMSDLCFiles(bool bVal);
|
void SetTickTMSDLCFiles(bool bVal);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue