Add new localization file abkhazian.xml

This commit is contained in:
Don HO 2021-02-05 15:53:07 +01:00
parent 821e3edfb7
commit 541b4d1c7a
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E
5 changed files with 1365 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<NotepadPlus> <NotepadPlus>
<Native-Langue name="Français" filename="french.xml" version="7.9.3"> <Native-Langue name="français" filename="french.xml" version="7.9.3">
<Menu> <Menu>
<Main> <Main>
<!-- Main Menu Entries --> <!-- Main Menu Entries -->

View File

@ -17,6 +17,9 @@
SectionGroup "Localization" localization SectionGroup "Localization" localization
SetOverwrite on SetOverwrite on
${MementoUnselectedSection} "Abkhazian" abkhazian
CopyFiles "$PLUGINSDIR\nppLocalization\abkhazian.xml" "$INSTDIR\localization\abkhazian.xml"
${MementoSectionEnd}
${MementoUnselectedSection} "Afrikaans" afrikaans ${MementoUnselectedSection} "Afrikaans" afrikaans
CopyFiles "$PLUGINSDIR\nppLocalization\afrikaans.xml" "$INSTDIR\localization\afrikaans.xml" CopyFiles "$PLUGINSDIR\nppLocalization\afrikaans.xml" "$INSTDIR\localization\afrikaans.xml"
${MementoSectionEnd} ${MementoSectionEnd}
@ -294,6 +297,9 @@ SectionGroup "Localization" localization
SectionGroupEnd SectionGroupEnd
SectionGroup un.localization SectionGroup un.localization
Section un.abkhazian
Delete "$INSTDIR\localization\abkhazian.xml"
SectionEnd
Section un.afrikaans Section un.afrikaans
Delete "$INSTDIR\localization\afrikaans.xml" Delete "$INSTDIR\localization\afrikaans.xml"
SectionEnd SectionEnd

View File

@ -4030,6 +4030,8 @@ generic_string NppParameters::getLocPathFromStr(const generic_string & localizat
return TEXT("samogitian.xml"); return TEXT("samogitian.xml");
if (localizationCode == TEXT("yue")) if (localizationCode == TEXT("yue"))
return TEXT("hongKongCantonese.xml"); return TEXT("hongKongCantonese.xml");
if (localizationCode == TEXT("ab") || localizationCode == TEXT("abk"))
return TEXT("abkhazian.xml");
return generic_string(); return generic_string();
} }

View File

@ -109,5 +109,6 @@ LocalizationSwitcher::LocalizationDefinition localizationDefs[] =
{TEXT("Vèneto"), TEXT("venetian.xml")}, {TEXT("Vèneto"), TEXT("venetian.xml")},
{TEXT("Gaeilge"), TEXT("irish.xml")}, {TEXT("Gaeilge"), TEXT("irish.xml")},
{TEXT("नेपाली"), TEXT("nepali.xml")}, {TEXT("नेपाली"), TEXT("nepali.xml")},
{TEXT("香港繁體"), TEXT("hongKongCantonese.xml")} {TEXT("香港繁體"), TEXT("hongKongCantonese.xml")},
{TEXT("Аԥсуа бызшәа"), TEXT("abkhazian.xml")}
}; };