Update Englsh, French and Taiwanese Mandarin localization

For new feature "Multi-line edge".

Close #8107
This commit is contained in:
Don HO 2020-04-13 18:15:44 +02:00
parent cc2c9b7740
commit 5483ad13d0
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E
4 changed files with 12 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<NotepadPlus>
<Native-Langue name="English" filename="english.xml" version="7.8.3">
<Native-Langue name="English" filename="english.xml" version="7.8.6">
<Menu>
<Main>
<!-- Main Menu Entries -->
@ -752,6 +752,7 @@
<Item id="6211" name="Vertical Edge Settings"/>
<Item id="6212" name="Line mode"/>
<Item id="6213" name="Background mode"/>
<Item id="6237" name="Multi-line mode"/>
<Item id="6214" name="Enable current line highlighting"/>
<Item id="6215" name="Enable smooth font"/>
<Item id="6231" name="Border Width"/>
@ -1266,6 +1267,8 @@ Find in all files except exe, obj &amp;&amp; log:
<summary-nbsel1 value=" selected characters ("/>
<summary-nbsel2 value=" bytes) in "/>
<summary-nbrange value=" ranges"/>
<multi-edge-radio-tip value="Add your column marker by indicating its position with a decimal number.
You can define several column markers by using white space to seperate the different numbers."/>
</MiscStrings>
</Native-Langue>
</NotepadPlus>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<NotepadPlus>
<Native-Langue name="Français" filename="french.xml" version="7.8.3">
<Native-Langue name="Français" filename="french.xml" version="7.8.6">
<Menu>
<Main>
<!-- Main Menu Entries -->
@ -727,6 +727,7 @@
<Item id="6211" name="Largeur des lignes"/>
<Item id="6212" name="Afficher un filet vertical"/>
<Item id="6213" name="Colorer larrière-plan"/>
<Item id="6237" name="Multi-colonne marqueur"/>
<Item id="6214" name="Surligner la ligne actuelle"/>
<Item id="6215" name="Activer le lissage de police"/>
<Item id="6216" name="Curseur"/>
@ -1242,6 +1243,8 @@ Rechercher dans tous les fichiers sauf exe, obj &amp;&amp; log:
<summary-nbsel1 value=" caractères sélectionnés ("/>
<summary-nbsel2 value=" octets) dans "/>
<summary-nbrange value=" sélections"/>
<multi-edge-radio-tip value="Ajoutez votre marqueur de colonne en indiquant sa position avec un nombre entier.
Vous pouvez définir plusieurs marqueurs de colonne en utilisant un espace pour séparer les différents nombres."/>
</MiscStrings>
</Native-Langue>
</NotepadPlus>

View File

@ -748,6 +748,7 @@
<Item id="6211" name="邊緣線設定"/>
<Item id="6212" name="垂直線模式"/>
<Item id="6213" name="背景色模式"/>
<Item id="6237" name="多重垂直線模式"/>
<Item id="6214" name="於游標行加上背景顏色"/>
<Item id="6215" name="啟用平滑字體"/>
<Item id="6231" name="邊框寬度"/>
@ -1218,6 +1219,8 @@
<summary-nbsel1 value=" 個選取字元( "/>
<summary-nbsel2 value=" 位元)在 "/>
<summary-nbrange value=" 個選取範圍中"/>
<multi-edge-radio-tip value="如欲添加列標記可以在下面以數字指示其列位置。
使用空格分隔不同數字來定義多個列標記。"/>
</MiscStrings>
</Native-Langue>
</NotepadPlus>

View File

@ -664,7 +664,7 @@ void MarginsDlg::initScintParam()
::EnableWindow(::GetDlgItem(_hSelf, IDC_COLUMNPOS_EDIT), isEnable && isCheckedOrNot(IDC_RADIO_MULTILNMODE));
NativeLangSpeaker *pNativeSpeaker = (NppParameters::getInstance()).getNativeLangSpeaker();
generic_string radioboxTip = pNativeSpeaker->getLocalizedStrFromID("multi-edge-radio-tip", TEXT("Add your column marker by indicating its position with a decimal number.\nYou can define several column markers by using white space to seperate the different positions."));
generic_string radioboxTip = pNativeSpeaker->getLocalizedStrFromID("multi-edge-radio-tip", TEXT("Add your column marker by indicating its position with a decimal number.\nYou can define several column markers by using white space to seperate the different numbers."));
_multiEdgeTip = CreateToolTip(IDC_RADIO_MULTILNMODE, _hSelf, _hInst, const_cast<PTSTR>(radioboxTip.c_str()));
oldFunclstToolbarProc = reinterpret_cast<WNDPROC>(::SetWindowLongPtr(::GetDlgItem(_hSelf, IDC_COLUMNPOS_EDIT), GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(editNumSpaceProc)));