[gtk+] GtkApplicationWindow: mark a string for translation
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkApplicationWindow: mark a string for translation
- Date: Mon, 19 Dec 2011 17:58:05 +0000 (UTC)
commit 65f5a653366e406df5d48ef2c9b12b792ee6bbeb
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Nov 30 23:53:39 2011 -0500
GtkApplicationWindow: mark a string for translation
gtk/gtkapplicationwindow.c | 4 ++--
po/POTFILES.in | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkapplicationwindow.c b/gtk/gtkapplicationwindow.c
index fefb7d2..cb8f26f 100644
--- a/gtk/gtkapplicationwindow.c
+++ b/gtk/gtkapplicationwindow.c
@@ -322,7 +322,7 @@ gtk_application_window_real_map (GtkWidget *widget)
{
GtkApplicationWindow *window = GTK_APPLICATION_WINDOW (widget);
- /* XXX could elimate this by tweaking gtk_window_map */
+ /* XXX could eliminate this by tweaking gtk_window_map */
if (window->priv->menubar)
gtk_widget_map (GTK_WIDGET (window->priv->menubar));
@@ -467,7 +467,7 @@ recalculate_app_menu_state (GtkApplicationWindow *window)
GtkWidget *menubar;
GtkWidget *item;
- item = gtk_menu_item_new_with_label ("Application");
+ item = gtk_menu_item_new_with_label (_("Application"));
gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), gtk_application_window_get_app_menu (window));
menubar = gtk_menu_bar_new ();
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5b8be48..6da856b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -39,6 +39,7 @@ gtk/gtkappchooserbutton.c
gtk/gtkappchooser.c
gtk/gtkappchooserdialog.c
gtk/gtkappchooserwidget.c
+gtk/gtkapplicationwindow.c
gtk/gtkarrow.c
gtk/gtkaspectframe.c
gtk/gtkassistant.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]