[open-ils-commits] r20190 - branches/rel_2_1/Open-ILS/examples (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Apr 18 22:20:41 EDT 2011
Author: dbs
Date: 2011-04-18 22:20:39 -0400 (Mon, 18 Apr 2011)
New Revision: 20190
Modified:
branches/rel_2_1/Open-ILS/examples/fm_IDL.xml
Log:
Mark cmf and cmc labels as translatable
We went to the effort of extracting the translatable text from
950.data.seed-values.sql, but had not marked the fields as
translatable in the IDL. Now at least the out-of-the-box
fields and classes will easily be able to have translations.
Modified: branches/rel_2_1/Open-ILS/examples/fm_IDL.xml
===================================================================
--- branches/rel_2_1/Open-ILS/examples/fm_IDL.xml 2011-04-19 02:19:53 UTC (rev 20189)
+++ branches/rel_2_1/Open-ILS/examples/fm_IDL.xml 2011-04-19 02:20:39 UTC (rev 20190)
@@ -1769,7 +1769,7 @@
<class id="cmc" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::metabib_class" oils_persist:tablename="config.metabib_class" reporter:label="Metabib Class" oils_persist:field_safe="true">
<fields oils_persist:primary="name">
<field reporter:label="Name" name="name" reporter:datatype="text"/>
- <field reporter:label="Label" name="label" reporter:datatype="text"/>
+ <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
<field reporter:label="Fields" name="fields" reporter:datatype="link" oils_persist:virtual="true"/>
</fields>
<links>
@@ -1790,7 +1790,7 @@
<field reporter:label="Class" name="field_class" reporter:datatype="link"/>
<field reporter:label="ID" name="id" reporter:datatype="id" />
<field reporter:label="Name" name="name" reporter:datatype="text"/>
- <field reporter:label="Label" name="label" reporter:datatype="text"/>
+ <field reporter:label="Label" name="label" reporter:datatype="text" oils_persist:i18n="true"/>
<field reporter:label="XPath" name="xpath" reporter:datatype="text"/>
<field reporter:label="Weight" name="weight" reporter:datatype="int" />
<field reporter:label="Format" name="format" reporter:datatype="link"/>
More information about the open-ils-commits
mailing list