mirror of
https://github.com/processwire/processwire.git
synced 2025-08-14 10:45:54 +02:00
Fix issue where files listed in ProcessLanguageTranslator were unsorted
This commit is contained in:
@@ -288,6 +288,7 @@ class ProcessLanguageTranslator extends Process implements ConfigurableModule {
|
||||
$untranslated => array(),
|
||||
);
|
||||
$maxLength = 0;
|
||||
sort($value);
|
||||
foreach($value as $file) {
|
||||
$textdomain = $this->translator->filenameToTextdomain($file);
|
||||
$label = substr($file, 5);
|
||||
|
Reference in New Issue
Block a user