mirror of
https://github.com/processwire/processwire.git
synced 2025-08-15 11:14:12 +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(),
|
$untranslated => array(),
|
||||||
);
|
);
|
||||||
$maxLength = 0;
|
$maxLength = 0;
|
||||||
|
sort($value);
|
||||||
foreach($value as $file) {
|
foreach($value as $file) {
|
||||||
$textdomain = $this->translator->filenameToTextdomain($file);
|
$textdomain = $this->translator->filenameToTextdomain($file);
|
||||||
$label = substr($file, 5);
|
$label = substr($file, 5);
|
||||||
|
Reference in New Issue
Block a user