From: Mathieu Lutfy Date: Fri, 18 Nov 2022 18:59:51 +0000 (-0500) Subject: Fix CiviCRM Home/Hide/Logout translation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=98e27c5edb280b6f3388196b8d092c4935f46262;p=civicrm-core.git Fix CiviCRM Home/Hide/Logout translation --- diff --git a/CRM/Core/BAO/Navigation.php b/CRM/Core/BAO/Navigation.php index 4651c710b6..1f4345fbee 100644 --- a/CRM/Core/BAO/Navigation.php +++ b/CRM/Core/BAO/Navigation.php @@ -898,7 +898,7 @@ FROM civicrm_navigation WHERE domain_id = $domainID"; $item['child'] = [ [ 'attributes' => [ - 'label' => 'CiviCRM Home', + 'label' => ts('CiviCRM Home'), 'name' => 'CiviCRM Home', 'url' => 'civicrm/dashboard?reset=1', 'weight' => 1, @@ -906,7 +906,7 @@ FROM civicrm_navigation WHERE domain_id = $domainID"; ], [ 'attributes' => [ - 'label' => 'Hide Menu', + 'label' => ts('Hide Menu'), 'name' => 'Hide Menu', 'url' => '#hidemenu', 'weight' => 2, @@ -914,7 +914,7 @@ FROM civicrm_navigation WHERE domain_id = $domainID"; ], [ 'attributes' => [ - 'label' => 'Log out', + 'label' => ts('Log out'), 'name' => 'Log out', 'url' => 'civicrm/logout?reset=1', 'weight' => 3,