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

skip fuzzy translations #68

Closed
AlexMost opened this issue Jul 26, 2017 · 1 comment
Closed

skip fuzzy translations #68

AlexMost opened this issue Jul 26, 2017 · 1 comment

Comments

@AlexMost
Copy link
Member

The problem:
Fuzzy translations are applied on resolve:

#: uaprom/cs/domain/cms/Product/ProductList/views/GroupDiscountPopup/utils.js:12
#: uaprom/cs/domain/cms/Product/components/DiscountPopup/utils.js:11
#, fuzzy
msgid "${ counter } день"
msgid_plural "${ counter } дня"
msgstr[0] "${ count } клієнту"
msgstr[1] "${ count } клієнту"
msgstr[2] "${ count } клієнту"

leads to this transformation:

function getDaysCounterText(counter) {
    return _tag_ngettext(counter, [count + ' \u043A\u043B\u0456\u0454\u043D\u0442\u0443', count + ' \u043A\u043B\u0456\u0454\u043D\u0442\u0443', count + ' \u043A\u043B\u0456\u0454\u043D\u0442\u0443']);
}

Solution:
Filter fuzzy translations on translations resolve

@AlexMost
Copy link
Member Author

fixed in 0.5.8 - https://c-3po.js.org/CHANGELOG.html#058

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

No branches or pull requests

1 participant