Update translations

This commit is contained in:
kramo
2023-03-19 13:12:35 +01:00
parent 832f124969
commit 57be95137c
11 changed files with 191 additions and 231 deletions

View File

@@ -191,7 +191,8 @@ class CartridgesApplication(Adw.Application):
self.win.on_go_back_action(None, None)
# The variable is the title of the game
toast = Adw.Toast.new(_(f"{self.win.games[game_id].name} removed"))
title = {self.win.games[game_id].name}
toast = Adw.Toast.new(_(f"{title} removed"))
toast.set_button_label(_("Undo"))
toast.connect("button-clicked", self.win.on_undo_remove_action, game_id)
toast.set_priority(Adw.ToastPriority.HIGH)