[libgnomekbd] Move translator comments right above the strings



commit 001be16fdae9b7b690b3b09108e53004bf4ecbcc
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Tue Oct 11 16:02:58 2016 +0200

    Move translator comments right above the strings
    
    So they appear in .po files.

 libgnomekbd/gkbd-keyboard-config.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgnomekbd/gkbd-keyboard-config.c b/libgnomekbd/gkbd-keyboard-config.c
index 8daf578..bbe6904 100644
--- a/libgnomekbd/gkbd-keyboard-config.c
+++ b/libgnomekbd/gkbd-keyboard-config.c
@@ -705,10 +705,10 @@ gkbd_keyboard_config_to_string (const GkbdKeyboardConfig * config)
                        g_string_append (buffer, *iter);
                }
 
-               /* Translators: The count is related to the number of options. The %s
-                * format specifier should not be modified, left "as is". */
                layouts =
                    g_strdup_printf (ngettext
+                                    /* Translators: The count is related to the number of options. The %s
+                                    * format specifier should not be modified, left "as is". */
                                     ("layout \"%s\"", "layouts \"%s\"",
                                      count), buffer->str);
                g_string_truncate (buffer, 0);
@@ -723,10 +723,10 @@ gkbd_keyboard_config_to_string (const GkbdKeyboardConfig * config)
                        g_string_append (buffer, *iter);
                }
 
-               /* Translators: The count is related to the number of options. The %s
-                * format specifier should not be modified, left "as is". */
                options =
                    g_strdup_printf (ngettext
+                                    /* Translators: The count is related to the number of options. The %s
+                                    * format specifier should not be modified, left "as is". */
                                     ("option \"%s\"", "options \"%s\"",
                                      count), buffer->str);
                g_string_truncate (buffer, 0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]