]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
gettextized two messages in azgame missed in the previous revision
authorYaohan Chen <yaohan.chen@gmail.com>
Sun, 15 Jul 2007 21:35:12 +0000 (21:35 +0000)
committerYaohan Chen <yaohan.chen@gmail.com>
Sun, 15 Jul 2007 21:35:12 +0000 (21:35 +0000)
edited Japanese translation

data/rbot/plugins/games/azgame.rb
po/en_US/rbot.po
po/ja/rbot.po
po/rbot.pot
po/zh_CN/rbot.po

index 04efb810f0a7b023668d693a80561b6f56ed8add..f0640b59e7fa47d8d202e68f1019bbea6f67ce92 100644 (file)
@@ -66,12 +66,12 @@ class AzGame
     debug "Total score: #{t}"\r
     ret = Hash.new\r
     @tries.each { |k, a|\r
-      ret[k] = [t*a/n, "%d %s" % [a, a > 1 ? "tries" : "try"]]\r
+      ret[k] = [t*a/n, n_("%{count} try", "%{count} tries", a) % {:count => a}]\r
     }\r
     if @winner\r
       debug "replacing winner score of %d with %d" % [ret[@winner].first, t]\r
       tries = ret[@winner].last\r
-      ret[@winner] = [t, "winner, #{tries}"]\r
+      ret[@winner] = [t, _("winner, %{tries}") % {:tries => tries}]\r
     end\r
     return ret.sort_by { |h| h.last.first }.reverse\r
   end\r
index 7553ba696c69330b44317c9f7d7e5c1a73e40058..353cc479ae5dadec7e9031b3d49281aab4bf9706 100644 (file)
@@ -5,8 +5,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2007-07-13 23:31-0400\n"
+"Project-Id-Version: rbot\n"
+"POT-Creation-Date: 2007-07-14 03:25-0400\n"
 "PO-Revision-Date: 2007-07-14 00:06-0400\n"
 "Last-Translator: Yaohan Chen <yaohan.chen@gmail.com>\n"
 "Language-Team: English\n"
@@ -1042,6 +1042,17 @@ msgstr "Shiritori has stopped. Hope you had fun!"
 msgid "No game to stop here, because no game is being played."
 msgstr "No game to stop here, because no game is being played."
 
+#: data/rbot/plugins/games/azgame.rb:69 data/rbot/plugins/games/azgame.rb:236
+#: data/rbot/plugins/games/azgame.rb:242
+msgid "%{count} try"
+msgid_plural "%{count} tries"
+msgstr[0] "%{count} try"
+msgstr[1] "%{count} tries"
+
+#: data/rbot/plugins/games/azgame.rb:74
+msgid "winner, %{tries}"
+msgstr ""
+
 #: data/rbot/plugins/games/azgame.rb:153
 msgid ""
 "%{bold}BINGO!%{bold} the word was %{underline}%{word}%{underline}. Congrats, "
@@ -1120,12 +1131,6 @@ msgstr "got it!"
 msgid " (after %{total_tries} and %{invalid_tries}"
 msgstr " (after %{total_tries} and %{invalid_tries}"
 
-#: data/rbot/plugins/games/azgame.rb:236 data/rbot/plugins/games/azgame.rb:242
-msgid "%{count} try"
-msgid_plural "%{count} tries"
-msgstr[0] "%{count} try"
-msgstr[1] "%{count} tries"
-
 #: data/rbot/plugins/games/azgame.rb:238
 msgid "%{count} invalid try"
 msgid_plural "%{count} invalid tries"
index cbfa7f4ed1f1a7b61dc5800a0be62b201ed1ccd5..7a7a68e0e1bf25089c175fdb1a9b8d65278ed802 100644 (file)
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: rbot\n"
-"POT-Creation-Date: 2007-07-13 23:31-0400\n"
+"POT-Creation-Date: 2007-07-14 03:25-0400\n"
 "PO-Revision-Date: 2007-07-09 01:36-0400\n"
 "Last-Translator: Yaohan Chen <yaohan.chen@gmail.com>\n"
 "Language-Team: Japanese\n"
