Add localization for Length label in the Customize Maximum Length popup

Fix #12421, close #12429
This commit is contained in:
Arkadiusz Michalski 2022-10-31 04:11:27 +01:00 committed by Don Ho
parent bac903208c
commit bc1487881a
3 changed files with 4 additions and 1 deletions

View File

@ -1560,6 +1560,7 @@ Find in all files but exclude all folders log or logs recursively:
<splitter-rotate-left value="Rotate to left"/>
<splitter-rotate-right value="Rotate to right"/>
<recent-file-history-maxfile value="Max File: "/>
<recent-file-history-customlength value="Length: "/>
<language-tabsize value="Tab Size: "/>
<userdefined-title-new value="Create New Language..."/>
<userdefined-title-save value="Save Current Language Name As..."/>

View File

@ -1397,6 +1397,7 @@ Find in all files except exe, obj &amp;&amp; log:
<splitter-rotate-left value="Rotate to left"/>
<splitter-rotate-right value="Rotate to right"/>
<recent-file-history-maxfile value="Max File: "/>
<recent-file-history-customlength value="Length: "/>
<language-tabsize value="Tab Size: "/>
<userdefined-title-new value="Create New Language..."/>
<userdefined-title-save value="Save Current Language Name As..."/>

View File

@ -2590,8 +2590,9 @@ intptr_t CALLBACK RecentFilesHistorySubDlg::run_dlgProc(UINT message, WPARAM wPa
case IDC_CUSTOMIZELENGTHVAL_STATIC:
{
generic_string staticText = pNativeSpeaker->getLocalizedStrFromID("recent-file-history-customlength", TEXT("Length: "));
ValueDlg customLengthDlg;
customLengthDlg.init(NULL, _hSelf, nppParam.getRecentFileCustomLength(), TEXT("Length: "));
customLengthDlg.init(NULL, _hSelf, nppParam.getRecentFileCustomLength(), staticText.c_str());
customLengthDlg.setNBNumber(3);
POINT p;