aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2008-07-20 02:51:50 +0800
committerTor Lillqvist <tml@src.gnome.org>2008-07-20 02:51:50 +0800
commit7692685cafc443e62069fbe76cb0322daeed324d (patch)
tree446e29bbfbc8c9963623503d186f419e0183608c
parent148a1e2d9673e0b417deadaf114d015ce5e39cdc (diff)
downloadgsoc2013-evolution-7692685cafc443e62069fbe76cb0322daeed324d.tar.gz
gsoc2013-evolution-7692685cafc443e62069fbe76cb0322daeed324d.tar.zst
gsoc2013-evolution-7692685cafc443e62069fbe76cb0322daeed324d.zip
Bug 543758 - Never mark empty strings for translations
2008-07-19 Tor Lillqvist <tml@novell.com> Bug 543758 - Never mark empty strings for translations * main.c (main): Change _("") to explicit gettext ("") to avoid potentially confusing translation tools or translators. svn path=/trunk/; revision=35759
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/main.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 7c9dbea21e..9f116e1870 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,10 @@
+2008-07-19 Tor Lillqvist <tml@novell.com>
+
+ Bug 543758 - Never mark empty strings for translations
+
+ * main.c (main): Change _("") to explicit gettext ("") to avoid
+ potentially confusing translation tools or translators.
+
2008-17-14 Paolo Borelli <pborelli@katamail.com>
** Fix for bug #542889
diff --git a/shell/main.c b/shell/main.c
index 7b566a99dc..27ebb4a9a5 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -680,7 +680,7 @@ main (int argc, char **argv)
NULL);
#ifdef G_OS_WIN32
- if (strcmp (_(""), "") == 0) {
+ if (strcmp (gettext (""), "") == 0) {
/* No message catalog installed for the current locale language,
* so don't bother with the localisations provided by other things then
* either. Reset thread locale to "en-US" and C library locale to "C".