From 9e3682abf3492a8e3695f22fc85ddf30f6dd40d2 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Thu, 21 Mar 2024 09:48:39 +0000 Subject: [PATCH] permission format change --- exportpermission.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/exportpermission.php b/exportpermission.php index af527b4..1e8ed4e 100644 --- a/exportpermission.php +++ b/exportpermission.php @@ -37,20 +37,20 @@ function exportpermission_civicrm_enable() { */ function exportpermission_civicrm_permission(&$permissions) { $permissions[EXPORT_PERMISSION_NAME] = [ - E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access export menu'), - E::ts('Access "Export as CSV" drop down menu item from actions menu on after search/report'), + 'label' => E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access export menu'), + 'description' => E::ts('Access "Export as CSV" drop down menu item from actions menu on after search/report'), ]; $permissions[PRINT_PERMISSION_NAME] = [ - E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access print menu'), - E::ts('Access "Print" drop down menu item from actions menu on search/report'), + 'label' => E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access print menu'), + 'description' => E::ts('Access "Print" drop down menu item from actions menu on search/report'), ]; $permissions[PDF_PERMISSION_NAME] = [ - E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access print pdf menu'), - E::ts('Access "Print/Merge document (PDF Letter)" drop down menu item from actions menu on search/report'), + 'label' => E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access print pdf menu'), + 'description' => E::ts('Access "Print/Merge document (PDF Letter)" drop down menu item from actions menu on search/report'), ]; $permissions[LABEL_PERMISSION_NAME] = [ - E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access mailing labels menu'), - E::ts('Access "Print Mailing Labels" drop down menu item from actions menu on search/report'), + 'label' => E::ts('CiviCRM Export Permissions') . ': ' . E::ts('access mailing labels menu'), + 'description' => E::ts('Access "Print Mailing Labels" drop down menu item from actions menu on search/report'), ]; }