]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/Language.class.php
Merge pull request #1200 from wallabag/fix-relaunch-import
[github/wallabag/wallabag.git] / inc / poche / Language.class.php
index 790cc197a1d97236ce0986ab1eb9f6c994ef12b9..962159c020d8fbe8718a66e614e28e4758d7d097 100644 (file)
@@ -17,7 +17,8 @@ class Language
     private $languageNames = array(
         'cs_CZ.utf8' => 'čeština',
         'de_DE.utf8' => 'German',
-        'en_EN.utf8' => 'English',
+        'en_GB.utf8' => 'English (GB)',
+        'en_US.utf8' => 'English (US)',
         'es_ES.utf8' => 'Español',
         'fa_IR.utf8' => 'فارسی',
         'fr_FR.utf8' => 'Français',
@@ -107,8 +108,7 @@ class Language
 
         $_SESSION['poche_user']->setConfig($currentConfig);
 
-        $this->wallabag->emptyCache();
-
+        Tools::emptyCache();
         Tools::redirect('?view=config');
     }
-} 
\ No newline at end of file
+}