Skip to content

Commit

Permalink
Merge pull request #1585 from sur5r/master
Browse files Browse the repository at this point in the history
[MOD Log which locale failed to load
  • Loading branch information
nuxsmin authored Sep 25, 2021
2 parents 861ce46 + afb81d9 commit ac00338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SP/Core/Language.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public static function setLocales($lang)
$locale = setlocale(LC_ALL, $lang);

if ($locale === false) {
logger('Could not set locale', 'ERROR');
logger('Could not set locale to ' . $lang, 'ERROR');
logger('Domain path: ' . LOCALES_PATH);
} else {
logger('Locale set to: ' . $locale);
Expand Down

0 comments on commit ac00338

Please sign in to comment.