]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/Languages.php
doc: add Make target to run phpDocumentor with Docker
[github/shaarli/Shaarli.git] / application / Languages.php
index 6a6247c7f1ea79c9fea9c467bc2d61617f1e70b7..5cda802e0c1faaf57058e0dca653cc713c90c0c3 100644 (file)
@@ -3,7 +3,6 @@
 namespace Shaarli;
 
 use Gettext\GettextTranslator;
-use Gettext\Merge;
 use Gettext\Translations;
 use Gettext\Translator;
 use Gettext\TranslatorInterface;
@@ -149,7 +148,9 @@ class Languages
             }
 
             try {
-                $extension = Translations::fromPoFile($translationPath . $this->language .'/LC_MESSAGES/'. $domain .'.po');
+                $extension = Translations::fromPoFile(
+                    $translationPath . $this->language .'/LC_MESSAGES/'. $domain .'.po'
+                );
                 $extension->setDomain($domain);
                 $this->translator->loadTranslations($extension);
             } catch (\InvalidArgumentException $e) {