From 57be95137c915838b4cc18f8478335bb4471b243 Mon Sep 17 00:00:00 2001 From: kramo <93832451+kra-mo@users.noreply.github.com> Date: Sun, 19 Mar 2023 13:12:35 +0100 Subject: [PATCH] Update translations --- po/cartridges.pot | 50 +++++++++++-------------- po/fr.po | 69 +++++++++++++++------------------- po/hu.po | 73 ++++++++++++++++++------------------ po/nb_NO.po | 69 +++++++++++++++------------------- po/ta.po | 71 +++++++++++++++-------------------- po/uk.po | 75 ++++++++++++++++--------------------- src/main.py | 3 +- src/utils/bottles_parser.py | 3 +- src/utils/heroic_parser.py | 3 +- src/utils/steam_parser.py | 3 +- src/window.py | 3 +- 11 files changed, 191 insertions(+), 231 deletions(-) diff --git a/po/cartridges.pot b/po/cartridges.pot index c8a555e..3bfca38 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-19 12:55+0100\n" +"POT-Creation-Date: 2023-03-19 13:11+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -253,13 +253,12 @@ msgstr "" msgid "translator_credits" msgstr "" -#. The variable is the title of the game -#: src/main.py:194 +#: src/main.py:195 #, python-brace-format -msgid "{self.win.games[game_id].name} removed" +msgid "{title} removed" msgstr "" -#: src/main.py:195 +#: src/main.py:196 msgid "Undo" msgstr "" @@ -272,22 +271,23 @@ msgid "Yesterday" msgstr "" #. The variable is the date when the game was added -#: src/window.py:264 -msgid "Added: {self.get_time(current_game.added)}" +#: src/window.py:265 +#, python-brace-format +msgid "Added: {date}" msgstr "" -#: src/window.py:269 +#: src/window.py:270 msgid "Never" msgstr "" #. The variable is the date when the game was last played -#: src/window.py:273 +#: src/window.py:274 #, python-brace-format msgid "Last played: {last_played_date}" msgstr "" #: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 -#: src/utils/steam_parser.py:229 +#: src/utils/steam_parser.py:230 msgid "Couldn't Import Games" msgstr "" @@ -303,7 +303,7 @@ msgstr "" msgid "No new games were found in the Bottles library." msgstr "" -#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:154 +#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:155 msgid "Bottles Games Imported" msgstr "" @@ -313,8 +313,10 @@ msgid "Successfully imported 1 game." msgstr "" #. The variable is the number of games -#: src/utils/bottles_parser.py:156 -msgid "Successfully imported {str(len(bottles_games))} games." +#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 +#: src/utils/steam_parser.py:172 +#, python-brace-format +msgid "Successfully imported {games_no} games." msgstr "" #: src/utils/create_details_window.py:41 @@ -440,40 +442,30 @@ msgstr "" msgid "No new games were found in the Heroic library." msgstr "" -#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:253 +#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254 msgid "Heroic Games Imported" msgstr "" -#. The variable is the number of games -#: src/utils/heroic_parser.py:255 -msgid "Successfully imported {str(len(heroic_games))} games." -msgstr "" - #: src/utils/steam_parser.py:158 msgid "No new games were found in the Steam library." msgstr "" -#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:169 +#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170 msgid "Steam Games Imported" msgstr "" -#. The variable is the number of games -#: src/utils/steam_parser.py:171 -msgid "Successfully imported {str(games_no)} games." -msgstr "" - -#: src/utils/steam_parser.py:230 +#: src/utils/steam_parser.py:231 msgid "The Steam directory cannot be found." msgstr "" -#: src/utils/steam_parser.py:232 +#: src/utils/steam_parser.py:233 msgid "Set Steam Location" msgstr "" -#: src/utils/steam_parser.py:248 +#: src/utils/steam_parser.py:249 msgid "Importing Games…" msgstr "" -#: src/utils/steam_parser.py:249 +#: src/utils/steam_parser.py:250 msgid "Talking to Steam" msgstr "" diff --git a/po/fr.po b/po/fr.po index 8198dfc..0079f0c 100644 --- a/po/fr.po +++ b/po/fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: cartridges\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-19 12:55+0100\n" +"POT-Creation-Date: 2023-03-19 13:11+0100\n" "PO-Revision-Date: 2023-03-18 23:40+0000\n" "Last-Translator: \"J. Lavoie\" \n" "Language-Team: French \n" "Language-Team: Hungarian \n" "Language-Team: Norwegian Bokmål " -#. The variable is the title of the game -#: src/main.py:194 -#, python-brace-format -msgid "{self.win.games[game_id].name} removed" -msgstr "" - #: src/main.py:195 +#, fuzzy, python-brace-format +msgid "{title} removed" +msgstr "fjernet" + +#: src/main.py:196 msgid "Undo" msgstr "Angre" @@ -277,22 +276,23 @@ msgid "Yesterday" msgstr "I går" #. The variable is the date when the game was added -#: src/window.py:264 -msgid "Added: {self.get_time(current_game.added)}" -msgstr "" +#: src/window.py:265 +#, fuzzy, python-brace-format +msgid "Added: {date}" +msgstr "Tillagt:" -#: src/window.py:269 +#: src/window.py:270 msgid "Never" msgstr "" #. The variable is the date when the game was last played -#: src/window.py:273 +#: src/window.py:274 #, fuzzy, python-brace-format msgid "Last played: {last_played_date}" msgstr "Sist spilt: Aldri" #: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 -#: src/utils/steam_parser.py:229 +#: src/utils/steam_parser.py:230 msgid "Couldn't Import Games" msgstr "Kunne ikke importere spill" @@ -308,7 +308,7 @@ msgstr "Sett mappe for Bottles" msgid "No new games were found in the Bottles library." msgstr "Fant ingen nye spill i Bottles-biblioteket." -#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:154 +#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:155 msgid "Bottles Games Imported" msgstr "Bottles-spill importert" @@ -318,9 +318,10 @@ msgid "Successfully imported 1 game." msgstr "Importerte ett spill." #. The variable is the number of games -#: src/utils/bottles_parser.py:156 -#, fuzzy -msgid "Successfully imported {str(len(bottles_games))} games." +#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 +#: src/utils/steam_parser.py:172 +#, fuzzy, python-brace-format +msgid "Successfully imported {games_no} games." msgstr "Importerte ett spill." #: src/utils/create_details_window.py:41 @@ -446,52 +447,42 @@ msgstr "Velg hvor Heroic er å finne" msgid "No new games were found in the Heroic library." msgstr "Fant ingen nye spill i Heroic-biblioteket." -#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:253 +#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254 msgid "Heroic Games Imported" msgstr "Heroic-spill importert" -#. The variable is the number of games -#: src/utils/heroic_parser.py:255 -#, fuzzy -msgid "Successfully imported {str(len(heroic_games))} games." -msgstr "Importerte ett spill." - #: src/utils/steam_parser.py:158 msgid "No new games were found in the Steam library." msgstr "Fant ingen nye spill i Steam-biblioteket." -#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:169 +#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170 msgid "Steam Games Imported" msgstr "Steam-spill importert" -#. The variable is the number of games -#: src/utils/steam_parser.py:171 -#, fuzzy -msgid "Successfully imported {str(games_no)} games." -msgstr "Importerte ett spill." - -#: src/utils/steam_parser.py:230 +#: src/utils/steam_parser.py:231 msgid "The Steam directory cannot be found." msgstr "Kunne ikke finne Steam-mappen." -#: src/utils/steam_parser.py:232 +#: src/utils/steam_parser.py:233 msgid "Set Steam Location" msgstr "Velg hvor Steam er å finne" -#: src/utils/steam_parser.py:248 +#: src/utils/steam_parser.py:249 #, fuzzy msgid "Importing Games…" msgstr "Kunne ikke importere spill" -#: src/utils/steam_parser.py:249 +#: src/utils/steam_parser.py:250 msgid "Talking to Steam" msgstr "" -#~ msgid "removed" -#~ msgstr "fjernet" +#, fuzzy +#~ msgid "Successfully imported {str(len(bottles_games))} games." +#~ msgstr "Importerte ett spill." -#~ msgid "Added:" -#~ msgstr "Tillagt:" +#, fuzzy +#~ msgid "Successfully imported {str(len(heroic_games))} games." +#~ msgstr "Importerte ett spill." #~ msgid "Last played:" #~ msgstr "Sist spilt:" diff --git a/po/ta.po b/po/ta.po index f56d8e0..c7dfc78 100644 --- a/po/ta.po +++ b/po/ta.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-19 12:55+0100\n" +"POT-Creation-Date: 2023-03-19 13:11+0100\n" "PO-Revision-Date: 2023-03-18 23:40+0000\n" "Last-Translator: \"K.B.Dharun Krishna\" \n" "Language-Team: Tamil " -#. The variable is the title of the game -#: src/main.py:194 -#, python-brace-format -msgid "{self.win.games[game_id].name} removed" -msgstr "" - #: src/main.py:195 +#, fuzzy, python-brace-format +msgid "{title} removed" +msgstr "அகற்றப்பட்டது" + +#: src/main.py:196 msgid "Undo" msgstr "செயல்தவிர்" @@ -279,22 +278,23 @@ msgid "Yesterday" msgstr "நேற்று" #. The variable is the date when the game was added -#: src/window.py:264 -msgid "Added: {self.get_time(current_game.added)}" -msgstr "" +#: src/window.py:265 +#, fuzzy, python-brace-format +msgid "Added: {date}" +msgstr "சேர்க்கப்பட்டது:" -#: src/window.py:269 +#: src/window.py:270 msgid "Never" msgstr "" #. The variable is the date when the game was last played -#: src/window.py:273 +#: src/window.py:274 #, fuzzy, python-brace-format msgid "Last played: {last_played_date}" msgstr "கடைசியாக விளையாடியது: ஒருபோதும் இல்லை" #: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 -#: src/utils/steam_parser.py:229 +#: src/utils/steam_parser.py:230 msgid "Couldn't Import Games" msgstr "கேம்களை இறக்குமதி செய்ய முடியவில்லை" @@ -310,7 +310,7 @@ msgstr "பாட்டில்களின் இடத்தை அமைக msgid "No new games were found in the Bottles library." msgstr "பாட்டில்கள் நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை." -#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:154 +#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:155 msgid "Bottles Games Imported" msgstr "பாட்டில் விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன" @@ -320,9 +320,10 @@ msgid "Successfully imported 1 game." msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது." #. The variable is the number of games -#: src/utils/bottles_parser.py:156 -#, fuzzy -msgid "Successfully imported {str(len(bottles_games))} games." +#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 +#: src/utils/steam_parser.py:172 +#, fuzzy, python-brace-format +msgid "Successfully imported {games_no} games." msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது." #: src/utils/create_details_window.py:41 @@ -448,52 +449,42 @@ msgstr "Heroic (ஹீரோயிக்) இருப்பிடத்தை msgid "No new games were found in the Heroic library." msgstr "Heroic (ஹீரோயிக்) நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை." -#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:253 +#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254 msgid "Heroic Games Imported" msgstr "Heroic (ஹீரோயிக்) விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன" -#. The variable is the number of games -#: src/utils/heroic_parser.py:255 -#, fuzzy -msgid "Successfully imported {str(len(heroic_games))} games." -msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது." - #: src/utils/steam_parser.py:158 msgid "No new games were found in the Steam library." msgstr "Steam (ஸ்டீம்) நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை." -#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:169 +#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170 msgid "Steam Games Imported" msgstr "Steam (ஸ்டீம்) விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன" -#. The variable is the number of games -#: src/utils/steam_parser.py:171 -#, fuzzy -msgid "Successfully imported {str(games_no)} games." -msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது." - -#: src/utils/steam_parser.py:230 +#: src/utils/steam_parser.py:231 msgid "The Steam directory cannot be found." msgstr "Steam (ஸ்டீம்) கோப்பகத்தைக் கண்டறிய முடியவில்லை." -#: src/utils/steam_parser.py:232 +#: src/utils/steam_parser.py:233 msgid "Set Steam Location" msgstr "Steam (ஸ்டீம் இடத்தை அமைக்கவும்" -#: src/utils/steam_parser.py:248 +#: src/utils/steam_parser.py:249 #, fuzzy msgid "Importing Games…" -msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது..." +msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது…" -#: src/utils/steam_parser.py:249 +#: src/utils/steam_parser.py:250 msgid "Talking to Steam" msgstr "ஸ்டிமுடன் (Steam) பேசுகிறேன்" -#~ msgid "removed" -#~ msgstr "அகற்றப்பட்டது" +#, fuzzy +#~ msgid "Successfully imported {str(len(bottles_games))} games." +#~ msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது." -#~ msgid "Added:" -#~ msgstr "சேர்க்கப்பட்டது:" +#, fuzzy +#~ msgid "Successfully imported {str(len(heroic_games))} games." +#~ msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது." #~ msgid "Last played:" #~ msgstr "கடைசியாக விளையாடியது:" diff --git a/po/uk.po b/po/uk.po index 54ee046..eafd57a 100644 --- a/po/uk.po +++ b/po/uk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: cartridges\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-19 12:55+0100\n" +"POT-Creation-Date: 2023-03-19 13:11+0100\n" "PO-Revision-Date: 2023-03-16 18:47+0000\n" "Last-Translator: Dan \n" "Language-Team: Ukrainian =2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 4.16.2-dev\n" #: data/hu.kramo.Cartridges.desktop.in:3 @@ -259,13 +259,12 @@ msgstr "Місце встановлення Bottles" msgid "translator_credits" msgstr "kefir2105" -#. The variable is the title of the game -#: src/main.py:194 -#, python-brace-format -msgid "{self.win.games[game_id].name} removed" -msgstr "" - #: src/main.py:195 +#, fuzzy, python-brace-format +msgid "{title} removed" +msgstr "видалено" + +#: src/main.py:196 msgid "Undo" msgstr "Відмінити" @@ -278,22 +277,23 @@ msgid "Yesterday" msgstr "Вчора" #. The variable is the date when the game was added -#: src/window.py:264 -msgid "Added: {self.get_time(current_game.added)}" -msgstr "" +#: src/window.py:265 +#, fuzzy, python-brace-format +msgid "Added: {date}" +msgstr "Додано:" -#: src/window.py:269 +#: src/window.py:270 msgid "Never" msgstr "" #. The variable is the date when the game was last played -#: src/window.py:273 +#: src/window.py:274 #, fuzzy, python-brace-format msgid "Last played: {last_played_date}" msgstr "Остання гра: Ніколи" #: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 -#: src/utils/steam_parser.py:229 +#: src/utils/steam_parser.py:230 msgid "Couldn't Import Games" msgstr "Не вдається імпортувати ігри" @@ -309,7 +309,7 @@ msgstr "Встановити розташування Bottles" msgid "No new games were found in the Bottles library." msgstr "У бібліотеці Bottles нових ігор не знайдено." -#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:154 +#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:155 msgid "Bottles Games Imported" msgstr "Ігри Bottles імпортовано" @@ -319,9 +319,10 @@ msgid "Successfully imported 1 game." msgstr "Успішно імпортовано 1 гру." #. The variable is the number of games -#: src/utils/bottles_parser.py:156 -#, fuzzy -msgid "Successfully imported {str(len(bottles_games))} games." +#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 +#: src/utils/steam_parser.py:172 +#, fuzzy, python-brace-format +msgid "Successfully imported {games_no} games." msgstr "Успішно імпортовано 1 гру." #: src/utils/create_details_window.py:41 @@ -447,52 +448,42 @@ msgstr "Встановіть розташування Heroic" msgid "No new games were found in the Heroic library." msgstr "У бібліотеці Heroic нових ігор не знайдено." -#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:253 +#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254 msgid "Heroic Games Imported" msgstr "Ігри Heroic імпортовано" -#. The variable is the number of games -#: src/utils/heroic_parser.py:255 -#, fuzzy -msgid "Successfully imported {str(len(heroic_games))} games." -msgstr "Успішно імпортовано 1 гру." - #: src/utils/steam_parser.py:158 msgid "No new games were found in the Steam library." msgstr "У бібліотеці Steam не знайдено жодної нової гри." -#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:169 +#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170 msgid "Steam Games Imported" msgstr "Ігри Steam імпортовано" -#. The variable is the number of games -#: src/utils/steam_parser.py:171 -#, fuzzy -msgid "Successfully imported {str(games_no)} games." -msgstr "Успішно імпортовано 1 гру." - -#: src/utils/steam_parser.py:230 +#: src/utils/steam_parser.py:231 msgid "The Steam directory cannot be found." msgstr "Каталог Steam знайти неможливо." -#: src/utils/steam_parser.py:232 +#: src/utils/steam_parser.py:233 msgid "Set Steam Location" msgstr "Встановіть розташування Steam" -#: src/utils/steam_parser.py:248 +#: src/utils/steam_parser.py:249 #, fuzzy msgid "Importing Games…" -msgstr "Імпорт ігор..." +msgstr "Імпорт ігор…" -#: src/utils/steam_parser.py:249 +#: src/utils/steam_parser.py:250 msgid "Talking to Steam" msgstr "Спілкування зі Steam" -#~ msgid "removed" -#~ msgstr "видалено" +#, fuzzy +#~ msgid "Successfully imported {str(len(bottles_games))} games." +#~ msgstr "Успішно імпортовано 1 гру." -#~ msgid "Added:" -#~ msgstr "Додано:" +#, fuzzy +#~ msgid "Successfully imported {str(len(heroic_games))} games." +#~ msgstr "Успішно імпортовано 1 гру." #~ msgid "Last played:" #~ msgstr "Остання гра:" diff --git a/src/main.py b/src/main.py index 51709d7..bb15469 100644 --- a/src/main.py +++ b/src/main.py @@ -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) diff --git a/src/utils/bottles_parser.py b/src/utils/bottles_parser.py index 2d5c332..cf02a60 100644 --- a/src/utils/bottles_parser.py +++ b/src/utils/bottles_parser.py @@ -149,10 +149,11 @@ def bottles_parser(parent_widget, action): _("Successfully imported 1 game."), ) elif len(bottles_games) > 1: + games_no = str(len(bottles_games)) create_dialog( parent_widget, _("Bottles Games Imported"), # The variable is the number of games - _(f"Successfully imported {str(len(bottles_games))} games."), + _(f"Successfully imported {games_no} games."), ) return bottles_games diff --git a/src/utils/heroic_parser.py b/src/utils/heroic_parser.py index 725149a..58936bd 100644 --- a/src/utils/heroic_parser.py +++ b/src/utils/heroic_parser.py @@ -248,10 +248,11 @@ def heroic_parser(parent_widget, action): _("Successfully imported 1 game."), ) elif len(heroic_games) > 1: + games_no = str(len(heroic_games)) create_dialog( parent_widget, _("Heroic Games Imported"), # The variable is the number of games - _(f"Successfully imported {str(len(heroic_games))} games."), + _(f"Successfully imported {games_no} games."), ) return heroic_games diff --git a/src/utils/steam_parser.py b/src/utils/steam_parser.py index 938845f..a8f49ab 100644 --- a/src/utils/steam_parser.py +++ b/src/utils/steam_parser.py @@ -164,11 +164,12 @@ def get_games_async(parent_widget, appmanifests, steam_dir, import_dialog): _("Successfully imported 1 game."), ) elif games_no > 1: + games_no = str(games_no) create_dialog( parent_widget, _("Steam Games Imported"), # The variable is the number of games - _(f"Successfully imported {str(games_no)} games."), + _(f"Successfully imported {games_no} games."), ) for appmanifest in appmanifests: diff --git a/src/window.py b/src/window.py index c6bb379..aa0cebd 100644 --- a/src/window.py +++ b/src/window.py @@ -259,9 +259,10 @@ class CartridgesWindow(Adw.ApplicationWindow): ) self.overview_title.set_label(current_game.name) self.overview_header_bar_title.set_title(current_game.name) + date = self.get_time(current_game.added) self.overview_added.set_label( # The variable is the date when the game was added - _(f"Added: {self.get_time(current_game.added)}") + _(f"Added: {date}") ) last_played_date = ( self.get_time(current_game.last_played)