aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/Languages.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/Languages.php')
-rw-r--r--application/Languages.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/Languages.php b/application/Languages.php
index 6a6247c7..b9c5d0e8 100644
--- a/application/Languages.php
+++ b/application/Languages.php
@@ -149,7 +149,9 @@ class Languages
149 } 149 }
150 150
151 try { 151 try {
152 $extension = Translations::fromPoFile($translationPath . $this->language .'/LC_MESSAGES/'. $domain .'.po'); 152 $extension = Translations::fromPoFile(
153 $translationPath . $this->language .'/LC_MESSAGES/'. $domain .'.po'
154 );
153 $extension->setDomain($domain); 155 $extension->setDomain($domain);
154 $this->translator->loadTranslations($extension); 156 $this->translator->loadTranslations($extension);
155 } catch (\InvalidArgumentException $e) { 157 } catch (\InvalidArgumentException $e) {