doc/book/en/development/devweb/internationalization.rst
branchstable
changeset 4751 1a9d2c3c7f0c
parent 4442 7bc0e4ed4109
child 5137 efc280ad9898
--- a/doc/book/en/development/devweb/internationalization.rst	Tue Mar 02 19:11:46 2010 +0100
+++ b/doc/book/en/development/devweb/internationalization.rst	Tue Mar 02 19:15:26 2010 +0100
@@ -30,7 +30,7 @@
 
      class PrimaryView(EntityView):
          """the full view of an non final entity"""
-         id = 'primary'
+         __regid__ = 'primary'
          title = _('primary')
 
   OR
@@ -39,7 +39,7 @@
 
      class NoResultView(EmptyRsetView):
          """default view when no result has been found"""
-         id = 'noresult'
+         __regid__ = 'noresult'
 
          def call(self, **kwargs):
              self.w(u'<div class="searchMessage"><strong>%s</strong></div>\n'