Skip to content

Commit

Permalink
translat cancel in keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Perceval ARENOU committed Nov 16, 2023
1 parent 6ccefd0 commit 36ef11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flantier/_keyboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def build_people_inline_kb(
for user in UserManager().users
if (not filter_registered or user.registered)
]
keyboard.append(InlineKeyboardButton("cancel", callback_data="cancel 0 cancel"))
keyboard.append(InlineKeyboardButton("Annuler", callback_data="cancel 0 cancel"))
# split keyboard in two columns
keyboard = [keyboard[i : i + COLUMNS] for i in range(0, len(keyboard), COLUMNS)]
return InlineKeyboardMarkup(keyboard)
Expand Down

0 comments on commit 36ef11b

Please sign in to comment.