Fix "removed" string

This commit is contained in:
kramo
2023-03-19 17:09:08 +01:00
parent 64581ee607
commit 2acd0025e5

View File

@@ -191,7 +191,7 @@ class CartridgesApplication(Adw.Application):
self.win.on_go_back_action(None, None)
# The variable is the title of the game
title = {self.win.games[game_id].name}
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)