From: Chan Chilung Date: Mon, 11 Oct 2021 13:24:21 +0000 (+0800) Subject: [SETUPLIB][INPUT.CPL] Move zh-MO to ChineseTraditionalFonts group (#4010) X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=570cedf176109b7960aa43ea673f402e3f1ba667;ds=sidebyside [SETUPLIB][INPUT.CPL] Move zh-MO to ChineseTraditionalFonts group (#4010) - The use of Traditional Chinese character is far more than Simplified one according to Wikipedia - The code page used on zh-MO is 950, which is Traditional Chinese's one - zh-MO is described as Traditional Chinese here: https://support.microsoft.com/en-us/windows/microsoft-traditional-chinese-ime-ef596ca5-aff7-4272-b34b-0ac7c2631a38#ID0EBBD=Microsoft_ChangJie/Quick --- diff --git a/base/setup/lib/muilanguages.h b/base/setup/lib/muilanguages.h index 503d9c2e33a..36c0b4cd222 100644 --- a/base/setup/lib/muilanguages.h +++ b/base/setup/lib/muilanguages.h @@ -509,7 +509,7 @@ const MUI_LANGUAGE MUILanguageList[] = {L"00001004", L"936", L"936", L"10008", L"Chinese (Singapore)", L"215", ChineseSimplifiedFonts, zhSGLayouts}, #endif #ifdef LANGUAGE_ZH_MO - {L"00001404", L"950", L"950", L"10002", L"Chinese (Macau S.A.R.)", L"151", ChineseSimplifiedFonts, zhMOLayouts}, + {L"00001404", L"950", L"950", L"10002", L"Chinese (Macau S.A.R.)", L"151", ChineseTraditionalFonts, zhMOLayouts}, #endif #ifdef LANGUAGE_HR_HR {L"0000041A", L"1250", L"852", L"10029", L"Croatian", L"108", LatinFonts, hrHRLayouts}, diff --git a/dll/cpl/input/input_list.c b/dll/cpl/input/input_list.c index a4b17361c92..e0a409f5a72 100644 --- a/dll/cpl/input/input_list.c +++ b/dll/cpl/input/input_list.c @@ -79,11 +79,11 @@ InputList_SetFontSubstitutes(LCID dwLocaleId) { case SUBLANG_CHINESE_SIMPLIFIED: case SUBLANG_CHINESE_SINGAPORE: - case SUBLANG_CHINESE_MACAU: pSubstitutes = ChineseSimplifiedFonts; break; case SUBLANG_CHINESE_TRADITIONAL: case SUBLANG_CHINESE_HONGKONG: + case SUBLANG_CHINESE_MACAU: pSubstitutes = ChineseTraditionalFonts; break; default: