06-22-2009 12:36 AM
<constraints>
<constraint name="my:statusIndicatorList" type="LIST">
<parameter name="allowedValues">
<list>
<value>Green</value>
<value>Red</value>
</list>
</parameter>
</constraint>
</constraints>
<model name="my:mynewmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Example custom Model</description>
<author></author>
<!– Type and Aspect definitions go here –>
<types>
<type name="my:sop">
<title>Standard Operating Procedure</title>
<parent>cm:content</parent>
<properties>
<property name="my:publishedDate">
<type>d:datetime</type>
</property>
</properties>
</type>
</types>
…
my_mynewmodel.description=Example custom model
my_mynewmodel.type.my_sop.title=SOP
my_mynewmodel.type.my_sop.description=Standard Operating Procedure
my_mynewmodel.property.my_publishedDate.title=Published Date
07-31-2009 09:28 AM
07-17-2017 10:34 AM
Problem was resolved 3 year after.
Now you can translate constraints according to Data dictionary guide. Right inscription is:
listconstraint.namespace_nameConstraint.definedValue=translatedValue