ProtonMail / proton-contacts

React web application to manage ProtonMail contacts
54 stars 19 forks source link

Plural form inside translations #227

Open dhoko opened 4 years ago

dhoko commented 4 years ago

Ex: https://github.com/ProtonMail/proton-contacts/blob/master/src/app/components/ContactPlaceholder.js#L165

via Crowdin

econdepe commented 4 years ago

I know it would be better to use ngettext for plurals, but the design here requires bold text for the text that changes (1 contact / n contacts). In order to use bold text inside a translation one has to wrap the be-bold text inside a variable and use jt with the variable