From 7692685cafc443e62069fbe76cb0322daeed324d Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 19 Jul 2008 18:51:50 +0000 Subject: Bug 543758 - Never mark empty strings for translations 2008-07-19 Tor Lillqvist 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 --- shell/ChangeLog | 7 +++++++ shell/main.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'shell') 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 + + 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 ** 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". -- cgit v1.2.3