From 5e84bc7514cd092f4530ccd37107f833d0be2e5e Mon Sep 17 00:00:00 2001 From: Awilum Date: Sat, 10 Nov 2018 00:54:29 +0300 Subject: [PATCH] Plugins: using flextype-components/i18n v1.1.0 --- flextype/Plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flextype/Plugins.php b/flextype/Plugins.php index c3f0b604..b8cecbeb 100755 --- a/flextype/Plugins.php +++ b/flextype/Plugins.php @@ -154,7 +154,7 @@ class Plugins foreach ($plugins_list as $plugin) { $language_file = PATH['plugins'] . '/' . $plugin . '/languages/' . $locale . '.yaml'; if (Filesystem::fileExists($language_file)) { - I18n::add($plugin, $locale, Yaml::parseFile($language_file)); + I18n::add(Yaml::parseFile($language_file), $locale); } } }