Minor enhancements for Kurdish language

Make Kurdish be RTL
Command line support for Kurdish

Close #4206
This commit is contained in:
SinghRajenM 2018-02-20 20:41:18 +05:30 committed by Don HO
parent 55f061ebb9
commit bf9416d17f
3 changed files with 7 additions and 5 deletions

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="كوردی" filename="kurdish.xml" version="7.5"> <Native-Langue name="كوردی" RTL="yes" filename="kurdish.xml" version="7.5">
<Menu> <Menu>
<Main> <Main>
<!-- Main Menu Entries --> <!-- Main Menu Entries -->
@ -547,7 +547,7 @@
<Item id="23003" name="Line comment position"/> <Item id="23003" name="Line comment position"/>
<Item id="23004" name="Allow anywhere"/> <Item id="23004" name="Allow anywhere"/>
<Item id="23005" name="Force at beginning of line"/> <Item id="23005" name="Force at beginning of line"/>
<Item id="23006" name="Allow preceeding whitespace"/> <Item id="23006" name="Allow preceding whitespace"/>
<Item id="23001" name="Allow folding of comments"/> <Item id="23001" name="Allow folding of comments"/>
<Item id="23326" name="Styler"/> <Item id="23326" name="Styler"/>
<Item id="23323" name="Open"/> <Item id="23323" name="Open"/>
@ -642,7 +642,7 @@
<Item id="6120" name="Vertical"/> <Item id="6120" name="Vertical"/>
<Item id="6121" name="Exit on close the last tab"/> <Item id="6121" name="Exit on close the last tab"/>
<Item id="6122" name="Hide (use Alt or F10 key to toggle)"/> <Item id="6122" name="Hide menu bar (use Alt or F10 key to toggle)"/>
<Item id="6123" name="Localization"/> <Item id="6123" name="Localization"/>
<Item id="6125" name="Document List Panel"/> <Item id="6125" name="Document List Panel"/>
@ -823,7 +823,7 @@
</MultiInstance> </MultiInstance>
<Delimiter title="Delimiter"> <Delimiter title="Delimiter">
<Item id="6251" name="Delimiter selection settings (Ctrl + Mouse double click)"/> <Item id="6251" name="Delimiter selection settings (Ctrl+Mouse double click)"/>
<Item id="6252" name="Open"/> <Item id="6252" name="Open"/>
<Item id="6255" name="Close"/> <Item id="6255" name="Close"/>
<Item id="6256" name="Allow on several lines"/> <Item id="6256" name="Allow on several lines"/>

View File

@ -3693,6 +3693,8 @@ generic_string NppParameters::getLocPathFromStr(const generic_string & localizat
return TEXT("kazakh.xml"); return TEXT("kazakh.xml");
if (localizationCode == TEXT("ko") || localizationCode == TEXT("ko-kp") || localizationCode == TEXT("ko-kr")) if (localizationCode == TEXT("ko") || localizationCode == TEXT("ko-kp") || localizationCode == TEXT("ko-kr"))
return TEXT("korean.xml"); return TEXT("korean.xml");
if (localizationCode == TEXT("ku"))
return TEXT("kurdish.xml");
if (localizationCode == TEXT("ky")) if (localizationCode == TEXT("ky"))
return TEXT("kyrgyz.xml"); return TEXT("kyrgyz.xml");
if (localizationCode == TEXT("lv")) if (localizationCode == TEXT("lv"))

View File

@ -193,7 +193,7 @@ BEGIN
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,188,14,131,8 "Button",BS_AUTOCHECKBOX | WS_TABSTOP,188,14,131,8
CONTROL "Allow anywhere",IDC_ALLOW_ANYWHERE,"Button",BS_AUTORADIOBUTTON | WS_GROUP,33,22,121,8 CONTROL "Allow anywhere",IDC_ALLOW_ANYWHERE,"Button",BS_AUTORADIOBUTTON | WS_GROUP,33,22,121,8
CONTROL "Force at beginning of line",IDC_FORCE_AT_BOL,"Button",BS_AUTORADIOBUTTON,33,34,121,8 CONTROL "Force at beginning of line",IDC_FORCE_AT_BOL,"Button",BS_AUTORADIOBUTTON,33,34,121,8
CONTROL "Allow preceeding whitespace",IDC_ALLOW_WHITESPACE, CONTROL "Allow preceding whitespace",IDC_ALLOW_WHITESPACE,
"Button",BS_AUTORADIOBUTTON,33,46,121,8 "Button",BS_AUTORADIOBUTTON,33,46,121,8
EDITTEXT IDC_COMMENTLINE_OPEN_EDIT,85,105,138,12,ES_MULTILINE | WS_VSCROLL EDITTEXT IDC_COMMENTLINE_OPEN_EDIT,85,105,138,12,ES_MULTILINE | WS_VSCROLL
EDITTEXT IDC_COMMENTLINE_CONTINUE_EDIT,85,124,138,12,ES_MULTILINE | WS_VSCROLL EDITTEXT IDC_COMMENTLINE_CONTINUE_EDIT,85,124,138,12,ES_MULTILINE | WS_VSCROLL