i18n tweaks
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 13 Oct 2010 13:03:48 +0200
changeset 6472 6e058f937126
parent 6470 8936b6786fb9
child 6473 2b09a410ff8e
i18n tweaks
i18n/en.po
i18n/es.po
i18n/fr.po
web/views/tabs.py
--- a/i18n/en.po	Wed Oct 13 08:37:21 2010 +0200
+++ b/i18n/en.po	Wed Oct 13 13:03:48 2010 +0200
@@ -2833,6 +2833,9 @@
 msgid "main informations"
 msgstr ""
 
+msgid "main_tab"
+msgstr "description"
+
 msgid "mainvars"
 msgstr "main vars"
 
--- a/i18n/es.po	Wed Oct 13 08:37:21 2010 +0200
+++ b/i18n/es.po	Wed Oct 13 13:03:48 2010 +0200
@@ -2947,6 +2947,9 @@
 msgid "main informations"
 msgstr "Informaciones Generales"
 
+msgid "main_tab"
+msgstr ""
+
 msgid "mainvars"
 msgstr "Variables principales"
 
--- a/i18n/fr.po	Wed Oct 13 08:37:21 2010 +0200
+++ b/i18n/fr.po	Wed Oct 13 13:03:48 2010 +0200
@@ -2949,6 +2949,9 @@
 msgid "main informations"
 msgstr "Informations générales"
 
+msgid "main_tab"
+msgstr "description"
+
 msgid "mainvars"
 msgstr "variables principales"
 
--- 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