Fix "removed" string
This commit is contained in:
@@ -191,7 +191,7 @@ class CartridgesApplication(Adw.Application):
|
|||||||
self.win.on_go_back_action(None, None)
|
self.win.on_go_back_action(None, None)
|
||||||
|
|
||||||
# The variable is the title of the game
|
# 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 = Adw.Toast.new(_(f"{title} removed"))
|
||||||
toast.set_button_label(_("Undo"))
|
toast.set_button_label(_("Undo"))
|
||||||
toast.connect("button-clicked", self.win.on_undo_remove_action, game_id)
|
toast.connect("button-clicked", self.win.on_undo_remove_action, game_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user