Add Nepali localization
This commit is contained in:
parent
66c882a6d5
commit
d05bf63840
1270
PowerEditor/installer/nativeLang/nepali.xml
Normal file
1270
PowerEditor/installer/nativeLang/nepali.xml
Normal file
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…
Reference in New Issue
Block a user