Skip to content
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

Removing Stale i18n Keys #1008

Merged

Conversation

Abby-Wheelis
Copy link
Member

So far, I've deleted all the i18n keys I couldn't find used somewhere in the phone repo (aside from the dashboard "game" keys). This will make the translations easier to maintain.

Before this is ready, I need to test across as many different configurations as I can to make sure I don't remove keys that are needed somewhere.

Deleting all the keys that I couldn't find used in the phone repo ... there's still some game-related ones I wasn't sure about
keys in main-metrics section related to the game, which is no longer a supported feature
@Abby-Wheelis
Copy link
Member Author

All in, this is removing about 150 keys that aren't used anymore, which should streamline maintaining translations and adding new languages. As the app keeps changing, the translations strings needed likely will as well, and a "clean slate" should help with this.

@Abby-Wheelis Abby-Wheelis marked this pull request as ready for review August 9, 2023 20:02
@Abby-Wheelis Abby-Wheelis changed the base branch from framework_migration_prep to aria_and_fall_2023_rewrite August 18, 2023 15:51
www/i18n/en.json Show resolved Hide resolved
www/i18n/en.json Show resolved Hide resolved
www/i18n/en.json Show resolved Hide resolved
www/i18n/en.json Show resolved Hide resolved
www/i18n/en.json Show resolved Hide resolved
www/i18n/en.json Show resolved Hide resolved
www/i18n/en.json Outdated Show resolved Hide resolved
www/i18n/en.json Outdated Show resolved Hide resolved
Abby Wheelis added 3 commits August 19, 2023 10:41
There was one key that I eliminated because I could not find it used, it turns out the wrong key was being referenced so I restored the key and corrected the reference here
I had eliminated this key because it was not used, but in review we figured out where it was intended to be used and have restored it and updated the reference
was missing the consent.permissions key somehow, adding it back here
@shankari shankari merged commit 3d2e1b9 into e-mission:aria_and_fall_2023_rewrite Aug 19, 2023
@Abby-Wheelis
Copy link
Member Author

Ah! I found a couple of things that we're actually still wrong comparing to the translate version so there will be a small follow to this. I think I deleted some things by mistake somewhere along the way

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

Successfully merging this pull request may close these issues.

3 participants