diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-06-13 10:35:06 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-06-13 10:35:06 +0000 |
commit | b80786697d03abf0f6294c5edc4cc3a24b7b623c (patch) | |
tree | 66ec3cf7011eff777d63a22da3b0fd1a073262b9 /plugins/UserInfoEx | |
parent | e111c293216ba8d784ff1f7b601877d1e2c8f383 (diff) |
translation fixes (by person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9456 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r-- | plugins/UserInfoEx/src/mir_menuitems.cpp | 10 | ||||
-rw-r--r-- | plugins/UserInfoEx/src/svc_constants.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/UserInfoEx/src/mir_menuitems.cpp b/plugins/UserInfoEx/src/mir_menuitems.cpp index 9a8649f26e..713e610126 100644 --- a/plugins/UserInfoEx/src/mir_menuitems.cpp +++ b/plugins/UserInfoEx/src/mir_menuitems.cpp @@ -101,7 +101,7 @@ void RebuildContact() mi.position = 1000050000;
mi.popupPosition = 1000050000;
mi.hIcon = Skin_GetIcon(ICO_COMMON_MAIN);
- mi.pszName = LPGEN(MODULELONGNAME);
+ mi.pszName = MODULELONGNAME;
mhRoot = Menu_AddContactMenuItem(&mi);
hMenuItem[item++] = mhRoot;
mhExIm = mhRoot;
@@ -441,7 +441,7 @@ void RebuildSubGroup() mi.position = 1050000;
mi.popupPosition = 1050000;
mi.hIcon = Skin_GetIcon(ICO_COMMON_MAIN);
- mi.pszName = LPGEN(MODULELONGNAME);
+ mi.pszName = MODULELONGNAME;
mhRoot = Menu_AddSubGroupMenuItem(0, &mi);
hMenuItem[item++] = mhRoot;
mhExIm = mhRoot;
@@ -572,7 +572,7 @@ INT_PTR RebuildAccount(WPARAM wParam, LPARAM lParam) //cascade all
mi.position = 50100;
mi.hIcon = Skin_GetIcon(ICO_COMMON_MAIN);
- mi.pszName = LPGEN(MODULELONGNAME);
+ mi.ptszName = TranslateT(MODULELONGNAME);
hMenuItemAccount[mItems*i + item] = Menu_AddStatusMenuItem(&mi);
mhRoot = hMenuItemAccount[mItems*i + item++];
mhExIm = mhRoot;
@@ -598,7 +598,7 @@ INT_PTR RebuildAccount(WPARAM wParam, LPARAM lParam) // Export
strcpy( tDest, "/ExportAccount"); //mi.pszService
if (!ServiceExists(mi.pszService)) CreateServiceFunction(mi.pszService, svcExIm_Account_Service);
- mir_sntprintf(sztName, SIZEOF(sztName),_T("%s %s"), pAccountName->tszAccountName, TranslateT("&export"));
+ mir_sntprintf(sztName, SIZEOF(sztName), _T("%s %s"), pAccountName->tszAccountName, TranslateT("&export"));
mi.ptszName = sztName;
mi.position = 50200;
mi.hIcon = Skin_GetIcon(ICO_BTN_EXPORT);
@@ -607,7 +607,7 @@ INT_PTR RebuildAccount(WPARAM wParam, LPARAM lParam) // Import
strcpy( tDest, "/ImportAccount"); //mi.pszService
if (!ServiceExists(mi.pszService)) CreateServiceFunction(mi.pszService, svcExIm_Account_Service);
- mir_sntprintf(sztName, SIZEOF(sztName),_T("%s %s"), pAccountName->tszAccountName, TranslateT("&import"));
+ mir_sntprintf(sztName, SIZEOF(sztName), _T("%s %s"), pAccountName->tszAccountName, TranslateT("&import"));
mi.ptszName = sztName;
mi.position = 50300;
mi.hIcon = Skin_GetIcon(ICO_BTN_IMPORT);
diff --git a/plugins/UserInfoEx/src/svc_constants.h b/plugins/UserInfoEx/src/svc_constants.h index 09f65ef1ba..3dd299d904 100644 --- a/plugins/UserInfoEx/src/svc_constants.h +++ b/plugins/UserInfoEx/src/svc_constants.h @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef _SVC_CONSTANTS_INCLUDED_
#define _SVC_CONSTANTS_INCLUDED_
-#define MODULELONGNAME "Extended user info"
+#define MODULELONGNAME LPGEN("Extended user info")
#define USERINFO "UserInfo"
#define MODNAME "UserInfoEx"
#define MODNAMEFLAGS "Flags"
|