win32: add korean language resources
This commit is contained in:
parent
bbddf0bc24
commit
55c8021624
|
@ -2241,6 +2241,11 @@ void SetLanguage(int langid)
|
||||||
setLanguage(MAKELCID(MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH), SORT_DEFAULT));
|
setLanguage(MAKELCID(MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH), SORT_DEFAULT));
|
||||||
SetThreadLocale(MAKELCID(MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH), SORT_DEFAULT));
|
SetThreadLocale(MAKELCID(MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH), SORT_DEFAULT));
|
||||||
break;
|
break;
|
||||||
|
case LANGUAGE_KOREAN:
|
||||||
|
currLanguageMenuItem = IDC_LANGKOREAN;
|
||||||
|
setLanguage(MAKELCID(MAKELANGID(LANG_KOREAN, SUBLANG_KOREAN), SORT_DEFAULT));
|
||||||
|
SetThreadLocale(MAKELCID(MAKELANGID(LANG_KOREAN, SUBLANG_KOREAN), SORT_DEFAULT));
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
@ -3968,7 +3973,7 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
||||||
//Updated Checked menu items
|
//Updated Checked menu items
|
||||||
|
|
||||||
//language choices
|
//language choices
|
||||||
for(UINT i = IDC_LANGENGLISH; i < IDC_LANGSPANISH+1; i++)
|
for(UINT i = IDC_LANGENGLISH; i <= IDC_LANGKOREAN; i++)
|
||||||
MainWindow->checkMenu(i, i == currLanguageMenuItem);
|
MainWindow->checkMenu(i, i == currLanguageMenuItem);
|
||||||
|
|
||||||
//emulation menu
|
//emulation menu
|
||||||
|
@ -5357,6 +5362,9 @@ DOKEYDOWN:
|
||||||
case IDC_LANGSPANISH:
|
case IDC_LANGSPANISH:
|
||||||
ChangeLanguage(LANGUAGE_SPANISH);
|
ChangeLanguage(LANGUAGE_SPANISH);
|
||||||
return 0;
|
return 0;
|
||||||
|
case IDC_LANGKOREAN:
|
||||||
|
ChangeLanguage(LANGUAGE_KOREAN);
|
||||||
|
return 0;
|
||||||
|
|
||||||
case IDC_FRAMELIMIT:
|
case IDC_FRAMELIMIT:
|
||||||
FrameLimit ^= 1;
|
FrameLimit ^= 1;
|
||||||
|
|
|
@ -38,6 +38,7 @@ static const int LANGUAGE_CHINESE = 3;
|
||||||
static const int LANGUAGE_ITALIAN = 4;
|
static const int LANGUAGE_ITALIAN = 4;
|
||||||
static const int LANGUAGE_JAPANESE = 5;
|
static const int LANGUAGE_JAPANESE = 5;
|
||||||
static const int LANGUAGE_SPANISH = 6;
|
static const int LANGUAGE_SPANISH = 6;
|
||||||
|
static const int LANGUAGE_KOREAN = 7;
|
||||||
|
|
||||||
extern void Change3DCoreWithFallbackAndSave(int newCore, int fallbackCore=GPU3D_SWRAST);
|
extern void Change3DCoreWithFallbackAndSave(int newCore, int fallbackCore=GPU3D_SWRAST);
|
||||||
|
|
||||||
|
|
|
@ -101,6 +101,7 @@
|
||||||
#define IDC_LANGITALIAN 214
|
#define IDC_LANGITALIAN 214
|
||||||
#define IDC_LANGJAPANESE 215
|
#define IDC_LANGJAPANESE 215
|
||||||
#define IDC_LANGSPANISH 216
|
#define IDC_LANGSPANISH 216
|
||||||
|
#define IDC_LANGKOREAN 217
|
||||||
#define IDM_MGPU 219
|
#define IDM_MGPU 219
|
||||||
#define IDM_SGPU 220
|
#define IDM_SGPU 220
|
||||||
#define IDC_FRAMESKIPAUTO 221
|
#define IDC_FRAMESKIPAUTO 221
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue