Add Nepali localization

pull/8192/head
Don HO 5 years ago
parent 66c882a6d5
commit d05bf63840
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

File diff suppressed because it is too large Load Diff

@ -295,6 +295,9 @@ SectionGroup "Localization" localization
${MementoUnselectedSection} "Venetian" venetian
CopyFiles "$PLUGINSDIR\nppLocalization\venetian.xml" "$INSTDIR\localization\venetian.xml"
${MementoSectionEnd}
${MementoUnselectedSection} "Nepali" nepali
CopyFiles "$PLUGINSDIR\nppLocalization\nepali.xml" "$INSTDIR\localization\nepali.xml"
${MementoSectionEnd}
SectionGroupEnd
SectionGroup un.localization
@ -566,4 +569,7 @@ SectionGroup un.localization
Section un.venetian
Delete "$INSTDIR\localization\venetian.xml"
SectionEnd
Section un.nepali
Delete "$INSTDIR\localization\nepali.xml"
SectionEnd
SectionGroupEnd

@ -3931,6 +3931,8 @@ generic_string NppParameters::getLocPathFromStr(const generic_string & localizat
return TEXT("welsh.xml");
if (localizationCode == TEXT("zu") || localizationCode == TEXT("zu-za"))
return TEXT("zulu.xml");
if (localizationCode == TEXT("ne") || localizationCode == TEXT("nep"))
return TEXT("nepali.xml");
return generic_string();
}

@ -118,5 +118,6 @@ LocalizationSwitcher::LocalizationDefinition localizationDefs[] =
{TEXT("Pig latin"), TEXT("piglatin.xml")},
{TEXT("Zulu"), TEXT("zulu.xml")},
{TEXT("Vèneto"), TEXT("venetian.xml")},
{TEXT("Gaeilge"), TEXT("irish.xml")}
{TEXT("Gaeilge"), TEXT("irish.xml")},
{TEXT("नेपाली"), TEXT("nepali.xml")}
};

Loading…
Cancel
Save