Translate description in DAO files
[civicrm-core.git] / CRM / Contact / DAO / Contact.php
index d7049145cb1a3bf122bb09b16b62c1dda742aec3..425e8cc992b0b45ff2086e29dd8a7ab19e4129e9 100644 (file)
@@ -414,7 +414,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Contact ID'),
-          'description' => 'Unique Contact ID',
+          'description' => ts('Unique Contact ID'),
           'required' => TRUE,
           'import' => TRUE,
           'where' => 'civicrm_contact.id',
@@ -430,7 +430,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'contact_type',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Contact Type'),
-          'description' => 'Type of Contact.',
+          'description' => ts('Type of Contact.'),
           'maxlength' => 64,
           'size' => CRM_Utils_Type::BIG,
           'export' => TRUE,
@@ -455,7 +455,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'contact_sub_type',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Contact Subtype'),
-          'description' => 'May be used to over-ride contact view and edit templates.',
+          'description' => ts('May be used to over-ride contact view and edit templates.'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'import' => TRUE,
@@ -572,7 +572,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'is_opt_out',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('No Bulk Emails (User Opt Out)'),
-          'description' => 'Has the contact opted out from receiving all bulk email from the organization or site domain?',
+          'description' => ts('Has the contact opted out from receiving all bulk email from the organization or site domain?'),
           'required' => TRUE,
           'import' => TRUE,
           'where' => 'civicrm_contact.is_opt_out',
@@ -592,8 +592,8 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'legal_identifier',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Legal Identifier'),
-          'description' => 'May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.
-    ',
+          'description' => ts('May be used for SSN, EIN/TIN, Household ID (census) or other applicable unique legal/government ID.
+    '),
           'maxlength' => 32,
           'size' => CRM_Utils_Type::MEDIUM,
           'import' => TRUE,
@@ -613,7 +613,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'external_identifier',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('External Identifier'),
-          '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' => 64,
           'size' => 8,
           'import' => TRUE,
@@ -633,7 +633,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'sort_name',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Sort Name'),
-          'description' => 'Name used for sorting different contact types',
+          'description' => ts('Name used for sorting different contact types'),
           'maxlength' => 128,
           'size' => 30,
           'export' => TRUE,
@@ -652,7 +652,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'display_name',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Display Name'),
-          'description' => 'Formatted name representing preferred format for display/print/other output.',
+          'description' => ts('Formatted name representing preferred format for display/print/other output.'),
           'maxlength' => 128,
           'size' => 30,
           'export' => TRUE,
@@ -671,7 +671,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'nick_name',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Nickname'),
-          'description' => 'Nickname.',
+          'description' => ts('Nickname.'),
           'maxlength' => 128,
           'size' => 30,
           'import' => TRUE,
@@ -691,7 +691,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'legal_name',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Legal Name'),
-          'description' => 'Legal Name.',
+          'description' => ts('Legal Name.'),
           'maxlength' => 128,
           'size' => 30,
           'import' => TRUE,
@@ -711,7 +711,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'image_URL',
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Image Url'),
-          'description' => 'optional URL for preferred image (photo, logo, etc.) to display for this contact.',
+          'description' => ts('optional URL for preferred image (photo, logo, etc.) to display for this contact.'),
           'import' => TRUE,
           'where' => 'civicrm_contact.image_URL',
           'headerPattern' => '',
@@ -729,7 +729,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'preferred_communication_method',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Preferred Communication Method'),
-          'description' => 'What is the preferred mode of communication.',
+          'description' => ts('What is the preferred mode of communication.'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'import' => TRUE,
@@ -754,7 +754,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'preferred_language',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Preferred Language'),
-          'description' => 'Which language is preferred for communication. FK to languages in civicrm_option_value.',
+          'description' => ts('Which language is preferred for communication. FK to languages in civicrm_option_value.'),
           'maxlength' => 5,
           'size' => CRM_Utils_Type::SIX,
           'import' => TRUE,
@@ -779,7 +779,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'preferred_mail_format',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Preferred Mail Format'),
-          'description' => 'What is the preferred mode of sending an email.',
+          'description' => ts('What is the preferred mode of sending an email.'),
           'maxlength' => 8,
           'size' => CRM_Utils_Type::EIGHT,
           'import' => TRUE,
@@ -803,7 +803,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'hash',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Contact Hash'),
-          'description' => 'Key for validating requests related to this contact.',
+          'description' => ts('Key for validating requests related to this contact.'),
           'maxlength' => 32,
           'size' => CRM_Utils_Type::MEDIUM,
           'export' => TRUE,
@@ -819,7 +819,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'api_key',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Api Key'),
-          'description' => 'API Key for validating requests related to this contact.',
+          'description' => ts('API Key for validating requests related to this contact.'),
           'maxlength' => 32,
           'size' => CRM_Utils_Type::MEDIUM,
           'table_name' => 'civicrm_contact',
@@ -831,7 +831,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'source',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Contact Source'),
-          'description' => 'where contact come from, e.g. import, donate module insert...',
+          'description' => ts('where contact come from, e.g. import, donate module insert...'),
           'maxlength' => 255,
           'size' => 30,
           'import' => TRUE,
@@ -851,7 +851,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'first_name',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('First Name'),
-          'description' => 'First Name.',
+          'description' => ts('First Name.'),
           'maxlength' => 64,
           'size' => 30,
           'import' => TRUE,
@@ -871,7 +871,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'middle_name',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Middle Name'),
-          'description' => 'Middle Name.',
+          'description' => ts('Middle Name.'),
           'maxlength' => 64,
           'size' => 30,
           'import' => TRUE,
@@ -891,7 +891,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'last_name',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Last Name'),
-          'description' => 'Last Name.',
+          'description' => ts('Last Name.'),
           'maxlength' => 64,
           'size' => 30,
           'import' => TRUE,
@@ -911,7 +911,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'prefix_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Individual Prefix'),
-          'description' => 'Prefix or Title for name (Ms, Mr...). FK to prefix ID',
+          'description' => ts('Prefix or Title for name (Ms, Mr...). FK to prefix ID'),
           'import' => TRUE,
           'where' => 'civicrm_contact.prefix_id',
           'headerPattern' => '/^(prefix|title)/i',
@@ -933,7 +933,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'suffix_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Individual Suffix'),
-          'description' => 'Suffix for name (Jr, Sr...). FK to suffix ID',
+          'description' => ts('Suffix for name (Jr, Sr...). FK to suffix ID'),
           'import' => TRUE,
           'where' => 'civicrm_contact.suffix_id',
           'headerPattern' => '/^suffix$/i',
@@ -955,7 +955,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'formal_title',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Formal Title'),
-          'description' => 'Formal (academic or similar) title in front of name. (Prof., Dr. etc.)',
+          'description' => ts('Formal (academic or similar) title in front of name. (Prof., Dr. etc.)'),
           'maxlength' => 64,
           'size' => CRM_Utils_Type::BIG,
           'import' => TRUE,
@@ -975,7 +975,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'communication_style_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Communication Style'),
-          'description' => 'Communication style (e.g. formal vs. familiar) to use with this contact. FK to communication styles in civicrm_option_value.',
+          'description' => ts('Communication style (e.g. formal vs. familiar) to use with this contact. FK to communication styles in civicrm_option_value.'),
           'export' => TRUE,
           'where' => 'civicrm_contact.communication_style_id',
           'headerPattern' => '',