@@ -831,46 +831,46 @@ msgstr ""
 
 #: data/rbot/plugins/games/shiritori.rb:203
 msgid "%{current_player}, it's your turn. %{previous_word} -> %{current_word}"
-msgstr "%{current_player}の番です。%{previous_word} -> %{current_word}"
+msgstr "%{current_player} さんの番です。%{previous_word} -> %{current_word}"
 
 #: data/rbot/plugins/games/shiritori.rb:207
 msgid "No one has given the first word yet. Say the first word to start."
-msgstr "しりとりの始めの言葉を言ってください"
+msgstr "しりとりの始めの言葉を教えてください。"
 
 #: data/rbot/plugins/games/shiritori.rb:209
 msgid ""
 "Poor %{current_player} is playing alone! Anyone care to join? %"
 "{previous_word} -> %{current_word}"
 msgstr ""
-"%{current_player}様は一人で寂しいでしょう。他の人しりとりしませんか?"
+"%{current_player}さんは一人で寂しいでしょう。他の人もしりとりしませんか?"
 "{previous_word} -> %{current_word}"
 
 #: data/rbot/plugins/games/shiritori.rb:240
 msgid "%{player} took too long and is out of the game. Try again next game!"
 msgstr ""
-"残念ですが%{player}はタイムアウトで負けです。今度のゲームがんばってね!"
+"残念ですが%{player}さんはタイムアウトで負けです。今度のゲームがんばってね!"
 
 #: data/rbot/plugins/games/shiritori.rb:245
 msgid "%{player} is the last remaining player and the winner! Congratulations!"
-msgstr "%{player}は勝者です!おめでとうございます!"
+msgstr "%{player}さんは勝者です!おめでとうございます!"
 
 #: data/rbot/plugins/games/shiritori.rb:253
 msgid "%{player} took too long and skipped the turn."
-msgstr "%{player}はタイムアウトで、番を飛びました。"
+msgstr "%{player}さんはタイムアウトで、番を飛びました。"
 
 #: data/rbot/plugins/games/shiritori.rb:281
 msgid "%{player} has given the first word: %{word}"
-msgstr "%{player}は始めの言葉を決めました:%{word}"
+msgstr "%{player}さんは始めの言葉を決めました:%{word}"
 
 #: data/rbot/plugins/games/shiritori.rb:287
 msgid "Welcome to shiritori, %{speaker}."
-msgstr "しりとりへようこそ、%{speaker}"
+msgstr "しりとりへようこそ、%{speaker}さん"
 
 #: data/rbot/plugins/games/shiritori.rb:292
 msgid "The word %{used_word} has been used. Retry from %{word}"
 msgstr ""
-"ã\80\8c%{used_word}ã\80\8dã\81¯ã\82\82ã\81\86使ã\81£ã\81\9fè¨\80è\91\89ã\81ªã\81®ã\81§ã\83\80ã\83¡ã\81§ã\81\99ã\80\82ã\82\82ã\81\86ä¸\80度ã\80\8c%{word}ã\80\8dã\81\8bã\82\89ç¶\9aã\81\84て"
-"ください"
+"ã\80\8c%{used_word}ã\80\8dã\81¯ã\82\82ã\81\86使ã\81£ã\81\9fè¨\80è\91\89ã\81ªã\81®ã\81§ã\83\80ã\83¡ã\81§ã\81\99ã\80\82ã\82\82ã\81\86ä¸\80度ã\80\8c%{word}ã\80\8dã\81\8bã\82\89ç¶\9aã\81\91て"
+"ください"
 
 #: data/rbot/plugins/games/shiritori.rb:297
 msgid ""
@@ -884,12 +884,12 @@ msgid ""
 "It's impossible to continue the chain from %{bad_word}. Retry from %{word}"
 msgstr ""
 "「%{bad_word}」からしりとりが続けられないのでダメです。もう一度「%{word}」か"
