forked from test/mau_mau_bot
i18n: logger messages shouldn't be translatable.
Co-authored-by: Jim Chen <jimchen5209@gmail.com>
This commit is contained in:
parent
e283d7af10
commit
1936d00f2a
1 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ def do_skip(bot, player, job_queue=None):
|
|||
.format(time=n,
|
||||
name=display_name(next_player.user))
|
||||
)
|
||||
logger.info(__("{player} was skipped! ", multi=game.translate)
|
||||
logger.info("{player} was skipped! "
|
||||
.format(player=display_name(player.user)))
|
||||
game.turn()
|
||||
if job_queue:
|
||||
|
@ -66,7 +66,7 @@ def do_skip(bot, player, job_queue=None):
|
|||
"Next player: {name2}", multi=game.translate)
|
||||
.format(name1=display_name(skipped_player.user),
|
||||
name2=display_name(next_player.user)))
|
||||
logger.info(__("{player} was skipped! ", multi=game.translate)
|
||||
logger.info("{player} was skipped! "
|
||||
.format(player=display_name(player.user)))
|
||||
if job_queue:
|
||||
start_player_countdown(bot, game, job_queue)
|
||||
|
@ -210,4 +210,4 @@ def skip_job(bot, job):
|
|||
game = player.game
|
||||
if game_is_running(game):
|
||||
job_queue = job.context.job_queue
|
||||
do_skip(bot, player, job_queue)
|
||||
do_skip(bot, player, job_queue)
|
||||
|
|
Loading…
Reference in a new issue