diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-02-15 18:59:17 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-02-15 18:59:17 +0000 |
commit | 17f17b727b3a1fb59faa69fead5df25a0d3b7468 (patch) | |
tree | e7096b8ff3b4aac2a4fb6b3eebe6b6d826c8cae5 /plugins/ZeroNotification | |
parent | fc6833b03927029f5db063c27fad626d2e76404c (diff) |
- translation fixes (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3616 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ZeroNotification')
-rw-r--r-- | plugins/ZeroNotification/src/common.h | 4 | ||||
-rw-r--r-- | plugins/ZeroNotification/src/main.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ZeroNotification/src/common.h b/plugins/ZeroNotification/src/common.h index d0efafec1b..f40e68afb7 100644 --- a/plugins/ZeroNotification/src/common.h +++ b/plugins/ZeroNotification/src/common.h @@ -14,6 +14,6 @@ #define DEFAULT_NOBLINK 0x00000000
#define DEFAULT_NOCLCBLINK 0x00000000
-#define DISABLE_SOUND "Disable &Sounds"
-#define ENABLE_SOUND "Enable &Sounds"
+#define DISABLE_SOUND LPGENT("Disable &Sounds")
+#define ENABLE_SOUND LPGENT("Enable &Sounds")
diff --git a/plugins/ZeroNotification/src/main.cpp b/plugins/ZeroNotification/src/main.cpp index eb07012ceb..0262d6e885 100644 --- a/plugins/ZeroNotification/src/main.cpp +++ b/plugins/ZeroNotification/src/main.cpp @@ -98,9 +98,9 @@ static void UpdateMenuItem() {
CLISTMENUITEM mi = { sizeof(mi) };
if (DBGetContactSettingByte(NULL, "Skin", "UseSound", 1))
- mi.ptszName = TranslateT(DISABLE_SOUND);
+ mi.ptszName = DISABLE_SOUND;
else
- mi.ptszName = TranslateT(ENABLE_SOUND);
+ mi.ptszName = ENABLE_SOUND;
mi.flags |= CMIM_NAME | CMIF_TCHAR;
CallService(MS_CLIST_MODIFYMENUITEM,(WPARAM)noSoundMenu,(LPARAM)&mi);
}
|