summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-29 13:41:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-29 13:41:26 +0000
commitc9c40268ec6beccd226b23286532935d0226f488 (patch)
treea2b68e0b80b3870eba238d67ce685f7ab3ef5191 /plugins
parent91a8274d913874078111da7ffa8e8550c1900f90 (diff)
removed some unneeded translations
git-svn-id: http://svn.miranda-ng.org/main/trunk@4235 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Clist_modern/src/modern_clui.cpp3
-rw-r--r--plugins/Clist_modern/src/modern_viewmodebar.cpp4
-rw-r--r--plugins/SecureIM/src/main.cpp2
-rw-r--r--plugins/VersionInfo/src/main.cpp3
4 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp
index 27e2b34ff4..012fea9575 100644
--- a/plugins/Clist_modern/src/modern_clui.cpp
+++ b/plugins/Clist_modern/src/modern_clui.cpp
@@ -2557,8 +2557,9 @@ LRESULT CLUI::OnMeasureItem(UINT msg, WPARAM wParam, LPARAM lParam)
case MENU_STATUSMENU:
HDC hdc = GetDC( m_hWnd );
+ TCHAR *ptszStr = TranslateT("Status");
SIZE textSize;
- GetTextExtentPoint32A( hdc, Translate("Status"), lstrlenA( Translate("Status")), &textSize );
+ GetTextExtentPoint32(hdc, ptszStr, lstrlen(ptszStr), &textSize);
pmis->itemWidth = textSize.cx;
pmis->itemHeight = 0;
ReleaseDC( m_hWnd, hdc );
diff --git a/plugins/Clist_modern/src/modern_viewmodebar.cpp b/plugins/Clist_modern/src/modern_viewmodebar.cpp
index da5f2f3296..31721c3d29 100644
--- a/plugins/Clist_modern/src/modern_viewmodebar.cpp
+++ b/plugins/Clist_modern/src/modern_viewmodebar.cpp
@@ -1058,10 +1058,10 @@ LRESULT CALLBACK ViewModeFrameWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
case WM_USER + 100:
SendMessage(GetDlgItem(hwnd, IDC_RESETMODES), MBM_SETICOLIBHANDLE, 0,
- (LPARAM) RegisterIcolibIconHandle("CLN_CLVM_reset", "Contact List",Translate("Reset view mode"), NULL, 0, g_hInst, IDI_RESETVIEW ));
+ (LPARAM) RegisterIcolibIconHandle("CLN_CLVM_reset", "Contact List", LPGEN("Reset view mode"), NULL, 0, g_hInst, IDI_RESETVIEW ));
SendMessage(GetDlgItem(hwnd, IDC_CONFIGUREMODES), MBM_SETICOLIBHANDLE, 0,
- (LPARAM) RegisterIcolibIconHandle("CLN_CLVM_set", "Contact List",Translate("Setup view modes"), NULL, 0, g_hInst, IDI_SETVIEW ));
+ (LPARAM) RegisterIcolibIconHandle("CLN_CLVM_set", "Contact List", LPGEN("Setup view modes"), NULL, 0, g_hInst, IDI_SETVIEW ));
{
for (int i=0; _buttons[i] != 0; i++) {
diff --git a/plugins/SecureIM/src/main.cpp b/plugins/SecureIM/src/main.cpp
index 8548689e4a..94b8c68473 100644
--- a/plugins/SecureIM/src/main.cpp
+++ b/plugins/SecureIM/src/main.cpp
@@ -319,7 +319,7 @@ int onModulesLoaded(WPARAM wParam, LPARAM lParam)
#endif
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, onRebuildContactMenu);
- g_hCLIcon = ExtraIcon_Register(MODULENAME, Translate("SecureIM status"), "sim_cm_est", onExtraImageListRebuilding, onExtraImageApplying);
+ g_hCLIcon = ExtraIcon_Register(MODULENAME, LPGEN("SecureIM status"), "sim_cm_est", onExtraImageListRebuilding, onExtraImageApplying);
// hook init options
HookEvent(ME_OPT_INITIALISE, onRegisterOptions);
diff --git a/plugins/VersionInfo/src/main.cpp b/plugins/VersionInfo/src/main.cpp
index 63d9b51339..a5c3324c65 100644
--- a/plugins/VersionInfo/src/main.cpp
+++ b/plugins/VersionInfo/src/main.cpp
@@ -88,9 +88,8 @@ extern "C" int __declspec(dllexport) Load(void)
//Menu item
CLISTMENUITEM mi = { sizeof(mi) };
mi.position = mi.popupPosition = 2000089999;
- mi.flags = 0;
mi.hIcon = hiVIIcon;
- mi.pszName = Translate("Version Information");
+ mi.pszName = LPGEN("Version Information");
mi.pszService = MS_VERSIONINFO_MENU_COMMAND;
Menu_AddMainMenuItem(&mi);