Always use %{count} variable when translating pluralized strings

I am working on Slovenian translations for 2.2 release and was fixing plurals today. Sometimes “one” in original (English) does not include {{count}} or %{count} - it just uses literal 1 and then I get warning or even error in Transifex.

For example on key admin_js.admin.flags.replies I have added %{count} to “one” translation and now I cannot save it due to error:

The translation does not contain the same number of elements as the original phrase

Interesting enough, I did get only warning on other similar cases (e.g. key: js.badges.granted):

The translation added a new placeholder: %{count}.

How can I fix that?

BTW, will you do another pull of latest translations for final 2.2 release? Would really like to have recent work included in final release.

1 Like