Fix CiviCRM Home/Hide/Logout translation
authorMathieu Lutfy <mathieu@symbiotic.coop>
Fri, 18 Nov 2022 18:59:51 +0000 (13:59 -0500)
committerMathieu Lutfy <mathieu@bidon.ca>
Fri, 18 Nov 2022 18:59:51 +0000 (13:59 -0500)
CRM/Core/BAO/Navigation.php

index 4651c710b68be0ed731c82e42902490cfd7ea15c..1f4345fbeeb55795d8b35ef86cdbcaec6cb3b945 100644 (file)
@@ -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,