win32: add korean language resources

This commit is contained in:
zeromus 2011-07-05 07:27:24 +00:00
parent bbddf0bc24
commit 55c8021624
4 changed files with 11 additions and 1 deletions

View File

@ -2241,6 +2241,11 @@ void SetLanguage(int langid)
setLanguage(MAKELCID(MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH), SORT_DEFAULT));
SetThreadLocale(MAKELCID(MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH), SORT_DEFAULT));
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:
break;
@ -3968,7 +3973,7 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
//Updated Checked menu items
//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);
//emulation menu
@ -5357,6 +5362,9 @@ DOKEYDOWN:
case IDC_LANGSPANISH:
ChangeLanguage(LANGUAGE_SPANISH);
return 0;
case IDC_LANGKOREAN:
ChangeLanguage(LANGUAGE_KOREAN);
return 0;
case IDC_FRAMELIMIT:
FrameLimit ^= 1;

View File

@ -38,6 +38,7 @@ static const int LANGUAGE_CHINESE = 3;
static const int LANGUAGE_ITALIAN = 4;
static const int LANGUAGE_JAPANESE = 5;
static const int LANGUAGE_SPANISH = 6;
static const int LANGUAGE_KOREAN = 7;
extern void Change3DCoreWithFallbackAndSave(int newCore, int fallbackCore=GPU3D_SWRAST);

View File

@ -101,6 +101,7 @@
#define IDC_LANGITALIAN 214
#define IDC_LANGJAPANESE 215
#define IDC_LANGSPANISH 216
#define IDC_LANGKOREAN 217
#define IDM_MGPU 219
#define IDM_SGPU 220
#define IDC_FRAMESKIPAUTO 221

Binary file not shown.