web/views/editforms.py
changeset 4380 5613d7c06339
parent 4378 785c56bdacc6
child 4387 4aacd6492ef4
--- a/web/views/editforms.py	Tue Jan 26 20:27:48 2010 +0100
+++ b/web/views/editforms.py	Tue Jan 26 20:28:56 2010 +0100
@@ -564,7 +564,7 @@
             counter=self._cw.data[countkey] , **kwargs))
 
     def form_title(self, entity, i18nctx):
-        return self._cw.pgettext(i18nctx, 'This %s' % entity.e_schema)
+        return self._cw.pgettext(i18nctx, entity.__regid__)
 
     def add_hiddens(self, form, entity):
         """to ease overriding (see cubes.vcsfile.views.forms for instance)"""