Skip to content

Commit c564374

Browse files
committed
fix: Language correction
1 parent 156b947 commit c564374

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎system/Commands/Translation/LocalizationFinder.php‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ class LocalizationFinder extends BaseCommand
2727
protected $usage = 'lang:find [options]';
2828
protected $arguments = [];
2929
protected $options = [
30-
'--locale' => 'Apply changes to the selected locale (en, ru, etc...).',
30+
'--locale' => 'Specify locale (en, ru, etc...) to save files.',
3131
'--dir' => 'Directory for searching for translations (in relation to the APPPATH).',
32-
'--show-new' => 'See only new translations as table.',
32+
'--show-new' => 'See only new translations as table. Do not write to files.',
3333
'--verbose' => 'Output detailed information.',
3434
];
3535

@@ -74,7 +74,7 @@ public function run(array $params)
7474
$tempCurrentDir = realpath($currentDir . $optionDir);
7575

7676
if (false === $tempCurrentDir) {
77-
CLI::error('Error: Dir must be located in ' . $currentDir);
77+
CLI::error('Error: Directory must be located in "' . $currentDir . '"');
7878

7979
return EXIT_USER_INPUT;
8080
}
@@ -199,7 +199,7 @@ private function buildMultiArray(array $fromKeys, string $lastArrayValue = ''):
199199
}
200200

201201
/**
202-
* Compare recursive two arrays and return new array (diference)
202+
* Compare recursive two arrays and return new array (difference)
203203
*/
204204
private function arrayDiffRecursive(array $originalArray, array $compareArray): array
205205
{

0 commit comments

Comments
 (0)