Fix ts to E::ts
authoreileen <emcnaughton@wikimedia.org>
Sun, 21 Mar 2021 20:33:54 +0000 (09:33 +1300)
committereileen <emcnaughton@wikimedia.org>
Sun, 21 Mar 2021 20:33:54 +0000 (09:33 +1300)
ext/authx/authx.php

index 66ab1e41f072eb60b92b7b2732cc4eaa6d12a29c..95fd219557b8a725f4f1d7367051701f05f2b720 100644 (file)
@@ -220,8 +220,8 @@ function authx_civicrm_themes(&$themes) {
  * @see CRM_Utils_Hook::permission()
  */
 function authx_civicrm_permission(&$permissions) {
-  $permissions['authenticate with password'] = ts('AuthX: Authenticate to services with password');
-  $permissions['authenticate with api key'] = ts('AuthX: Authenticate to services with API key');
+  $permissions['authenticate with password'] = E::ts('AuthX: Authenticate to services with password');
+  $permissions['authenticate with api key'] = E::ts('AuthX: Authenticate to services with API key');
 }
 
 // --- Functions below this ship commented out. Uncomment as required. ---