diff options
| author | 2015-01-06 21:10:51 +0100 | |
|---|---|---|
| committer | 2015-01-06 21:10:51 +0100 | |
| commit | addcea9cd45a87f2ae56f879bad86425efc16fba (patch) | |
| tree | 2ee5d9b04e7ff01ae632a5f7747022bd0cc2ac09 /lib/Minz/Session.php | |
| parent | 5f9672111f86c693d843138c00934a6c3eeede45 (diff) | |
Fix i18n loading and availableLanguages calls
- Change the way to init i18n
- Add a availableLanguages() method to Minz_Translate
See https://github.com/FreshRSS/FreshRSS/issues/730
Diffstat (limited to 'lib/Minz/Session.php')
| -rw-r--r-- | lib/Minz/Session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Session.php b/lib/Minz/Session.php index af4de75bb..cfe8debe9 100644 --- a/lib/Minz/Session.php +++ b/lib/Minz/Session.php @@ -55,7 +55,7 @@ class Minz_Session { if (!$force) { self::_param('language', $language); - Minz_Translate::reset(); + Minz_Translate::reset($language); } } |