-"ã\82\89ç¶\9aã\81\84ã\81¦ã\81\8fã\81 ã\81\95ã\81\84"
+"ã\82\89ç¶\9aã\81\91ã\81¦ã\81\8fã\81 ã\81\95ã\81\84ã\80\82"
 
 #: data/rbot/plugins/games/shiritori.rb:306
 msgid ""
 "It's impossible to continue the chain from %{word}. Start with another word."
-msgstr "「%{word}」ではしりごりを始められないのです。他の言葉で始めてください"
+msgstr "「%{word}」ではしりごりを始められないのです。他の言葉で始めてください"
 
 #: data/rbot/plugins/games/shiritori.rb:327
 msgid ""
@@ -904,7 +904,7 @@ msgstr ""
 
 #: data/rbot/plugins/games/shiritori.rb:398
 msgid "Already playing shiritori here"
-msgstr "しりとりを遊んでいます"
+msgstr "もうすでにしりとりを遊んでいます"
 
 #: data/rbot/plugins/games/shiritori.rb:409
 msgid "Shiritori has started. Please say the first word"
@@ -916,42 +916,52 @@ msgstr "%{ruleset}のしりとりを始められませんでした。理由は
 
 #: data/rbot/plugins/games/shiritori.rb:415
 msgid "There is no ruleset named %{ruleset}"
-msgstr "ã\80\8c%{ruleset}ã\80\8dã\81¨ã\81\84ã\81\86ã\83«ã\83¼ã\83«ã\82¹ã\81¯ç\9f¥ã\82\8aã\81¾ã\81\9bã\82\93"
+msgstr "ã\80\8c%{ruleset}ã\80\8dã\81¨ã\81\84ã\81\86ã\83«ã\83¼ã\83«ã\82»ã\83\83ã\83\88ã\81¯ç\9f¥ã\82\8aã\81¾ã\81\9bã\82\93ã\80\82"
 
 #: data/rbot/plugins/games/shiritori.rb:433
 msgid "Shiritori has stopped. Hope you had fun!"
-msgstr "しりとりのゲームが止まりました"
+msgstr "しりとりのゲームが中止になりました。"
 
 #: data/rbot/plugins/games/shiritori.rb:436
 msgid "No game to stop here, because no game is being played."
-msgstr "しりとりのゲームをしていません"
+msgstr "しりとりのゲームをしていません。"
+
+#: data/rbot/plugins/games/azgame.rb:69 data/rbot/plugins/games/azgame.rb:236
+#: data/rbot/plugins/games/azgame.rb:242
+msgid "%{count} try"
+msgid_plural "%{count} tries"
+msgstr[0] "%{count}つのトライ"
+
+#: data/rbot/plugins/games/azgame.rb:74
+msgid "winner, %{tries}"
+msgstr "(勝者)%{tries}"
 
 #: data/rbot/plugins/games/azgame.rb:153
 msgid ""
 "%{bold}BINGO!%{bold} the word was %{underline}%{word}%{underline}. Congrats, "
 "%{bold}%{player}%{bold}!"
 msgstr ""
-"%{bold}ビンゴー!%{bold} 秘密の言葉は%{underline}%{word}%{underline}でした。お"
-"ã\82\81ã\81§ã\81¨ã\81\86ã\81\94ã\81\96ã\81\84ã\81¾ã\81\99ã\80\82%{bold}%{player}%{bold}!"
+"%{bold}ビンゴー!%{bold} 秘密の言葉は %{underline}%{word}%{underline} でした。お"
+"ã\82\81ã\81§ã\81¨ã\81\86ã\81\94ã\81\96ã\81\84ã\81¾ã\81\99ã\80\81%{bold}%{player}%{bold} ã\81\95ã\82\93ï¼\81"
 
 #: data/rbot/plugins/games/azgame.rb:160
 msgid ""
 "The game was won after %{tries} tries. Scores for this game:    %{scores}"
-msgstr "ã\81\93ã\81®ã\82²ã\83¼ã\83 ã\81\8c%{tries}ã\81®ã\83\88ã\83©ã\82¤ã\81®å¾\8cå\8b\9dã\81¡ã\81¾ã\81\97ã\81\9fã\80\82ã\82¹ã\82³ã\83¼ã\81¯ï¼\9a    %{scores}"
+msgstr "ã\81\93ã\81®ã\82²ã\83¼ã\83 ã\81\8c%{tries}ã\81¤ã\81®ã\83\88ã\83©ã\82¤å¾\8cå\8b\9dã\81¡ã\81¾ã\81\97ã\81\9fã\80\82ã\82¹ã\82³ã\83¼ã\81¯ï¼\9a    %{scores} ã\81§ã\81\97ã\81\9fã\80\82"
 
 #: data/rbot/plugins/games/azgame.rb:163
 msgid "%{word} is not in the range %{bold}%{range}%{bold}"
-msgstr "%{word}は%{bold}%{range}%{bold}のレンジの以外です。"
+msgstr "%{word}は%{bold}%{range}%{bold}のレンジ外です。"
 
 #: data/rbot/plugins/games/azgame.rb:165
 msgid "%{word} doesn't exist or is not acceptable for the game"
-msgstr "%{word}は言葉じゃない。或はこのゲームに受けない。"
+msgstr "「%{word}」って言葉は存在しませんか、このゲームに入れることができません。"
 
 #: data/rbot/plugins/games/azgame.rb:169
 msgid "close, but no cigar. New range: %{bold}%{range}%{bold}"
 msgstr ""
-"ã\83¬ã\83³ã\82¸ã\83¼ã\82\92å°\8fã\81\95ã\81\8fã\81\97ã\81¾ã\81\97ã\81\9fã\80\82ã\82\82ã\81£ã\81¨é \91å¼µã\81£ã\81¦ã\81\8fã\81 ã\81\95ã\81\84ã\81­ï¼\81æ\96°ã\81\97ã\81\84ã\83¬ã\83¼ã\83³ã\82¸ã\81¯ï¼\9a%{bold}%"
-"{range}%{bold}"
+"ã\83¬ã\83¼ã\83³ã\82¸ã\82\92å°\8fã\81\95ã\81\8fã\81\97ã\81¾ã\81\97ã\81\9fã\80\82ã\82\82ã\81£ã\81¨é \91å¼µã\81£ã\81¦ã\81\8fã\81 ã\81\95ã\81\84ã\81­ï¼\81æ\96°ã\81\97ã\81\84ã\83¬ã\83¼ã\83³ã\82¸ã\81¯ï¼\9a%"
+"{bold}%{range}%{bold}"
 
 #: data/rbot/plugins/games/azgame.rb:173
 msgid "%{word} is already one of the range extrema: %{range}"
@@ -963,7 +973,7 @@ msgstr "%{word}をチェックしたとき何かエラーが発生しました
 
 #: data/rbot/plugins/games/azgame.rb:183
 msgid "no A-Z game running here, can't check if %{word} is valid, can I?"
-msgstr "今A-Zのゲームをしていませんから、%{word}のチェックができません。"
+msgstr "今A-Zのゲームをしていませんから、「%{word}」のチェックができません。"
 
 #: data/rbot/plugins/games/azgame.rb:187
 msgid "I only accept single words composed by letters only, sorry"
@@ -972,19 +982,19 @@ msgstr ""
 #: data/rbot/plugins/games/azgame.rb:197
 msgid "the word in %{bold}%{range}%{bold} was:   %{bold}%{word}%{bold}"
 msgstr ""
-"%{bold}%{range}%{bold}の以内の秘密の言葉は   %{bold}%{word}%{bold}でした。"
+"%{bold}%{range}%{bold}の以内の秘密の言葉は「%{bold}%{word}%{bold}」でした。"
 
 #: data/rbot/plugins/games/azgame.rb:201
 msgid ""
 "The game was cancelled after %{tries} tries. Scores for this game would have "
 "been:    %{scores}"
 msgstr ""
