diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-18 18:45:45 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-18 18:45:45 +0000 |
commit | 66b9ccda8318b710b7856960577bb0861f9488c0 (patch) | |
tree | e6c0c615160638b89520d16c0941deb4ef783f38 /plugins/Boltun/src | |
parent | d28d24eb2c1bfb869b27ae0c5c7acd17d07d4ccb (diff) |
- Boltun: code cleanup (patch from person) 2
git-svn-id: http://svn.miranda-ng.org/main/trunk@3159 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Boltun/src')
-rw-r--r-- | plugins/Boltun/src/boltun.cpp | 2 | ||||
-rw-r--r-- | plugins/Boltun/src/boltun.h | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/plugins/Boltun/src/boltun.cpp b/plugins/Boltun/src/boltun.cpp index 59077852d3..9c519fcebd 100644 --- a/plugins/Boltun/src/boltun.cpp +++ b/plugins/Boltun/src/boltun.cpp @@ -522,7 +522,7 @@ static int MessageOptInit(WPARAM wParam, LPARAM lParam) odp.position = 910000000;
odp.hInstance = hInst;
odp.pszGroup = BOLTUN_GROUP;
- odp.pszTitle = Translate(BOLTUN_NAME);
+ odp.pszTitle = BOLTUN_NAME_OPT;
odp.pfnDlgProc = MainDlgProc;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_MAIN);
odp.pszTab = TAB_GENERAL;
diff --git a/plugins/Boltun/src/boltun.h b/plugins/Boltun/src/boltun.h index 55a585b986..6dec88f73a 100644 --- a/plugins/Boltun/src/boltun.h +++ b/plugins/Boltun/src/boltun.h @@ -38,7 +38,7 @@ #define DB_CONTACT_WARNED "Warned"
//Plugin group in settings
-#define BOLTUN_GROUP Translate("Message sessions")
+#define BOLTUN_GROUP LPGEN("Message sessions")
//Filename depends on UNICODE
#define DEFAULT_MIND_FILE _T("boltun.mindw")
@@ -49,6 +49,7 @@ //Plugin name
#define BOLTUN_NAME "Boltun"
+#define BOLTUN_NAME_OPT LPGEN("Boltun")
#define MIND_FILE_DESC TranslateT("Mind Files")
#define ALL_FILES_DESC TranslateT("All Files")
@@ -66,7 +67,7 @@ #define FAILED_TO_SAVE_BASE TranslateT("Failed to save base of remarks to %s")
//Settings tab names
-#define TAB_GENERAL Translate("General Settings")
-#define TAB_ENGINE Translate("Engine Settings")
+#define TAB_GENERAL LPGEN("General Settings")
+#define TAB_ENGINE LPGEN("Engine Settings")
#endif /*_BOLTUN_H*/
|