From b06224875aa9d8979b551d52a782a5edf28d47a1 Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Wed, 20 Feb 2019 13:58:39 +0100 Subject: [PATCH] MUI - Prepare for language ko-KR (Korean) --- language/common_res.rc | 1 + minipath/src/minipath.c | 2 +- np3portableapp/Notepad3Portable/App/AppInfo/installer.ini | 1 + .../Notepad3Portable/App/AppInfo/installer_template.ini | 2 +- np3portableapp/build_np3portableapp.cmd | 2 +- src/Notepad3.c | 2 +- 6 files changed, 6 insertions(+), 4 deletions(-) diff --git a/language/common_res.rc b/language/common_res.rc index 80afb7977..dfd61f5f2 100644 --- a/language/common_res.rc +++ b/language/common_res.rc @@ -115,6 +115,7 @@ IDS_MUI_ABOUT_ACKNOWLEDGES "\ \\cf0 maboroshin\\tab https://github.com/maboroshin\\par\ \\cf0 RaffaeleBianc0\\tab https://github.com/RaffaeleBianc0\\par\ \\cf0 rizonesoft\\tab https://github.com/rizonesoft\\par\ +\\cf0 testinsovr\\tab https://github.com/testinsovr\\par\ \\cf0 xsak\\tab https://github.com/xsak\\par\ \\cf0 zufuliu\\tab https://github.com/zufuliu\\par\ \\cf0 \\par\ diff --git a/minipath/src/minipath.c b/minipath/src/minipath.c index 4a554dc93..123cfb666 100644 --- a/minipath/src/minipath.c +++ b/minipath/src/minipath.c @@ -161,7 +161,7 @@ HMODULE g_hLngResContainer = NULL; WCHAR g_tchPrefLngLocName[LOCALE_NAME_MAX_LENGTH + 1]; LANGID g_iPrefLANGID = MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US); // 'en-US' internal default -static WCHAR* const g_tchAvailableLanguages = L"af-ZA be-BY de-DE en-GB es-ES fr-FR hu-HU it-IT ja-JP nl-NL pt-BR ru-RU zh-CN"; +static WCHAR* const g_tchAvailableLanguages = L"af-ZA be-BY de-DE en-GB es-ES fr-FR hu-HU it-IT ja-JP ko-KR nl-NL pt-BR ru-RU zh-CN"; //============================================================================= diff --git a/np3portableapp/Notepad3Portable/App/AppInfo/installer.ini b/np3portableapp/Notepad3Portable/App/AppInfo/installer.ini index a99dab426..3044017c0 100644 --- a/np3portableapp/Notepad3Portable/App/AppInfo/installer.ini +++ b/np3portableapp/Notepad3Portable/App/AppInfo/installer.ini @@ -19,6 +19,7 @@ GERMAN=true HUNGARIAN=true ITALIAN=true JAPANESE=true +KOREAN=true PORTUGUESEBR=true RUSSIAN=true SIMPCHINESE=true diff --git a/np3portableapp/Notepad3Portable/App/AppInfo/installer_template.ini b/np3portableapp/Notepad3Portable/App/AppInfo/installer_template.ini index 7102b5662..cc0ba6d71 100644 --- a/np3portableapp/Notepad3Portable/App/AppInfo/installer_template.ini +++ b/np3portableapp/Notepad3Portable/App/AppInfo/installer_template.ini @@ -103,7 +103,7 @@ HUNGARIAN=true ITALIAN=true JAPANESE=true ;KHMER=true -;KOREAN=true +KOREAN=true ;KURDISH=true ;LATVIAN=true ;LITHUANIAN=true diff --git a/np3portableapp/build_np3portableapp.cmd b/np3portableapp/build_np3portableapp.cmd index d48f79723..430c61038 100644 --- a/np3portableapp/build_np3portableapp.cmd +++ b/np3portableapp/build_np3portableapp.cmd @@ -28,7 +28,7 @@ setlocal enableextensions :: ==================================================================================================================== -set NP3_LANGUAGE_SET=af-ZA be-BY de-DE en-GB es-ES fr-FR hu-HU it-IT ja-JP nl-NL pt-BR ru-RU zh-CN +set NP3_LANGUAGE_SET=af-ZA be-BY de-DE en-GB es-ES fr-FR hu-HU it-IT ja-JP ko-KR nl-NL pt-BR ru-RU zh-CN :: ==================================================================================================================== diff --git a/src/Notepad3.c b/src/Notepad3.c index 6490b4e91..7ed0ae575 100644 --- a/src/Notepad3.c +++ b/src/Notepad3.c @@ -85,7 +85,7 @@ static WCHAR s_wchIniFile2[MAX_PATH + 1] = { L'\0' }; static WCHAR s_wchTmpFilePath[MAX_PATH + 1] = { L'\0' }; // 'en-US' internal default -static WCHAR* const s_tchAvailableLanguages = L"af-ZA be-BY de-DE en-GB es-ES fr-FR hu-HU it-IT ja-JP nl-NL pt-BR ru-RU zh-CN"; +static WCHAR* const s_tchAvailableLanguages = L"af-ZA be-BY de-DE en-GB es-ES fr-FR hu-HU it-IT ja-JP ko-KR nl-NL pt-BR ru-RU zh-CN"; static int s_iSettingsVersion = CFG_VER_CURRENT; static bool s_bEnableSaveSettings = true;