-"このゲームは%{tries}のトライの後キャンセルしました。いままでのスコアは    %"
-"{scores}でした。"
+"このゲームは%{tries}回のトライの後キャンセルされました。いままでのスコアは %"
+"{scores} でした。"
 
 #: data/rbot/plugins/games/azgame.rb:204
 msgid "no A-Z game running in this channel ..."
-msgstr "ã\81\93ã\81®ã\83\81ã\83£ã\83³ã\83\8dã\83«ã\81«ã\81¯A-Zã\81®ã\82²ã\83¼ã\83 ã\82\92é\81\8aã\82\93ã\81§ã\81\82ã\82\8aません。"
+msgstr "ã\81\93ã\81®ã\83\81ã\83£ã\83³ã\83\8dã\83«ã\81«ã\81¯A-Zã\81®ã\82²ã\83¼ã\83 ã\82\92é\81\8aã\82\93ã\81§ã\81\84ません。"
 
 #: data/rbot/plugins/games/azgame.rb:214
 msgid "let me think ..."
@@ -1000,21 +1010,16 @@ msgstr "申し訳ありませんが、%{lang}の言語でA-Zのゲームがで
 
 #: data/rbot/plugins/games/azgame.rb:225
 msgid "got it!"
-msgstr "考えました!"
+msgstr "わかりました!"
 
 #: data/rbot/plugins/games/azgame.rb:235
 msgid " (after %{total_tries} and %{invalid_tries}"
 msgstr " (%{total_tries}と%{invalid_tries}の後"
 
-#: data/rbot/plugins/games/azgame.rb:236 data/rbot/plugins/games/azgame.rb:242
-msgid "%{count} try"
-msgid_plural "%{count} tries"
-msgstr[0] "%{count}のトライ"
-
 #: data/rbot/plugins/games/azgame.rb:238
 msgid "%{count} invalid try"
 msgid_plural "%{count} invalid tries"
-msgstr[0] "%{count}ã\81®å¤±æ\95\97ã\81\97たトライ"
+msgstr[0] "%{count}ã\81¤ã\81®é\96\93é\81\95ã\81\88たトライ"
 
 #: data/rbot/plugins/games/azgame.rb:241
 msgid " (after %{total_tries}"
@@ -1027,7 +1032,7 @@ msgstr ""
 #: data/rbot/plugins/games/azgame.rb:258
 msgid "I have %{count} %{lang} word in my cache"
 msgid_plural "I have %{count} %{lang} words in my cache"
-msgstr[0] "キャッシュに%{lang}の言葉は%{count}あります。"
+msgstr[0] "キャッシュには、%{lang}の言葉は%{count}本あります。"
 
 #: data/rbot/plugins/games/azgame.rb:261
 msgid "provide a regexp to match"
@@ -1049,19 +1054,19 @@ msgstr ""
 
 #: data/rbot/plugins/games/azgame.rb:286 data/rbot/plugins/games/azgame.rb:302
 msgid "I don't know any %{lang} word %{word}"
-msgstr ""
+msgstr "%{lang} の言葉「%{word}」知っていません。"
 
 #: data/rbot/plugins/games/azgame.rb:290
 msgid "%{word} learned from %{user} on %{date}"
-msgstr ""
+msgstr "「{word}」は %{user} さんに%{date}に教えてもらいました"
 
 #: data/rbot/plugins/games/azgame.rb:292
 msgid "%{word} learned from %{user}"
-msgstr ""
+msgstr "「{word}」は %{user} さんに教えてもらいました"
 
 #: data/rbot/plugins/games/azgame.rb:314
 msgid "I already know the %{lang} word %{word}"
-msgstr ""
+msgstr "%{lang} の言葉「%{word}」はもう知っています。"
 
 #: data/rbot/plugins/games/azgame.rb:530
 msgid ""
@@ -1071,11 +1076,11 @@ msgstr ""
 
 #: data/rbot/plugins/games/azgame.rb:532
 msgid "az cancel => abort current game"
