[gtk/matthiasc/for-master] placesview: Fix translator comments



commit fc450e313b0da82c6d47aa634763db1270bf5d80
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Apr 27 00:23:49 2020 -0400

    placesview: Fix translator comments
    
    These comments were applied to the wrong strings
    by xgettext.
    
    Fixes: #2666

 gtk/gtkplacesview.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 8c94c81fe8..721f2cbe33 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -1649,8 +1649,9 @@ populate_available_protocols_grid (GtkGrid *grid)
     attach_protocol_row_to_grid (grid, _("AppleTalk"), "afp://");
 
   if (g_strv_contains (supported_protocols, "ftp"))
-    /* Translators: do not translate ftp:// and ftps:// */
-    attach_protocol_row_to_grid (grid, _("File Transfer Protocol"), _("ftp:// or ftps://"));
+    attach_protocol_row_to_grid (grid, _("File Transfer Protocol"),
+                                 /* Translators: do not translate ftp:// and ftps:// */
+                                 _("ftp:// or ftps://"));
 
   if (g_strv_contains (supported_protocols, "nfs"))
     attach_protocol_row_to_grid (grid, _("Network File System"), "nfs://");
@@ -1659,12 +1660,14 @@ populate_available_protocols_grid (GtkGrid *grid)
     attach_protocol_row_to_grid (grid, _("Samba"), "smb://");
 
   if (g_strv_contains (supported_protocols, "ssh"))
-    /* Translators: do not translate sftp:// and ssh:// */
-    attach_protocol_row_to_grid (grid, _("SSH File Transfer Protocol"), _("sftp:// or ssh://"));
+    attach_protocol_row_to_grid (grid, _("SSH File Transfer Protocol"),
+                                 /* Translators: do not translate sftp:// and ssh:// */
+                                 _("sftp:// or ssh://"));
 
   if (g_strv_contains (supported_protocols, "dav"))
-    /* Translators: do not translate dav:// and davs:// */
-    attach_protocol_row_to_grid (grid, _("WebDAV"), _("dav:// or davs://"));
+    attach_protocol_row_to_grid (grid, _("WebDAV"),
+                                 /* Translators: do not translate dav:// and davs:// */
+                                 _("dav:// or davs://"));
 }
 
 static GMenuModel *


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