Mercurial > libervia-backend
comparison plugins/plugin_misc_tarot.py @ 194:5a2fb307485d
i18n: updated core translation
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 19 Aug 2010 22:15:59 +0800 |
parents | c37826d80f2a |
children |
comparison
equal
deleted
inserted
replaced
193:45f546e8744e | 194:5a2fb307485d |
---|---|
403 room_jid = jid.JID(room_jid_param) | 403 room_jid = jid.JID(room_jid_param) |
404 profile = self.host.memory.getProfileName(profile_key) | 404 profile = self.host.memory.getProfileName(profile_key) |
405 if not profile: | 405 if not profile: |
406 error (_("profile %s is unknown") % profile_key) | 406 error (_("profile %s is unknown") % profile_key) |
407 return | 407 return |
408 if False: #gof: self.games.has_key(room_jid): | 408 if self.games.has_key(room_jid): |
409 warning (_("Tarot game already started in room %s") % room_jid.userhost()) | 409 warning (_("Tarot game already started in room %s") % room_jid.userhost()) |
410 else: | 410 else: |
411 room_nick = self.host.plugins["XEP_0045"].getRoomNick(room_jid.userhost(), profile) | 411 room_nick = self.host.plugins["XEP_0045"].getRoomNick(room_jid.userhost(), profile) |
412 if not room_nick: | 412 if not room_nick: |
413 error ('Internal error') | 413 error ('Internal error') |