Skip to content

Commit b8bc186

Browse files
Sort by key comparing as strings
1 parent 425d254 commit b8bc186

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Generator/MoGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function generateString(Translations $translations): string
4545
$messages[$originalString] = $translation;
4646
}
4747

48-
ksort($messages);
48+
ksort($messages, SORT_STRING);
4949
$numEntries = count($messages);
5050
$originalsTable = '';
5151
$translationsTable = '';

0 commit comments

Comments
 (0)