@@ -996,7 +996,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'email_greeting_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Email Greeting ID'),
-          'description' => 'FK to civicrm_option_value.id, that has to be valid registered Email Greeting.',
+          'description' => ts('FK to civicrm_option_value.id, that has to be valid registered Email Greeting.'),
           'export' => TRUE,
           'where' => 'civicrm_contact.email_greeting_id',
           'headerPattern' => '',
@@ -1014,7 +1014,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'email_greeting_custom',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Email Greeting Custom'),
-          'description' => 'Custom Email Greeting.',
+          'description' => ts('Custom Email Greeting.'),
           'maxlength' => 128,
           'size' => CRM_Utils_Type::HUGE,
           'import' => TRUE,
@@ -1034,7 +1034,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'email_greeting_display',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Email Greeting'),
-          'description' => 'Cache Email Greeting.',
+          'description' => ts('Cache Email Greeting.'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'table_name' => 'civicrm_contact',
@@ -1049,7 +1049,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'postal_greeting_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Postal Greeting ID'),
-          'description' => 'FK to civicrm_option_value.id, that has to be valid registered Postal Greeting.',
+          'description' => ts('FK to civicrm_option_value.id, that has to be valid registered Postal Greeting.'),
           'export' => TRUE,
           'where' => 'civicrm_contact.postal_greeting_id',
           'headerPattern' => '',
@@ -1070,7 +1070,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'postal_greeting_custom',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Postal Greeting Custom'),
-          'description' => 'Custom Postal greeting.',
+          'description' => ts('Custom Postal greeting.'),
           'maxlength' => 128,
           'size' => CRM_Utils_Type::HUGE,
           'import' => TRUE,
@@ -1090,7 +1090,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'postal_greeting_display',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Postal Greeting'),
-          'description' => 'Cache Postal greeting.',
+          'description' => ts('Cache Postal greeting.'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'table_name' => 'civicrm_contact',
@@ -1105,7 +1105,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'addressee_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Addressee ID'),
-          'description' => 'FK to civicrm_option_value.id, that has to be valid registered Addressee.',
+          'description' => ts('FK to civicrm_option_value.id, that has to be valid registered Addressee.'),
           'export' => TRUE,
           'where' => 'civicrm_contact.addressee_id',
           'headerPattern' => '',
