From e624819015f2d4d5b3102d3395a0466f6b3d6549 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 5 Mar 2013 11:16:51 +0000 Subject: - translation fixes (patch from Basil) git-svn-id: http://svn.miranda-ng.org/main/trunk@3893 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/effects.cpp | 2 +- plugins/Popup/src/opt_class.cpp | 2 +- plugins/Popup/src/services.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/Popup/src/effects.cpp b/plugins/Popup/src/effects.cpp index c9c5b6800b..42fc307b16 100644 --- a/plugins/Popup/src/effects.cpp +++ b/plugins/Popup/src/effects.cpp @@ -79,7 +79,7 @@ static INT_PTR svcCreateEffect_MyTestEffect(WPARAM, LPARAM) { return (INT_PTR)(n void PopupEfectsInitialize() { - CreateServiceFunction(MS_POPUP_CREATEVFX "Square fading", svcCreateEffect_MyTestEffect); + CreateServiceFunction(MS_POPUP_CREATEVFX LPGEN("Square fading"), svcCreateEffect_MyTestEffect); CallService(MS_POPUP_REGISTERVFX, 0, (LPARAM)"Square fading"); } diff --git a/plugins/Popup/src/opt_class.cpp b/plugins/Popup/src/opt_class.cpp index c1f628869f..c3fce0c0b6 100644 --- a/plugins/Popup/src/opt_class.cpp +++ b/plugins/Popup/src/opt_class.cpp @@ -198,7 +198,7 @@ INT_PTR CALLBACK DlgProcOptsClasses(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l break; case 2: //Treeview part typ 2 (popup class api) iconIndex = ImageList_ReplaceIcon(hImgLst, -1, gTreeData[i]->pupClass.hIcon); - wsprintf(itemName, _T("%s/%s"), _T("CLASS Plugins")/*gTreeData[i]->pszTreeRoot*/, gTreeData[i]->pszDescription); + wsprintf(itemName, _T("%s/%s"), LPGENT("CLASS Plugins")/*gTreeData[i]->pszTreeRoot*/, gTreeData[i]->pszDescription); break; default: break; diff --git a/plugins/Popup/src/services.cpp b/plugins/Popup/src/services.cpp index e085c1f4ad..6e693b8ec8 100644 --- a/plugins/Popup/src/services.cpp +++ b/plugins/Popup/src/services.cpp @@ -273,7 +273,7 @@ INT_PTR PopUp_AddPopUp2(WPARAM wParam, LPARAM lParam) if (PopUpOptions.DisableWhenFullscreen && (bShowMode != PU_SHOWMODE_FULLSCREEN) && isFullScreen()) return -1; - if (DBGetContactSettingDword(NULL, MODULNAME, "Global Status", 0) & + if (DBGetContactSettingDword(NULL, MODULNAME, LPGEN("Global Status"), 0) & Proto_Status2Flag_My(CallService(MS_CLIST_GETSTATUSMODE, 0, 0))) return -1; @@ -283,7 +283,7 @@ INT_PTR PopUp_AddPopUp2(WPARAM wParam, LPARAM lParam) if (proto) { char prefix[128]; - mir_snprintf(prefix, sizeof(prefix), "Protocol Status/%s", GetContactProto(ppd->lchContact)); + mir_snprintf(prefix, sizeof(prefix), LPGEN("Protocol Status") "/%s", GetContactProto(ppd->lchContact)); if (DBGetContactSettingDword(NULL, MODULNAME, prefix, 0) & Proto_Status2Flag_My(CallProtoService(proto, PS_GETSTATUS, 0, 0))) return -1; -- cgit v1.2.3