mirror of
https://github.com/apache/airflow.git
synced 2026-03-26 15:28:46 +00:00
The script had no good support for auto-complete and the like and since everyone now use breeze for some tasks, we also should have it as a regular breeze command. Also the sorting order implemented by eslint jsonc natural sorting was quite a bit different from what you'd expect: * it sorts character-by-character case-insensitive * it uses original sorting as tie-breker in case of characters case-insensitve order * handles numbers natuarlly (2<10) * treats _ as end of word and sort it before everything else * similarly with end of word - shorter words are before longer if they have the same prefix This PR updates the command and also fixes sorting order and add unit tests to test vital parts of the translation script.