Skip to content

Commit 1fc2852

Browse files
committed
fix: Sorting of found files
1 parent 034f9dd commit 1fc2852

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎system/Commands/Translation/LocalizationFinder.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ public function run(array $params)
8888
}
8989

9090
$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($currentDir));
91+
$files = iterator_to_array($iterator, true);
92+
ksort($files);
9193
$this->writeIsVerbose('Current locale: ' . $currentLocale);
9294
$this->writeIsVerbose('Find phrases in ' . $currentDir . ' folder...');
9395

0 commit comments

Comments
 (0)