Merge pull request #542 from RaiKoHoff/Dev_0709

Customize Scheme Dialog language resource fix
This commit is contained in:
Derick Payne 2018-07-10 11:29:33 +02:00 committed by GitHub
commit 74061399ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 5 additions and 3 deletions

View File

@ -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.

View File

@ -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);