diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-06-08 15:05:55 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-06-08 15:10:32 -0400 |
commit | 86ac88e0be31d677545c3628ea0cc37595a33834 (patch) | |
tree | 96c0af1e2a239c44630f054e960a9c51853f6a33 /gtk/gtkshortcutswindow.c | |
parent | 6decd3bcfaa9718ed08722d52de0bad63e68e117 (diff) | |
download | gtk+-86ac88e0be31d677545c3628ea0cc37595a33834.tar.gz |
Add some translator comments
These were requested in
https://bugzilla.gnome.org/show_bug.cgi?id=783552
Diffstat (limited to 'gtk/gtkshortcutswindow.c')
-rw-r--r-- | gtk/gtkshortcutswindow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkshortcutswindow.c b/gtk/gtkshortcutswindow.c index 5cf4f73241..05b8f93b2a 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); |