From ff5418468199e76284844607d3fabd8c802d4568 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 20 Apr 2022 14:37:54 +0200 Subject: [PATCH] Menu: Don't translate home titles Homes can't be provided by modules, so there's no way that a translation exists. --- library/Icinga/Web/Menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Menu.php b/library/Icinga/Web/Menu.php index 49c868579..c0af398fe 100644 --- a/library/Icinga/Web/Menu.php +++ b/library/Icinga/Web/Menu.php @@ -169,7 +169,7 @@ class Menu extends Navigation } $dashboardHomes[$home->name] = [ - 'label' => t($home->label), + 'label' => $home->label, 'priority' => $home->priority, 'url' => Url::fromPath(Dashboard::BASE_ROUTE . '/home', [ 'home' => $home->name