Units make foods plural #3609
hjk321
started this conversation in
Feature Request
Replies: 1 comment 2 replies
-
I agree with this, the current implementation leaves room to be desired. I think it will need to be a little more configurable, though. Consider:
So units will also need to force foods to be singular sometimes. So we would need to add a field to units, maybe called plural handling:
I don't know where the line is where we get too complicated/configurable, but I don't think we're there yet. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Please provide a concise description of the problem that would be addressed by this feature.
Consider the following two ingredients using the "ingredient amounts" feature:
However, with the current behavior, the second one would print as "1 cup tomato, diced" because the system only checks the number when deciding to make a food plural. This can cause incorrect grammar. This also occurs with fractional amounts less than 1.
Please provide a concise description of the feature that would resolve your issue.
I propose that the manage data screen for units have a "makes food plural" checkbox that is checked by default (as most units make food plural). This would affect how each ingredient in the list is printed.
This would be the behavior in a recipe:
Please consider and list out some caveats or tradeoffs made in your design decision
The "manage data" screen is rarely accessed by a user so I don't think an extra checkbox would be a UX concern. I also think the extra boolean would pose no significant impact on database size or app performance.
If we decide it's better to leave "makes food plural" unchecked by default, that's fine too, but I'm pretty sure all of the seeded (default) units grammatically benefit from this setting checked.
Please note I'm only an English speaker, I don't know how useful this is for other languages.
Additional Information
Beta Was this translation helpful? Give feedback.
All reactions