From d554ee957270ae63fa33e6b4b2cc30a15fd3f67a Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Fri, 31 Jul 2015 09:56:24 -0400 Subject: [PATCH] Removed unnecessary file path (let ExtendedIni figure it out). --- .../src/VuFind/View/Helper/Root/DisplayLanguageOption.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/module/VuFind/src/VuFind/View/Helper/Root/DisplayLanguageOption.php b/module/VuFind/src/VuFind/View/Helper/Root/DisplayLanguageOption.php index 2d80c55d084..7d1c0812874 100644 --- a/module/VuFind/src/VuFind/View/Helper/Root/DisplayLanguageOption.php +++ b/module/VuFind/src/VuFind/View/Helper/Root/DisplayLanguageOption.php @@ -56,9 +56,7 @@ class DisplayLanguageOption extends \Zend\View\Helper\AbstractHelper $this->translator = $translator; try { $this->translator->addTranslationFile( - 'ExtendedIni', - APPLICATION_PATH . '/languages/native.ini', - 'default', 'native' + 'ExtendedIni', null, 'default', 'native' ); $this->translator->setLocale('native'); } catch (\Zend\Mvc\Exception\BadMethodCallException $e) { -- GitLab