diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2009-09-12 13:51:52 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2009-09-12 13:51:52 +0000 |
commit | aa956e8026a6330a9b9ed56ce4ae0ddda5a3dcf3 (patch) | |
tree | 22678ca6c45990a2d8175236c7839cd024dfd4af /yapp/services.cpp | |
parent | 123dcff490b3acaf2ce1bab93c08ccdaea43775a (diff) |
Translation fixes
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@471 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'yapp/services.cpp')
-rw-r--r-- | yapp/services.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yapp/services.cpp b/yapp/services.cpp index 0278e2f..e21b721 100644 --- a/yapp/services.cpp +++ b/yapp/services.cpp @@ -245,7 +245,7 @@ INT_PTR IsSecondLineShown(WPARAM wParam, LPARAM lParam) { void UpdateMenu() {
CLISTMENUITEM menu = {0};
menu.cbSize = sizeof(CLISTMENUITEM);
- menu.pszName = (DBGetContactSettingByte(0, MODULE, "Enabled", 1) == 1 ? Translate("Disable Popups") : Translate("Enable Popups"));
+ menu.pszName = (DBGetContactSettingByte(0, MODULE, "Enabled", 1) == 1 ? "Disable Popups" : "Enable Popups");
menu.flags = CMIM_NAME;// | CMIM_ICON;
CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMenuToggleOnOff, (LPARAM)&menu);
}
@@ -495,17 +495,17 @@ void InitServices() { menu.hIcon=0;
menu.position = 500010000;
- menu.pszPopupName = Translate("PopUps");
+ menu.pszPopupName = "PopUps";
hiPopupHistory = LoadIcon(hInst, MAKEINTRESOURCE(IDI_POPUP_HISTORY));
menu.hIcon = hiPopupHistory;
menu.pszService= MS_POPUP_SHOWHISTORY;
- menu.pszName = Translate("Popup History");
+ menu.pszName = "Popup History";
hMenuShowHistory = (HANDLE)CallService(MS_CLIST_ADDMAINMENUITEM, 0, (LPARAM)&menu);
menu.hIcon = 0;
menu.pszService= "PopUp/ToggleEnabled";
- menu.pszName = (DBGetContactSettingByte(0, MODULE, "Enabled", 1) == 1 ? Translate("Disable Popups") : Translate("Enable Popups"));
+ menu.pszName = (DBGetContactSettingByte(0, MODULE, "Enabled", 1) == 1 ? "Disable Popups" : "Enable Popups");
hMenuToggleOnOff = (HANDLE)CallService(MS_CLIST_ADDMAINMENUITEM, 0, (LPARAM)&menu);
hEventBuildMenu = HookEvent(ME_CLIST_PREBUILDCONTACTMENU, PrebuildMenu);
|