Skip to content

Commit b025df1

Browse files
committed
fix: Language correction
1 parent 8122123 commit b025df1

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎system/Commands/Translation/LocalizationFinder.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ class LocalizationFinder extends BaseCommand
2828
protected $usage = 'lang:find [options]';
2929
protected $arguments = [];
3030
protected $options = [
31-
'--locale' => 'Specify locale (en, ru, etc...) to save files.',
32-
'--dir' => 'Directory for searching for translations (in relation to the APPPATH).',
33-
'--show-new' => 'See only new translations as table. Do not write to files.',
31+
'--locale' => 'Specify locale (en, ru, etc.) to save files.',
32+
'--dir' => 'Directory to search for translations relative to APPPATH.',
33+
'--show-new' => 'Show only new translations in table. Does not write to files.',
3434
'--verbose' => 'Output detailed information.',
3535
];
3636

‎system/Commands/Translation/LocalizationFinder/ArrayHelper.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
class ArrayHelper
1515
{
1616
/**
17-
* Compare recursive two associative arrays and return new array (difference)
18-
* Returns keys that exist in $original but not in $compareWith
17+
* Compare recursively two associative arrays and return difference as new array.
18+
* Returns keys that exist in `$original` but not in `$compareWith`.
1919
*/
2020
public static function recursiveDiff(array $original, array $compareWith): array
2121
{
@@ -55,7 +55,7 @@ public static function recursiveDiff(array $original, array $compareWith): array
5555
}
5656

5757
/**
58-
* Count all keys (with nested keys)
58+
* Recursively count all keys.
5959
*/
6060
public static function recursiveCount(array $array, int $counter = 0): int
6161
{

0 commit comments

Comments
 (0)