Update and Fix Translation

This commit is contained in:
TiagoDanin
2016-07-02 14:34:06 -05:00
parent 8fe190133f
commit a5eefdc1d0
4 changed files with 22 additions and 7 deletions

4
bot.py
View File

@ -82,8 +82,8 @@ def new_game(bot, update):
for user in gm.remind_dict[update.message.chat_id]:
send_async(bot,
user,
text="A new game has been started in " +
update.message.chat.title)
text=_("A new game has been started in {title}").format(
title=update.message.chat.title))
del gm.remind_dict[update.message.chat_id]