-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate dist files for new translations #528
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the behaviour for sorting Other
isn't working correctly -- I looked at fr
("Autre") and see that it moved from the end of the file up next to others starting with "A".
I'll look into fixing this now and will post here once the fix is merged, so we can generate it again.
Fix is in #529 |
In #528, we discovered that new localized `dist` output for `Value`s had a different sort order than existing files. The reason turned out to be that the old implementation sorted localized values according to their English names, while the new one sorted according to the localized names. This PR changes the sort logic to match the previous behaviour: sorting by the English name, regardless of the localization. It also adds tests to cover this case. I tested generating `dist` files for values with the `fr` locale and the changes were as expected.
6cdb1a1
to
0b834d9
Compare
Thanks @danielpgross --pushing another commit after the fix (LGTM). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great now 🚀
Let's be sure to squash the commits into a single one either before or as part of the merge into main
, since the first commit has a huge diff that we don't need to keep.
8ee02ca
to
a17af17
Compare
Opening a separate PR to generate dist files that were causing argo test to fail in #524 + quoting "ON" in polish to avoid script parsing error.