switched to var_dump
This commit is contained in:
parent
6be37d1ae4
commit
a634aeddce
1 changed files with 1 additions and 1 deletions
|
@ -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`
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue