rename role admin forms for consistency with user admin
authorbenjamin <benjamin>
Tue, 5 Dec 2023 11:21:43 +0000 (11:21 +0000)
committerbenjamin <benjamin>
Tue, 12 Dec 2023 17:36:23 +0000 (17:36 +0000)
ext/standaloneusers/ang/afsearchAdministerRoles.aff.html [moved from ext/standaloneusers/ang/afsearchUserRoles.aff.html with 100% similarity]
ext/standaloneusers/ang/afsearchAdministerRoles.aff.php [moved from ext/standaloneusers/ang/afsearchUserRoles.aff.php with 90% similarity]
ext/standaloneusers/managed/SavedSearch_Administer_Roles.mgd.php
ext/standaloneusers/managed/SavedSearch_Administer_UserAccounts.mgd.php [moved from ext/standaloneusers/managed/SavedSearch_Administer_Users.mgd.php with 98% similarity]

similarity index 90%
rename from ext/standaloneusers/ang/afsearchUserRoles.aff.php
rename to ext/standaloneusers/ang/afsearchAdministerRoles.aff.php
index 85fd811028da81ef9d8915fcbc94bc23f60e22c7..bc9e608cc7da857e30dd99e6a3c875b9c8dd80e3 100644 (file)
@@ -3,7 +3,7 @@ use CRM_Standaloneusers_ExtensionUtil as E;
 
 return [
   'type' => 'search',
-  'title' => E::ts('User Roles'),
+  'title' => E::ts('Administer Roles'),
   'description' => E::ts('List of roles defined on the system.'),
   'icon' => 'fa-graduation-cap',
   'server_route' => 'civicrm/admin/roles',
index a17ed750e7c34724e97ca1d052f9eb743af103fb..ce517d5a06648e7fd742edfd7d84ee0be28300e4 100644 (file)
@@ -11,7 +11,7 @@ return [
       'version' => 4,
       'values' => [
         'name' => 'Roles',
-        'label' => E::ts('Roles'),
+        'label' => E::ts('Administer Roles'),
         'form_values' => NULL,
         'mapping_id' => NULL,
         'search_custom_id' => NULL,
@@ -47,7 +47,7 @@ return [
       'version' => 4,
       'values' => [
         'name' => 'Roles_Table_1',
-        'label' => E::ts('Roles Table 1'),
+        'label' => E::ts('Administer Roles'),
         'saved_search_id.name' => 'Roles',
         'type' => 'table',
         'settings' => [
similarity index 98%
rename from ext/standaloneusers/managed/SavedSearch_Administer_Users.mgd.php
rename to ext/standaloneusers/managed/SavedSearch_Administer_UserAccounts.mgd.php
index 5cb59f98841e9a05294a23aac7d6dca4ecf23d3e..4d88d453c1879b6797dc7710811d98e79886d586 100644 (file)
@@ -11,7 +11,7 @@ return [
       'version' => 4,
       'values' => [
         'name' => 'Users',
-        'label' => E::ts('Administer Users'),
+        'label' => E::ts('Administer User accounts'),
         'api_entity' => 'User',
         'api_params' => [
           'version' => 4,
@@ -45,7 +45,7 @@ return [
       'version' => 4,
       'values' => [
         'name' => 'Users',
-        'label' => E::ts('Users'),
+        'label' => E::ts('Administer User accounts'),
         'saved_search_id.name' => 'Users',
         'type' => 'table',
         'settings' => [