update translatable docstring
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 10 Feb 2010 08:54:47 +0100
changeset 4535 71c86a315a9a
parent 4534 9e9eb6a22d14
child 4536 02d0803a60b8
update translatable docstring
schemas/base.py
schemas/bootstrap.py
schemas/workflow.py
--- a/schemas/base.py	Wed Feb 10 08:27:23 2010 +0100
+++ b/schemas/base.py	Wed Feb 10 08:54:47 2010 +0100
@@ -194,10 +194,9 @@
     """generic relation to specify that an external entity represent the same
     object as a local one:
        http://www.w3.org/TR/owl-ref/#sameAs-def
-
-    NOTE: You'll have to explicitly declare which entity types can have a
-    same_as relation
     """
+    #NOTE: You'll have to explicitly declare which entity types can have a
+    #same_as relation
     __permissions__ = {
         'read':   ('managers', 'users', 'guests',),
         'add':    ('managers', 'users'),
--- a/schemas/bootstrap.py	Wed Feb 10 08:27:23 2010 +0100
+++ b/schemas/bootstrap.py	Wed Feb 10 08:54:47 2010 +0100
@@ -115,7 +115,7 @@
 
 # not restricted since it has to be read when checking allowed transitions
 class RQLExpression(EntityType):
-    """define a rql expression used to define __permissions__"""
+    """define a rql expression used to define permissions"""
     __permissions__ = META_ETYPE_PERMS
     exprtype = String(required=True, vocabulary=['ERQLExpression', 'RRQLExpression'])
     mainvars = String(maxsize=8,
--- a/schemas/workflow.py	Wed Feb 10 08:27:23 2010 +0100
+++ b/schemas/workflow.py	Wed Feb 10 08:54:47 2010 +0100
@@ -40,7 +40,7 @@
     object = 'Workflow'
     cardinality = '?*'
     constraints = [RQLConstraint('S final FALSE, O workflow_of S',
-                                 msg=_('workflow isn\'t a workflow of this type'))]
+                                 msg=_('workflow isn\'t a workflow for this type'))]
 
 
 class State(EntityType):