diff --git a/library/Icinga/Web/Controller/ActionController.php b/library/Icinga/Web/Controller/ActionController.php index 9d5eb1ab5..17eb39411 100644 --- a/library/Icinga/Web/Controller/ActionController.php +++ b/library/Icinga/Web/Controller/ActionController.php @@ -280,9 +280,7 @@ class ActionController extends Zend_Controller_Action */ public function translate($text) { - $module = $this->getRequest()->getModuleName(); - $domain = $module === 'default' ? Translator::DEFAULT_DOMAIN : $module; - return Translator::translate($text, $domain); + return Translator::translate($text, $this->view->translationDomain); } protected function ignoreXhrBody()