summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-02-15 18:59:17 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-02-15 18:59:17 +0000
commit17f17b727b3a1fb59faa69fead5df25a0d3b7468 (patch)
treee7096b8ff3b4aac2a4fb6b3eebe6b6d826c8cae5
parentfc6833b03927029f5db063c27fad626d2e76404c (diff)
- translation fixes (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3616 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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)
{