Fix fstrings in translations

This commit is contained in:
kramo
2023-03-31 15:44:52 +02:00
parent 89afe23535
commit 3e568be6d8
5 changed files with 17 additions and 16 deletions

View File

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