-msgstr ""
+msgstr "az cancel => いま遊んでいるゲームを終了します"
 
 #: data/rbot/plugins/games/azgame.rb:534
 msgid "az check <word> => checks <word> against current game"
-msgstr ""
+msgstr "az check <word> => いま遊んでいるゲームのルールで、<word> をチェックします"
 
 #: data/rbot/plugins/games/azgame.rb:536
 msgid ""
index 67f9f0645e2a540af530e5936c4b41e3595e19bd..78a96679bcf28754f9af85b3daaa0f9c85f26986 100644 (file)
@@ -7,7 +7,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: rbot\n"
-"POT-Creation-Date: 2007-07-13 23:31-0400\n"
+"POT-Creation-Date: 2007-07-14 03:25-0400\n"
 "PO-Revision-Date: 2007-07-09 01:24-0400\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -925,6 +925,17 @@ msgstr ""
 msgid "No game to stop here, because no game is being played."
 msgstr ""
 
+#: data/rbot/plugins/games/azgame.rb:69 data/rbot/plugins/games/azgame.rb:236
+#: data/rbot/plugins/games/azgame.rb:242
+msgid "%{count} try"
+msgid_plural "%{count} tries"
+msgstr[0] ""
+msgstr[1] ""
+
+#: data/rbot/plugins/games/azgame.rb:74
+msgid "winner, %{tries}"
+msgstr ""
+
 #: data/rbot/plugins/games/azgame.rb:153
 msgid ""
 "%{bold}BINGO!%{bold} the word was %{underline}%{word}%{underline}. Congrats, "
@@ -998,12 +1009,6 @@ msgstr ""
 msgid " (after %{total_tries} and %{invalid_tries}"
 msgstr ""
 
-#: data/rbot/plugins/games/azgame.rb:236 data/rbot/plugins/games/azgame.rb:242
-msgid "%{count} try"
-msgid_plural "%{count} tries"
-msgstr[0] ""
-msgstr[1] ""
-
 #: data/rbot/plugins/games/azgame.rb:238
 msgid "%{count} invalid try"
 msgid_plural "%{count} invalid tries"
index 265a9720aeb62762f74dc1e8755f92ba7d7412f8..3a370dccbc176bc4fd90d6fbd426932fe18a8f4d 100644 (file)
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: rbot\n"
-"POT-Creation-Date: 2007-07-13 23:31-0400\n"
+"POT-Creation-Date: 2007-07-14 03:25-0400\n"
 "PO-Revision-Date: 2007-07-09 01:39-0400\n"
 "Last-Translator: Yaohan Chen <yaohan.chen@gmail.com>\n"
 "Language-Team: Chinese\n"
@@ -924,6 +924,17 @@ msgstr ""
 msgid "No game to stop here, because no game is being played."
 msgstr ""
 
+#: data/rbot/plugins/games/azgame.rb:69 data/rbot/plugins/games/azgame.rb:236
+#: data/rbot/plugins/games/azgame.rb:242
+msgid "%{count} try"
+msgid_plural "%{count} tries"
+msgstr[0] ""
+msgstr[1] ""
+
+#: data/rbot/plugins/games/azgame.rb:74
+msgid "winner, %{tries}"
+msgstr ""
+
 #: data/rbot/plugins/games/azgame.rb:153
 msgid ""
 "%{bold}BINGO!%{bold} the word was %{underline}%{word}%{underline}. Congrats, "
@@ -997,12 +1008,6 @@ msgstr ""
 msgid " (after %{total_tries} and %{invalid_tries}"
 msgstr ""
 
-#: data/rbot/plugins/games/azgame.rb:236 data/rbot/plugins/games/azgame.rb:242
-msgid "%{count} try"
-msgid_plural "%{count} tries"
-msgstr[0] ""
-msgstr[1] ""
-
 #: data/rbot/plugins/games/azgame.rb:238
 msgid "%{count} invalid try"
 msgid_plural "%{count} invalid tries"