[gtk+] Gettext comment for "default:LTR" must be before the string
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Gettext comment for "default:LTR" must be before the string
- Date: Wed, 11 Dec 2013 04:31:54 +0000 (UTC)
commit 57f59010b8ede875c2ad806f6f60bc1c10704d82
Author: Jehan <jehan girinstud io>
Date: Wed Dec 11 14:01:48 2013 +1300
Gettext comment for "default:LTR" must be before the string
https://bugzilla.gnome.org/show_bug.cgi?id=720096
gtk/gtkmain.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index bbf1370..a30ff70 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]