diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-04 16:59:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-04 16:59:11 +0000 |
commit | 0837770aaae3ffa71600497809aa45d266f6574b (patch) | |
tree | 7df7fd9ea41dbdbbd17c38c546c2ca52c4deb576 /plugins/TabSRMM/src/templates.cpp | |
parent | d9ec899b9e9cfd9be489208f09c4b56c9282f213 (diff) |
class CTranslator removed from tabSRMM due its stupidity
git-svn-id: http://svn.miranda-ng.org/main/trunk@302 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/templates.cpp')
-rw-r--r-- | plugins/TabSRMM/src/templates.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/templates.cpp b/plugins/TabSRMM/src/templates.cpp index 74000f7e11..d5a4c1e59c 100644 --- a/plugins/TabSRMM/src/templates.cpp +++ b/plugins/TabSRMM/src/templates.cpp @@ -180,7 +180,7 @@ INT_PTR CALLBACK DlgProcTemplateEditor(HWND hwndDlg, UINT msg, WPARAM wParam, LP SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG_PTR) dat);
ShowWindow(hwndDlg, SW_SHOW);
SendDlgItemMessage(hwndDlg, IDC_EDITTEMPLATE, EM_LIMITTEXT, (WPARAM)TEMPLATE_LENGTH - 1, 0);
- SetWindowText(hwndDlg, CTranslator::getOpt(CTranslator::OPT_TEMP_TITLE));
+ SetWindowText(hwndDlg, TranslateT("Template Set Editor"));
Utils::enableDlgControl(hwndDlg, IDC_SAVETEMPLATE, FALSE);
Utils::enableDlgControl(hwndDlg, IDC_REVERT, FALSE);
Utils::enableDlgControl(hwndDlg, IDC_FORGET, FALSE);
@@ -205,12 +205,12 @@ INT_PTR CALLBACK DlgProcTemplateEditor(HWND hwndDlg, UINT msg, WPARAM wParam, LP DestroyWindow(hwndDlg);
break;
case IDC_RESETALLTEMPLATES:
- if (MessageBox(0, CTranslator::getOpt(CTranslator::OPT_TEMP_RESET),
- CTranslator::getOpt(CTranslator::OPT_TEMP_TITLE), MB_YESNO | MB_ICONQUESTION) == IDYES) {
+ if (MessageBox(0, TranslateT("This will reset the template set to the default built-in templates. Are you sure you want to do this?"),
+ TranslateT("Template Set Editor"), MB_YESNO | MB_ICONQUESTION) == IDYES) {
M->WriteByte(teInfo->rtl ? RTLTEMPLATES_MODULE : TEMPLATES_MODULE, "setup", 0);
LoadDefaultTemplates();
- MessageBox(0, CTranslator::getOpt(CTranslator::OPT_TEMP_WASRESET),
- CTranslator::getOpt(CTranslator::OPT_TEMP_TITLE), MB_OK);
+ MessageBox(0, TranslateT("Template set was successfully reset, please close and reopen all message windows. This template editor window will now close."),
+ TranslateT("Template Set Editor"), MB_OK);
DestroyWindow(hwndDlg);
}
break;
|