diff --git a/po/cartridges.pot b/po/cartridges.pot index 840daac..9d42ad2 100644 --- a/po/cartridges.pot +++ b/po/cartridges.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Cartridges\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-29 08:15+0200\n" +"POT-Creation-Date: 2023-03-29 08:17+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -358,7 +358,7 @@ msgstr "" #. The variable is the number of games #: src/utils/importer.py:94 #, python-brace-format -msgid "Successfully imported {imported_no} games." +msgid "Successfully imported {games_no} games." msgstr "" #: src/utils/create_details_window.py:41 diff --git a/src/utils/importer.py b/src/utils/importer.py index 5fb8f97..4f38c40 100644 --- a/src/utils/importer.py +++ b/src/utils/importer.py @@ -86,10 +86,10 @@ class Importer: _("Successfully imported 1 game."), ) elif self.games_no > 1: - imported_no = self.games_no + games_no = self.games_no create_dialog( self.parent_widget, _("Games Imported"), # The variable is the number of games - _(f"Successfully imported {imported_no} games."), + _(f"Successfully imported {games_no} games."), )