Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Sort translation files by keys #493

Merged
merged 1 commit into from
Mar 31, 2020
Merged

Conversation

sbocinec
Copy link
Contributor

@sbocinec sbocinec commented Mar 30, 2020

There is a huge mess in the translations and it's hard to keep it in sync. This complements the effort started in #481 and simply just sort translation files by the keys.

Then checking for the missing translations is just doing diff between the file that we consider as a base/authoritative (i guess it's en.json or no.json) what massively speeds up translations.

Command used for the sort: for file in *.json; do jq -S '.' $file > $file.sorted; mv $file.sorted $file; done

@sbocinec sbocinec merged commit dbc7a5a into BustByte:master Mar 31, 2020
Copy link
Contributor

@btutal btutal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is ok for TR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants