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

Bug: QU named matching a localization string displays that string instead of the QU name #1705

Closed
Dahu88 opened this issue Dec 4, 2021 · 1 comment
Labels
Milestone

Comments

@Dahu88
Copy link

Dahu88 commented Dec 4, 2021

version: 3.1.2

I'm french and I created a unit called 'cs' standing for 'Cuillère à soupe' or table spoon in english. When in singular form in a recipe it is displayed as 'tch' instead of 'cs'.

I looked in the source and found the tch string in the translation file localization/fr/locales.po for the Czech

# Czech
msgid "cs"
msgstr "tch"

I think the translation should not occur on units.

I don't have the problem with the plural form which I also set as 'cs'

@Dahu88 Dahu88 added the bug label Dec 4, 2021
@berrnd berrnd changed the title Bug: translation error on quantity unit Bug: QU named matching a localization string will display that string instead of the QU name Dec 4, 2021
@berrnd berrnd added this to the vNEXT milestone Dec 4, 2021
@berrnd berrnd changed the title Bug: QU named matching a localization string will display that string instead of the QU name Bug: QU named matching a localization string displays that string instead of the QU name Dec 4, 2021
@berrnd
Copy link
Member

berrnd commented Dec 4, 2021

Is reproducible and of course translations should not apply on quantity units.
 

I don't have the problem with the plural form which I also set as 'cs'

Because that example localization string doesn't have a plural form.

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

No branches or pull requests

2 participants