make tab names i18n
This commit is contained in:
parent
c07dde715f
commit
1ee084f6fc
|
@ -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")
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue