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

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

Loading…
Cancel
Save