CRM-20417 - translate strings
authoryashodha <yashodha.chaku@webaccessglobal.com>
Wed, 12 Apr 2017 09:15:29 +0000 (14:45 +0530)
committeryashodha <yashodha.chaku@webaccessglobal.com>
Wed, 12 Apr 2017 09:15:29 +0000 (14:45 +0530)
14 files changed:
CRM/Admin/Form/Preferences/Address.php
CRM/Campaign/Info.php
CRM/Contribute/BAO/Contribution.php
CRM/Event/BAO/Participant.php
CRM/Grant/BAO/Grant.php
CRM/Mailing/BAO/Query.php
CRM/Mailing/Info.php
CRM/Member/BAO/Membership.php
CRM/Member/Info.php
CRM/Member/Selector/Search.php
CRM/Pledge/BAO/Pledge.php
CRM/Report/Form/Contact/Relationship.php
CRM/Report/Form/Membership/Summary.php
CRM/Report/Info.php

index 5994bb300edb43a0ad5f61aaee6a9f18265d6fc6..b00f7b673953e8120abfdf78b18263791a5f5245 100644 (file)
@@ -65,7 +65,7 @@ class CRM_Admin_Form_Preferences_Address extends CRM_Admin_Form_Preferences {
         ),
         'hideCountryMailingLabels' => array(
           'html_type' => 'YesNo',
-          'title' => 'Hide Country in Mailing Labels when same as domain country',
+          'title' => ts('Hide Country in Mailing Labels when same as domain country'),
           'weight' => 4,
         ),
       ),
