From c786cb9b7e7df8087f440583f3cfd7b3758ec4e3 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 21 Nov 2017 17:42:21 +0100 Subject: [PATCH] doc/configuration: use late translation --- modules/doc/configuration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/doc/configuration.php b/modules/doc/configuration.php index b87dd5ed0..8b909ef4f 100644 --- a/modules/doc/configuration.php +++ b/modules/doc/configuration.php @@ -3,7 +3,7 @@ /** @var $this \Icinga\Application\Modules\Module */ -$section = $this->menuSection($this->translate('Documentation'), array( +$section = $this->menuSection(N_('Documentation'), array( 'title' => 'Documentation', 'icon' => 'book', 'url' => 'doc', @@ -16,7 +16,7 @@ $section->add('Icinga Web 2', array( $section->add('Module documentations', array( 'url' => 'doc/module', )); -$section->add($this->translate('Developer - Style'), array( +$section->add(N_('Developer - Style'), array( 'url' => 'doc/style/guide', 'priority' => 790 ));