Skip to content

Commit

Permalink
fix: Remove sorting lang keys
Browse files Browse the repository at this point in the history
  • Loading branch information
neznaika0 committed Aug 5, 2024
1 parent 8342ecc commit cf93a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Commands/Translation/LocalizationSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private function process(string $originalLocale, string $targetLocale): void
}

$targetLanguageKeys = $this->mergeLanguageKeys($originalLanguageKeys, $targetLanguageKeys, $originalLanguageFile->getBasename('.php'));
ksort($targetLanguageKeys);
// ksort($targetLanguageKeys);

$content = "<?php\n\nreturn " . var_export($targetLanguageKeys, true) . ";\n";
file_put_contents($targetLanguageFile, $content);
Expand Down

0 comments on commit cf93a62

Please sign in to comment.