implement plurals, update de_DE translation to use plurals

This commit is contained in:
Jannes Höke
2016-05-24 15:49:23 +02:00
parent c54ffd83e5
commit 6901e7f4d0
10 changed files with 410 additions and 233 deletions

View File

@ -29,6 +29,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: utf-8\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: bot.py:60
@ -184,14 +185,19 @@ msgstr ""
#: bot.py:400
#, python-format
msgid "Please wait {time} seconds"
msgstr ""
msgid "Please wait {time} second"
msgid_plural "Please wait {time} seconds"
msgstr[0] ""
msgstr[1] ""
#: bot.py:413
#, python-format
msgid "Waiting time to skip this player has been reduced to {time} seconds.\n"
msgid "Waiting time to skip this player has been reduced to {time} second.\n"
"Next player: {name}"
msgstr ""
msgid_plural "Waiting time to skip this player has been reduced to {time} seconds.\n"
"Next player: {name}"
msgstr[0] ""
msgstr[1] ""
#: bot.py:424
#, python-format
@ -256,8 +262,10 @@ msgid "Choose Color"
msgstr ""
#: results.py:56
msgid "Cards (tap for game state):"
msgstr ""
msgid "Last card (tap for game state):"
msgid_plural "Cards (tap for game state):"
msgstr[0] ""
msgstr[1] ""
#: results.py:60 results.py:123 results.py:165
msgid "Current player: {name}"
@ -268,13 +276,17 @@ msgid "Last card: {card}"
msgstr ""
#: results.py:62 results.py:125 results.py:168
msgid "Players: {player_list}"
msgstr ""
msgid "Player: {player_list}"
msgid_plural "Players: {player_list}"
msgstr[0] ""
msgstr[1] ""
#: results.py:72
#, python-format
msgid "{name} ({number} cards)"
msgstr ""
msgid "{name} ({number} card)"
msgid_plural "{name} ({number} cards)"
msgstr[0] ""
msgstr[1] ""
#: results.py:81
msgid "You are not playing"
@ -295,11 +307,10 @@ msgstr ""
#: results.py:108
#, python-format
msgid "Drawing 1 card"
msgstr ""
msgid "Drawing {number} cards"
msgstr ""
msgid "Drawing {number} card"
msgid_plural "Drawing {number} cards"
msgstr[0] ""
msgstr[1] ""
#: results.py:136
msgid "Pass"
@ -352,16 +363,22 @@ msgid "You did not enable statistics. Use /settings in "
msgstr ""
#: simple_commands.py
msgid "{number} games played"
msgstr ""
msgid "{number} game played"
msgid_plural "{number} games played"
msgstr[0] ""
msgstr[1] ""
#: simple_commands.py
msgid "{number} first places"
msgstr ""
msgid "{number} first place"
msgid_plural "{number} first places"
msgstr[0] ""
msgstr[1] ""
#: simple_commands.py
msgid "{number} cards played"
msgstr ""
msgid "{number} card played"
msgid_plural "{number} cards played"
msgstr[0] ""
msgstr[1] ""
#: utils.py