ankidroid/Anki-Android — pull request #413 by ospalh (2014-07-02 11:42:34+00:00)
Title: Use placeholder instead of “1” for “quantity="one"”.

This one requires a bit of explanation.

Checking the code with lint reported a number of errors, for example

```
res/values-fr/01-core.xml:56: Error: The quantity 'one' matches more than one specific number in this locale, but the message did not include a formatting argument (such as %d). This is usually an internationalization error. See full issue explanation for more. [ImpliedQuantity]

1 minute.

```
(Looks like “this locale” applies to fa, fr, hi, lt, ru, sl, sr and uk.)

Apparently, in those languages you use something like a singular form for e.g. “101 minute” instead of “101 minutes”. At the moment, when there are 101 minutes or 201 cards left, in these languages there would appear localized text like “1 minute left” or “1 card left” instead.

This does not fix the problem, but only gives a hint to the translators. They are presented with e.g. “%d card left” instead of “1 card left” as the text to translate and told to please make sure the `%d` is there in the translation at crowdin.