Add i18n tag to coded value map value/description
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 29 Mar 2012 20:39:10 +0000 (16:39 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Mon, 9 Apr 2012 01:14:28 +0000 (21:14 -0400)
Because the seed data assumes they are translated, so tell the IDL.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>

Open-ILS/examples/fm_IDL.xml

index 0da0727..c66eeaa 100644 (file)
@@ -786,8 +786,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                        <field reporter:label="ID" name="id" reporter:datatype="id"  oils_obj:required="true"/>
                        <field reporter:label="SVF Attribute" name="ctype" reporter:datatype="link"  oils_obj:required="true"/>
                        <field reporter:label="Code" name="code" reporter:datatype="text"  oils_obj:required="true"/>
-                       <field reporter:label="Value" name="value" reporter:datatype="text"  oils_obj:required="true"/>
-                       <field reporter:label="Description" name="description" reporter:datatype="text"/>
+                       <field reporter:label="Value" name="value" reporter:datatype="text"  oils_obj:required="true" oils_persist:i18n="true"/>
+                       <field reporter:label="Description" name="description" reporter:datatype="text" oils_persist:i18n="true"/>
                        <field reporter:label="OPAC Visible" name="opac_visible" reporter:datatype="bool"/>
                        <field reporter:label="Search Label" name="search_label" reporter:datatype="text" oils_persist:i18n="true"/>
                </fields>