Skip to content

Commit 11ff27a

Browse files
committed
fix: use proper template instead of hard coded one
1 parent e913875 commit 11ff27a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

blackjackbot/commands/game/functions.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ def next_player(update, context):
7575
game.next_player()
7676
except NoPlayersLeftException:
7777
# TODO merge messages
78-
update.effective_message.reply_text("<b>Dealer: {}</b>\n\n{}".format(game.dealer.cardvalue, get_cards_string(game.dealer, lang_id)), parse_mode="HTML")
78+
update.effective_message.reply_text(translator("dealers_cards_are").format(game.dealer.cardvalue,
79+
get_cards_string(game.dealer, lang_id)),
80+
parse_mode="HTML")
7981
evaluation_string = generate_evaluation_string(game, lang_id)
8082

8183
newgame_button = InlineKeyboardButton(text=translator("inline_keyboard_newgame"), callback_data="newgame")

0 commit comments

Comments
 (0)