[gnome-control-center] Fix translator comments



commit fdc9b35c6b74f21a13558eca9e42cb4d0397a2c2
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Fri Jan 27 23:02:44 2017 +0100

    Fix translator comments
    
    They need to be exactly one line above a string to show up in .po files.

 panels/info/cc-info-panel.c          |   14 +++++++-------
 panels/user-accounts/um-user-panel.c |    8 ++++----
 2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 4584766..8d87bc6 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -502,21 +502,21 @@ get_os_type (void)
 
   if (build_id)
     {
-      /* translators: This is the name of the OS, followed by the type
-       * of architecture and the build id, for example:
-       * "Fedora 18 (Spherical Cow) 64-bit (Build ID: xyz)" or
-       * "Ubuntu (Oneric Ocelot) 32-bit (Build ID: jki)" */
       if (name)
+        /* translators: This is the name of the OS, followed by the type
+         * of architecture and the build id, for example:
+         * "Fedora 18 (Spherical Cow) 64-bit (Build ID: xyz)" or
+         * "Ubuntu (Oneric Ocelot) 32-bit (Build ID: jki)" */
         result = g_strdup_printf (_("%s %d-bit (Build ID: %s)"), name, bits, build_id);
       else
         result = g_strdup_printf (_("%d-bit (Build ID: %s)"), bits, build_id);
     }
   else
     {
-      /* translators: This is the name of the OS, followed by the type
-       * of architecture, for example:
-       * "Fedora 18 (Spherical Cow) 64-bit" or "Ubuntu (Oneric Ocelot) 32-bit" */
       if (name)
+        /* translators: This is the name of the OS, followed by the type
+         * of architecture, for example:
+         * "Fedora 18 (Spherical Cow) 64-bit" or "Ubuntu (Oneric Ocelot) 32-bit" */
         result = g_strdup_printf (_("%s %d-bit"), name, bits);
       else
         result = g_strdup_printf (_("%d-bit"), bits);
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index 3ba372f..5aa21e4 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -1296,11 +1296,11 @@ add_unlock_tooltip (GtkWidget *button)
         names[1] = "changes-allow";
         names[2] = NULL;
         icon = (GIcon *)g_themed_icon_new_from_names (names, -1);
-        /* Translator comments:
-         * We split the line in 2 here to "make it look good", as there's
-         * no good way to do this in GTK+ for tooltips. See:
-         * https://bugzilla.gnome.org/show_bug.cgi?id=657168 */
         setup_tooltip_with_embedded_icon (button,
+                                          /* Translator comments:
+                                           * We split the line in 2 here to "make it look good", as there's
+                                           * no good way to do this in GTK+ for tooltips. See:
+                                           * https://bugzilla.gnome.org/show_bug.cgi?id=657168 */
                                           _("To make changes,\nclick the * icon first"),
                                           "*",
                                           icon);


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