isit = @games[k].check(word)\r
case isit.first\r
when :bingo\r
- m.reply "#{Bold}BINGO!#{Bold}: the word was #{Underline}#{word}#{Underline}. Congrats, #{Bold}#{m.sourcenick}#{Bold}!"\r
+ m.reply _("%{bold}BINGO!%{bold} the word was %{underline}%{word}%{underline}. Congrats, %{bold}%{player}%{bold}!") % {:bold => Bold, :underline => Underline, :word => word, :player => m.sourcenick}\r
@games[k].total_tries += 1\r
@games[k].tries[m.source] += 1\r
@games[k].winner = m.source\r
ar = @games[k].score.inject([]) { |res, kv|\r
res.push("%s: %d (%s)" % kv.flatten)\r
}\r
- m.reply "The game was won after #{@games[k].total_tries} tries. Scores for this game: #{ar.join('; ')}"\r
+ m.reply _("The game was won after %{tries} tries. Scores for this game: %{scores}") % {:tries => @games[k].total_tries, :scores => ar.join('; ')}\r
@games.delete(k)\r
when :out\r
- m.reply "#{word} is not in the range #{Bold}#{isit.last}#{Bold}" if m.address?\r
+ m.reply _("%{word} is not in the range %{bold}%{range}%{bold}") % {:word => word, :bold => Bold, :range => isit.last} if m.address?\r
when :noexist\r
- m.reply "#{word} doesn't exist or is not acceptable for the game"\r
+ m.reply _("%{word} doesn't exist or is not acceptable for the game") % {:word => word}\r
@games[k].total_failed += 1\r
@games[k].failed[m.source] += 1\r
when :in\r
- m.reply "close, but no cigar. New range: #{Bold}#{isit.last}#{Bold}"\r
+ m.reply _("close, but no cigar. New range: %{bold}%{range}%{bold}") % {:bold => Bold, :range => isit.last}\r
@games[k].total_tries += 1\r
@games[k].tries[m.source] += 1\r
when :ignore\r
- m.reply "#{word} is already one of the range extrema: #{isit.last}" if m.address?\r
+ m.reply _("%{word} is already one of the range extrema: %{range}") % {:word => word, :range => isit.last} if m.address?\r
else\r
- m.reply "hm, something went wrong while verifying #{word}"\r
+ m.reply _("hm, something went wrong while verifying %{word}")\r
end\r
end\r
\r
k = m.channel.downcase.to_s\r
word = params[:word].downcase\r
if not @games.key?(k)\r
- m.reply "no A-Z game running here, can't check if #{word} is valid, can I?"\r
+ m.reply _("no A-Z game running here, can't check if %{word} is valid, can I?")\r
return\r
end\r
if word !~ /^\S+$/\r
- m.reply "I only accept single words composed by letters only, sorry"\r
+ m.reply _("I only accept single words composed by letters only, sorry")\r
return\r
end\r
word_check(m, k, word)\r
return if m.channel.nil? # Shouldn't happen, but you never know\r
k = m.channel.downcase.to_s # to_sym?\r
if @games.key?(k)\r
- m.reply "the word in #{Bold}#{@games[k].range}#{Bold} was: #{Bold}#{@games[k].word}"\r
+ m.reply _("the word in %{bold}%{range}%{bold} was: %{bold}%{word}%{bold}") % {:bold => Bold, :range => @games[k].range, :word => @games[k].word}\r
ar = @games[k].score.inject([]) { |res, kv|\r
res.push("%s: %d (%s)" % kv.flatten)\r
}\r
- m.reply "The game was cancelled after #{@games[k].total_tries} tries. Scores for this game would have been: #{ar.join('; ')}"\r
+ m.reply _("The game was cancelled after %{tries} tries. Scores for this game would have been: %{scores}") % {:tries => @games[k].total_tries, :scores => ar.join('; ')}\r
@games.delete(k)\r
else\r
- m.reply "no A-Z game running in this channel ..."\r
+ m.reply _("no A-Z game running in this channel ...")\r
end\r
end\r
\r
unless @games.key?(k)\r
lang = (params[:lang] || @bot.config['core.language']).to_sym\r
method = 'random_pick_'+lang.to_s\r
- m.reply "let me think ..."\r
+ m.reply _("let me think ...")\r
if @rules.has_key?(lang) and self.respond_to?(method)\r
word = self.send(method)\r
if word.empty?\r
- m.reply "couldn't think of anything ..."\r
+ m.reply _("couldn't think of anything ...")\r
return\r
end\r
else\r
- m.reply "I can't play A-Z in #{lang}, sorry"\r
+ m.reply _("I can't play A-Z in %{lang}, sorry") % {:lang => lang}\r
return\r
end\r
- m.reply "got it!"\r
+ m.reply _("got it!")\r
@games[k] = AzGame.new(self, lang, @rules[lang], word)\r
end\r
tr = @games[k].total_tries\r
- case tr\r
- when 0\r
- tr_msg = ""\r
- when 1\r
- tr_msg = " (after 1 try"\r
+ # this message building code is rewritten to make translation easier\r
+ if tr == 0\r
+ tr_msg = ''\r
else\r
- tr_msg = " (after #{tr} tries"\r
- end\r
-\r
- unless tr_msg.empty?\r
f_tr = @games[k].total_failed\r
- case f_tr\r
- when 0\r
- tr_msg << ")"\r
- when 1\r
- tr_msg << " and 1 invalid try)"\r
+ if f_tr > 0\r
+ tr_msg = _(" (after %{total_tries} and %{invalid_tries}") %\r
+ { :total_tries => n_("%{count} try", "%{count} tries", tr) %\r
+ {:count => tr},\r
+ :invalid_tries => n_("%{count} invalid try", "%{count} invalid tries", tr) %\r
+ {:count => f_tr} }\r
else\r
- tr_msg << " and #{f_tr} invalid tries)"\r
+ tr_msg = _(" (after %{total_tries}") %\r
+ { :total_tries => n_("%{count} try", "%{count} tries", tr) %\r
+ {:count => tr}}\r
end\r
end\r
\r
- m.reply "A-Z: #{Bold}#{@games[k].range}#{Bold}" + tr_msg\r
+ m.reply _("A-Z: %{bold}%{range}%{bold}") % {:bold => Bold, :range => @games[k].range} + tr_msg\r
return\r
end\r
\r
cmd = params[:cmd].to_sym rescue :count\r
case cmd\r
when :count\r
- m.reply "I have #{wc.size > 0 ? wc.size : 'no'} #{lang} words in my cache"\r
+ m.reply n_("I have %{count} %{lang} word in my cache", "I have %{count} %{lang} words in my cache", wc.size) % {:count => wc.size, :lang => lang}\r
when :show, :list\r
if pars.empty?\r
- m.reply "provide a regexp to match"\r
+ m.reply _("provide a regexp to match")\r
return\r
end\r
begin\r
matches = []\r
end\r
if matches.size == 0\r
- m.reply "no #{lang} word I know match #{pars[0]}"\r
+ m.reply _("no %{lang} word I know match %{pattern}") % {:lang => lang, :pattern => pars[0]}\r
elsif matches.size > 25\r
- m.reply "more than 25 #{lang} words I know match #{pars[0]}, try a stricter matching"\r
+ m.reply _("more than 25 %{lang} words I know match %{pattern}, try a stricter matching") % {:lang => lang, :pattern => pars[0]}\r
else\r
m.reply "#{matches.join(', ')}"\r
end\r
when :info\r
if pars.empty?\r
- m.reply "provide a word"\r
+ m.reply _("provide a word")\r
return\r
end\r
word = pars[0].downcase.to_sym\r
if not wc.key?(word)\r
- m.reply "I don't know any #{lang} word #{word}"\r
+ m.reply _("I don't know any %{lang} word %{word}") % {:lang => lang, :word => word}\r
return\r
end\r
- tr = "#{word} learned from #{wc[word][:who]}"\r
- (tr << " on #{wc[word][:when]}") if wc[word].key?(:when)\r
+ if wc[word].key?(:when)\r
+ tr = _("%{word} learned from %{user} on %{date}") % {:word => word, :user => wc[word][:who], :date => wc[word][:when]}\r
+ else\r
+ tr = _("%{word} learned from %{user}") % {:word => word, :user => wc[word][:who]} \r
+ end\r
m.reply tr\r
- when :delete\r
+ when :delete \r
if pars.empty?\r
- m.reply "provide a word"\r
+ m.reply _("provide a word")\r
return\r
end\r
word = pars[0].downcase.to_sym\r
if not wc.key?(word)\r
- m.reply "I don't know any #{lang} word #{word}"\r
+ m.reply _("I don't know any %{lang} word %{word}") % {:lang => lang, :word => word}\r
return\r
end\r
wc.delete(word)\r
@bot.okay m.replyto\r
when :add\r
if pars.empty?\r
- m.reply "provide a word"\r
+ m.reply _("provide a word")\r
return\r
end\r
word = pars[0].downcase.to_sym\r
if wc.key?(word)\r
- m.reply "I already know the #{lang} word #{word}"\r
+ m.reply _("I already know the %{lang} word %{word}")\r
return\r
end\r
wc[word] = { :who => m.sourcenick, :when => Time.now }\r
def help(plugin, topic="")\r
case topic\r
when 'manage'\r
- return "az [lang] word [count|list|add|delete] => manage the az wordlist for language lang (defaults to current bot language)"\r
+ return _("az [lang] word [count|list|add|delete] => manage the az wordlist for language lang (defaults to current bot language)")\r
when 'cancel'\r
- return "az cancel => abort current game"\r
+ return _("az cancel => abort current game")\r
when 'check'\r
- return 'az check <word> => checks <word> against current game'\r
+ return _('az check <word> => checks <word> against current game')\r
when 'rules'\r
- return "try to guess the word the bot is thinking of; if you guess wrong, the bot will use the new word to restrict the range of allowed words: eventually, the range will be so small around the correct word that you can't miss it"\r
+ return _("try to guess the word the bot is thinking of; if you guess wrong, the bot will use the new word to restrict the range of allowed words: eventually, the range will be so small around the correct word that you can't miss it")\r
when 'play'\r
- return "az => start a game if none is running, show the current word range otherwise; you can say 'az <language>' if you want to play in a language different from the current bot default"\r
+ return _("az => start a game if none is running, show the current word range otherwise; you can say 'az <language>' if you want to play in a language different from the current bot default")\r
end\r
- return "az topics: play, rules, cancel, manage, check"\r
+ return _("az topics: play, rules, cancel, manage, check")\r
end\r
\r
end\r
msgid ""
msgstr ""
"Project-Id-Version: rbot\n"
-"POT-Creation-Date: 2007-07-10 00:57-0400\n"
+"POT-Creation-Date: 2007-07-13 23:31-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"
#: data/rbot/plugins/dictclient.rb:52
msgid "Hostname or hostname:port of the DICT server used to lookup words"
-msgstr "DICT サーバーの hostname か hostname:port です"
+msgstr "DICT サーバーの hostname か hostname:port です"
#: data/rbot/plugins/dictclient.rb:55
msgid ""
msgid ""
"Poor %{current_player} is playing alone! Anyone care to join? %"
"{previous_word} -> %{current_word}"
-msgstr
+msgstr ""
"%{current_player}様は一人で寂しいでしょう。他の人しりとりしませんか?"
"{previous_word} -> %{current_word}"
#: data/rbot/plugins/games/shiritori.rb:436
msgid "No game to stop here, because no game is being played."
msgstr "しりとりのゲームをしていません"
+
+#: 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}でした。お"
+"めでとうございます。%{bold}%{player}%{bold}!"
+
+#: data/rbot/plugins/games/azgame.rb:160
+msgid ""
+"The game was won after %{tries} tries. Scores for this game: %{scores}"
+msgstr "このゲームが%{tries}のトライの後勝ちました。スコーは: %{scores}"
+
+#: data/rbot/plugins/games/azgame.rb:163
+msgid "%{word} is not in the range %{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}は言葉じゃない。或はこのゲームに受けない。"
+
+#: data/rbot/plugins/games/azgame.rb:169
+msgid "close, but no cigar. New range: %{bold}%{range}%{bold}"
+msgstr ""
+"レンジーを小さくしました。もっと頑張ってくださいね!新しいレーンジは:%{bold}%"
+"{range}%{bold}"
+
+#: data/rbot/plugins/games/azgame.rb:173
+msgid "%{word} is already one of the range extrema: %{range}"
+msgstr "%{word}はいまのレーンジの外れの一つです:%{range}"
+
+#: data/rbot/plugins/games/azgame.rb:175
+msgid "hm, something went wrong while verifying %{word}"
+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}のチェックができません。"
+
+#: data/rbot/plugins/games/azgame.rb:187
+msgid "I only accept single words composed by letters only, sorry"
+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}でした。"
+
+#: 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}でした。"
+
+#: data/rbot/plugins/games/azgame.rb:204
+msgid "no A-Z game running in this channel ..."
+msgstr "このチャンネルにはA-Zのゲームを遊んでありません。"
+
+#: data/rbot/plugins/games/azgame.rb:214
+msgid "let me think ..."
+msgstr "秘密の言葉を考えています・・・"
+
+#: data/rbot/plugins/games/azgame.rb:218
+msgid "couldn't think of anything ..."
+msgstr "考えられませんでした・・・"
+
+#: data/rbot/plugins/games/azgame.rb:222
+msgid "I can't play A-Z in %{lang}, sorry"
+msgstr "申し訳ありませんが、%{lang}の言語でA-Zのゲームができません"
+
+#: data/rbot/plugins/games/azgame.rb:225
+msgid "got it!"
+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}の失敗したトライ"
+
+#: data/rbot/plugins/games/azgame.rb:241
+msgid " (after %{total_tries}"
+msgstr " (%{total_tries}の後"
+
+#: data/rbot/plugins/games/azgame.rb:247
+msgid "A-Z: %{bold}%{range}%{bold}"
+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}あります。"
+
+#: data/rbot/plugins/games/azgame.rb:261
+msgid "provide a regexp to match"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:273
+msgid "no %{lang} word I know match %{pattern}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:275
+msgid ""
+"more than 25 %{lang} words I know match %{pattern}, try a stricter matching"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:281 data/rbot/plugins/games/azgame.rb:297
+#: data/rbot/plugins/games/azgame.rb:309
+msgid "provide a word"
+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 ""
+
+#: data/rbot/plugins/games/azgame.rb:290
+msgid "%{word} learned from %{user} on %{date}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:292
+msgid "%{word} learned from %{user}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:314
+msgid "I already know the %{lang} word %{word}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:530
+msgid ""
+"az [lang] word [count|list|add|delete] => manage the az wordlist for "
+"language lang (defaults to current bot language)"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:532
+msgid "az cancel => abort current game"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:534
+msgid "az check <word> => checks <word> against current game"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:536
+msgid ""
+"try to guess the word the bot is thinking of; if you guess wrong, the bot "
+"will use the new word to restrict the range of allowed words: eventually, "
+"the range will be so small around the correct word that you can't miss it"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:538
+msgid ""
+"az => start a game if none is running, show the current word range "
+"otherwise; you can say 'az <language>' if you want to play in a language "
+"different from the current bot default"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:540
+msgid "az topics: play, rules, cancel, manage, check"
+msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rbot\n"
-"POT-Creation-Date: 2007-07-10 00:57-0400\n"
+"POT-Creation-Date: 2007-07-13 23:31-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"
#: data/rbot/plugins/games/shiritori.rb:436
msgid "No game to stop here, because no game is being played."
msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:153
+msgid ""
+"%{bold}BINGO!%{bold} the word was %{underline}%{word}%{underline}. Congrats, "
+"%{bold}%{player}%{bold}!"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:160
+msgid ""
+"The game was won after %{tries} tries. Scores for this game: %{scores}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:163
+msgid "%{word} is not in the range %{bold}%{range}%{bold}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:165
+msgid "%{word} doesn't exist or is not acceptable for the game"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:169
+msgid "close, but no cigar. New range: %{bold}%{range}%{bold}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:173
+msgid "%{word} is already one of the range extrema: %{range}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:175
+msgid "hm, something went wrong while verifying %{word}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:183
+msgid "no A-Z game running here, can't check if %{word} is valid, can I?"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:187
+msgid "I only accept single words composed by letters only, sorry"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:197
+msgid "the word in %{bold}%{range}%{bold} was: %{bold}%{word}%{bold}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:201
+msgid ""
+"The game was cancelled after %{tries} tries. Scores for this game would have "
+"been: %{scores}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:204
+msgid "no A-Z game running in this channel ..."
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:214
+msgid "let me think ..."
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:218
+msgid "couldn't think of anything ..."
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:222
+msgid "I can't play A-Z in %{lang}, sorry"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:225
+msgid "got it!"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:235
+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"
+msgstr[0] ""
+msgstr[1] ""
+
+#: data/rbot/plugins/games/azgame.rb:241
+msgid " (after %{total_tries}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:247
+msgid "A-Z: %{bold}%{range}%{bold}"
+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] ""
+msgstr[1] ""
+
+#: data/rbot/plugins/games/azgame.rb:261
+msgid "provide a regexp to match"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:273
+msgid "no %{lang} word I know match %{pattern}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:275
+msgid ""
+"more than 25 %{lang} words I know match %{pattern}, try a stricter matching"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:281 data/rbot/plugins/games/azgame.rb:297
+#: data/rbot/plugins/games/azgame.rb:309
+msgid "provide a word"
+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 ""
+
+#: data/rbot/plugins/games/azgame.rb:290
+msgid "%{word} learned from %{user} on %{date}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:292
+msgid "%{word} learned from %{user}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:314
+msgid "I already know the %{lang} word %{word}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:530
+msgid ""
+"az [lang] word [count|list|add|delete] => manage the az wordlist for "
+"language lang (defaults to current bot language)"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:532
+msgid "az cancel => abort current game"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:534
+msgid "az check <word> => checks <word> against current game"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:536
+msgid ""
+"try to guess the word the bot is thinking of; if you guess wrong, the bot "
+"will use the new word to restrict the range of allowed words: eventually, "
+"the range will be so small around the correct word that you can't miss it"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:538
+msgid ""
+"az => start a game if none is running, show the current word range "
+"otherwise; you can say 'az <language>' if you want to play in a language "
+"different from the current bot default"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:540
+msgid "az topics: play, rules, cancel, manage, check"
+msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: rbot\n"
-"POT-Creation-Date: 2007-07-10 00:57-0400\n"
+"POT-Creation-Date: 2007-07-13 23:31-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"
#: data/rbot/plugins/games/shiritori.rb:436
msgid "No game to stop here, because no game is being played."
msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:153
+msgid ""
+"%{bold}BINGO!%{bold} the word was %{underline}%{word}%{underline}. Congrats, "
+"%{bold}%{player}%{bold}!"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:160
+msgid ""
+"The game was won after %{tries} tries. Scores for this game: %{scores}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:163
+msgid "%{word} is not in the range %{bold}%{range}%{bold}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:165
+msgid "%{word} doesn't exist or is not acceptable for the game"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:169
+msgid "close, but no cigar. New range: %{bold}%{range}%{bold}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:173
+msgid "%{word} is already one of the range extrema: %{range}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:175
+msgid "hm, something went wrong while verifying %{word}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:183
+msgid "no A-Z game running here, can't check if %{word} is valid, can I?"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:187
+msgid "I only accept single words composed by letters only, sorry"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:197
+msgid "the word in %{bold}%{range}%{bold} was: %{bold}%{word}%{bold}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:201
+msgid ""
+"The game was cancelled after %{tries} tries. Scores for this game would have "
+"been: %{scores}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:204
+msgid "no A-Z game running in this channel ..."
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:214
+msgid "let me think ..."
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:218
+msgid "couldn't think of anything ..."
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:222
+msgid "I can't play A-Z in %{lang}, sorry"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:225
+msgid "got it!"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:235
+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"
+msgstr[0] ""
+msgstr[1] ""
+
+#: data/rbot/plugins/games/azgame.rb:241
+msgid " (after %{total_tries}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:247
+msgid "A-Z: %{bold}%{range}%{bold}"
+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] ""
+msgstr[1] ""
+
+#: data/rbot/plugins/games/azgame.rb:261
+msgid "provide a regexp to match"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:273
+msgid "no %{lang} word I know match %{pattern}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:275
+msgid ""
+"more than 25 %{lang} words I know match %{pattern}, try a stricter matching"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:281 data/rbot/plugins/games/azgame.rb:297
+#: data/rbot/plugins/games/azgame.rb:309
+msgid "provide a word"
+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 ""
+
+#: data/rbot/plugins/games/azgame.rb:290
+msgid "%{word} learned from %{user} on %{date}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:292
+msgid "%{word} learned from %{user}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:314
+msgid "I already know the %{lang} word %{word}"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:530
+msgid ""
+"az [lang] word [count|list|add|delete] => manage the az wordlist for "
+"language lang (defaults to current bot language)"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:532
+msgid "az cancel => abort current game"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:534
+msgid "az check <word> => checks <word> against current game"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:536
+msgid ""
+"try to guess the word the bot is thinking of; if you guess wrong, the bot "
+"will use the new word to restrict the range of allowed words: eventually, "
+"the range will be so small around the correct word that you can't miss it"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:538
+msgid ""
+"az => start a game if none is running, show the current word range "
+"otherwise; you can say 'az <language>' if you want to play in a language "
+"different from the current bot default"
+msgstr ""
+
+#: data/rbot/plugins/games/azgame.rb:540
+msgid "az topics: play, rules, cancel, manage, check"
+msgstr ""