parent
157846c60a
commit
da3a17e912
@ -1197,6 +1197,18 @@ Do you want to launch Notepad++ in Administrator mode?"/>
|
||||
<finder-select-all value="Select all"/>
|
||||
<finder-clear-all value="Clear all"/>
|
||||
<finder-open-all value="Open all"/>
|
||||
<common-ok value="OK"/>
|
||||
<common-cancel value="Cancel"/>
|
||||
<common-name value="Name: "/>
|
||||
<tabrename-title value="Rename Current Tab"/>
|
||||
<tabrename-newname value="New Name: "/>
|
||||
<recent-file-history-maxfile value="Max File: "/>
|
||||
<language-tabsize value="Tab Size: "/>
|
||||
<userdefined-title-new value="Create New Language..."/>
|
||||
<userdefined-title-save value="Save Current Language Name As..."/>
|
||||
<userdefined-title-rename value="Rename Current Language Name"/>
|
||||
<autocomplete-nb-char value="Nb char: "/>
|
||||
<edit-verticaledge-nb-col value="Nb of Column:"/>
|
||||
</MiscStrings>
|
||||
</Native-Langue>
|
||||
</NotepadPlus>
|
||||
|
@ -157,7 +157,7 @@
|
||||
<Item id="42050" name="बाइनरी कंटेंट पेस्ट करें"/>
|
||||
<Item id="42037" name="कॉलम मोड..."/>
|
||||
<Item id="42034" name="कॉलम एडिटर..."/>
|
||||
<Item id="42051" name="करैक्टर पैनल"/>
|
||||
<Item id="42051" name="कैरेक्टर पैनल"/>
|
||||
<Item id="42052" name="क्लिपबोर्ड हिस्ट्री"/>
|
||||
<Item id="42025" name="अभी रिकॉर्ड किया गया मेक्रो (macro)सेव करें"/>
|
||||
<Item id="42026" name="अक्षर की दिशा RTL"/>
|
||||
@ -227,7 +227,7 @@
|
||||
<Item id="43054" name="चिन्ह लगाएं (Mark)..."/>
|
||||
<Item id="44009" name="इसे-डाले (post-it)"/>
|
||||
<Item id="44010" name="सभी फोल्ड करें"/>
|
||||
<Item id="44019" name="सभी कैरक्टर्स दिखायें"/>
|
||||
<Item id="44019" name="सभी कैरेक्टर्स दिखायें"/>
|
||||
<Item id="44020" name="ईन्डेन्ट मार्ग दर्शक दिखायें"/>
|
||||
<Item id="44022" name="वर्ड रैप (Word Wrap)"/>
|
||||
<Item id="44023" name="&बड़ा करें (Ctrl+Mouse Wheel Up)"/>
|
||||
@ -391,8 +391,8 @@
|
||||
|
||||
<FindCharsInRange title="रेंज में अक्षर का पता लगाएं...">
|
||||
<Item id="2" name="बंद करें"/>
|
||||
<Item id="2901" name="Non-ASCII कैरक्टर्स (128-255)"/>
|
||||
<Item id="2902" name="ASCII कैरक्टर्स (0-127)"/>
|
||||
<Item id="2901" name="Non-ASCII कैरेक्टर्स (128-255)"/>
|
||||
<Item id="2902" name="ASCII कैरेक्टर्स (0-127)"/>
|
||||
<Item id="2903" name="मेरी रेंज:"/>
|
||||
<Item id="2906" name="&उपर"/>
|
||||
<Item id="2907" name="&नीचे"/>
|
||||
@ -614,7 +614,7 @@
|
||||
<Item id="23001" name="कमेंट फोल्डिंग allow करें"/>
|
||||
<Item id="23326" name="स्टाइलर"/>
|
||||
<Item id="23323" name="खोलें"/>
|
||||
<Item id="23324" name="करैक्टर जारी रखें"/>
|
||||
<Item id="23324" name="कैरेक्टर जारी रखें"/>
|
||||
<Item id="23325" name="बंद करें"/>
|
||||
<Item id="23301" name="कॉमेंट लाईन"/>
|
||||
<Item id="23124" name="स्टाइलर"/>
|
||||
@ -865,7 +865,7 @@
|
||||
<Item id="6816" name="फंक्शन और शब्द समापन"/>
|
||||
<Item id="6824" name="नंबर्स को इगनोर करें"/>
|
||||
<Item id="6811" name="से (From)"/>
|
||||
<Item id="6813" name="वा करैक्टर"/>
|
||||
<Item id="6813" name="वा कैरेक्टर"/>
|
||||
<Item id="6814" name="वैलिड (वैध) वैल्यू: 1 - 9"/>
|
||||
<Item id="6815" name="इनपुट पर फंक्शन पैरामीटर्स हिंट"/>
|
||||
<Item id="6851" name="ऑटो-इन्सर्ट"/>
|
||||
@ -926,8 +926,8 @@
|
||||
<Item id="6323" name="Notepad++ स्वचालित-अपडेटर सक्रिय करें"/>
|
||||
<Item id="6324" name="डॉकयुमेंट स्वीचर (Ctrl+TAB)"/>
|
||||
<Item id="6331" name="टाइटल बार मे सिर्फ फाईल का नाम दिखायें"/>
|
||||
<Item id="6334" name="करैक्टर एन्डकोडिंग का स्वतः पता लगाएं"/>
|
||||
<Item id="6335" name="ट्रीट बैकस्लैश अस एस्केप करैक्टर फॉर SQL"/>
|
||||
<Item id="6334" name="कैरेक्टर एन्डकोडिंग का स्वतः पता लगाएं"/>
|
||||
<Item id="6335" name="ट्रीट बैकस्लैश अस एस्केप कैरेक्टर फॉर SQL"/>
|
||||
<Item id="6337" name="वर्कस्पेस फाइल ext.:"/>
|
||||
<Item id="6114" name="सक्रिय"/>
|
||||
<Item id="6115" name="स्वचालित इंडेंट"/>
|
||||
@ -1074,7 +1074,7 @@
|
||||
<PanelTitle name="ASCII इंसर्शन पैनल"/>
|
||||
<ColumnVal name="वैल्यू"/>
|
||||
<ColumnHex name="हेक्स"/>
|
||||
<ColumnChar name="करैक्टर"/>
|
||||
<ColumnChar name="कैरेक्टर"/>
|
||||
</AsciiInsertion>
|
||||
<DocumentMap>
|
||||
<PanelTitle name="डॉक्यूमेंट मैप"/>
|
||||
@ -1190,6 +1190,18 @@
|
||||
<finder-select-all value="सब सेलेक्ट करें"/>
|
||||
<finder-clear-all value="सब क्लियर करें"/>
|
||||
<finder-open-all value="सब ओपन करें"/>
|
||||
<common-ok value="ओके"/>
|
||||
<common-cancel value="रद्द करें"/>
|
||||
<common-name value="नाम: "/>
|
||||
<tabrename-title value="वर्तमान टैब का नाम बदलें"/>
|
||||
<tabrename-newname value="नया नाम: "/>
|
||||
<recent-file-history-maxfile value="फाइल सीमा:"/>
|
||||
<language-tabsize value="टैब साइज: "/>
|
||||
<userdefined-title-new value="नई भाषा बनाएं..."/>
|
||||
<userdefined-title-save value="वर्तमान भाषा का नाम करें..."/>
|
||||
<userdefined-title-rename value="वर्तमान भाषा का नाम बदलें"/>
|
||||
<autocomplete-nb-char value="कैरेक्टर संख्या: "/>
|
||||
<edit-verticaledge-nb-col value="कॉलम संख्या:"/>
|
||||
</MiscStrings>
|
||||
</Native-Langue>
|
||||
</NotepadPlus>
|
||||
|
@ -1412,8 +1412,11 @@ bool Notepad_plus::fileRename(BufferID id)
|
||||
// Reserved characters: < > : " / \ | ? *
|
||||
std::wstring reservedChars = TEXT("<>:\"/\\|\?*");
|
||||
|
||||
generic_string title = _nativeLangSpeaker.getLocalizedStrFromID("tabrename-title", TEXT("Rename Current Tab"));
|
||||
generic_string staticName = _nativeLangSpeaker.getLocalizedStrFromID("tabrename-newname", TEXT("New Name: "));
|
||||
|
||||
StringDlg strDlg;
|
||||
strDlg.init(_pPublicInterface->getHinst(), _pPublicInterface->getHSelf(), TEXT("Rename Current Tab"), TEXT("New Name : "), buf->getFileName(), 0, reservedChars.c_str(), true);
|
||||
strDlg.init(_pPublicInterface->getHinst(), _pPublicInterface->getHSelf(), title.c_str(), staticName.c_str(), buf->getFileName(), 0, reservedChars.c_str(), true);
|
||||
|
||||
TCHAR *tabNewName = reinterpret_cast<TCHAR *>(strDlg.doDialog());
|
||||
if (tabNewName)
|
||||
|
@ -948,6 +948,7 @@ void UserDefineDialog::updateDlg()
|
||||
INT_PTR CALLBACK UserDefineDialog::run_dlgProc(UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
NppParameters *pNppParam = NppParameters::getInstance();
|
||||
NativeLangSpeaker * pNativeSpeaker = pNppParam->getNativeLangSpeaker();
|
||||
|
||||
switch (message)
|
||||
{
|
||||
@ -1176,8 +1177,11 @@ INT_PTR CALLBACK UserDefineDialog::run_dlgProc(UINT message, WPARAM wParam, LPAR
|
||||
|
||||
::SendDlgItemMessage(_hSelf, IDC_LANGNAME_COMBO, CB_GETLBTEXT, i, reinterpret_cast<LPARAM>(langName));
|
||||
|
||||
generic_string strName = pNativeSpeaker->getLocalizedStrFromID("common-name", TEXT("Name: "));
|
||||
generic_string strTitle = pNativeSpeaker->getLocalizedStrFromID("userdefined-title-rename", TEXT("Rename Current Language Name"));
|
||||
|
||||
StringDlg strDlg;
|
||||
strDlg.init(_hInst, _hSelf, TEXT("Rename Current Language Name"), TEXT("Name : "), langName, langNameLenMax-1);
|
||||
strDlg.init(_hInst, _hSelf, strTitle.c_str(), strName.c_str(), langName, langNameLenMax - 1);
|
||||
|
||||
TCHAR *newName = (TCHAR *)strDlg.doDialog();
|
||||
|
||||
@ -1221,11 +1225,14 @@ INT_PTR CALLBACK UserDefineDialog::run_dlgProc(UINT message, WPARAM wParam, LPAR
|
||||
if (i == 0)
|
||||
wParam = IDC_ADDNEW_BUTTON;
|
||||
|
||||
|
||||
generic_string strName = pNativeSpeaker->getLocalizedStrFromID("common-name", TEXT("Name: "));
|
||||
generic_string strTitle = (wParam == IDC_SAVEAS_BUTTON) ?
|
||||
pNativeSpeaker->getLocalizedStrFromID("userdefined-title-save", TEXT("Save Current Language Name As...")) :
|
||||
pNativeSpeaker->getLocalizedStrFromID("userdefined-title-new", TEXT("Create New Language..."));
|
||||
|
||||
StringDlg strDlg;
|
||||
if (wParam == IDC_SAVEAS_BUTTON)
|
||||
strDlg.init(_hInst, _hSelf, TEXT("Save Current Language Name As..."), TEXT("Name : "), TEXT(""), langNameLenMax-1);
|
||||
else
|
||||
strDlg.init(_hInst, _hSelf, TEXT("Create New Language..."), TEXT("Name : "), TEXT(""), langNameLenMax-1);
|
||||
strDlg.init(_hInst, _hSelf, strTitle.c_str(), strName.c_str(), TEXT(""), langNameLenMax - 1);
|
||||
|
||||
TCHAR *tmpName = reinterpret_cast<TCHAR *>(strDlg.doDialog());
|
||||
|
||||
@ -1236,7 +1243,7 @@ INT_PTR CALLBACK UserDefineDialog::run_dlgProc(UINT message, WPARAM wParam, LPAR
|
||||
|
||||
if (pNppParam->isExistingUserLangName(newName))
|
||||
{
|
||||
pNppParam->getNativeLangSpeaker()->messageBox("UDLNewNameError",
|
||||
pNativeSpeaker->messageBox("UDLNewNameError",
|
||||
_hSelf,
|
||||
TEXT("This name is used by another language,\rplease give another one."),
|
||||
TEXT("UDL Error"),
|
||||
@ -1456,6 +1463,17 @@ INT_PTR CALLBACK StringDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM)
|
||||
if (_txtLen)
|
||||
::SendDlgItemMessage(_hSelf, IDC_STRING_EDIT, EM_SETLIMITTEXT, _txtLen, 0);
|
||||
|
||||
// localization for OK and Cancel
|
||||
NativeLangSpeaker *pNativeSpeaker = (NppParameters::getInstance())->getNativeLangSpeaker();
|
||||
if (pNativeSpeaker)
|
||||
{
|
||||
generic_string ok = pNativeSpeaker->getLocalizedStrFromID("common-ok", TEXT("OK"));
|
||||
generic_string cancel = pNativeSpeaker->getLocalizedStrFromID("common-cancel", TEXT("Cancel"));
|
||||
|
||||
::SetDlgItemText(_hSelf, IDOK, ok.c_str());
|
||||
::SetDlgItemText(_hSelf, IDCANCEL, cancel.c_str());
|
||||
}
|
||||
|
||||
if (_shouldGotoCenter)
|
||||
goToCenter();
|
||||
|
||||
|
@ -810,8 +810,11 @@ INT_PTR CALLBACK MarginsDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lPa
|
||||
{
|
||||
ScintillaViewParams & svp = (ScintillaViewParams &)pNppParam->getSVP();
|
||||
|
||||
NativeLangSpeaker *pNativeSpeaker = pNppParam->getNativeLangSpeaker();
|
||||
generic_string strNbCol = pNativeSpeaker->getLocalizedStrFromID("edit-verticaledge-nb-col", TEXT("Nb of column:"));
|
||||
|
||||
ValueDlg nbColumnEdgeDlg;
|
||||
nbColumnEdgeDlg.init(NULL, _hSelf, svp._edgeNbColumn, TEXT("Nb of column:"));
|
||||
nbColumnEdgeDlg.init(NULL, _hSelf, svp._edgeNbColumn, strNbCol.c_str());
|
||||
nbColumnEdgeDlg.setNBNumber(3);
|
||||
|
||||
POINT p;
|
||||
@ -1417,6 +1420,7 @@ INT_PTR CALLBACK RecentFilesHistoryDlg::run_dlgProc(UINT message, WPARAM wParam,
|
||||
{
|
||||
NppParameters *pNppParam = NppParameters::getInstance();
|
||||
NppGUI & nppGUI = (NppGUI & )pNppParam->getNppGUI();
|
||||
NativeLangSpeaker *pNativeSpeaker = pNppParam->getNativeLangSpeaker();
|
||||
|
||||
switch (message)
|
||||
{
|
||||
@ -1474,8 +1478,9 @@ INT_PTR CALLBACK RecentFilesHistoryDlg::run_dlgProc(UINT message, WPARAM wParam,
|
||||
|
||||
case IDC_MAXNBFILEVAL_STATIC:
|
||||
{
|
||||
generic_string staticText = pNativeSpeaker->getLocalizedStrFromID("recent-file-history-maxfile", TEXT("Max File: "));
|
||||
ValueDlg nbFileMaxDlg;
|
||||
nbFileMaxDlg.init(NULL, _hSelf, pNppParam->getNbMaxRecentFile(), TEXT("Max File: "));
|
||||
nbFileMaxDlg.init(NULL, _hSelf, pNppParam->getNbMaxRecentFile(), staticText.c_str());
|
||||
|
||||
POINT p;
|
||||
::GetCursorPos(&p);
|
||||
@ -1552,6 +1557,7 @@ INT_PTR CALLBACK LangMenuDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lP
|
||||
{
|
||||
NppParameters *pNppParam = NppParameters::getInstance();
|
||||
NppGUI & nppGUI = const_cast<NppGUI &>(pNppParam->getNppGUI());
|
||||
NativeLangSpeaker *pNativeSpeaker = pNppParam->getNativeLangSpeaker();
|
||||
|
||||
switch (message)
|
||||
{
|
||||
@ -1838,8 +1844,9 @@ INT_PTR CALLBACK LangMenuDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lP
|
||||
//
|
||||
case IDC_TABSIZEVAL_STATIC:
|
||||
{
|
||||
generic_string staticText = pNativeSpeaker->getLocalizedStrFromID("language-tabsize", TEXT("Tab Size: "));
|
||||
ValueDlg tabSizeDlg;
|
||||
tabSizeDlg.init(_hInst, _hParent, nppGUI._tabSize, TEXT("Tab Size : "));
|
||||
tabSizeDlg.init(_hInst, _hParent, nppGUI._tabSize, staticText.c_str());
|
||||
POINT p;
|
||||
::GetCursorPos(&p);
|
||||
int size = tabSizeDlg.doDialog(p);
|
||||
@ -2836,8 +2843,11 @@ INT_PTR CALLBACK AutoCompletionDlg::run_dlgProc(UINT message, WPARAM wParam, LPA
|
||||
const int NB_MIN_CHAR = 1;
|
||||
const int NB_MAX_CHAR = 9;
|
||||
|
||||
NativeLangSpeaker *pNativeSpeaker = pNppParam->getNativeLangSpeaker();
|
||||
generic_string strNbChar = pNativeSpeaker->getLocalizedStrFromID("autocomplete-nb-char", TEXT("Nb char : "));
|
||||
|
||||
ValueDlg valDlg;
|
||||
valDlg.init(NULL, _hSelf, static_cast<int32_t>(nppGUI._autocFromLen), TEXT("Nb char : "));
|
||||
valDlg.init(NULL, _hSelf, static_cast<int32_t>(nppGUI._autocFromLen), strNbChar.c_str());
|
||||
valDlg.setNBNumber(1);
|
||||
|
||||
POINT p;
|
||||
|
Loading…
Reference in New Issue
Block a user