Merge pull request #3066 from relldoesphp/CRM-14466
[civicrm-core.git] / xml / schema / Campaign / Survey.xml
index bfe226e13cd7a122adee86b2bb6eaa9800e3d29d..e85b1eeb13e947515f82a4a6486903f21f13549b 100644 (file)
@@ -24,6 +24,7 @@
       <type>varchar</type>
       <length>255</length>
       <required>true</required>
+      <localizable>true</localizable>
       <comment>Title of the Survey.</comment>
       <import>true</import>
       <add>3.3</add>
     <type>int unsigned</type>
     <default>NULL</default>
     <comment>Foreign key to the Campaign.</comment>
+    <pseudoconstant>
+      <table>civicrm_campaign</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>title</labelColumn>
+    </pseudoconstant>
     <add>3.3</add>
   </field>
   <foreignKey>
@@ -46,7 +52,7 @@
 
   <field>
     <name>activity_type_id</name>
-    <title>Activity Type ID</title>
+    <title>Activity Type</title>
     <type>int unsigned</type>
     <default>NULL</default>
     <comment>Implicit FK to civicrm_option_value where option_group = activity_type</comment>
@@ -80,6 +86,7 @@
   <field>
     <name>instructions</name>
     <type>text</type>
+    <localizable>true</localizable>
     <comment>Script instructions for volunteers to use for the survey.</comment>
     <html>
       <type>TextArea</type>