Skip to content

Commit 0e64944

Browse files
committed
fix: Sorting of found files
1 parent 626cad0 commit 0e64944

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)