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/tabmodplus/modplus.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/tabmodplus/modplus.cpp')
-rw-r--r-- | plugins/TabSRMM/tabmodplus/modplus.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/tabmodplus/modplus.cpp b/plugins/TabSRMM/tabmodplus/modplus.cpp index 686e171604..8ac2e5d698 100644 --- a/plugins/TabSRMM/tabmodplus/modplus.cpp +++ b/plugins/TabSRMM/tabmodplus/modplus.cpp @@ -129,7 +129,7 @@ static int RegisterCustomButton(WPARAM wParam,LPARAM lParam) bbd.dwDefPos =200;
bbd.hIcon = PluginConfig.g_buttonBarIconHandles[3];
bbd.pszModuleName = (char *)"Tabmodplus";
- bbd.ptszTooltip = const_cast<TCHAR *>(CTranslator::get(CTranslator::GEN_BB_IMGTOOLTIP));
+ bbd.ptszTooltip = TranslateT("Insert [img] tag / surround selected text with [img][/img]");
return (CallService(MS_BB_ADDBUTTON, 0, (LPARAM)&bbd));
}
@@ -222,7 +222,7 @@ static int CustomButtonPressed(WPARAM wParam,LPARAM lParam) _sntprintf(pszFormatedText,6*sizeof(TCHAR),_T("%s"),_T("[img]"));
- bbd.ptszTooltip = const_cast<TCHAR *>(CTranslator::get(CTranslator::GEN_BB_IMGTOOLTIP));
+ bbd.ptszTooltip = TranslateT("Insert [img] tag / surround selected text with [img][/img]");
CallService(MS_BB_SETBUTTONSTATE, wParam, (LPARAM)&bbd);
}break;
@@ -233,7 +233,7 @@ static int CustomButtonPressed(WPARAM wParam,LPARAM lParam) ZeroMemory(pszFormatedText,7*sizeof(TCHAR));
_sntprintf(pszFormatedText,7*sizeof(TCHAR),_T("%s"),_T("[/img]"));
- bbd.ptszTooltip = const_cast<TCHAR *>(CTranslator::get(CTranslator::GEN_BB_IMGTOOLTIP));
+ bbd.ptszTooltip = TranslateT("Insert [img] tag / surround selected text with [img][/img]");
CallService(MS_BB_SETBUTTONSTATE, wParam, (LPARAM)&bbd);
}break;
|