[gedit] Fix translator comments



commit d186dd4851b0da1d92dea65b17b305606f104e06
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Thu Jan 26 04:44:21 2017 +0100

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

 gedit/gedit-io-error-info-bar.c |    2 +-
 gedit/gedit-print-job.c         |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gedit/gedit-io-error-info-bar.c b/gedit/gedit-io-error-info-bar.c
index e8d1602..0b67e1c 100644
--- a/gedit/gedit-io-error-info-bar.c
+++ b/gedit/gedit-io-error-info-bar.c
@@ -241,8 +241,8 @@ parse_gio_error (gint          code,
                                                host_markup = g_markup_escape_text (host_name, -1);
                                                g_free (host_name);
 
-                                               /* Translators: %s is a host name */
                                                *message_details = g_strdup_printf (
+                                                       /* Translators: %s is a host name */
                                                        _("Host “%s” could not be found. "
                                                        "Please check that your proxy settings "
                                                        "are correct and try again."),
diff --git a/gedit/gedit-print-job.c b/gedit/gedit-print-job.c
index e2436d9..9083eca 100644
--- a/gedit/gedit-print-job.c
+++ b/gedit/gedit-print-job.c
@@ -538,13 +538,13 @@ create_compositor (GeditPrintJob *job)
 
                left = g_strdup_printf (_("File: %s"), name_to_display);
 
-               /* Translators: %N is the current page number, %Q is the total
-                * number of pages (ex. Page 2 of 10)
-                */
                gtk_source_print_compositor_set_header_format (job->compositor,
                                                               TRUE,
                                                               left,
                                                               NULL,
+                                                              /* Translators: %N is the current page number, 
%Q is the total
+                                                               * number of pages (ex. Page 2 of 10)
+                                                               */
                                                               _("Page %N of %Q"));
 
                g_free (doc_name);


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