[gnome-software] Fix translator comments



commit ca6727bb121fbce585957b664c2f9d35879febdf
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 f36bb3c..3940fe9 100644
--- a/src/gs-shell-extras.c
+++ b/src/gs-shell-extras.c
@@ -454,9 +454,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]