From 66b9ccda8318b710b7856960577bb0861f9488c0 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 18 Jan 2013 18:45:45 +0000 Subject: - Boltun: code cleanup (patch from person) 2 git-svn-id: http://svn.miranda-ng.org/main/trunk@3159 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Boltun/src/boltun.cpp | 2 +- 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*/ -- cgit v1.2.3