Merge pull request #2358 from chamilo/flintci-1591

Applied fixes from FlintCI
pull/2487/head
Julio Montoya 7 years ago committed by GitHub
commit 8cc41d7f19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      main/inc/lib/internationalization.lib.php
  2. 1
      main/install/install.lib.php

@ -73,7 +73,7 @@ function get_lang($variable)
$defaultDomain = 'messages'; $defaultDomain = 'messages';
$translated = Container::getTranslator()->trans( $translated = Container::getTranslator()->trans(
$variable, $variable,
array(), [],
$defaultDomain $defaultDomain
); );
@ -81,7 +81,7 @@ function get_lang($variable)
// Check the langVariable for BC // Check the langVariable for BC
$translated = Container::getTranslator()->trans( $translated = Container::getTranslator()->trans(
"lang$variable", "lang$variable",
array(), [],
$defaultDomain $defaultDomain
); );

@ -469,7 +469,6 @@ function get_language_folder_list()
'sw' => 'swahili', 'sw' => 'swahili',
'yo' => 'yoruba' 'yo' => 'yoruba'
]; ];
} }
/** /**

Loading…
Cancel
Save