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

feat: Added support for plural_name for foods #4129

Conversation

Choromanski
Copy link
Contributor

@Choromanski Choromanski commented Aug 31, 2024

What type of PR is this?

  • feature

What this PR does / why we need it:

This PR allows the seeder to import plural names for foods.
This allows for new user have cleaner ingredient lists without having to do any additional configuration.

Which issue(s) this PR fixes:

N/A

Special notes for your reviewer:

  1. This work was discussed in feat: Seed support for plural units #3933
  2. If anything is done that causes issues with crowdin let me know and I can work to resolve it.
  3. I only provided plurals for foods that would normally be the unit (ex. 1 watermelon)
  4. I sorted the list by keys so that I could de-duplicate easier
  5. I also removed some words that were duplicated in there UK equivalent (ex. aubergine/eggplant, broad/fava beans, icing/powdered sugar)
  6. Any comments or recommendations would be greatly appreciated

Testing

Ran a fresh install and all of the plural ingredients were seeded properly:
image

@Choromanski Choromanski marked this pull request as ready for review August 31, 2024 03:07
@michael-genson
Copy link
Collaborator

@hay-kot would you be able to look at this one? Just want to make sure it won't break existing translations (or if it will, we have some way of fixing them)

@hay-kot
Copy link
Collaborator

hay-kot commented Sep 11, 2024

I believe that Crowdin will automatically pick up the changes, however the other files would get overridden, so I think this PR also needs to migrate all the other language files as well.

@Choromanski
Copy link
Contributor Author

I will work on updating the other files

@Choromanski
Copy link
Contributor Author

@hay-kot if you would like to pull the update from crowdin again let me know and I can reformat with the new updats

@Choromanski Choromanski force-pushed the feature/food-seed-plurals branch from c9abf13 to ce3d617 Compare September 14, 2024 03:16
Choromanski and others added 22 commits October 1, 2024 18:53
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot and others added 24 commits October 1, 2024 18:53
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ipes#4270)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@Choromanski Choromanski force-pushed the feature/food-seed-plurals branch from 2c9ebe3 to 3318d3b Compare October 1, 2024 22:54
@Choromanski
Copy link
Contributor Author

Whoops, I destroyed this PR, will create a new one

@Choromanski Choromanski closed this Oct 1, 2024
@Choromanski Choromanski deleted the feature/food-seed-plurals branch October 23, 2024 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.