summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/WhenWasIt/src/services.h2
-rw-r--r--plugins/ZeroNotification/src/common.h4
-rw-r--r--plugins/ZeroNotification/src/main.cpp4
-rw-r--r--protocols/IRCG/src/userinfo.cpp8
4 files changed, 9 insertions, 9 deletions
diff --git a/plugins/WhenWasIt/src/services.h b/plugins/WhenWasIt/src/services.h
index 4348077a54..5bc19aca3f 100644
--- a/plugins/WhenWasIt/src/services.h
+++ b/plugins/WhenWasIt/src/services.h
@@ -33,7 +33,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define BIRTHDAY_EXTENSION ".bdaysW"
#define BIRTHDAYS_EXPORT_FORMAT "%s@%S : %02d/%02d/%04d\n"
-#define NOTFOUND_FORMAT "Could not find UID '%s [%S]' in current database, skipping"
+#define NOTFOUND_FORMAT LPGEN("Could not find UID '%s [%S]' in current database, skipping")
extern int bShouldCheckBirthdays;
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);
}
diff --git a/protocols/IRCG/src/userinfo.cpp b/protocols/IRCG/src/userinfo.cpp
index 8f6378a3ce..9a5793c979 100644
--- a/protocols/IRCG/src/userinfo.cpp
+++ b/protocols/IRCG/src/userinfo.cpp
@@ -35,10 +35,10 @@ struct UserDetailsDlgProcParam
HANDLE hContact;
};
-#define STR_BASIC "Faster! Searches the network for an exact match of the nickname only. The hostmask is optional and provides further security if used. Wildcards (? and *) are allowed."
-#define STR_ADVANCED "Slower! Searches the network for nicknames matching a wildcard string. The hostmask is mandatory and a minimum of 4 characters is necessary in the \"Nick\" field. Wildcards (? and *) are allowed."
-#define STR_ERROR "Settings could not be saved!\n\nThe \"Nick\" field must contain at least four characters including wildcards,\n and it must also match the default nickname for this contact."
-#define STR_ERROR2 "Settings could not be saved!\n\nA full hostmask must be set for this online detection mode to work."
+#define STR_BASIC LPGEN("Faster! Searches the network for an exact match of the nickname only. The hostmask is optional and provides further security if used. Wildcards (? and *) are allowed.")
+#define STR_ADVANCED LPGEN("Slower! Searches the network for nicknames matching a wildcard string. The hostmask is mandatory and a minimum of 4 characters is necessary in the \"Nick\" field. Wildcards (? and *) are allowed.")
+#define STR_ERROR LPGEN("Settings could not be saved!\n\nThe \"Nick\" field must contain at least four characters including wildcards,\n and it must also match the default nickname for this contact.")
+#define STR_ERROR2 LPGEN("Settings could not be saved!\n\nA full hostmask must be set for this online detection mode to work.")
INT_PTR CALLBACK UserDetailsDlgProc(HWND m_hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{