@@ -1123,7 +1123,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'addressee_custom',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Addressee Custom'),
-          'description' => 'Custom Addressee.',
+          'description' => ts('Custom Addressee.'),
           'maxlength' => 128,
           'size' => CRM_Utils_Type::HUGE,
           'import' => TRUE,
@@ -1143,7 +1143,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'addressee_display',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Addressee'),
-          'description' => 'Cache Addressee.',
+          'description' => ts('Cache Addressee.'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'table_name' => 'civicrm_contact',
@@ -1158,7 +1158,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'job_title',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Job Title'),
-          'description' => 'Job Title',
+          'description' => ts('Job Title'),
           'maxlength' => 255,
           'size' => 30,
           'import' => TRUE,
@@ -1178,7 +1178,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'gender_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Gender'),
-          'description' => 'FK to gender ID',
+          'description' => ts('FK to gender ID'),
           'import' => TRUE,
           'where' => 'civicrm_contact.gender_id',
           'headerPattern' => '/^gender$/i',
@@ -1200,7 +1200,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'birth_date',
           'type' => CRM_Utils_Type::T_DATE,
           'title' => ts('Birth Date'),
-          'description' => 'Date of birth',
+          'description' => ts('Date of birth'),
           'import' => TRUE,
           'where' => 'civicrm_contact.birth_date',
           'headerPattern' => '/^birth|(b(irth\s)?date)|D(\W*)O(\W*)B(\W*)$/i',
@@ -1237,7 +1237,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'deceased_date',
           'type' => CRM_Utils_Type::T_DATE,
           'title' => ts('Deceased Date'),
-          'description' => 'Date of deceased',
+          'description' => ts('Date of deceased'),
           'import' => TRUE,
           'where' => 'civicrm_contact.deceased_date',
           'headerPattern' => '/^deceased|(d(eceased\s)?date)$/i',
@@ -1256,7 +1256,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'household_name',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Household Name'),
-          'description' => 'Household Name.',
+          'description' => ts('Household Name.'),
           'maxlength' => 128,
           'size' => 30,
           'import' => TRUE,
@@ -1276,7 +1276,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'primary_contact_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Household Primary Contact ID'),
-          'description' => 'Optional FK to Primary Contact for this household.',
+          'description' => ts('Optional FK to Primary Contact for this household.'),
           'table_name' => 'civicrm_contact',
           'entity' => 'Contact',
           'bao' => 'CRM_Contact_BAO_Contact',
@@ -1290,7 +1290,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'organization_name',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Organization Name'),
-          'description' => 'Organization Name.',
+          'description' => ts('Organization Name.'),
           'maxlength' => 128,
           'size' => 30,
           'import' => TRUE,
@@ -1310,7 +1310,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'sic_code',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Sic Code'),
-          'description' => 'Standard Industry Classification Code.',
+          'description' => ts('Standard Industry Classification Code.'),
           'maxlength' => 8,
           'size' => CRM_Utils_Type::EIGHT,
           'import' => TRUE,
@@ -1330,7 +1330,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'user_unique_id',
           'type' => CRM_Utils_Type::T_STRING,
           'title' => ts('Unique ID (OpenID)'),
-          'description' => 'the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM',
+          'description' => ts('the OpenID (or OpenID-style http://username.domain/) unique identifier for this contact mainly used for logging in to CiviCRM'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
           'import' => TRUE,
@@ -1351,7 +1351,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'employer_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Current Employer'),
-          'description' => 'OPTIONAL FK to civicrm_contact record.',
+          'description' => ts('OPTIONAL FK to civicrm_contact record.'),
           'export' => TRUE,
           'where' => 'civicrm_contact.employer_id',
           'headerPattern' => '',
@@ -1387,7 +1387,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'created_date',
           'type' => CRM_Utils_Type::T_TIMESTAMP,
           'title' => ts('Created Date'),
-          'description' => 'When was the contact was created.',
+          'description' => ts('When was the contact was created.'),
           'required' => FALSE,
           'export' => TRUE,
           'where' => 'civicrm_contact.created_date',
@@ -1403,7 +1403,7 @@ class CRM_Contact_DAO_Contact extends CRM_Core_DAO {
           'name' => 'modified_date',
           'type' => CRM_Utils_Type::T_TIMESTAMP,
           'title' => ts('Modified Date'),
-          'description' => 'When was the contact (or closely related entity) was created or modified or deleted.',
+          'description' => ts('When was the contact (or closely related entity) was created or modified or deleted.'),
           'required' => FALSE,
           'export' => TRUE,
           'where' => 'civicrm_contact.modified_date',