Update translation files

This commit is contained in:
kramo
2023-03-29 08:09:04 +02:00
parent 17a6a53fd2
commit d4e6423bd5
3 changed files with 81 additions and 117 deletions

View File

@@ -12,6 +12,7 @@ src/window.py
src/game.py src/game.py
src/preferences.py src/preferences.py
src/utils/importer.py
src/utils/bottles_parser.py src/utils/bottles_parser.py
src/utils/create_details_window.py src/utils/create_details_window.py
src/utils/create_dialog.py src/utils/create_dialog.py

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Cartridges\n" "Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-26 11:51+0200\n" "POT-Creation-Date: 2023-03-29 08:08+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -19,7 +19,7 @@ msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:115 #: src/main.py:111
msgid "Cartridges" msgid "Cartridges"
msgstr "" msgstr ""
@@ -56,16 +56,11 @@ msgid "Game Details"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:363 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:363
#: src/utils/steam_parser.py:170 #: src/utils/importer.py:79
msgid "Preferences" msgid "Preferences"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:41 #: data/gtk/window.blp:6 src/utils/importer.py:76
msgid "First stable release"
msgstr ""
#: data/gtk/window.blp:6 src/utils/bottles_parser.py:140
#: src/utils/heroic_parser.py:250 src/utils/steam_parser.py:167
msgid "No Games Found" msgid "No Games Found"
msgstr "" msgstr ""
@@ -153,20 +148,8 @@ msgstr ""
msgid "About Cartridges" msgid "About Cartridges"
msgstr "" msgstr ""
#: data/gtk/window.blp:388 #: data/gtk/window.blp:388 data/gtk/preferences.blp:48
msgid "Import from" msgid "Import"
msgstr ""
#: data/gtk/window.blp:390 data/gtk/preferences.blp:40
msgid "Steam"
msgstr ""
#: data/gtk/window.blp:395 data/gtk/preferences.blp:78
msgid "Heroic"
msgstr ""
#: data/gtk/window.blp:400 data/gtk/preferences.blp:116
msgid "Bottles"
msgstr "" msgstr ""
#: data/gtk/game.blp:60 src/utils/create_details_window.py:94 #: data/gtk/game.blp:60 src/utils/create_details_window.py:94
@@ -190,131 +173,160 @@ msgid "Unhide"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:11 #: data/gtk/help-overlay.blp:11
msgctxt "shortcut window" msgctxt "shortcuts window"
msgid "General" msgid "General"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14
msgctxt "shortcut window" msgctxt "shortcuts window"
msgid "Quit" msgid "Quit"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:19 #: data/gtk/help-overlay.blp:19
msgctxt "shortcut window" msgctxt "shortcuts window"
msgid "Search" msgid "Search"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24
msgctxt "shortcut window" msgctxt "shortcuts window"
msgid "Show preferences" msgid "Show preferences"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29
msgctxt "shortcut window" msgctxt "shortcuts window"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:34 #: data/gtk/help-overlay.blp:34
msgctxt "shortcut window" msgctxt "shortcuts window"
msgid "Undo" msgid "Undo"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:39
msgctxt "shortcut window" msgctxt "shortcuts window"
msgid "Open menu" msgid "Open menu"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:45
msgctxt "shortcut window" msgctxt "shortcuts window"
msgid "Games" msgid "Games"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:48
msgctxt "shortcut window" msgctxt "shortcuts window"
msgid "Add new game" msgid "Add new game"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:53
msgctxt "shortcut window" msgctxt "shortcuts window"
msgid "Import games"
msgstr ""
#: data/gtk/help-overlay.blp:58
msgctxt "shortcuts window"
msgid "Show hidden games" msgid "Show hidden games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:10 #: data/gtk/preferences.blp:9
msgid "General" msgid "General"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:13 #: data/gtk/preferences.blp:13
msgid "Behavior"
msgstr ""
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:21 #: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game" msgid "Cover Image Launches Game"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:22 #: data/gtk/preferences.blp:25
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:30 #: data/gtk/preferences.blp:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr ""
#: data/gtk/preferences.blp:37
msgid "High Quality Images" msgid "High Quality Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:31 #: data/gtk/preferences.blp:38
msgid "Save game covers losslessly at the cost of storage" msgid "Save game covers losslessly at the cost of storage"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:43 #: data/gtk/preferences.blp:52
msgid "Sources"
msgstr ""
#: data/gtk/preferences.blp:55
msgid "Steam"
msgstr ""
#: data/gtk/preferences.blp:59
msgid "Steam Install Location" msgid "Steam Install Location"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:44 data/gtk/preferences.blp:82 #: data/gtk/preferences.blp:60 data/gtk/preferences.blp:99
#: data/gtk/preferences.blp:120 #: data/gtk/preferences.blp:138
msgid "Directory to use when importing games" msgid "Directory to use when importing games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:52 #: data/gtk/preferences.blp:68
msgid "Extra Steam Libraries" msgid "Extra Steam Libraries"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:53 #: data/gtk/preferences.blp:69
msgid "Select other directories where you have Steam games installed" msgid "Select other directories where you have Steam games installed"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:60 #: data/gtk/preferences.blp:76
msgid "Clear" msgid "Clear"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:81 #: data/gtk/preferences.blp:94
msgid "Heroic"
msgstr ""
#: data/gtk/preferences.blp:98
msgid "Heroic Install Location" msgid "Heroic Install Location"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:91 #: data/gtk/preferences.blp:108
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:99 #: data/gtk/preferences.blp:116
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:107 #: data/gtk/preferences.blp:124
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:133
msgid "Bottles"
msgstr ""
#: data/gtk/preferences.blp:137
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "" msgstr ""
#. Translators: Replace this with your name for it to show up in the about window #. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:130 #: src/main.py:126
msgid "translator_credits" msgid "translator_credits"
msgstr "" msgstr ""
#: src/main.py:193 #: src/main.py:198
#, python-brace-format #, python-brace-format
msgid "{title} removed" msgid "{title} removed"
msgstr "" msgstr ""
#: src/main.py:194 #: src/main.py:199
msgid "Undo" msgid "Undo"
msgstr "" msgstr ""
@@ -346,37 +358,30 @@ msgstr ""
msgid "Details" msgid "Details"
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/utils/importer.py:37
#: src/utils/steam_parser.py:245 msgid "Importing Games…"
msgid "Couldn't Import Games"
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:81 #: src/utils/importer.py:77
msgid "The Bottles directory cannot be found." msgid "No new games were found on your device."
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:83 #: src/utils/importer.py:85
msgid "Set Bottles Location" msgid "Game Imported"
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:141 #: src/utils/importer.py:86
msgid "No new games were found in the Bottles library."
msgstr ""
#: src/utils/bottles_parser.py:146 src/utils/bottles_parser.py:153
msgid "Bottles Games Imported"
msgstr ""
#: src/utils/bottles_parser.py:147 src/utils/heroic_parser.py:257
#: src/utils/steam_parser.py:177
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "" msgstr ""
#: src/utils/importer.py:92
msgid "Games Imported"
msgstr ""
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:155 src/utils/heroic_parser.py:265 #: src/utils/importer.py:94
#: src/utils/steam_parser.py:185
#, python-brace-format #, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {imported_no} games."
msgstr "" msgstr ""
#: src/utils/create_details_window.py:41 #: src/utils/create_details_window.py:41
@@ -391,10 +396,6 @@ msgstr ""
msgid "Apply" msgid "Apply"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:59
msgid "Images"
msgstr ""
#: src/utils/create_details_window.py:95 #: src/utils/create_details_window.py:95
msgid "The title of the game" msgid "The title of the game"
msgstr "" msgstr ""
@@ -492,43 +493,3 @@ msgstr ""
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "" msgstr ""
#: src/utils/heroic_parser.py:88
msgid "The Heroic directory cannot be found."
msgstr ""
#: src/utils/heroic_parser.py:90
msgid "Set Heroic Location"
msgstr ""
#: src/utils/heroic_parser.py:251
msgid "No new games were found in the Heroic library."
msgstr ""
#: src/utils/heroic_parser.py:256 src/utils/heroic_parser.py:263
msgid "Heroic Games Imported"
msgstr ""
#: src/utils/steam_parser.py:168
msgid "No new games were found in the Steam library."
msgstr ""
#: src/utils/steam_parser.py:176 src/utils/steam_parser.py:183
msgid "Steam Games Imported"
msgstr ""
#: src/utils/steam_parser.py:246
msgid "The Steam directory cannot be found."
msgstr ""
#: src/utils/steam_parser.py:248
msgid "Set Steam Location"
msgstr ""
#: src/utils/steam_parser.py:265
msgid "Importing Games…"
msgstr ""
#: src/utils/steam_parser.py:266
msgid "Talking to Steam"
msgstr ""

View File

@@ -37,6 +37,7 @@ class Importer:
title=_("Importing Games…"), title=_("Importing Games…"),
child=self.progressbar, child=self.progressbar,
) )
self.import_dialog = Adw.Window( self.import_dialog = Adw.Window(
content=import_statuspage, content=import_statuspage,
modal=True, modal=True,
@@ -85,9 +86,10 @@ class Importer:
_("Successfully imported 1 game."), _("Successfully imported 1 game."),
) )
elif self.imported_no > 1: elif self.imported_no > 1:
imported_no = self.imported_no
create_dialog( create_dialog(
self.parent_widget, self.parent_widget,
_("Games Imported"), _("Games Imported"),
# The variable is the number of games # The variable is the number of games
_(f"Successfully imported {self.imported_no} games."), _(f"Successfully imported {imported_no} games."),
) )