web/views/tabs.py
changeset 6472 6e058f937126
parent 6466 43d71dd8a8ec
child 6582 8eb7883b4223
--- a/web/views/tabs.py	Wed Oct 13 08:37:21 2010 +0200
+++ b/web/views/tabs.py	Wed Oct 13 13:03:48 2010 +0200
@@ -201,7 +201,7 @@
 class TabbedPrimaryView(TabsMixin, primary.PrimaryView):
     __abstract__ = True # don't register
 
-    tabs = ['main_tab']
+    tabs = [_('main_tab')]
     default_tab = 'main_tab'
 
     def cell_call(self, row, col):
@@ -215,7 +215,7 @@
 
 class PrimaryTab(primary.PrimaryView):
     __regid__ = 'main_tab'
-    title = None
+    title = None # should not appear in possible views
 
     def is_primary(self):
         return True