[gnome-software/gnome-3-22] Fix translator comments



commit 742b808ee9e4800cae169c7fe6ccaf3a778bd5bb
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sat Jan 28 00:50:56 2017 +0100

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

 src/gs-removal-dialog.c |    4 ++--
 src/gs-shell-extras.c   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-removal-dialog.c b/src/gs-removal-dialog.c
index 5685a75..87a29fa 100644
--- a/src/gs-removal-dialog.c
+++ b/src/gs-removal-dialog.c
@@ -122,9 +122,9 @@ gs_removal_dialog_show_upgrade_removals (GsRemovalDialog *self,
        name_version = g_strdup_printf ("%s %s",
                                        gs_app_get_name (upgrade),
                                        gs_app_get_version (upgrade));
-       /* TRANSLATORS: This is a text displayed during a distro upgrade. %s
-          will be replaced by the name and version of distro, e.g. 'Fedora 23'. */
        gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (self),
+                                                 /* TRANSLATORS: This is a text displayed during a distro 
upgrade. %s
+                                                    will be replaced by the name and version of distro, e.g. 
'Fedora 23'. */
                                                  _("Some of the currently installed software is not 
compatible with %s. "
                                                    "If you continue, the following will be automatically 
removed during the upgrade:"),
                                                  name_version);
diff --git a/src/gs-shell-extras.c b/src/gs-shell-extras.c
index b4a6cdd..0451822 100644
--- a/src/gs-shell-extras.c
+++ b/src/gs-shell-extras.c
@@ -451,9 +451,9 @@ build_no_results_label (GsShellExtras *self)
        }
        g_ptr_array_add (array, NULL);
 
-       /* TRANSLATORS: hyperlink title */
        url = g_strdup_printf ("<a href=\"%s\">%s</a>",
                               gs_app_get_url (app, AS_URL_KIND_MISSING),
+                               /* TRANSLATORS: hyperlink title */
                                _("this website"));
 
        codec_titles = build_comma_separated_list ((gchar **) array->pdata);


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