From 9f88f7ff3236f0bc0037dd1b9986e32e42b644df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Wed, 25 May 2016 04:15:04 +0200 Subject: [PATCH] make zh_TW compatible with plurals --- locales/zh_TW/LC_MESSAGES/unobot.po | 50 ++++++++++++++++------------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/locales/zh_TW/LC_MESSAGES/unobot.po b/locales/zh_TW/LC_MESSAGES/unobot.po index 28c8977..8b2bd39 100644 --- a/locales/zh_TW/LC_MESSAGES/unobot.po +++ b/locales/zh_TW/LC_MESSAGES/unobot.po @@ -216,15 +216,17 @@ msgstr "你沒有在這個對話玩" #: bot.py:400 #, python-format -msgid "Please wait {time} seconds" -msgstr "請等{time}秒" +msgid "Please wait {time} second" +msgid_plural "Please wait {time} seconds" +msgstr[0] "請等{time}秒" #: 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] "" "這個玩家的等待時間已經減少到 {time} 秒\n" "下個: {name}" @@ -297,8 +299,9 @@ 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] "" #: results.py:60 results.py:123 results.py:165 msgid "Current player: {name}" @@ -309,13 +312,15 @@ msgid "Last card: {card}" msgstr "前一張牌: {card}" #: results.py:62 results.py:125 results.py:168 -msgid "Players: {player_list}" -msgstr "玩家: {player_list}" +msgid "Player: {player_list}" +msgid_plural "Players: {player_list}" +msgstr[0] "玩家: {player_list}" #: results.py:72 #, python-format -msgid "{name} ({number} cards)" -msgstr "{name} ({number} 牌)" +msgid "{name} ({number} card)" +msgid_plural "{name} ({number} cards)" +msgstr[0] "{name} ({number} 牌)" #: results.py:81 msgid "You are not playing" @@ -337,11 +342,9 @@ msgstr "用/start開始" #: results.py:108 #, python-format -msgid "Drawing 1 card" -msgstr "抽1張牌" - -msgid "Drawing {number} cards" -msgstr "抽{number}牌" +msgid "Drawing {number} card" +msgid_plural "Drawing {number} cards" +msgstr[0] "抽{number}牌" #: results.py:136 msgid "Pass" @@ -394,16 +397,19 @@ msgid "" msgstr "你沒有啓用數據記錄, 私信個bot去啓用" #: simple_commands.py -msgid "{number} games played" -msgstr "玩了{number}局" +msgid "{number} game played" +msgid_plural "{number} games played" +msgstr[0] "玩了{number}局" #: simple_commands.py -msgid "{number} first places" -msgstr "贏了{number}次" +msgid "{number} first place" +msgid_plural "{number} first places" +msgstr[0] "贏了{number}次" #: simple_commands.py -msgid "{number} cards played" -msgstr "已經玩了{number}張牌" +msgid "{number} card played" +msgid_plural "{number} cards played" +msgstr[0] "已經玩了{number}張牌" #: utils.py msgid "{emoji} Green"