From 57f59010b8ede875c2ad806f6f60bc1c10704d82 Mon Sep 17 00:00:00 2001 From: Jehan Date: Wed, 11 Dec 2013 14:01:48 +1300 Subject: [PATCH] Gettext comment for "default:LTR" must be before the string https://bugzilla.gnome.org/show_bug.cgi?id=720096 --- gtk/gtkmain.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index bbf13701e6..a30ff707d2 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -1134,14 +1134,14 @@ gtk_init_check_abi_check (int *argc, char ***argv, int num_checks, size_t sizeof GtkTextDirection gtk_get_locale_direction (void) { - gchar *e = _("default:LTR"); - GtkTextDirection dir = GTK_TEXT_DIR_LTR; - /* Translate to default:RTL if you want your widgets * to be RTL, otherwise translate to default:LTR. * Do *not* translate it to "predefinito:LTR", if it * it isn't default:LTR or default:RTL it will not work */ + gchar *e = _("default:LTR"); + GtkTextDirection dir = GTK_TEXT_DIR_LTR; + if (g_strcmp0 (e, "default:RTL") == 0) dir = GTK_TEXT_DIR_RTL; else if (g_strcmp0 (e, "default:LTR") != 0)