LP#1682292: Mark record attr label and description as translation-aware
authorMike Rylander <mrylander@gmail.com>
Mon, 17 Apr 2017 14:48:33 +0000 (10:48 -0400)
committerBen Shum <ben@evergreener.net>
Wed, 19 Apr 2017 08:00:36 +0000 (04:00 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/examples/fm_IDL.xml

index 8f35858..ee01905 100644 (file)
@@ -953,8 +953,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
        <class id="crad" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="config::record_attr_definition" oils_persist:tablename="config.record_attr_definition" reporter:label="SVF Record Attribute Defintion" oils_persist:field_safe="true">
                <fields oils_persist:primary="name">
                        <field reporter:label="Name" name="name" reporter:datatype="id" reporter:selector="label"  oils_obj:required="true"/>
-                       <field reporter:label="Label" name="label" reporter:datatype="text"  oils_obj:required="true"/>
-                       <field reporter:label="Description" name="description" reporter:datatype="text" />
+                       <field reporter:label="Label" name="label" 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="Multi-valued?" name="multi" reporter:datatype="bool"/>
                        <field reporter:label="Filter?" name="filter" reporter:datatype="bool"/>
                        <field reporter:label="Sorter?" name="sorter" reporter:datatype="bool"/>