-
-
Notifications
You must be signed in to change notification settings - Fork 763
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
feat: Seed support for plural units #3933
feat: Seed support for plural units #3933
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 great, thanks!
@michael-genson I would like to also do the same with food seeder but that would require restructuring the local files and I'm unsure if that would cause problems with crowdin. |
@Choromanski Hey sorry, meant to get back to you on this. In theory as long as they keys are the same, the translations should copy over. We should be able to fix it manually if not |
Co-authored-by: Hayden <[email protected]>
Co-authored-by: Hayden <[email protected]>
What type of PR is this?
What this PR does / why we need it:
This PR allows the seeder to import plural names and plural abbreviation for units.
This allows for new user have cleaner ingredient lists without having to do any configuration.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
In commit 21216a6 I made some changes I'd be happy to revert:
I modified one of the crowdin files, not sure if there is anything additional I need to do.
I would like to also do the same with food seeder but that would require restructuring the local files and I'm unsure if that would cause problems with crowdin.
Testing
Ran a fresh install and all of the unit data was seeded properly: