make tab names i18n

This commit is contained in:
Marcos Pinto 2008-07-23 22:07:12 +00:00
parent c07dde715f
commit 1ee084f6fc
5 changed files with 5 additions and 5 deletions

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")