[gtk+] Add some translator comments



commit 86ac88e0be31d677545c3628ea0cc37595a33834
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jun 8 15:05:55 2017 -0400

    Add some translator comments
    
    These were requested in
    https://bugzilla.gnome.org/show_bug.cgi?id=783552

 gtk/gtkshortcutswindow.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkshortcutswindow.c b/gtk/gtkshortcutswindow.c
index 5cf4f73..05b8f93 100644
--- a/gtk/gtkshortcutswindow.c
+++ b/gtk/gtkshortcutswindow.c
@@ -907,10 +907,12 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
                                     NULL);
   gtk_header_bar_set_custom_title (priv->header_bar, GTK_WIDGET (priv->title_stack));
 
+  /* Translators: This is the window title for the shortcuts window in normal mode */
   label = gtk_label_new (_("Shortcuts"));
   gtk_style_context_add_class (gtk_widget_get_style_context (label), GTK_STYLE_CLASS_TITLE);
   gtk_stack_add_named (priv->title_stack, label, "title");
 
+  /* Translators: This is the window title for the shortcuts window in search mode */
   label = gtk_label_new (_("Search Results"));
   gtk_style_context_add_class (gtk_widget_get_style_context (label), GTK_STYLE_CLASS_TITLE);
   gtk_stack_add_named (priv->title_stack, label, "search");
@@ -955,6 +957,7 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
   priv->search_entry = GTK_SEARCH_ENTRY (gtk_search_entry_new ());
   gtk_container_add (GTK_CONTAINER (priv->search_bar), GTK_WIDGET (priv->search_entry));
   g_object_set (priv->search_entry,
+                /* Translators: This is placeholder text for the search entry in the shortcuts window */
                 "placeholder-text", _("Search Shortcuts"),
                 "width-chars", 40,
                 NULL);


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