From 66639dd2cb9f0e16fe3e4238c43e6e54f8ad1cf0 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Thu, 25 Feb 2010 13:01:48 +0000 Subject: [PATCH] translate category in menu and title svn: r14480 --- src/gui/views/pageview.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/views/pageview.py b/src/gui/views/pageview.py index 95124c534..fc0212f6c 100644 --- a/src/gui/views/pageview.py +++ b/src/gui/views/pageview.py @@ -435,13 +435,14 @@ class PageView(DbGUIElement): if not self.__configure_content: self.__configure_content = self._get_configure_page_funcs() title = _("Configure %(cat)s - %(view)s") % \ - {'cat': self.get_category(), 'view': self.get_title()} + {'cat': self.get_translated_category(), + 'view': self.get_title()} try: ViewConfigureDialog(self.uistate, self.dbstate, self.__configure_content, self, self._config, dialogtitle=title, ident=_("%(cat)s - %(view)s") % - {'cat': self.get_category(), + {'cat': self.get_translated_category(), 'view': self.get_title()}) except Errors.WindowActiveError: return