Changes localization file name "chinese.xml" to "taiwaneseMandarin.xml"
Saying Taiwan is part of China is like saying Java is part of JavaScript.
This commit is contained in:
parent
a09c0a17db
commit
bf2cd8e05a
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<NotepadPlus>
|
||||
<Native-Langue name="繁體中文/正體中文" filename="chinese.xml" version="7.8.3">
|
||||
<Native-Langue name="台灣繁體" filename="taiwaneseMandarin.xml" version="7.8.6">
|
||||
<Menu>
|
||||
<Main>
|
||||
<!-- Main Menu Entries -->
|
@ -98,7 +98,7 @@
|
||||
|
||||
LangString langFileName ${LANG_ENGLISH} "english.xml"
|
||||
LangString langFileName ${LANG_FRENCH} "french.xml"
|
||||
LangString langFileName ${LANG_TRADCHINESE} "chinese.xml"
|
||||
LangString langFileName ${LANG_TRADCHINESE} "taiwaneseMandarin.xml"
|
||||
LangString langFileName ${LANG_SIMPCHINESE} "chineseSimplified.xml"
|
||||
LangString langFileName ${LANG_KOREAN} "korean.xml"
|
||||
LangString langFileName ${LANG_JAPANESE} "japanese.xml"
|
||||
|
@ -70,8 +70,8 @@ SectionGroup "Localization" localization
|
||||
${MementoUnselectedSection} "Catalan" catalan
|
||||
CopyFiles "$PLUGINSDIR\nppLocalization\catalan.xml" "$INSTDIR\localization\catalan.xml"
|
||||
${MementoSectionEnd}
|
||||
${MementoUnselectedSection} "Chinese (Traditional)" chineseTraditional
|
||||
CopyFiles "$PLUGINSDIR\nppLocalization\chinese.xml" "$INSTDIR\localization\chinese.xml"
|
||||
${MementoUnselectedSection} "Taiwanese Mandarin" chineseTraditional
|
||||
CopyFiles "$PLUGINSDIR\nppLocalization\taiwaneseMandarin.xml" "$INSTDIR\localization\taiwaneseMandarin.xml"
|
||||
${MementoSectionEnd}
|
||||
${MementoUnselectedSection} "Chinese (Simplified)" chineseSimplified
|
||||
CopyFiles "$PLUGINSDIR\nppLocalization\chineseSimplified.xml" "$INSTDIR\localization\chineseSimplified.xml"
|
||||
@ -342,6 +342,7 @@ SectionGroup un.localization
|
||||
SectionEnd
|
||||
Section un.chineseTraditional
|
||||
Delete "$INSTDIR\localization\chinese.xml"
|
||||
Delete "$INSTDIR\localization\taiwaneseMandarin.xml"
|
||||
SectionEnd
|
||||
Section un.chineseSimplified
|
||||
Delete "$INSTDIR\localization\chineseSimplified.xml"
|
||||
|
@ -3794,7 +3794,7 @@ generic_string NppParameters::getLocPathFromStr(const generic_string & localizat
|
||||
if (localizationCode == TEXT("ca"))
|
||||
return TEXT("catalan.xml");
|
||||
if (localizationCode == TEXT("zh-tw") || localizationCode == TEXT("zh-hk") || localizationCode == TEXT("zh-sg"))
|
||||
return TEXT("chinese.xml");
|
||||
return TEXT("taiwaneseMandarin.xml");
|
||||
if (localizationCode == TEXT("zh") || localizationCode == TEXT("zh-cn"))
|
||||
return TEXT("chineseSimplified.xml");
|
||||
if (localizationCode == TEXT("co") || localizationCode == TEXT("co-fr"))
|
||||
|
@ -31,7 +31,7 @@ LocalizationSwitcher::LocalizationDefinition localizationDefs[] =
|
||||
{TEXT("English"), TEXT("english.xml")},
|
||||
{TEXT("English (customizable)"), TEXT("english_customizable.xml")},
|
||||
{TEXT("Français"), TEXT("french.xml")},
|
||||
{TEXT("中文繁體"), TEXT("chinese.xml")},
|
||||
{TEXT("台灣繁體"), TEXT("taiwaneseMandarin.xml")},
|
||||
{TEXT("中文简体"), TEXT("chineseSimplified.xml")},
|
||||
{TEXT("한국어"), TEXT("korean.xml")},
|
||||
{TEXT("日本語"), TEXT("japanese.xml")},
|
||||
|
Loading…
Reference in New Issue
Block a user