Skip to content
Extraits de code Groupes Projets
Valider 73b1ef4b rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

refs #5863 do not load each plugin language file twice if lang = en which is also default language

parent 20a657db
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -983,7 +983,7 @@ class Manager extends Singleton ...@@ -983,7 +983,7 @@ class Manager extends Singleton
} }
// merge in specific language translations (to overwrite english defaults) // merge in specific language translations (to overwrite english defaults)
if (file_exists($defaultLangPath)) { if ($defaultEnglishLangPath != $defaultLangPath && file_exists($defaultLangPath)) {
$translations = $this->getTranslationsFromFile($defaultLangPath); $translations = $this->getTranslationsFromFile($defaultLangPath);
$translationsLoaded = true; $translationsLoaded = true;
if (isset($translations[$pluginName])) { if (isset($translations[$pluginName])) {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter