1
0
Fork 0
mirror of synced 2024-07-06 23:21:05 +12:00

switched to var_dump

This commit is contained in:
Damodar Lohani 2023-05-11 07:08:11 +00:00
parent 6be37d1ae4
commit a634aeddce

View file

@ -673,7 +673,7 @@ foreach ($locales as $locale) {
if (!\file_exists($path)) {
$path = __DIR__ . '/config/locale/translations/' . \substr($code, 0, 2) . '.json'; // if `ar-ae` doesn't exist, look for `ar`
if (!\file_exists($path)) {
Console::error('Unable to find tralsnations for ' . $locale . ' so using en.json');
var_dump('Unable to find tralsnations for ' . $locale['code'] . ' so using en.json');
$path = __DIR__ . '/config/locale/translations/en.json'; // if none translation exists, use default from `en.json`
}
}