From 1ee084f6fcbd8a771d05fac94c1efda309e010b0 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Wed, 23 Jul 2008 22:07:12 +0000 Subject: [PATCH] make tab names i18n --- deluge/ui/gtkui/details_tab.py | 2 +- deluge/ui/gtkui/files_tab.py | 2 +- deluge/ui/gtkui/options_tab.py | 2 +- deluge/ui/gtkui/peers_tab.py | 2 +- deluge/ui/gtkui/statistics_tab.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deluge/ui/gtkui/details_tab.py b/deluge/ui/gtkui/details_tab.py index b0c5c185c..9880f258f 100644 --- a/deluge/ui/gtkui/details_tab.py +++ b/deluge/ui/gtkui/details_tab.py @@ -47,7 +47,7 @@ class DetailsTab(Tab): # widgetname, modifier function, status keys glade = component.get("MainWindow").main_glade - self._name = "Details" + self._name = _("Details") self._child_widget = glade.get_widget("details_tab") self._tab_label = glade.get_widget("details_tab_label") diff --git a/deluge/ui/gtkui/files_tab.py b/deluge/ui/gtkui/files_tab.py index 12198908b..d8f3b20ad 100644 --- a/deluge/ui/gtkui/files_tab.py +++ b/deluge/ui/gtkui/files_tab.py @@ -97,7 +97,7 @@ class FilesTab(Tab): Tab.__init__(self) glade = component.get("MainWindow").get_glade() - self._name = "Files" + self._name = _("Files") self._child_widget = glade.get_widget("files_tab") self._tab_label = glade.get_widget("files_tab_label") diff --git a/deluge/ui/gtkui/options_tab.py b/deluge/ui/gtkui/options_tab.py index f73f9a10f..1058d7d28 100644 --- a/deluge/ui/gtkui/options_tab.py +++ b/deluge/ui/gtkui/options_tab.py @@ -40,7 +40,7 @@ class OptionsTab(Tab): Tab.__init__(self) glade = component.get("MainWindow").get_glade() - self._name = "Options" + self._name = _("Options") self._child_widget = glade.get_widget("options_tab") self._tab_label = glade.get_widget("options_tab_label") diff --git a/deluge/ui/gtkui/peers_tab.py b/deluge/ui/gtkui/peers_tab.py index f5e9aa7b5..446574a82 100644 --- a/deluge/ui/gtkui/peers_tab.py +++ b/deluge/ui/gtkui/peers_tab.py @@ -59,7 +59,7 @@ class PeersTab(Tab): Tab.__init__(self) glade = component.get("MainWindow").get_glade() - self._name = "Peers" + self._name = _("Peers") self._child_widget = glade.get_widget("peers_tab") self._tab_label = glade.get_widget("peers_tab_label") diff --git a/deluge/ui/gtkui/statistics_tab.py b/deluge/ui/gtkui/statistics_tab.py index 6ee6f11a1..7a0f5adbe 100644 --- a/deluge/ui/gtkui/statistics_tab.py +++ b/deluge/ui/gtkui/statistics_tab.py @@ -64,7 +64,7 @@ class StatisticsTab(Tab): # widgetname, modifier function, status keys glade = component.get("MainWindow").main_glade - self._name = "Statistics" + self._name = _("Statistics") self._child_widget = glade.get_widget("statistics_tab") self._tab_label = glade.get_widget("statistics_tab_label")