[accerciser] Fixing translations on view manager's popup menu



commit 3da257f75d3bed94d34ab4a908226d47aab81db5
Author: Javier Hernández <jhernandez emergya com>
Date:   Sun Mar 3 15:17:15 2013 -0500

    Fixing translations on view manager's popup menu

 src/lib/accerciser/plugin/view.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lib/accerciser/plugin/view.py b/src/lib/accerciser/plugin/view.py
index 03f2d9c..e4b9bd7 100644
--- a/src/lib/accerciser/plugin/view.py
+++ b/src/lib/accerciser/plugin/view.py
@@ -1062,7 +1062,7 @@ class MultiViewModel(list, BaseViewModel):
       '''
       menu_item = None
       for view in self.view_manager:
-        menu_item = gtk.RadioMenuItem(label = view.view_name)
+        menu_item = gtk.RadioMenuItem(label = _(view.view_name))
         menu_item.set_name(view.view_name)
         menu_item.connect('toggled', self._onItemToggled, view, context_plugin)
         menu_item.set_active(view == context_plugin.get_parent())


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