Commit 215b423e authored by eileen's avatar eileen

Translate description in DAO files

This relates to the attempt here https://github.com/civicrm/civicrm-core/pull/12971
to use description directly in the Entity Forms & questions as to whether it is translated.

Currently they are not but there seems like no downside in translating them
parent a65a9691
......@@ -140,7 +140,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('ACL ID'),
'description' => 'Unique table ID',
'description' => ts('Unique table ID'),
'required' => TRUE,
'table_name' => 'civicrm_acl',
'entity' => 'ACL',
......@@ -151,7 +151,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'name' => 'name',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('ACL Name'),
'description' => 'ACL Name.',
'description' => ts('ACL Name.'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'table_name' => 'civicrm_acl',
......@@ -166,7 +166,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'name' => 'deny',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Deny ACL?'),
'description' => 'Is this ACL entry Allow (0) or Deny (1) ?',
'description' => ts('Is this ACL entry Allow (0) or Deny (1) ?'),
'required' => TRUE,
'default' => '0',
'table_name' => 'civicrm_acl',
......@@ -181,7 +181,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'name' => 'entity_table',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('ACL Entity'),
'description' => 'Table of the object possessing this ACL entry (Contact, Group, or ACL Group)',
'description' => ts('Table of the object possessing this ACL entry (Contact, Group, or ACL Group)'),
'required' => TRUE,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
......@@ -194,7 +194,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'name' => 'entity_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Entity ID'),
'description' => 'ID of the object possessing this ACL',
'description' => ts('ID of the object possessing this ACL'),
'table_name' => 'civicrm_acl',
'entity' => 'ACL',
'bao' => 'CRM_ACL_BAO_ACL',
......@@ -204,7 +204,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'name' => 'operation',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('ACL Operation'),
'description' => 'What operation does this ACL entry control?',
'description' => ts('What operation does this ACL entry control?'),
'required' => TRUE,
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
......@@ -223,7 +223,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'name' => 'object_table',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('ACL Object'),
'description' => 'The table of the object controlled by this ACL entry',
'description' => ts('The table of the object controlled by this ACL entry'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'table_name' => 'civicrm_acl',
......@@ -235,7 +235,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'name' => 'object_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('ACL Object ID'),
'description' => 'The ID of the object controlled by this ACL entry',
'description' => ts('The ID of the object controlled by this ACL entry'),
'table_name' => 'civicrm_acl',
'entity' => 'ACL',
'bao' => 'CRM_ACL_BAO_ACL',
......@@ -245,7 +245,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'name' => 'acl_table',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('ACL Table'),
'description' => 'If this is a grant/revoke entry, what table are we granting?',
'description' => ts('If this is a grant/revoke entry, what table are we granting?'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'table_name' => 'civicrm_acl',
......@@ -257,7 +257,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'name' => 'acl_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('ACL Group ID'),
'description' => 'ID of the ACL or ACL group being granted/revoked',
'description' => ts('ID of the ACL or ACL group being granted/revoked'),
'table_name' => 'civicrm_acl',
'entity' => 'ACL',
'bao' => 'CRM_ACL_BAO_ACL',
......@@ -267,7 +267,7 @@ class CRM_ACL_DAO_ACL extends CRM_Core_DAO {
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('ACL Is Active?'),
'description' => 'Is this property active?',
'description' => ts('Is this property active?'),
'table_name' => 'civicrm_acl',
'entity' => 'ACL',
'bao' => 'CRM_ACL_BAO_ACL',
......
......@@ -92,7 +92,7 @@ class CRM_ACL_DAO_Cache extends CRM_Core_DAO {
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Cache ID'),
'description' => 'Unique table ID',
'description' => ts('Unique table ID'),
'required' => TRUE,
'table_name' => 'civicrm_acl_cache',
'entity' => 'Cache',
......@@ -103,7 +103,7 @@ class CRM_ACL_DAO_Cache extends CRM_Core_DAO {
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Cache Contact'),
'description' => 'Foreign Key to Contact',
'description' => ts('Foreign Key to Contact'),
'table_name' => 'civicrm_acl_cache',
'entity' => 'Cache',
'bao' => 'CRM_ACL_BAO_Cache',
......@@ -114,7 +114,7 @@ class CRM_ACL_DAO_Cache extends CRM_Core_DAO {
'name' => 'acl_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Cache ACL'),
'description' => 'Foreign Key to ACL',
'description' => ts('Foreign Key to ACL'),
'required' => TRUE,
'table_name' => 'civicrm_acl_cache',
'entity' => 'Cache',
......@@ -126,7 +126,7 @@ class CRM_ACL_DAO_Cache extends CRM_Core_DAO {
'name' => 'modified_date',
'type' => CRM_Utils_Type::T_TIMESTAMP,
'title' => ts('Cache Modified Date'),
'description' => 'When was this cache entry last modified',
'description' => ts('When was this cache entry last modified'),
'required' => FALSE,
'table_name' => 'civicrm_acl_cache',
'entity' => 'Cache',
......
......@@ -98,7 +98,7 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Entity Role'),
'description' => 'Unique table ID',
'description' => ts('Unique table ID'),
'required' => TRUE,
'table_name' => 'civicrm_acl_entity_role',
'entity' => 'EntityRole',
......@@ -109,7 +109,7 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
'name' => 'acl_role_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('ACL Role ID'),
'description' => 'Foreign Key to ACL Role (which is an option value pair and hence an implicit FK)',
'description' => ts('Foreign Key to ACL Role (which is an option value pair and hence an implicit FK)'),
'required' => TRUE,
'table_name' => 'civicrm_acl_entity_role',
'entity' => 'EntityRole',
......@@ -120,7 +120,7 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
'name' => 'entity_table',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Entity Table'),
'description' => 'Table of the object joined to the ACL Role (Contact or Group)',
'description' => ts('Table of the object joined to the ACL Role (Contact or Group)'),
'required' => TRUE,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
......@@ -133,7 +133,7 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
'name' => 'entity_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('ACL Entity ID'),
'description' => 'ID of the group/contact object being joined',
'description' => ts('ID of the group/contact object being joined'),
'required' => TRUE,
'table_name' => 'civicrm_acl_entity_role',
'entity' => 'EntityRole',
......@@ -144,7 +144,7 @@ class CRM_ACL_DAO_EntityRole extends CRM_Core_DAO {
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('ACL Entity Role is Active'),
'description' => 'Is this property active?',
'description' => ts('Is this property active?'),
'table_name' => 'civicrm_acl_entity_role',
'entity' => 'EntityRole',
'bao' => 'CRM_ACL_BAO_EntityRole',
......
This diff is collapsed.
......@@ -92,7 +92,7 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Activity Contact ID'),
'description' => 'Activity contact id',
'description' => ts('Activity contact id'),
'required' => TRUE,
'table_name' => 'civicrm_activity_contact',
'entity' => 'ActivityContact',
......@@ -103,7 +103,7 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
'name' => 'activity_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Activity ID'),
'description' => 'Foreign key to the activity for this record.',
'description' => ts('Foreign key to the activity for this record.'),
'required' => TRUE,
'table_name' => 'civicrm_activity_contact',
'entity' => 'ActivityContact',
......@@ -115,7 +115,7 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Contact ID (match to contact)'),
'description' => 'Foreign key to the contact for this record.',
'description' => ts('Foreign key to the contact for this record.'),
'required' => TRUE,
'import' => TRUE,
'where' => 'civicrm_activity_contact.contact_id',
......@@ -132,7 +132,7 @@ class CRM_Activity_DAO_ActivityContact extends CRM_Core_DAO {
'name' => 'record_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Record Type ID'),
'description' => 'Nature of this contact\'s role in the activity: 1 assignee, 2 creator, 3 focus or target.',
'description' => ts('Nature of this contact\'s role in the activity: 1 assignee, 2 creator, 3 focus or target.'),
'table_name' => 'civicrm_activity_contact',
'entity' => 'ActivityContact',
'bao' => 'CRM_Activity_BAO_ActivityContact',
......
......@@ -182,7 +182,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch ID'),
'description' => 'Unique Address ID',
'description' => ts('Unique Address ID'),
'required' => TRUE,
'table_name' => 'civicrm_batch',
'entity' => 'Batch',
......@@ -193,7 +193,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'name',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Batch Name'),
'description' => 'Variable name/programmatic handle for this batch.',
'description' => ts('Variable name/programmatic handle for this batch.'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'table_name' => 'civicrm_batch',
......@@ -208,7 +208,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'title',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Batch Title'),
'description' => 'Friendly Name.',
'description' => ts('Friendly Name.'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'table_name' => 'civicrm_batch',
......@@ -223,7 +223,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'description',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Batch Description'),
'description' => 'Description of this batch set.',
'description' => ts('Description of this batch set.'),
'rows' => 4,
'cols' => 80,
'table_name' => 'civicrm_batch',
......@@ -238,7 +238,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'created_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Created By'),
'description' => 'FK to Contact ID',
'description' => ts('FK to Contact ID'),
'table_name' => 'civicrm_batch',
'entity' => 'Batch',
'bao' => 'CRM_Batch_BAO_Batch',
......@@ -249,7 +249,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'created_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Batch Created Date'),
'description' => 'When was this item created',
'description' => ts('When was this item created'),
'table_name' => 'civicrm_batch',
'entity' => 'Batch',
'bao' => 'CRM_Batch_BAO_Batch',
......@@ -262,7 +262,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'modified_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Modified By'),
'description' => 'FK to Contact ID',
'description' => ts('FK to Contact ID'),
'table_name' => 'civicrm_batch',
'entity' => 'Batch',
'bao' => 'CRM_Batch_BAO_Batch',
......@@ -273,7 +273,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'modified_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Batch Modified Date'),
'description' => 'When was this item created',
'description' => ts('When was this item created'),
'table_name' => 'civicrm_batch',
'entity' => 'Batch',
'bao' => 'CRM_Batch_BAO_Batch',
......@@ -283,7 +283,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'saved_search_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Smart Group'),
'description' => 'FK to Saved Search ID',
'description' => ts('FK to Saved Search ID'),
'table_name' => 'civicrm_batch',
'entity' => 'Batch',
'bao' => 'CRM_Batch_BAO_Batch',
......@@ -297,7 +297,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'status_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Status'),
'description' => 'fk to Batch Status options in civicrm_option_values',
'description' => ts('fk to Batch Status options in civicrm_option_values'),
'required' => TRUE,
'table_name' => 'civicrm_batch',
'entity' => 'Batch',
......@@ -315,7 +315,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Type'),
'description' => 'fk to Batch Type options in civicrm_option_values',
'description' => ts('fk to Batch Type options in civicrm_option_values'),
'table_name' => 'civicrm_batch',
'entity' => 'Batch',
'bao' => 'CRM_Batch_BAO_Batch',
......@@ -332,7 +332,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'mode_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Mode'),
'description' => 'fk to Batch mode options in civicrm_option_values',
'description' => ts('fk to Batch mode options in civicrm_option_values'),
'table_name' => 'civicrm_batch',
'entity' => 'Batch',
'bao' => 'CRM_Batch_BAO_Batch',
......@@ -349,7 +349,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'total',
'type' => CRM_Utils_Type::T_MONEY,
'title' => ts('Batch Total'),
'description' => 'Total amount for this batch.',
'description' => ts('Total amount for this batch.'),
'precision' => [
20,
2
......@@ -366,7 +366,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'item_count',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Number of Items'),
'description' => 'Number of items in a batch.',
'description' => ts('Number of items in a batch.'),
'table_name' => 'civicrm_batch',
'entity' => 'Batch',
'bao' => 'CRM_Batch_BAO_Batch',
......@@ -379,7 +379,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'payment_instrument_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch Payment Method'),
'description' => 'fk to Payment Instrument options in civicrm_option_values',
'description' => ts('fk to Payment Instrument options in civicrm_option_values'),
'table_name' => 'civicrm_batch',
'entity' => 'Batch',
'bao' => 'CRM_Batch_BAO_Batch',
......@@ -405,7 +405,7 @@ class CRM_Batch_DAO_Batch extends CRM_Core_DAO {
'name' => 'data',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Batch Data'),
'description' => 'cache entered data',
'description' => ts('cache entered data'),
'table_name' => 'civicrm_batch',
'entity' => 'Batch',
'bao' => 'CRM_Batch_BAO_Batch',
......
......@@ -92,7 +92,7 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO {
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('EntityBatch ID'),
'description' => 'primary key',
'description' => ts('primary key'),
'required' => TRUE,
'table_name' => 'civicrm_entity_batch',
'entity' => 'EntityBatch',
......@@ -103,7 +103,7 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO {
'name' => 'entity_table',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('EntityBatch Table'),
'description' => 'physical tablename for entity being joined to file, e.g. civicrm_contact',
'description' => ts('physical tablename for entity being joined to file, e.g. civicrm_contact'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'table_name' => 'civicrm_entity_batch',
......@@ -115,7 +115,7 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO {
'name' => 'entity_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Entity ID'),
'description' => 'FK to entity table specified in entity_table column.',
'description' => ts('FK to entity table specified in entity_table column.'),
'required' => TRUE,
'table_name' => 'civicrm_entity_batch',
'entity' => 'EntityBatch',
......@@ -126,7 +126,7 @@ class CRM_Batch_DAO_EntityBatch extends CRM_Core_DAO {
'name' => 'batch_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Batch ID'),
'description' => 'FK to civicrm_batch',
'description' => ts('FK to civicrm_batch'),
'required' => TRUE,
'table_name' => 'civicrm_entity_batch',
'entity' => 'EntityBatch',
......
......@@ -184,7 +184,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Campaign ID'),
'description' => 'Unique Campaign ID.',
'description' => ts('Unique Campaign ID.'),
'required' => TRUE,
'import' => TRUE,
'where' => 'civicrm_campaign.id',
......@@ -200,7 +200,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'name',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Campaign Name'),
'description' => 'Name of the Campaign.',
'description' => ts('Name of the Campaign.'),
'required' => TRUE,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
......@@ -221,7 +221,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'title',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Campaign Title'),
'description' => 'Title of the Campaign.',
'description' => ts('Title of the Campaign.'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'import' => TRUE,
......@@ -241,7 +241,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'description',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Campaign Description'),
'description' => 'Full description of Campaign.',
'description' => ts('Full description of Campaign.'),
'rows' => 8,
'cols' => 60,
'table_name' => 'civicrm_campaign',
......@@ -256,7 +256,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'start_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Campaign Start Date'),
'description' => 'Date and time that Campaign starts.',
'description' => ts('Date and time that Campaign starts.'),
'import' => TRUE,
'where' => 'civicrm_campaign.start_date',
'headerPattern' => '/^start|(s(tart\s)?date)$/i',
......@@ -274,7 +274,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'end_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Campaign End Date'),
'description' => 'Date and time that Campaign ends.',
'description' => ts('Date and time that Campaign ends.'),
'import' => TRUE,
'where' => 'civicrm_campaign.end_date',
'headerPattern' => '/^end|(e(nd\s)?date)$/i',
......@@ -292,7 +292,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'campaign_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Campaign Type'),
'description' => 'Campaign Type ID.Implicit FK to civicrm_option_value where option_group = campaign_type',
'description' => ts('Campaign Type ID.Implicit FK to civicrm_option_value where option_group = campaign_type'),
'import' => TRUE,
'where' => 'civicrm_campaign.campaign_type_id',
'headerPattern' => '',
......@@ -315,7 +315,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'status_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Campaign Status'),
'description' => 'Campaign status ID.Implicit FK to civicrm_option_value where option_group = campaign_status',
'description' => ts('Campaign status ID.Implicit FK to civicrm_option_value where option_group = campaign_status'),
'import' => TRUE,
'where' => 'civicrm_campaign.status_id',
'headerPattern' => '',
......@@ -338,7 +338,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'external_identifier',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Campaign External ID'),
'description' => 'Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.',
'description' => ts('Unique trusted external ID (generally from a legacy app/datasource). Particularly useful for deduping operations.'),
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
'import' => TRUE,
......@@ -358,7 +358,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'parent_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Parent Campaign'),
'description' => 'Optional parent id for this Campaign.',
'description' => ts('Optional parent id for this Campaign.'),
'import' => TRUE,
'where' => 'civicrm_campaign.parent_id',
'headerPattern' => '',
......@@ -378,7 +378,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Campaign Active?'),
'description' => 'Is this Campaign enabled or disabled/cancelled?',
'description' => ts('Is this Campaign enabled or disabled/cancelled?'),
'default' => '1',
'table_name' => 'civicrm_campaign',
'entity' => 'Campaign',
......@@ -392,7 +392,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'created_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Campaign Created By'),
'description' => 'FK to civicrm_contact, who created this Campaign.',
'description' => ts('FK to civicrm_contact, who created this Campaign.'),
'table_name' => 'civicrm_campaign',
'entity' => 'Campaign',
'bao' => 'CRM_Campaign_BAO_Campaign',
......@@ -403,7 +403,7 @@ class CRM_Campaign_DAO_Campaign 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 Campaign was created.',
'description' => ts('Date and time that Campaign was created.'),
'table_name' => 'civicrm_campaign',
'entity' => 'Campaign',
'bao' => 'CRM_Campaign_BAO_Campaign',
......@@ -416,7 +416,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'last_modified_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Campaign Modified By'),
'description' => 'FK to civicrm_contact, who recently edited this Campaign.',
'description' => ts('FK to civicrm_contact, who recently edited this Campaign.'),
'table_name' => 'civicrm_campaign',
'entity' => 'Campaign',
'bao' => 'CRM_Campaign_BAO_Campaign',
......@@ -427,7 +427,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'last_modified_date',
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Campaign Modified Date'),
'description' => 'Date and time that Campaign was edited last time.',
'description' => ts('Date and time that Campaign was edited last time.'),
'table_name' => 'civicrm_campaign',
'entity' => 'Campaign',
'bao' => 'CRM_Campaign_BAO_Campaign',
......@@ -437,7 +437,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'goal_general',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Campaign Goals'),
'description' => 'General goals for Campaign.',
'description' => ts('General goals for Campaign.'),
'table_name' => 'civicrm_campaign',
'entity' => 'Campaign',
'bao' => 'CRM_Campaign_BAO_Campaign',
......@@ -450,7 +450,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO {
'name' => 'goal_revenue',
'type' => CRM_Utils_Type::T_MONEY,
'title' => ts('Goal Revenue'),
'description' => 'The target revenue for this campaign.',
'description' => ts('The target revenue for this campaign.'),
'precision' => [
20,
2
......
......@@ -99,7 +99,7 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO {
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Campaign Group ID'),
'description' => 'Campaign Group id.',
'description' => ts('Campaign Group id.'),
'required' => TRUE,
'table_name' => 'civicrm_campaign_group',
'entity' => 'CampaignGroup',
......@@ -110,7 +110,7 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO {
'name' => 'campaign_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Campaign'),
'description' => 'Foreign key to the activity Campaign.',
'description' => ts('Foreign key to the activity Campaign.'),
'required' => TRUE,
'table_name' => 'civicrm_campaign_group',
'entity' => 'CampaignGroup',
......@@ -127,7 +127,7 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO {
'name' => 'group_type',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Campaign Group Type'),
'description' => 'Type of Group.',
'description' => ts('Type of Group.'),
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'default' => 'NULL',
......@@ -146,7 +146,7 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO {
'name' => 'entity_table',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Entity Table'),
'description' => 'Name of table where item being referenced is stored.',
'description' => ts('Name of table where item being referenced is stored.'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'default' => 'NULL',
......@@ -159,7 +159,7 @@ class CRM_Campaign_DAO_CampaignGroup extends CRM_Core_DAO {
'name' => 'entity_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Entity ID'),
'description' => 'Entity id of referenced table.',
'description' => ts('Entity id of referenced table.'),
'default' => 'NULL',
'table_name' => 'civicrm_campaign_group',
'entity' => 'CampaignGroup',
......
......@@ -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',