Skip to content

Commit cde1e02

Browse files
committed
style: Format code
1 parent 62bff7e commit cde1e02

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎system/Commands/Translation/LocalizationFinder.php‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ public function run(array $params)
6262

6363
if (is_string($optionLocale)) {
6464
if (! in_array($optionLocale, config(App::class)->supportedLocales, true)) {
65-
CLI::error('Error: Supported locales ' . implode(', ', config(App::class)->supportedLocales));
65+
CLI::error(
66+
'Error: "' . $optionLocale . '" is not supported. Supported locales: '
67+
. implode(', ', config(App::class)->supportedLocales)
68+
);
6669

6770
return EXIT_USER_INPUT;
6871
}

0 commit comments

Comments
 (0)