From 4540d6d3991eb96ab9f5d0359607affc1ca15219 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Wed, 8 Jan 2020 15:30:48 -0500 Subject: [PATCH] make translatable --- settings/Map.setting.php | 16 ++++++++-------- settings/Member.setting.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/settings/Map.setting.php b/settings/Map.setting.php index 6796c19702..dd474c53cd 100644 --- a/settings/Map.setting.php +++ b/settings/Map.setting.php @@ -34,8 +34,8 @@ return [ 'maxlength' => '64', ], 'default' => NULL, - 'title' => 'Geo Provider Key', - 'description' => 'Enter the API key or Application ID associated with your geocoding provider.', + 'title' => ts('Geo Provider Key'), + 'description' => ts('Enter the API key or Application ID associated with your geocoding provider.'), ], 'geoProvider' => [ 'add' => '4.7', @@ -55,8 +55,8 @@ return [ 'callback' => 'CRM_Core_SelectValues::geoProvider', ], 'default' => NULL, - 'title' => 'Geocoding Provider', - 'description' => 'This can be the same or different from the mapping provider selected.', + 'title' => ts('Geocoding Provider'), + 'description' => ts('This can be the same or different from the mapping provider selected.'), ], 'mapAPIKey' => [ 'add' => '4.7', @@ -74,8 +74,8 @@ return [ 'maxlength' => '64', ], 'default' => NULL, - 'title' => 'Map Provider Key', - 'description' => 'Enter your API Key or Application ID. An API Key is required for the Google Maps API. Refer to developers.google.com for the latest information.', + 'title' => ts('Map Provider Key'), + 'description' => ts('Enter your API Key or Application ID. An API Key is required for the Google Maps API. Refer to developers.google.com for the latest information.'), ], 'mapProvider' => [ 'add' => '4.7', @@ -95,7 +95,7 @@ return [ 'callback' => 'CRM_Core_SelectValues::mapProvider', ], 'default' => NULL, - 'title' => 'Mapping Provider', - 'description' => 'Choose the mapping provider that has the best coverage for the majority of your contact addresses.', + 'title' => ts('Mapping Provider'), + 'description' => ts('Choose the mapping provider that has the best coverage for the majority of your contact addresses.'), ], ]; diff --git a/settings/Member.setting.php b/settings/Member.setting.php index 2909b28954..c45fd19664 100644 --- a/settings/Member.setting.php +++ b/settings/Member.setting.php @@ -33,7 +33,7 @@ return [ 'callback' => 'CRM_Contribute_PseudoConstant::contributionPage', ], 'add' => '4.1', - 'title' => 'Default online membership renewal page', + 'title' => ts('Default online membership renewal page'), 'is_domain' => 1, 'is_contact' => 0, 'description' => ts('If you select a default online contribution page for self-service membership renewals, a "renew" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.'), -- 2.25.1