# HG changeset patch # User Sylvain Thénault # Date 1286967828 -7200 # Node ID 6e058f937126240ff04fef21e8ef3c54f0835a4d # Parent 8936b6786fb910548112b0378785ea36467e9e22 i18n tweaks diff -r 8936b6786fb9 -r 6e058f937126 i18n/en.po --- 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" diff -r 8936b6786fb9 -r 6e058f937126 i18n/es.po --- 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" diff -r 8936b6786fb9 -r 6e058f937126 i18n/fr.po --- 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" diff -r 8936b6786fb9 -r 6e058f937126 web/views/tabs.py --- 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