# HG changeset patch # User Sylvain Thénault # Date 1265788487 -3600 # Node ID 71c86a315a9a9a63df57d4384abfdbac35c42389 # Parent 9e9eb6a22d149e03d3ecd6990faac8fbd5b2c53d update translatable docstring diff -r 9e9eb6a22d14 -r 71c86a315a9a schemas/base.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'), diff -r 9e9eb6a22d14 -r 71c86a315a9a schemas/bootstrap.py --- 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, diff -r 9e9eb6a22d14 -r 71c86a315a9a schemas/workflow.py --- 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):