[i18n] tweaks
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 19 Sep 2011 19:13:50 +0200
changeset 7810 21683b1975e3
parent 7809 f17440081914
child 7812 6806a7db9732
[i18n] tweaks
web/views/debug.py
web/views/schema.py
--- a/web/views/debug.py	Mon Sep 19 14:22:51 2011 +0200
+++ b/web/views/debug.py	Mon Sep 19 19:13:50 2011 +0200
@@ -42,7 +42,7 @@
 class SiteInfoAction(actions.ManagersAction):
     __regid__ = 'siteinfo'
     __select__ = match_user_groups('users','managers')
-    title = _('siteinfo')
+    title = _('Site information')
     category = 'manage'
     order = 1000
 
--- a/web/views/schema.py	Mon Sep 19 14:22:51 2011 +0200
+++ b/web/views/schema.py	Mon Sep 19 19:13:50 2011 +0200
@@ -143,13 +143,13 @@
 class SchemaView(tabs.TabsMixin, StartupView):
     """display schema information (graphically, listing tables...) in tabs"""
     __regid__ = 'schema'
-    title = _('instance schema')
+    title = _('data model schema')
     tabs = [_('schema-diagram'), _('schema-entity-types'),
             _('schema-relation-types')]
     default_tab = 'schema-diagram'
 
     def call(self):
-        self.w(u'<h1>%s</h1>' % self._cw._('Schema of the data model'))
+        self.w(u'<h1>%s</h1>' % self._cw._(self.title))
         self.render_tabs(self.tabs, self.default_tab)
 
 
@@ -689,7 +689,7 @@
     __regid__ = 'schema'
     __select__ = yes()
 
-    title = _("data model schema")
+    title = _('data model schema')
     order = 30
     category = 'manage'