[libpeas] Fix Bug 670260. Make some strings translatable.



commit dec52b33199196848a3c2293ebaafc4d83832ac8
Author: Jiro Matsuzawa <jmatsuzawa src gnome org>
Date:   Fri Feb 17 13:27:04 2012 +0900

    Fix Bug 670260. Make some strings translatable.
    
    Wrap the strings with the gettext funciton.

 libpeas-gtk/peas-gtk-plugin-manager.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libpeas-gtk/peas-gtk-plugin-manager.c b/libpeas-gtk/peas-gtk-plugin-manager.c
index afe7e3a..8810cd1 100644
--- a/libpeas-gtk/peas-gtk-plugin-manager.c
+++ b/libpeas-gtk/peas-gtk-plugin-manager.c
@@ -384,7 +384,7 @@ peas_gtk_plugin_manager_init (PeasGtkPluginManager *pm)
   item_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
   gtk_box_pack_end (GTK_BOX (toolbar_box), item_box, FALSE, FALSE, 0);
 
-  pm->priv->about_button = gtk_button_new_with_mnemonic ("_About");
+  pm->priv->about_button = gtk_button_new_with_mnemonic (_("_About"));
   gtk_box_pack_start (GTK_BOX (item_box), pm->priv->about_button,
                       FALSE, FALSE, 0);
 
@@ -392,7 +392,7 @@ peas_gtk_plugin_manager_init (PeasGtkPluginManager *pm)
   item_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
   gtk_box_pack_end (GTK_BOX (toolbar_box), item_box, FALSE, FALSE, 0);
 
-  pm->priv->configure_button = gtk_button_new_with_mnemonic ("_Preferences");
+  pm->priv->configure_button = gtk_button_new_with_mnemonic (_("_Preferences"));
   gtk_box_pack_start (GTK_BOX (item_box), pm->priv->configure_button,
                       FALSE, FALSE, 0);
 



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