diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-11 13:17:15 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-11 13:17:15 +0000 |
commit | 8725517f626b8c7c43e3800ad7dcae99cec0649c (patch) | |
tree | bb3be877f6d8192627fc6a8777d5668441a21174 /plugins/HistorySweeperLight | |
parent | c9bebf6848647397c70c2e7a1f93e88f052c0efe (diff) |
Unicode, auto-translatable tooltips for Srmm icons
git-svn-id: http://svn.miranda-ng.org/main/trunk@4423 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistorySweeperLight')
-rw-r--r-- | plugins/HistorySweeperLight/src/main.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/HistorySweeperLight/src/main.cpp b/plugins/HistorySweeperLight/src/main.cpp index 43518e17b2..b3653d8a9a 100644 --- a/plugins/HistorySweeperLight/src/main.cpp +++ b/plugins/HistorySweeperLight/src/main.cpp @@ -82,32 +82,32 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam) sid.hIcon = LoadIconEx("actG");
if (sweep == 0)
- sid.szTooltip = Translate("Keep all events");
+ sid.szTooltip = LPGEN("Keep all events");
else if (sweep == 1)
- sid.szTooltip = Translate(time_stamp_strings[db_get_b(NULL, ModuleName, "StartupShutdownOlder", 0)]);
+ sid.szTooltip = (char*)time_stamp_strings[db_get_b(NULL, ModuleName, "StartupShutdownOlder", 0)];
else if (sweep == 2)
- sid.szTooltip = Translate(keep_strings[db_get_b(NULL, ModuleName, "StartupShutdownKeep", 0)]);
+ sid.szTooltip = (char*)keep_strings[db_get_b(NULL, ModuleName, "StartupShutdownKeep", 0)];
else if (sweep == 3)
- sid.szTooltip = Translate("Delete all events");
+ sid.szTooltip = LPGEN("Delete all events");
sid.flags = MBF_HIDDEN;
Srmm_AddIcon(&sid);
sid.dwId = 1;
sid.hIcon = LoadIconEx("act1");
- sid.szTooltip = Translate(time_stamp_strings[db_get_b(NULL, ModuleName, "StartupShutdownOlder", 0)]);
+ sid.szTooltip = (char*)time_stamp_strings[db_get_b(NULL, ModuleName, "StartupShutdownOlder", 0)];
sid.flags = MBF_HIDDEN;
Srmm_AddIcon(&sid);
sid.dwId = 2;
sid.hIcon = LoadIconEx("act2");
- sid.szTooltip = Translate(keep_strings[db_get_b(NULL, ModuleName, "StartupShutdownKeep", 0)]);
+ sid.szTooltip = (char*)keep_strings[db_get_b(NULL, ModuleName, "StartupShutdownKeep", 0)];
sid.flags = MBF_HIDDEN;
Srmm_AddIcon(&sid);
sid.dwId = 3;
sid.hIcon = LoadIconEx("actDel");
- sid.szTooltip = Translate("Delete all events");
+ sid.szTooltip = LPGEN("Delete all events");
sid.flags = MBF_HIDDEN;
Srmm_AddIcon(&sid);
|