From 2c305917e2b05ecc7163bcd080023d26e6ea03e0 Mon Sep 17 00:00:00 2001 From: ALL IN APPLI admin <62597730+allinappliadmin@users.noreply.github.com> Date: Wed, 9 Aug 2023 16:44:57 +0200 Subject: [PATCH] E:: to make it look after the extension's translation --- ext/afform/core/Civi/Afform/Utils.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/ext/afform/core/Civi/Afform/Utils.php b/ext/afform/core/Civi/Afform/Utils.php index 2dc219cb75..613787f0c6 100644 --- a/ext/afform/core/Civi/Afform/Utils.php +++ b/ext/afform/core/Civi/Afform/Utils.php @@ -12,6 +12,8 @@ namespace Civi\Afform; +use CRM_Afform_ExtensionUtil as E; + /** * * @package Civi\Afform @@ -65,14 +67,14 @@ class Utils { '<' => '<', '>=' => '≥', '<=' => '≤', - 'CONTAINS' => ts('Contains'), - 'NOT CONTAINS' => ts("Doesn't Contain"), - 'IN' => ts('Is One Of'), - 'NOT IN' => ts('Not One Of'), - 'LIKE' => ts('Is Like'), - 'NOT LIKE' => ts('Not Like'), - 'REGEXP' => ts('Matches Pattern'), - 'NOT REGEXP' => ts("Doesn't Match Pattern"), + 'CONTAINS' => E::ts('Contains'), + 'NOT CONTAINS' => E::ts("Doesn't Contain"), + 'IN' => E::ts('Is One Of'), + 'NOT IN' => E::ts('Not One Of'), + 'LIKE' => E::ts('Is Like'), + 'NOT LIKE' => E::ts('Not Like'), + 'REGEXP' => E::ts('Matches Pattern'), + 'NOT REGEXP' => E::ts("Doesn't Match Pattern"), ]; } -- 2.25.1