Translate 'Compact Language Menu' popup dialog
Fix #13026, close #13035
This commit is contained in:
parent
dc99ce1035
commit
43d9f0d665
|
@ -1405,6 +1405,7 @@ Continue?"/>
|
|||
<NeedToRestartToLoadPlugins title="Notepad++ need to be relaunched" message="You have to restart Notepad++ to load plugins you installed."/> <!-- HowToReproduce: Import a plugin via menu "Settings->Import->Import Plugin(s)...". -->
|
||||
<ChangeHistoryEnabledWarning title="Notepad++ need to be relaunched" message="You have to restart Notepad++ to enable Change History."/> <!-- HowToReproduce: uncheck "Display Change History" via Preferences dialog "Marges/Border/Edge. -->
|
||||
<WindowsSessionExit title="Notepad++ - Windows session exit" message="Windows session is about to be terminated but you have some data unsaved. Do you want to exit Notepad++ now?"/>
|
||||
<LanguageMenuCompactWarning title="Compact Language Menu" message="This option will be changed on the next launch."/> <!-- HowToReproduce: toggle "Make language menu compact" via Preferences dialog "Language/Language Menu. -->
|
||||
</MessageBox>
|
||||
<ClipboardHistory>
|
||||
<PanelTitle name="Clipboard History"/>
|
||||
|
|
|
@ -1189,6 +1189,9 @@ Do you want to go to Notepad++ page to download the latest version?"/> <!-- HowT
|
|||
<DocTooDirtyToMonitor title="Monitoring problem" message="The document is dirty. Please save the modification before monitoring it."/>
|
||||
<DocNoExistToMonitor title="Monitoring problem" message="The file should exist to be monitored."/>
|
||||
<FileTooBigToOpen title="File size problem" message="File is too big to be opened by Notepad++"/> <!-- HowToReproduce: Try to open a 4GB file (it's not easy to reproduce, it depends on your system). -->
|
||||
<FileLoadingException title="Exception code: $STR_REPLACE$" message="An error occurred while loading the file!"/>
|
||||
<WantToOpenHugeFile title="Opening huge file warning" message="Opening a huge file of 2GB+ could take several minutes.
|
||||
Do you want to open it?"/>
|
||||
<CreateNewFileOrNot title="Create new file" message=""$STR_REPLACE$" doesn't exist. Create it?"/>
|
||||
<CreateNewFileError title="Create new file" message="Cannot create the file "$STR_REPLACE$"."/> <!-- HowToReproduce: this message prevents from system failure. It's hard to reproduce. -->
|
||||
<OpenFileError title="ERROR" message="Can not open file "$STR_REPLACE$"."/>
|
||||
|
@ -1230,6 +1233,9 @@ Do you want to launch Notepad++ in Administrator mode?"/>
|
|||
Notepad++ will be restarted after all the operations are terminated.
|
||||
Continue?"/>
|
||||
<NeedToRestartToLoadPlugins title="Notepad++ need to be relaunched" message="You have to restart Notepad++ to load plugins you installed."/> <!-- HowToReproduce: Import a plugin via menu "Settings->Import->Import Plugin(s)...". -->
|
||||
<ChangeHistoryEnabledWarning title="Notepad++ need to be relaunched" message="You have to restart Notepad++ to enable Change History."/> <!-- HowToReproduce: uncheck "Display Change History" via Preferences dialog "Marges/Border/Edge. -->
|
||||
<WindowsSessionExit title="Notepad++ - Windows session exit" message="Windows session is about to be terminated but you have some data unsaved. Do you want to exit Notepad++ now?"/>
|
||||
<LanguageMenuCompactWarning title="Compact Language Menu" message="This option will be changed on the next launch."/> <!-- HowToReproduce: toggle "Make language menu compact" via Preferences dialog "Language/Language Menu. -->
|
||||
</MessageBox>
|
||||
<ClipboardHistory>
|
||||
<PanelTitle name="Clipboard History"/>
|
||||
|
|
|
@ -2968,16 +2968,18 @@ intptr_t CALLBACK LanguageSubDlg::run_dlgProc(UINT message, WPARAM wParam, LPARA
|
|||
}
|
||||
|
||||
switch (wParam)
|
||||
{
|
||||
{
|
||||
//
|
||||
// Lang Menu
|
||||
//
|
||||
case IDC_CHECK_LANGMENUCOMPACT :
|
||||
case IDC_CHECK_LANGMENUCOMPACT:
|
||||
{
|
||||
nppGUI._isLangMenuCompact = (BST_CHECKED == ::SendMessage(::GetDlgItem(_hSelf, IDC_CHECK_LANGMENUCOMPACT), BM_GETCHECK, 0, 0));
|
||||
::MessageBox(_hSelf,
|
||||
nppGUI._isLangMenuCompact?TEXT("This option will be enabled on the next launch."):TEXT("This option will be disabled on the next launch."),
|
||||
TEXT("Compact Language Menu"), MB_OK);
|
||||
pNativeSpeaker->messageBox("LanguageMenuCompactWarning",
|
||||
_hSelf,
|
||||
TEXT("This option will be changed on the next launch."),
|
||||
TEXT("Compact Language Menu"),
|
||||
MB_OK);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue