From 42d605a0b55c307662612564652d4fa8c2a32bbb Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 17 May 2023 12:36:32 -0700 Subject: [PATCH] Fixup ts() accept_card, preferred_communication_method --- .../accept_creditcard.sqldata.php | 2 +- .../preferred_communication_method.sqldata.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sql/civicrm_option_groups/accept_creditcard.sqldata.php b/sql/civicrm_option_groups/accept_creditcard.sqldata.php index edc884d38a..283bb555b3 100644 --- a/sql/civicrm_option_groups/accept_creditcard.sqldata.php +++ b/sql/civicrm_option_groups/accept_creditcard.sqldata.php @@ -2,7 +2,7 @@ return CRM_Core_CodeGen_OptionGroup::create('accept_creditcard', 'a/0009') ->addMetadata([ 'title' => ts('Accepted Credit Cards'), - 'description' => ts('The following credit card options will be offered to contributors using Online Contribution pages. You will need to verify which cards are accepted by your chosen Payment Processor and update these entries accordingly.IMPORTANT: These options do not control credit card/payment method choices for sites and/or contributors using the PayPal Express service (e.g. where billing information is collected on the Payment Processor\\\'s website).'), + 'description' => ts('The following credit card options will be offered to contributors using Online Contribution pages. You will need to verify which cards are accepted by your chosen Payment Processor and update these entries accordingly.') . ts('IMPORTANT: These options do not control credit card/payment method choices for sites and/or contributors using the PayPal Express service (e.g. where billing information is collected on the Payment Processor\\\'s website).'), ]) ->addValues(['label', 'name', 'value'], [ ['Visa', 'Visa', 1], diff --git a/sql/civicrm_option_groups/preferred_communication_method.sqldata.php b/sql/civicrm_option_groups/preferred_communication_method.sqldata.php index c5889d7ac2..83971e053b 100644 --- a/sql/civicrm_option_groups/preferred_communication_method.sqldata.php +++ b/sql/civicrm_option_groups/preferred_communication_method.sqldata.php @@ -4,9 +4,9 @@ return CRM_Core_CodeGen_OptionGroup::create('preferred_communication_method', 'a 'title' => ts('Preferred Communication Method'), ]) ->addValues(['label', 'name'], [ - ['Phone', 'Phone'], - ['Email', 'Email'], - ['Postal Mail', 'Postal Mail'], - ['SMS', 'SMS'], - ['Fax', 'Fax'], + [ts('Phone'), 'Phone'], + [ts('Email'), 'Email'], + [ts('Postal Mail'), 'Postal Mail'], + [ts('SMS'), 'SMS'], + [ts('Fax'), 'Fax'], ]); -- 2.25.1