index 7d0cef34da11d723202be6315d29256e5a1a440a..8667ca30c38c935f0c9adbd41603300ddcc17ff2 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Campaign_Info extends CRM_Core_Component_Info {
     return array(
       'name' => 'CiviCampaign',
       'translatedName' => ts('CiviCampaign'),
-      'title' => 'CiviCRM Campaign Engine',
+      'title' => ts('CiviCRM Campaign Engine'),
       'search' => 1,
       'showActivitiesInCore' => 1,
     );
index aee8f8beba1236a298bcd2be5f3ebeaeed751cda..1af7a78a816a41433479b7a1770f142d4af56df5 100644 (file)
@@ -842,31 +842,31 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution {
       $softCreditFields = array(
         'contribution_soft_credit_name' => array(
           'name' => 'contribution_soft_credit_name',
-          'title' => 'Soft Credit For',
+          'title' => ts('Soft Credit For'),
           'where' => 'civicrm_contact_d.display_name',
           'data_type' => CRM_Utils_Type::T_STRING,
         ),
         'contribution_soft_credit_amount' => array(
           'name' => 'contribution_soft_credit_amount',
-          'title' => 'Soft Credit Amount',
+          'title' => ts('Soft Credit Amount'),
           'where' => 'civicrm_contribution_soft.amount',
           'data_type' => CRM_Utils_Type::T_MONEY,
         ),
         'contribution_soft_credit_type' => array(
           'name' => 'contribution_soft_credit_type',
-          'title' => 'Soft Credit Type',
+          'title' => ts('Soft Credit Type'),
           'where' => 'contribution_softcredit_type.label',
           'data_type' => CRM_Utils_Type::T_STRING,
         ),
         'contribution_soft_credit_contribution_id' => array(
           'name' => 'contribution_soft_credit_contribution_id',
-          'title' => 'Soft Credit For Contribution ID',
+          'title' => ts('Soft Credit For Contribution ID'),
           'where' => 'civicrm_contribution_soft.contribution_id',
           'data_type' => CRM_Utils_Type::T_INT,
         ),
         'contribution_soft_credit_contact_id' => array(
           'name' => 'contribution_soft_credit_contact_id',
-          'title' => 'Soft Credit For Contact ID',
+          'title' => ts('Soft Credit For Contact ID'),
           'where' => 'civicrm_contact_d.id',
           'data_type' => CRM_Utils_Type::T_INT,
         ),
@@ -1173,31 +1173,31 @@ LEFT JOIN  civicrm_line_item i ON ( i.contribution_id = c.id AND i.entity_table
     $extraFields = array(
       'contribution_soft_credit_name' => array(
         'name' => 'contribution_soft_credit_name',
-        'title' => 'Soft Credit Name',
+        'title' => ts('Soft Credit Name'),
         'headerPattern' => '/^soft_credit_name$/i',
         'where' => 'civicrm_contact_d.display_name',
       ),
       'contribution_soft_credit_email' => array(
         'name' => 'contribution_soft_credit_email',
-        'title' => 'Soft Credit Email',
+        'title' => ts('Soft Credit Email'),
         'headerPattern' => '/^soft_credit_email$/i',
         'where' => 'soft_email.email',
       ),
       'contribution_soft_credit_phone' => array(
         'name' => 'contribution_soft_credit_phone',
-        'title' => 'Soft Credit Phone',
+        'title' => ts('Soft Credit Phone'),
         'headerPattern' => '/^soft_credit_phone$/i',
         'where' => 'soft_phone.phone',
       ),
       'contribution_soft_credit_contact_id' => array(
         'name' => 'contribution_soft_credit_contact_id',
-        'title' => 'Soft Credit Contact ID',
+        'title' => ts('Soft Credit Contact ID'),
         'headerPattern' => '/^soft_credit_contact_id$/i',
         'where' => 'civicrm_contribution_soft.contact_id',
       ),
       'contribution_pcp_title' => array(
         'name' => 'contribution_pcp_title',
-        'title' => 'Personal Campaign Page Title',
+        'title' => ts('Personal Campaign Page Title'),
         'headerPattern' => '/^contribution_pcp_title$/i',
         'where' => 'contribution_pcp.title',
       ),
index 93b0d41c04f05902159ccd9c7131e1f2a2233a05..50dc253ee2b0a9a36b3ea6c7c65a0608df92ab69 100644 (file)
@@ -750,7 +750,7 @@ GROUP BY  participant.event_id
       $eventFields = CRM_Event_DAO_Event::export();
       $noteField = array(
         'participant_note' => array(
-          'title' => 'Participant Note',
+          'title' => ts('Participant Note'),
           'name' => 'participant_note',
           'type' => CRM_Utils_Type::T_STRING,
         ),
@@ -758,7 +758,7 @@ GROUP BY  participant.event_id
 
       $participantStatus = array(
         'participant_status' => array(
-          'title' => 'Participant Status (label)',
+          'title' => ts('Participant Status (label)'),
           'name' => 'participant_status',
           'type' => CRM_Utils_Type::T_STRING,
         ),
@@ -766,7 +766,7 @@ GROUP BY  participant.event_id
 
       $participantRole = array(
         'participant_role' => array(
-          'title' => 'Participant Role (label)',
+          'title' => ts('Participant Role (label)'),
           'name' => 'participant_role',
           'type' => CRM_Utils_Type::T_STRING,
         ),
index 0300ec5f64965d3943665c321e4d0d245c0e379e..7a669d599e6b71fd26579a98fd8a0d73fdf4aecb 100644 (file)
@@ -353,27 +353,27 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant {
 
       $grantFields = array(
         'grant_status' => array(
-          'title' => 'Grant Status',
+          'title' => ts('Grant Status'),
           'name' => 'grant_status',
           'data_type' => CRM_Utils_Type::T_STRING,
         ),
         'grant_type' => array(
-          'title' => 'Grant Type',
+          'title' => ts('Grant Type'),
           'name' => 'grant_type',
           'data_type' => CRM_Utils_Type::T_STRING,
         ),
         'grant_money_transfer_date' => array(
-          'title' => 'Grant Money Transfer Date',
+          'title' => ts('Grant Money Transfer Date'),
           'name' => 'grant_money_transfer_date',
           'data_type' => CRM_Utils_Type::T_DATE,
         ),
         'grant_amount_requested' => array(
-          'title' => 'Grant Amount Requested',
+          'title' => ts('Grant Amount Requested'),
           'name' => 'grant_amount_requested',
           'data_type' => CRM_Utils_Type::T_FLOAT,
         ),
         'grant_application_received_date' => array(
-          'title' => 'Grant Application Received Date',
+          'title' => ts('Grant Application Received Date'),
           'name' => 'grant_application_received_date',
           'data_type' => CRM_Utils_Type::T_DATE,
         ),
index d53554fd48acd765c92ba2555f82d492266826b9..7d690ad8ab7461949537afd228472c8e70a87b06 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Mailing_BAO_Query {
       self::$_mailingFields = array();
       $_mailingFields['mailing_id'] = array(
         'name' => 'mailing_id',
-        'title' => 'Mailing ID',
+        'title' => ts('Mailing ID'),
         'where' => 'civicrm_mailing.id',
       );
     }
index 5615e59c5cd35d292511dc9be29fbed0d2dca976..f902b526c7fc210ce3e8fd76729c423fbb2d06e0 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Mailing_Info extends CRM_Core_Component_Info {
     return array(
       'name' => 'CiviMail',
       'translatedName' => ts('CiviMail'),
-      'title' => 'CiviCRM Mailing Engine',
+      'title' => ts('CiviCRM Mailing Engine'),
       'search' => 1,
       'showActivitiesInCore' => 1,
     );
index 527ba6435873d0ac9e2e6381817642dec816fbec..ad9338a4d3a53be76fb3afd4bec96924ae7d9d95 100644 (file)
@@ -1000,7 +1000,7 @@ INNER JOIN  civicrm_membership_type type ON ( type.id = membership.membership_ty
     $fields = array_merge($fields, $expFieldMembership);
     $membershipStatus = array(
       'membership_status' => array(
-        'title' => 'Membership Status',
+        'title' => ts('Membership Status'),
         'name' => 'membership_status',
         'type' => CRM_Utils_Type::T_STRING,
         'where' => 'civicrm_membership_status.name',
index 93491bac4b00ae9dbc0f30275edb1a6b21bb6aa6..4d7e6d594fd09e2c34ae350dcbd0adc3f8717eb4 100644 (file)
@@ -58,7 +58,7 @@ class CRM_Member_Info extends CRM_Core_Component_Info {
     return array(
       'name' => 'CiviMember',
       'translatedName' => ts('CiviMember'),
-      'title' => 'CiviCRM Membership Engine',
+      'title' => ts('CiviCRM Membership Engine'),
       'search' => 1,
       'showActivitiesInCore' => 1,
     );
index e6ccbe8bc05bcaeee154766e89ce558da8bba216..696623f6683be470e0fcae3d7db4c17faa8937c4 100644 (file)
@@ -255,7 +255,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
         'name' => ts('Cancel Auto-renewal'),
         'url' => 'civicrm/contribute/unsubscribe',
         'qs' => 'reset=1&mid=%%id%%&context=%%cxt%%' . $extraParams,
-        'title' => 'Cancel Auto Renew Subscription',
+        'title' => ts('Cancel Auto Renew Subscription'),
       );
     }
     elseif (isset(self::$_links['all'][CRM_Core_Action::DISABLE])) {
index 10c502e2a61842b0c2e7abc01d4e32e559f9246c..f368882facfd7e8253daef3c94b1af4388cb0b24 100644 (file)
@@ -748,22 +748,22 @@ GROUP BY  currency
 
       $pledgeFields = array(
         'pledge_status' => array(
-          'title' => 'Pledge Status',
+          'title' => ts('Pledge Status'),
           'name' => 'pledge_status',
           'data_type' => CRM_Utils_Type::T_STRING,
         ),
         'pledge_frequency_unit' => array(
-          'title' => 'Pledge Frequency Unit',
+          'title' => ts('Pledge Frequency Unit'),
           'name' => 'pledge_frequency_unit',
           'data_type' => CRM_Utils_Type::T_ENUM,
         ),
         'pledge_frequency_interval' => array(
-          'title' => 'Pledge Frequency Interval',
+          'title' => ts('Pledge Frequency Interval'),
           'name' => 'pledge_frequency_interval',
           'data_type' => CRM_Utils_Type::T_INT,
         ),
         'pledge_contribution_page_id' => array(
-          'title' => 'Pledge Contribution Page Id',
+          'title' => ts('Pledge Contribution Page Id'),
           'name' => 'pledge_contribution_page_id',
           'data_type' => CRM_Utils_Type::T_INT,
         ),
index 431b2b8fb19e0fe36d48ff73f7236b3549282b66..1495acc1173abab9849208584178b1d5419d0415 100644 (file)
@@ -554,7 +554,7 @@ class CRM_Report_Form_Contact_Relationship extends CRM_Report_Form {
     // For displaying relationship status.
     if (!$isStatusFilter && $relStatus) {
       $statistics['filters'][] = array(
-        'title' => 'Relationship Status',
+        'title' => ts('Relationship Status'),
         'value' => $relStatus,
       );
     }
index 1462db2bc680766f63c7cdbf1f7c2705d038984a..771d635abc2525e2efffb3312b0e169b3b3d6c6e 100644 (file)
@@ -85,7 +85,7 @@ class CRM_Report_Form_Membership_Summary extends CRM_Report_Form {
         'grouping' => 'member-fields',
         'fields' => array(
           'membership_type_id' => array(
-            'title' => 'Membership Type',
+            'title' => ts('Membership Type'),
             'required' => TRUE,
           ),
           'join_date' => NULL,
index 34d5dce04348279fe850bc2d33a6c00a3871d29a..a38157d18703d4d9373aee25feaad2512101d74a 100644 (file)
@@ -54,7 +54,7 @@ class CRM_Report_Info extends CRM_Core_Component_Info {
     return array(
       'name' => 'CiviReport',
       'translatedName' => ts('CiviReport'),
-      'title' => 'CiviCRM Report Engine',
+      'title' => ts('CiviCRM Report Engine'),
       'search' => 0,
       'showActivitiesInCore' => 1,
     );