Translate description in DAO files
[civicrm-core.git] / CRM / Campaign / DAO / Survey.php
index 935b3dda570ce036c513ebdb672e7b512d278bc5..8cf7eb5d0e73bf004423e87647ede8aeb57cad9c 100644 (file)
@@ -205,7 +205,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Survey ID'),
-          'description' => 'Survey id.',
+          'description' => ts('Survey id.'),
           'required' => TRUE,
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
@@ -216,7 +216,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'title',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Survey Title'),
-          'description' => 'Title of the Survey.',
+          'description' => ts('Title of the Survey.'),
           'required' => TRUE,
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
@@ -234,7 +234,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'campaign_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Survey Campaign ID'),
-          'description' => 'Foreign key to the Campaign.',
+          'description' => ts('Foreign key to the Campaign.'),
           'default' => 'NULL',
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
@@ -251,7 +251,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'activity_type_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Activity Type'),
-          'description' => 'Implicit FK to civicrm_option_value where option_group = activity_type',
+          'description' => ts('Implicit FK to civicrm_option_value where option_group = activity_type'),
           'import' => TRUE,
           'where' => 'civicrm_survey.activity_type_id',
           'headerPattern' => '',
@@ -274,7 +274,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'recontact_interval',
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Follow up Interval'),
-          'description' => 'Recontact intervals for each status.',
+          'description' => ts('Recontact intervals for each status.'),
           'rows' => 20,
           'cols' => 80,
           'table_name' => 'civicrm_survey',
@@ -289,7 +289,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'instructions',
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Instructions'),
-          'description' => 'Script instructions for volunteers to use for the survey.',
+          'description' => ts('Script instructions for volunteers to use for the survey.'),
           'rows' => 20,
           'cols' => 80,
           'table_name' => 'civicrm_survey',
@@ -304,7 +304,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'release_frequency',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Survey Hold Duration'),
-          'description' => 'Number of days for recurrence of release.',
+          'description' => ts('Number of days for recurrence of release.'),
           'default' => 'NULL',
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
@@ -315,7 +315,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'max_number_of_contacts',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Maximum number of contacts'),
-          'description' => 'Maximum number of contacts to allow for survey.',
+          'description' => ts('Maximum number of contacts to allow for survey.'),
           'default' => 'NULL',
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
@@ -326,7 +326,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'default_number_of_contacts',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Default number of contacts'),
-          'description' => 'Default number of contacts to allow for survey.',
+          'description' => ts('Default number of contacts to allow for survey.'),
           'default' => 'NULL',
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
@@ -337,7 +337,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'is_active',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Survey Is Active'),
-          'description' => 'Is this survey enabled or disabled/cancelled?',
+          'description' => ts('Is this survey enabled or disabled/cancelled?'),
           'default' => '1',
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
@@ -348,7 +348,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'is_default',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Default Survey'),
-          'description' => 'Is this default survey?',
+          'description' => ts('Is this default survey?'),
           'default' => '0',
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
@@ -359,7 +359,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'created_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Survey Created By'),
-          'description' => 'FK to civicrm_contact, who created this Survey.',
+          'description' => ts('FK to civicrm_contact, who created this Survey.'),
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
@@ -370,7 +370,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'created_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Campaign Created Date'),
-          'description' => 'Date and time that Survey was created.',
+          'description' => ts('Date and time that Survey was created.'),
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
@@ -380,7 +380,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'last_modified_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Survey Modified'),
-          'description' => 'FK to civicrm_contact, who recently edited this Survey.',
+          'description' => ts('FK to civicrm_contact, who recently edited this Survey.'),
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
@@ -391,7 +391,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'last_modified_date',
           'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
           'title' => ts('Survey Modified On'),
-          'description' => 'Date and time that Survey was edited last time.',
+          'description' => ts('Date and time that Survey was edited last time.'),
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
           'bao' => 'CRM_Campaign_BAO_Survey',
@@ -401,7 +401,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'result_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Survey Result'),
-          'description' => 'Used to store option group id.',
+          'description' => ts('Used to store option group id.'),
           'default' => 'NULL',
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
@@ -412,7 +412,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'bypass_confirm',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('No Email Verification'),
-          'description' => 'Bypass the email verification.',
+          'description' => ts('Bypass the email verification.'),
           'default' => '0',
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',
@@ -423,7 +423,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'thankyou_title',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Thank-you Title'),
-          'description' => 'Title for Thank-you page (header title tag, and display at the top of the page).',
+          'description' => ts('Title for Thank-you page (header title tag, and display at the top of the page).'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'table_name' => 'civicrm_survey',
@@ -435,7 +435,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'thankyou_text',
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Thank-you Text'),
-          'description' => 'text and html allowed. displayed above result on success page',
+          'description' => ts('text and html allowed. displayed above result on success page'),
           'rows' => 8,
           'cols' => 60,
           'table_name' => 'civicrm_survey',
@@ -450,7 +450,7 @@ class CRM_Campaign_DAO_Survey extends CRM_Core_DAO {
           'name' => 'is_share',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is shared through social media'),
-          'description' => 'Can people share the petition through social media?',
+          'description' => ts('Can people share the petition through social media?'),
           'default' => '1',
           'table_name' => 'civicrm_survey',
           'entity' => 'Survey',