Translate [1] %xx string [2] %xx strings

Asked by Lukáš Papík

How to translate something like this : https://translations.launchpad.net/wingpanel-indicator-power/trunk/+pots/power-indicator/sk/+translate?show=untranslated ?

because it is still marked as untranslated ..
does [0] mean singular and [1] plural?

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Colin Watson
Solved:
Last query:
Last reply:
Revision history for this message
Best Colin Watson (cjwatson) said :
#1

https://translations.launchpad.net/wingpanel-indicator-power/trunk/+pots/power-indicator/sk/+details indicates that Slovak has three plural forms: the translation identified as [1] is for when the number in question is 1; the translation identified as [2] is for when the number in question is 2, 3, or 4; and the translation identified as [0] is for all other cases. So following the terminology in https://en.wikipedia.org/wiki/Slovak_declension, we have:

[0] genitive plural
[1] nominative singular
[2] nominative plural

Taking "%lld day until full"/"%lld days until full" as an example and referring to https://en.wiktionary.org/wiki/de%C5%88 for the declension since I don't speak Slovak myself, I think you want translations more like this:

[0] %lld dní pred plným
[1] %lld deň pred plným
[2] %lld dni pred plným

Revision history for this message
Colin Watson (cjwatson) said :
#2

As a mnemonic, note that [0] is the translation you'd use if the number is 0 (or 5, 6, ...), [1] is the translation you'd use if the number is 1, and [2] is the translation you'd use if the number is 2 (or 3 or 4). So it does make some sense this way. :-)

Revision history for this message
Lukáš Papík (stereo839) said :
#3

Thanks Colin Watson, that solved my question.

Revision history for this message
Lukáš Papík (stereo839) said :
#4

Thanks <3