Changeset 2

Show
Ignore:
Timestamp:
Sun Feb 6 18:48:20 2005
Author:
Zoomq
Message:

newEdit snap 050206 creat...from tigris.org

Files:

Legend:

Unmodified
Added
Removed
Modified
  • cngtalkbot/trunk/locale/confbot_zh_CN.po

    r1 r2  
    7 7 "Project-Id-Version: confbot 1.5b\n"  
    8 8 "POT-Creation-Date: Tue Sep 06 11:05:19 2005\n"  
    9   "PO-Revision-Date: 2005-09-08 17:32+0800\n"  
      9 "PO-Revision-Date: 2005-09-08 20:52+0800\n"  
    9 9 "Last-Translator: limodou <[email protected]>\n"  
    10 10 "Language-Team: confbot <[email protected]>\n"  
     
    23 23 "By Isomer (Perry Lorier) and Limodou\n"  
    24 24 "This conference bot is set up to allow groups of people to chat.\n"  
    25   ")help to list commands, )quit to quit"  
      25 "\")help\" to list commands, \")quit\" to quit\n"  
      26 "\")list en\" for English, and \")list zh_CN\" for Chinese"  
    26 27 msgstr ""  
    27 28 "欢迎加入Conferencebot %(version)s\n"  
     
    29 30 "本会议机器人是为了允许多人聊天而建立的。\n"  
    30 31 "\n"  
    31   "/help 可以查看命令列表 /quit 退出聊天频道"  
      32 "\"/help\" 可以查看命令列表 \"/quit\" 退出聊天频道\n"  
      33 "\"/list en\" for English, \"/list zh_CN\" 设置中文"  
    32 34  
    33   #: ../confbot.py:236  
      35 #: ../confbot.py:237  
    33 35 msgid "%s is %s (%s)"  
    34 36 msgstr "%s %s (%s)"  
    35 37  
    36   #: ../confbot.py:238  
      38 #: ../confbot.py:239  
    36 38 msgid "%s is %s"  
    37 39 msgstr "%s %s"  
    38 40  
    39   #: ../confbot.py:259  
      41 #: ../confbot.py:260  
    39 41 msgid "This is admin command, you have no permision to use."  
    40 42 msgstr "这是管理员命令,你无权使用。"  
    41 43  
    42   #: ../confbot.py:261  
      44 #: ../confbot.py:262  
    42 44 msgid "Unknown command \"%s\"."  
    43 45 msgstr "未知的命令 \"%s\"。"  
    44 46  
    45   #: ../confbot.py:266  
      47 #: ../confbot.py:267  
    45 47 msgid ""  
    46 48 "Usage: /me <emote>\n"  
     
    56 58 "将表示为 %(nick)s %(emote)s <消息>"  
    57 59  
    58   #: ../confbot.py:279  
      60 #: ../confbot.py:280  
    58 60 msgid "<%s> %s %s"  
    59 61 msgstr "<%s> %s %s"  
    60 62  
    61   #: ../confbot.py:280  
      63 #: ../confbot.py:281  
    61 63 msgid "You %s %s"  
    62 64 msgstr "你 %s %s"  
    63 65  
    64   #: ../confbot.py:283  
      66 #: ../confbot.py:284  
    64 66 msgid "Commands: \")help\" \"/me\" \")names\" \")quit\" \")msg\" \")nochat\" \")chat\" \")status\" \")listemotes\" \")lang\" \")listlang\""  
    65 67 msgstr ""  
     
    80 82 "/listlang    显示可用语言列表"  
    81 83  
    82   #: ../confbot.py:285  
      84 #: ../confbot.py:286  
    82 84 msgid "Admin commands: \")die\" \")addadmin\" \")deladmin\" \")listadmins\" \")kick\" \")listbans\" \")ban\" \")unban\" \")invite\" \")reload\" \")addemote\" \")delemote\" \")listoptions\" \")setoption\""  
    83 85 msgstr ""  
     
    99 101 "/setoption       设置选项"  
    100 102  
    101   #: ../confbot.py:286  
      103 #: ../confbot.py:287  
    101 103 msgid ""  
    102 104 "See http://coders.meta.net.nz/~perry/jabber/confbot.php for more details.\n"  
     
    108 110 "查看 http://wiki.woodpecker.org.cn/moin/GoogleTalkBot 了解更多体验。"  
    109 111  
    110   #: ../confbot.py:302  
      112 #: ../confbot.py:303  
    110 112 msgid ""  
    111 113 "Names: \n"  
     
    116 118 "%s"  
    117 119  
    118   #: ../confbot.py:313  
      120 #: ../confbot.py:314  
    118 120 msgid "Quit: <%s> %s"  
    119 121 msgstr "<%s> 已经退出 %s"  
    120 122  
    121   #: ../confbot.py:318  
      123 #: ../confbot.py:319  
    121 123 msgid "Usage: )msg <nick> <message>"  
    122 124 msgstr "用法:/msg <nick> <message>"  
    123 125  
    124   #: ../confbot.py:321  
    125   #: ../confbot.py:420  
    126   #: ../confbot.py:544  
      126 #: ../confbot.py:322  
      127 #: ../confbot.py:421  
      128 #: ../confbot.py:545  
    127 129 msgid "Warning: Because you set \"nochat\" flag, so you can not receive and send any message from this bot, until you reset using \"/chat\" command"  
    128 130 msgstr "警告:因为你设置了 \"nochat\" 标志,所以你不能从本机器人接收和发送任何消息,直到你使用\"/chat\"命令重设"  
    129 131  
    130   #: ../confbot.py:325  
      132 #: ../confbot.py:326  
    130 132 msgid "<%s> has set himself in \"nochat\" mode, so you could not send him a message."  
    131 133 msgstr "<%s> 已经把自已设置为 \"nochat\" 模式,所以你不能给他发信息。"  
    132 134  
    133   #: ../confbot.py:327  
      135 #: ../confbot.py:328  
    133 135 msgid "*<%s>* %s"  
    134 136 msgstr "<%s> _对你悄悄说_ :%s"  
    135 137  
    136   #: ../confbot.py:328  
      138 #: ../confbot.py:329  
    136 138 msgid ">%s> %s"  
    137 139 msgstr "你对 <%s> _悄悄说_ :%s"  
    138 140  
    139   #: ../confbot.py:336  
      141 #: ../confbot.py:337  
    139 141 msgid "Booted: <%s>"  
    140 142 msgstr "<%s> 已经被踢出去了"  
    141 143  
    142   #: ../confbot.py:344  
      144 #: ../confbot.py:345  
    142 144 msgid "Banned: <%s>"  
    143 145 msgstr "<%s> 已经被禁止加入了"  
    144 146  
    145   #: ../confbot.py:351  
      147 #: ../confbot.py:352  
    145 147 msgid "Unbanned: <%s>"  
    146 148 msgstr "<%s> 已经被取消禁止了"  
    147 149  
    148   #: ../confbot.py:353  
      150 #: ../confbot.py:354  
    148 150 msgid "%s is not banned"  
    149 151 msgstr "%s 没有被禁止"  
    150 152  
    151   #: ../confbot.py:359  
      153 #: ../confbot.py:360  
    151 153 msgid "Banned list: %s"  
    152 154 msgstr "被禁止名单: %s"  
    153 155  
    154   #: ../confbot.py:367  
      156 #: ../confbot.py:368  
    154 156 msgid "Invited <%s>"  
    155 157 msgstr "<%s> 已经被邀请"  
    156 158  
    157   #: ../confbot.py:375  
      159 #: ../confbot.py:376  
    157 159 msgid "Added <%s>"  
    158 160 msgstr "<%s> 已经被加入"  
    159 161  
    160   #: ../confbot.py:376  
      162 #: ../confbot.py:377  
    160 162 msgid "<%s> added you as an admin"  
    161 163 msgstr "<%s> 已经把你加为管理员"  
    162 164  
    163   #: ../confbot.py:378  
      165 #: ../confbot.py:379  
    163 165 msgid "You are an admin already."  
    164 166 msgstr "你已经是管理员了。"  
    165 167  
    166   #: ../confbot.py:385  
      168 #: ../confbot.py:386  
    166 168 msgid "<%s> is a super admin which can not be deleted."  
    167 169 msgstr "<%s> 是超级管理员不能被删除"  
    168 170  
    169   #: ../confbot.py:388  
      171 #: ../confbot.py:389  
    169 171 msgid "Removed <%s>"  
    170 172 msgstr "<%s> 已经被删除"  
    171 173  
    172   #: ../confbot.py:389  
      174 #: ../confbot.py:390  
    172 174 msgid "<%s> removed you as an admin"  
    173 175 msgstr "<%s> 已经取消你的管理员资格"  
    174 176  
    175   #: ../confbot.py:391  
      177 #: ../confbot.py:392  
    175 177 msgid "<%s> is not an admin"  
    176 178 msgstr "<%s> 不是一个管理员"  
    177 179  
    178   #: ../confbot.py:397  
      180 #: ../confbot.py:398  
    178 180 msgid "Admins: %s"  
    179 181 msgstr "管理员列表: %s"  
    180 182  
    181   #: ../confbot.py:404  
      183 #: ../confbot.py:405  
    181 183 msgid "Admin shutdown by <%s> (%s)"  
    182 184 msgstr "聊天频道被 <%s> 关闭 (%s)"  
    183 185  
    184   #: ../confbot.py:406  
      186 #: ../confbot.py:407  
    184 186 msgid "Admin shutdown by <%s>"  
    185 187 msgstr "聊天频道被 <%s> 关闭"  
    186 188  
    187   #: ../confbot.py:414  
      189 #: ../confbot.py:415  
    187 189 msgid "Config reloaded"  
    188 190 msgstr "配置信息已经被刷新"  
    189 191  
    190   #: ../confbot.py:424  
      192 #: ../confbot.py:425  
    190 192 msgid "You can begin to chat now."  
    191 193 msgstr "你现在可以开始聊天了。"  
    192 194  
    193   #: ../confbot.py:430  
    194   #: ../confbot.py:435  
      195 #: ../confbot.py:431  
      196 #: ../confbot.py:436  
    195 197 msgid "Status: %s"  
    196 198 msgstr "状态: %s"  
    197 199  
    198   #: ../confbot.py:432  
      200 #: ../confbot.py:433  
    198 200 msgid "User %s is not exists."  
    199 201 msgstr "用户 %s 不存在。"  
    200 202  
    201   #: ../confbot.py:438  
      203 #: ../confbot.py:439  
    201 203 msgid ""  
    202 204 "Version: %s (%s)\n"  
     
    234 236 "查看 http://wiki.woodpecker.org.cn/moin/GoogleTalkBot 了解更多体验。"  
    235 237  
    236   #: ../confbot.py:445  
      238 #: ../confbot.py:446  
    236 238 msgid ""  
    237 239 "Emotes : \n"  
     
    242 244 "%s"  
    243 245  
    244   #: ../confbot.py:451  
      246 #: ../confbot.py:452  
    244 246 msgid "Usage: /addemote action representation"  
    245 247 msgstr "用法:/addemote 单词名 表情涵义"  
    246 248  
    247   #: ../confbot.py:456  
    248   #: ../confbot.py:471  
    249   #: ../confbot.py:495  
      249 #: ../confbot.py:457  
      250 #: ../confbot.py:472  
      251 #: ../confbot.py:496  
    250 252 msgid "Success"  
    251 253 msgstr "成功"  
    252 254  
    253   #: ../confbot.py:464  
      255 #: ../confbot.py:465  
    253 255 msgid "Usage: /delemote <emote>"  
    254 256 msgstr "用法:/delemoet <表情串>"  
    255 257  
    256   #: ../confbot.py:473  
      258 #: ../confbot.py:474  
    256 258 msgid "Emote [%s] is not exist."  
    257 259 msgstr "表情串 [%s] 不存在。"  
    258 260  
    259   #: ../confbot.py:482  
      261 #: ../confbot.py:483  
    259 261 msgid "Usage: /setoption <option> <value>"  
    260 262 msgstr "用法:/setoption 选项名 值"  
    261 263  
    262   #: ../confbot.py:497  
      264 #: ../confbot.py:498  
    262 264 msgid "Option [%s] may not exist or can not be set."  
    263 265 msgstr "选项 [%s] 可能不存在或不能被设置。"  
    264 266  
    265   #: ../confbot.py:514  
      267 #: ../confbot.py:515  
    265 267 msgid ""  
    266 268 "Options: \n"  
     
    276 278 "%s"  
    277 279  
    278   #: ../confbot.py:522  
      280 #: ../confbot.py:523  
    278 280 msgid "Your language has been set as \"%s\"."  
    279 281 msgstr "你的语言已经被设置为 \"%s\"。"  
    280 282  
    281   #: ../confbot.py:525  
      283 #: ../confbot.py:526  
    281 283 msgid "Your language has been set as default."  
    282 284 msgstr "你的语言已经被设置为缺省。"  
    283 285  
    284   #: ../confbot.py:528  
      286 #: ../confbot.py:529  
    284 286 msgid "Available languages: %s"  
    285 287 msgstr "可用的语言: %s"  
    286 288  
    287   #: ../confbot.py:538  
      289 #: ../confbot.py:539  
    287 289 msgid "%s is being a moron trying to flood the channel"  
    288 290 msgstr "%s 正在对聊天频道刷屏"  
    289 291  
    290   #: ../confbot.py:552  
      292 #: ../confbot.py:553  
    290 292 msgid ""  
    291 293 "Warning: You are marked as \"busy\" in your client,\n"  
     
    302 304 "设为\"在线(available)\"才可以看到别人的回复"  
    303 305  
    304   #: ../confbot.py:564  
      306 #: ../confbot.py:565  
    304 306 msgid "You are banned"  
    305 307 msgstr "你被禁止加入聊天频道"  
    306 308  
    307   #: ../confbot.py:568  
      309 #: ../confbot.py:569  
    307 309 msgid "This is a private conference bot"  
    308 310 msgstr "这是一个私人聊天频道"  
    309 311  
    310   #: ../confbot.py:574  
      312 #: ../confbot.py:575  
    310 312 msgid "<%s> joins this room."  
    311 313 msgstr "<%s> 加入本聊天室。"  
    312 314  
    313   #: ../confbot.py:581  
      315 #: ../confbot.py:582  
    313 315 msgid ""  
    314 316 "Topic: %(topic)s\n"  
    322 324 "%(lastlog)s"  
    323 325  
    324   #: ../confbot.py:586  
      326 #: ../confbot.py:587  
    324 326 msgid "joining"  
    325 327 msgstr "加入"  
    326 328  
    327   #: ../confbot.py:586  
    328   #: ../confbot.py:596  
      329 #: ../confbot.py:587  
      330 #: ../confbot.py:597  
    329 331 msgid "here"  
    330 332 msgstr "在线"  
    331 333  
    332   #: ../confbot.py:592  
      334 #: ../confbot.py:593  
    332 334 msgid "<%s> has left"  
    333 335 msgstr "<%s> 已经离开了"  
    334 336  
    335   #: ../confbot.py:598  
    336   #: ../confbot.py:600  
    337   #: ../confbot.py:602  
    338   #: ../confbot.py:604  
    339   #: ../confbot.py:608  
      337 #: ../confbot.py:599  
      338 #: ../confbot.py:601  
      339 #: ../confbot.py:603  
      340 #: ../confbot.py:605  
      341 #: ../confbot.py:609  
    340 342 msgid "away"  
    341 343 msgstr "不在"  
    342 344  
    343   #: ../confbot.py:622  
      345 #: ../confbot.py:623  
    343 345 msgid "Feature not implemented"  
    344 346 msgstr "此特性尚未实现"  
    345 347  
    346   #: ../confbot.py:661  
      348 #: ../confbot.py:662  
    346 348 msgid "cries"  
    347 349 msgstr "哭着"  
    348 350  
    349   #: ../confbot.py:662  
      351 #: ../confbot.py:663  
    349 351 msgid "jumps"  
    350 352 msgstr "跳起来"  
    351 353  
    352   #: ../confbot.py:663  
      354 #: ../confbot.py:664  
    352 354 msgid "hops"  
    353 355 msgstr "单脚跳着"  
    354 356  
    355   #: ../confbot.py:664  
      357 #: ../confbot.py:665  
    355 357 msgid "sighs"  
    356 358 msgstr "唉着气"  
    357 359  
    358   #: ../confbot.py:665  
      360 #: ../confbot.py:666  
    358 360 msgid "farts"  
    359 361 msgstr "放着屁"  
    360 362  
    361   #: ../confbot.py:666  
      363 #: ../confbot.py:667  
    361 363 msgid "smiles"  
    362 364 msgstr "微笑"  
    363 365  
    364   #: ../confbot.py:667  
      366 #: ../confbot.py:668  
    364 366 msgid "keels over and dies"  
    365 367 msgstr "翻倒在地死掉了"  
    366 368  
    367   #: ../confbot.py:668  
      369 #: ../confbot.py:669  
    367 369 msgid "claps"  
    368 370 msgstr "拍着手"  
    369 371  
    370   #: ../confbot.py:671  
      372 #: ../confbot.py:672  
    370 372 msgid "What is the account name of your bot:"  
    371 373 msgstr "你的Bot帐户名:"  
    372 374  
    373   #: ../confbot.py:672  
      375 #: ../confbot.py:673  
    373 375 msgid "What is the password of your bot:"  
    374 376 msgstr "你的Bot口令:"  
    375 377  
    376   #: ../confbot.py:673  
      378 #: ../confbot.py:674  
    376 378 msgid "Write a short description about your bot:"  
    377 379 msgstr "写下关于你的Bot的简短描述:"  
    378 380  
    379   #: ../confbot.py:698  
      381 #: ../confbot.py:699  
    379 381 msgid "Input super admin email account:"  
    380 382 msgstr "请输入超级管理员邮件帐户:"  
  • cngtalkbot/trunk/locale/messages.pot

    r1 r2  
    6 6 msgstr ""  
    7 7 "Project-Id-Version: PACKAGE VERSION\n"  
    8   "POT-Creation-Date: Thu Sep 08 17:30:59 2005\n"  
      8 "POT-Creation-Date: Thu Sep 08 20:48:56 2005\n"  
    8 8 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"  
    9 9 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"  
     
    21 21 "By Isomer (Perry Lorier) and Limodou\n"  
    22 22 "This conference bot is set up to allow groups of people to chat.\n"  
    23   ")help to list commands, )quit to quit"  
      23 "\")help\" to list commands, \")quit\" to quit\n"  
      24 "\")list en\" for English, and \")list zh_CN\" for Chinese"  
    24 25 msgstr ""  
    25 26  
    26   #: ../confbot.py:236  
      27 #: ../confbot.py:237  
    26 27 msgid "%s is %s (%s)"  
    27 28 msgstr ""  
    28 29  
    29   #: ../confbot.py:238  
      30 #: ../confbot.py:239  
    29 30 msgid "%s is %s"  
    30 31 msgstr ""  
    31 32  
    32   #: ../confbot.py:259  
      33 #: ../confbot.py:260  
    32 33 msgid "This is admin command, you have no permision to use."  
    33 34 msgstr ""  
    34 35  
    35   #: ../confbot.py:261  
      36 #: ../confbot.py:262  
    35 36 msgid "Unknown command \"%s\"."  
    36 37 msgstr ""  
    37 38  
    38   #: ../confbot.py:266  
      39 #: ../confbot.py:267  
    38 39 msgid ""  
    39 40 "Usage: /me <emote>\n"  
     
    46 47 msgstr ""  
    47 48  
    48   #: ../confbot.py:279  
      49 #: ../confbot.py:280  
    48 49 msgid "<%s> %s %s"  
    49 50 msgstr ""  
    50 51  
    51   #: ../confbot.py:280  
      52 #: ../confbot.py:281  
    51 52 msgid "You %s %s"  
    52 53 msgstr ""  
    53 54  
    54   #: ../confbot.py:283  
      55 #: ../confbot.py:284  
    54 55 msgid "Commands: \")help\" \"/me\" \")names\" \")quit\" \")msg\" \")nochat\" \")chat\" \")status\" \")listemotes\" \")lang\" \")listlang\""  
    55 56 msgstr ""  
    56 57  
    57   #: ../confbot.py:285  
      58 #: ../confbot.py:286  
    57 58 msgid "Admin commands: \")die\" \")addadmin\" \")deladmin\" \")listadmins\" \")kick\" \")listbans\" \")ban\" \")unban\" \")invite\" \")reload\" \")addemote\" \")delemote\" \")listoptions\" \")setoption\""  
    58 59 msgstr ""  
    59 60  
    60   #: ../confbot.py:286  
      61 #: ../confbot.py:287  
    60 61 msgid ""  
    61 62 "See http://coders.meta.net.nz/~perry/jabber/confbot.php for more details.\n"  
     
    68 69 msgstr ""  
    69 70  
    70   #: ../confbot.py:302  
      71 #: ../confbot.py:303  
    70 71 msgid ""  
    71 72 "Names: \n"  
     
    74 75 msgstr ""  
    75 76  
    76   #: ../confbot.py:313  
      77 #: ../confbot.py:314  
    76 77 msgid "Quit: <%s> %s"  
    77 78 msgstr ""  
    78 79  
    79   #: ../confbot.py:318  
      80 #: ../confbot.py:319  
    79 80 msgid "Usage: )msg <nick> <message>"  
    80 81 msgstr ""  
    81 82  
    82   #: ../confbot.py:321 ../confbot.py:420 ../confbot.py:544  
      83 #: ../confbot.py:322 ../confbot.py:421 ../confbot.py:545  
    82 83 msgid "Warning: Because you set \"nochat\" flag, so you can not receive and send any message from this bot, until you reset using \"/chat\" command"  
    83 84 msgstr ""  
    84 85  
    85   #: ../confbot.py:325  
      86 #: ../confbot.py:326  
    85 86 msgid "<%s> has set himself in \"nochat\" mode, so you could not send him a message."  
    86 87 msgstr ""  
    87 88  
    88   #: ../confbot.py:327  
      89 #: ../confbot.py:328  
    88 89 msgid "*<%s>* %s"  
    89 90 msgstr ""  
    90 91  
    91   #: ../confbot.py:328  
      92 #: ../confbot.py:329  
    91 92 msgid ">%s> %s"  
    92 93 msgstr ""  
    93 94  
    94   #: ../confbot.py:336  
      95 #: ../confbot.py:337  
    94 95 msgid "Booted: <%s>"  
    95 96 msgstr ""  
    96 97  
    97   #: ../confbot.py:344  
      98 #: ../confbot.py:345  
    97 98 msgid "Banned: <%s>"  
    98 99 msgstr ""  
    99 100  
    100   #: ../confbot.py:351  
      101 #: ../confbot.py:352  
    100 101 msgid "Unbanned: <%s>"  
    101 102 msgstr ""  
    102 103  
    103   #: ../confbot.py:353  
      104 #: ../confbot.py:354  
    103 104 msgid "%s is not banned"  
    104 105 msgstr ""  
    105 106  
    106   #: ../confbot.py:359  
      107 #: ../confbot.py:360  
    106 107 msgid "Banned list: %s"  
    107 108 msgstr ""  
    108 109  
    109   #: ../confbot.py:367  
      110 #: ../confbot.py:368  
    109 110 msgid "Invited <%s>"  
    110 111 msgstr ""  
    111 112  
    112   #: ../confbot.py:375  
      113 #: ../confbot.py:376  
    112 113 msgid "Added <%s>"  
    113 114 msgstr ""  
    114 115  
    115   #: ../confbot.py:376  
      116 #: ../confbot.py:377  
    115 116 msgid "<%s> added you as an admin"  
    116 117 msgstr ""  
    117 118  
    118   #: ../confbot.py:378  
      119 #: ../confbot.py:379  
    118 119 msgid "You are an admin already."  
    119 120 msgstr ""  
    120 121  
    121   #: ../confbot.py:385  
      122 #: ../confbot.py:386  
    121 122 msgid "<%s> is a super admin which can not be deleted."  
    122 123 msgstr ""  
    123 124  
    124   #: ../confbot.py:388  
      125 #: ../confbot.py:389  
    124 125 msgid "Removed <%s>"  
    125 126 msgstr ""  
    126 127  
    127   #: ../confbot.py:389  
      128 #: ../confbot.py:390  
    127 128 msgid "<%s> removed you as an admin"  
    128 129 msgstr ""  
    129 130  
    130   #: ../confbot.py:391  
      131 #: ../confbot.py:392  
    130 131 msgid "<%s> is not an admin"  
    131 132 msgstr ""  
    132 133  
    133   #: ../confbot.py:397  
      134 #: ../confbot.py:398  
    133 134 msgid "Admins: %s"  
    134 135 msgstr ""  
    135 136  
    136   #: ../confbot.py:404  
      137 #: ../confbot.py:405  
    136 137 msgid "Admin shutdown by <%s> (%s)"  
    137 138 msgstr ""  
    138 139  
    139   #: ../confbot.py:406  
      140 #: ../confbot.py:407  
    139 140 msgid "Admin shutdown by <%s>"  
    140 141 msgstr ""  
    141 142  
    142   #: ../confbot.py:414  
      143 #: ../confbot.py:415  
    142 143 msgid "Config reloaded"  
    143 144 msgstr ""  
    144 145  
    145   #: ../confbot.py:424  
      146 #: ../confbot.py:425  
    145 146 msgid "You can begin to chat now."  
    146 147 msgstr ""  
    147 148  
    148   #: ../confbot.py:430 ../confbot.py:435  
      149 #: ../confbot.py:431 ../confbot.py:436  
    148 149 msgid "Status: %s"  
    149 150 msgstr ""  
    150 151  
    151   #: ../confbot.py:432  
      152 #: ../confbot.py:433  
    151 152 msgid "User %s is not exists."  
    152 153 msgstr ""  
    153 154  
    154   #: ../confbot.py:438  
      155 #: ../confbot.py:439  
    154 155 msgid ""  
    155 156 "Version: %s (%s)\n"  
     
    185 186 msgstr ""  
    186 187  
    187   #: ../confbot.py:445  
      188 #: ../confbot.py:446  
    187 188 msgid ""  
    188 189 "Emotes : \n"  
     
    191 192 msgstr ""  
    192 193  
    193   #: ../confbot.py:451  
      194 #: ../confbot.py:452  
    193 194 msgid "Usage: /addemote action representation"  
    194 195 msgstr ""  
    195 196  
    196   #: ../confbot.py:456 ../confbot.py:471 ../confbot.py:495  
      197 #: ../confbot.py:457 ../confbot.py:472 ../confbot.py:496  
    196 197 msgid "Success"  
    197 198 msgstr ""  
    198 199  
    199   #: ../confbot.py:464  
      200 #: ../confbot.py:465  
    199 200 msgid "Usage: /delemote <emote>"  
    200 201 msgstr ""  
    201 202  
    202   #: ../confbot.py:473  
      203 #: ../confbot.py:474  
    202 203 msgid "Emote [%s] is not exist."  
    203 204 msgstr ""  
    204 205  
    205   #: ../confbot.py:482  
      206 #: ../confbot.py:483  
    205 206 msgid "Usage: /setoption <option> <value>"  
    206 207 msgstr ""  
    207 208  
    208   #: ../confbot.py:497  
      209 #: ../confbot.py:498  
    208 209 msgid "Option [%s] may not exist or can not be set."  
    209 210 msgstr ""  
    210 211  
    211   #: ../confbot.py:514  
      212 #: ../confbot.py:515  
    211 212 msgid ""  
    212 213 "Options: \n"  
     
    221 222 msgstr ""  
    222 223  
    223   #: ../confbot.py:522  
      224 #: ../confbot.py:523  
    223 224 msgid "Your language has been set as \"%s\"."  
    224 225 msgstr ""  
    225 226  
    226   #: ../confbot.py:525  
      227 #: ../confbot.py:526  
    226 227 msgid "Your language has been set as default."  
    227 228 msgstr ""  
    228 229  
    229   #: ../confbot.py:528  
      230 #: ../confbot.py:529  
    229 230 msgid "Available languages: %s"  
    230 231 msgstr ""  
    231 232  
    232   #: ../confbot.py:538  
      233 #: ../confbot.py:539  
    232 233 msgid "%s is being a moron trying to flood the channel"  
    233 234 msgstr ""  
    234 235  
    235   #: ../confbot.py:552  
      236 #: ../confbot.py:553  
    235 236 msgid ""  
    236 237 "Warning: You are marked as \"busy\" in your client,\n"  
     
    244 245 msgstr ""  
    245 246  
    246   #: ../confbot.py:564  
      247 #: ../confbot.py:565  
    246 247 msgid "You are banned"  
    247 248 msgstr ""  
    248 249  
    249   #: ../confbot.py:568  
      250 #: ../confbot.py:569  
    249 250 msgid "This is a private conference bot"  
    250 251 msgstr ""  
    251 252  
    252   #: ../confbot.py:574  
      253 #: ../confbot.py:575  
    252 253 msgid "<%s> joins this room."  
    253 254 msgstr ""  
    254 255  
    255   #: ../confbot.py:581  
      256 #: ../confbot.py:582  
    255 256 msgid ""  
    256 257 "Topic: %(topic)s\n"  
    262 263 msgstr ""  
    263 264  
    264   #: ../confbot.py:586  
      265 #: ../confbot.py:587  
    264 265 msgid "joining"  
    265 266 msgstr ""  
    266 267  
    267   #: ../confbot.py:586 ../confbot.py:596  
      268 #: ../confbot.py:587 ../confbot.py:597  
    267 268 msgid "here"  
    268 269 msgstr ""  
    269 270  
    270   #: ../confbot.py:592  
      271 #: ../confbot.py:593  
    270 271 msgid "<%s> has left"  
    271 272 msgstr ""  
    272 273  
    273   #: ../confbot.py:598 ../confbot.py:600 ../confbot.py:602 ../confbot.py:604  
    274   #: ../confbot.py:608  
      274 #: ../confbot.py:599 ../confbot.py:601 ../confbot.py:603 ../confbot.py:605  
      275 #: ../confbot.py:609  
    275 276 msgid "away"  
    276 277 msgstr ""  
    277 278  
    278   #: ../confbot.py:622  
      279 #: ../confbot.py:623  
    278 279 msgid "Feature not implemented"  
    279 280 msgstr ""  
    280 281  
    281   #: ../confbot.py:661  
      282 #: ../confbot.py:662  
    281 282 msgid "cries"  
    282 283 msgstr ""  
    283 284  
    284   #: ../confbot.py:662  
      285 #: ../confbot.py:663  
    284 285 msgid "jumps"  
    285 286 msgstr ""  
    286 287  
    287   #: ../confbot.py:663  
      288 #: ../confbot.py:664  
    287 288 msgid "hops"  
    288 289 msgstr ""  
    289 290  
    290   #: ../confbot.py:664  
      291 #: ../confbot.py:665  
    290 291 msgid "sighs"  
    291 292 msgstr ""  
    292 293  
    293   #: ../confbot.py:665  
      294 #: ../confbot.py:666  
    293 294 msgid "farts"  
    294 295 msgstr ""  
    295 296  
    296   #: ../confbot.py:666  
      297 #: ../confbot.py:667  
    296 297 msgid "smiles"  
    297 298 msgstr ""  
    298 299  
    299   #: ../confbot.py:667  
      300 #: ../confbot.py:668  
    299 300 msgid "keels over and dies"  
    300 301 msgstr ""  
    301 302  
    302   #: ../confbot.py:668  
      303 #: ../confbot.py:669  
    302 303 msgid "claps"  
    303 304 msgstr ""  
    304 305  
    305   #: ../confbot.py:671  
      306 #: ../confbot.py:672  
    305 306 msgid "What is the account name of your bot:"  
    306 307 msgstr ""  
    307 308  
    308   #: ../confbot.py:672  
      309 #: ../confbot.py:673  
    308 309 msgid "What is the password of your bot:"  
    309 310 msgstr ""  
    310 311  
    311   #: ../confbot.py:673  
      312 #: ../confbot.py:674  
    311 312 msgid "Write a short description about your bot:"  
    312 313 msgstr ""  
    313 314  
    314   #: ../confbot.py:698  
      315 #: ../confbot.py:699  
    314 315 msgid "Input super admin email account:"  
    315 316 msgstr ""  
  • cngtalkbot/trunk/confbot.py

    r1 r2  
    55 55  
    56 56 version = '1.7'  
    57   revision = '$Revision: 93 $'  
      57 revision = '$Revision: 94 $'  
    57 57 commandchrs = '/)'  
    58 58  
     
    81 81 By Isomer (Perry Lorier) and Limodou  
    82 82 This conference bot is set up to allow groups of people to chat.  
    83   )help to list commands, )quit to quit""")  
      83 ")help" to list commands, ")quit" to quit  
      84 ")list en" for English, and ")list zh_CN" for Chinese""")  
    84 85  
    85 86 xmllogf = open("xmpp.log","w")  
     
    105 106     "returns a full jid from a display name"  
    106 107     server = conf['general']['server']  
    107       x = unicode(x)  
      108     x = getdisplayname(x)  
    107 108     if '@' not in x:  
    108 109         x = x + "@" + server  
    684 685     for key, value in conf['emotes'].items():  
    685 686         if not isinstance(value, unicode):  
    686               conf['emotes'][key] = unicode(value, encoding)  
      687             if i18n.isobj(value):  
      688                 conf['emotes'][key] = unicode(value)  
      689             else:  
      690                 conf['emotes'][key] = unicode(value, encoding)  
    687 691      
    688 692     if not conf.has_key('userinfo'):