mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
Merge pull request #542 from RaiKoHoff/Dev_0709
Customize Scheme Dialog language resource fix
This commit is contained in:
commit
74061399ff
@ -123,6 +123,7 @@
|
||||
#define IDS_MUI_ABOUT_RTF_1 15029
|
||||
#define IDS_MUI_ABOUT_RTF_2 15030
|
||||
#define IDS_MUI_TRANSL_AUTHOR 15031
|
||||
#define IDS_MUI_ASSOCIATED_EXT 15032
|
||||
|
||||
#define IDR_MAINWND 16000
|
||||
#define IDR_MAINWND48 16001
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -6094,7 +6094,8 @@ INT_PTR CALLBACK Style_CustomizeSchemesDlgProc(HWND hwnd,UINT umsg,WPARAM wParam
|
||||
if (pCurrentLexer)
|
||||
{
|
||||
bIsStyleSelected = false;
|
||||
SetDlgItemText(hwnd,IDC_STYLELABEL_ROOT, L"Associated filename extensions:");
|
||||
GetLngString(IDS_MUI_ASSOCIATED_EXT, label, COUNTOF(label));
|
||||
SetDlgItemText(hwnd,IDC_STYLELABEL_ROOT, label);
|
||||
DialogEnableWindow(hwnd,IDC_STYLEEDIT_ROOT,true);
|
||||
SetDlgItemText(hwnd, IDC_STYLEEDIT_ROOT, pCurrentLexer->szExtensions);
|
||||
DialogEnableWindow(hwnd, IDC_STYLEEDIT_ROOT, true);
|
||||
@ -6114,8 +6115,7 @@ INT_PTR CALLBACK Style_CustomizeSchemesDlgProc(HWND hwnd,UINT umsg,WPARAM wParam
|
||||
else {
|
||||
pCurrentStyle = &(pCurrentLexer->Styles[STY_DEFAULT]);
|
||||
GetLngString(pCurrentLexer->resID, name, COUNTOF(name));
|
||||
|
||||
StringCchPrintfW(label, COUNTOF(label), L"%s: Default Style:", name);
|
||||
FormatLngStringW(label, COUNTOF(label), IDS_MUI_STY_LEXDEF, name);
|
||||
}
|
||||
SetDlgItemText(hwnd, IDC_STYLELABEL, label);
|
||||
SetDlgItemText(hwnd, IDC_STYLEEDIT, pCurrentStyle->szValue);
|
||||
@ -6141,6 +6141,7 @@ INT_PTR CALLBACK Style_CustomizeSchemesDlgProc(HWND hwnd,UINT umsg,WPARAM wParam
|
||||
}
|
||||
else {
|
||||
GetLngString(pCurrentLexer->resID, name, COUNTOF(name));
|
||||
|
||||
FormatLngStringW(label, COUNTOF(label), IDS_MUI_STY_LEXDEF, name);
|
||||
}
|
||||
SetDlgItemText(hwnd, IDC_STYLELABEL_ROOT, label);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user