Compare commits

...

9 Commits

Author SHA1 Message Date
Balló György
4331b0d8c0 Clear temporary files after conversion
convert_cover() now always return a temporary file, which needs to be
removed after the cover is saved. Without this, these files would remain on
the system until reboot. Also remove the downloaded temporary files after
save.
2024-11-02 20:07:38 +01:00
Balló György
117055bf64 Handle more error types when opening/saving images with PIL
Decoding/encoding errors sometimes raise an OSError or ValueError.
2024-11-02 18:24:11 +01:00
Balló György
fa86a25870 Make sure that image can be opened
Checking for file extension does not ensure that the image file can be
actually opened. Check if it can be loaded into a pixbuf, and convert it if
necessary.
2024-11-02 15:46:38 +01:00
Balló György
31c2a1dfee Save covers directly into covers dir
Instead of saving the pixbuf of the new cover into a temporary file and
then copy into covers dir, save it directly to there. Without this, a lot
of temporary files are created on import, which remain on the system even
after the application is closed.
2024-11-02 10:13:12 +01:00
kramo
95c101d55e Update translations 2024-10-31 14:25:18 +01:00
kramo
004c5985ec Update translations 2024-10-31 14:23:34 +01:00
kramo
cbffec6f13 Update translations 2024-10-31 14:23:08 +01:00
kramo
4ee3fe2473 Add an option to import games automatically (#302) 2024-10-31 14:12:33 +01:00
Weblate (bot)
1437a31658 Translations update from Hosted Weblate (#294)
* Translated using Weblate (Romanian)

Currently translated at 100.0% (140 of 140 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ro/
Translation: Cartridges/Cartridges

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (140 of 140 strings)

Co-authored-by: Balázs Meskó <meskobalazs@mailbox.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (140 of 140 strings)

Co-authored-by: sunniva <schildkroteskoldpadda@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nb_NO/
Translation: Cartridges/Cartridges

---------

Co-authored-by: Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>
Co-authored-by: Balázs Meskó <meskobalazs@mailbox.org>
Co-authored-by: sunniva <schildkroteskoldpadda@gmail.com>
2024-10-24 18:44:26 +02:00
14 changed files with 419 additions and 372 deletions

View File

@@ -68,7 +68,8 @@ class DetailsDialog(Adw.Dialog):
# Make it so only one dialog can be open at a time
self.__class__.is_open = True
self.connect("closed", lambda *_: self.set_is_open(False))
self.tmp_cover_path = None
self.connect("closed", self.on_closed)
self.game: Optional[Game] = game
self.game_cover: GameCover = GameCover({self.cover})
@@ -160,11 +161,20 @@ class DetailsDialog(Adw.Dialog):
self.set_focus(self.name)
def delete_pixbuf(self, *_args: Any) -> None:
if self.tmp_cover_path:
self.tmp_cover_path.unlink(missing_ok=True)
self.game_cover.new_cover()
self.cover_button_delete_revealer.set_reveal_child(False)
self.cover_changed = True
def on_closed(self, *args):
if self.tmp_cover_path:
self.tmp_cover_path.unlink(missing_ok=True)
self.set_is_open(False)
def apply_preferences(self, *_args: Any) -> None:
final_name = self.name.get_text()
final_developer = self.developer.get_text()
@@ -240,6 +250,7 @@ class DetailsDialog(Adw.Dialog):
save_cover(
self.game.game_id,
self.game_cover.path,
self.game_cover.pixbuf,
)
shared.store.add_game(self.game, {}, run_pipeline=False)
@@ -295,26 +306,29 @@ class DetailsDialog(Adw.Dialog):
return
def thread_func() -> None:
new_path = None
is_animated = False
try:
with Image.open(path) as image:
if getattr(image, "is_animated", False):
new_path = convert_cover(path)
except UnidentifiedImageError:
is_animated = True
except (UnidentifiedImageError, OSError, ValueError):
pass
if not new_path:
new_path = convert_cover(
if is_animated:
if self.tmp_cover_path:
self.tmp_cover_path.unlink(missing_ok=True)
self.tmp_cover_path = convert_cover(path)
self.game_cover.new_cover(self.tmp_cover_path)
else:
self.game_cover.new_cover(
pixbuf=shared.store.managers[CoverManager].composite_cover(
Path(path)
)
)
if new_path:
self.game_cover.new_cover(new_path)
self.cover_button_delete_revealer.set_reveal_child(True)
self.cover_changed = True
self.cover_button_delete_revealer.set_reveal_child(True)
self.cover_changed = True
self.toggle_loading()

View File

@@ -45,12 +45,22 @@ class GameCover:
self.pictures = pictures
self.new_cover(path)
def new_cover(self, path: Optional[Path] = None) -> None:
def new_cover(
self,
path: Optional[Path] = None,
pixbuf: Optional[GdkPixbuf.Pixbuf] = None
) -> None:
self.animation = None
self.texture = None
self.blurred = None
self.luminance = None
self.path = path
self.pixbuf = pixbuf
if pixbuf:
self.texture = Gdk.Texture.new_for_pixbuf(pixbuf)
self.set_texture(self.texture)
return
if path:
if path.suffix == ".gif":

View File

@@ -106,7 +106,6 @@ class Importer(ErrorProducer):
def run(self) -> None:
"""Use several Gio.Task to import games from added sources"""
shared.win.get_application().state = shared.AppState.IMPORT
if self.__class__.summary_toast:
@@ -137,6 +136,7 @@ class Importer(ErrorProducer):
)
self.progress_changed_callback()
GLib.timeout_add(100, self.__watchdog)
def create_dialog(self) -> None:
"""Create the import dialog"""
@@ -281,8 +281,7 @@ class Importer(ErrorProducer):
shared.store.duplicate_game_ids = set()
# Disconnect the close-attempt signal that closes the main window
self.import_dialog.disconnect(self.close_attempt_id)
# Stupid hack because stupid libadwaita is stupid
GLib.timeout_add(50, self.import_dialog.force_close)
self.import_dialog.force_close()
self.__class__.summary_toast = self.create_summary_toast()
self.create_error_dialog()
shared.win.get_application().lookup_action("import").set_enabled(True)
@@ -397,7 +396,13 @@ class Importer(ErrorProducer):
toast.set_title(toast_title)
shared.win.toast_overlay.add_toast(toast)
if not (
self.n_games_added == 0
and removed_length == 0
and shared.schema.get_boolean("auto-import")
):
shared.win.toast_overlay.add_toast(toast)
return toast
def open_preferences(
@@ -423,3 +428,11 @@ class Importer(ErrorProducer):
self.open_preferences(*args).connect("close-request", self.timeout_toast)
else:
self.timeout_toast()
def __watchdog(self) -> bool:
# This can help resolve a race condition where the dialog would stay open
if not self.finished:
return True
self.import_dialog.force_close()
return shared.win.get_visible_dialog() == self.import_dialog

View File

@@ -118,9 +118,6 @@ class CartridgesApplication(Adw.Application):
log_system_info()
# Set fallback icon-name
Gtk.Window.set_default_icon_name(shared.APP_ID)
# Create the main window
win = self.props.active_window # pylint: disable=no-member
if not win:
@@ -196,6 +193,9 @@ class CartridgesApplication(Adw.Application):
shared.win.present()
if shared.schema.get_boolean("auto-import"):
self.on_import_action()
def do_handle_local_options(self, options: GLib.VariantDict) -> int:
if search := options.lookup_value("search"):
self.init_search_term = search.get_string()

View File

@@ -60,6 +60,7 @@ class CartridgesPreferences(Adw.PreferencesDialog):
cover_launches_game_switch: Adw.SwitchRow = Gtk.Template.Child()
high_quality_images_switch: Adw.SwitchRow = Gtk.Template.Child()
auto_import_switch: Adw.SwitchRow = Gtk.Template.Child()
remove_missing_switch: Adw.SwitchRow = Gtk.Template.Child()
steam_expander_row: Adw.ExpanderRow = Gtk.Template.Child()
@@ -237,6 +238,7 @@ class CartridgesPreferences(Adw.PreferencesDialog):
"exit-after-launch",
"cover-launches-game",
"high-quality-images",
"auto-import",
"remove-missing",
"lutris-import-steam",
"lutris-import-flatpak",

View File

@@ -19,10 +19,10 @@
# SPDX-License-Identifier: GPL-3.0-or-later
from pathlib import Path
from typing import NamedTuple
from typing import NamedTuple, Optional
import requests
from gi.repository import GdkPixbuf, Gio
from gi.repository import GdkPixbuf, Gio, GLib
from requests.exceptions import HTTPError, SSLError
from cartridges import shared
@@ -128,9 +128,21 @@ class CoverManager(Manager):
"""
# Load source image
source = GdkPixbuf.Pixbuf.new_from_file(
str(convert_cover(image_path, resize=False))
)
try:
source = GdkPixbuf.Pixbuf.new_from_file(
str(image_path)
)
except GLib.Error:
tmp_cover_path = convert_cover(image_path, resize=False)
if tmp_cover_path:
source = GdkPixbuf.Pixbuf.new_from_file(
str(tmp_cover_path)
)
tmp_cover_path.unlink(missing_ok=True)
else:
return None
source_size = ImageSize(source.get_width(), source.get_height())
cover_size = ImageSize._make(shared.image_size)
@@ -192,7 +204,8 @@ class CoverManager(Manager):
save_cover(
game.game_id,
convert_cover(
pixbuf=self.composite_cover(image_path, **composite_kwargs)
),
pixbuf=self.composite_cover(image_path, **composite_kwargs),
)
if key == "online_cover_url":
image_path.unlink(missing_ok=True)

View File

@@ -30,24 +30,11 @@ from cartridges import shared
def convert_cover(
cover_path: Optional[Path] = None,
pixbuf: Optional[GdkPixbuf.Pixbuf] = None,
resize: bool = True,
) -> Optional[Path]:
if not cover_path and not pixbuf:
return None
pixbuf_extensions = set()
for pixbuf_format in GdkPixbuf.Pixbuf.get_formats():
for pixbuf_extension in pixbuf_format.get_extensions():
pixbuf_extensions.add(pixbuf_extension)
if not resize and cover_path and cover_path.suffix.lower()[1:] in pixbuf_extensions:
return cover_path
if pixbuf:
cover_path = Path(Gio.File.new_tmp("XXXXXX.tiff")[0].get_path())
pixbuf.savev(str(cover_path), "tiff", ["compression"], ["1"])
try:
with Image.open(cover_path) as image:
if getattr(image, "is_animated", False):
@@ -76,7 +63,7 @@ def convert_cover(
if shared.schema.get_boolean("high-quality-images")
else shared.TIFF_COMPRESSION,
)
except UnidentifiedImageError:
except (UnidentifiedImageError, OSError, ValueError):
try:
Gdk.Texture.new_from_filename(str(cover_path)).save_to_tiff(
tmp_path := Gio.File.new_tmp("XXXXXX.tiff")[0].get_path()
@@ -88,7 +75,11 @@ def convert_cover(
return tmp_path
def save_cover(game_id: str, cover_path: Path) -> None:
def save_cover(
game_id: str,
cover_path: Optional[Path] = None,
pixbuf: Optional[GdkPixbuf.Pixbuf] = None,
) -> None:
shared.covers_dir.mkdir(parents=True, exist_ok=True)
animated_path = shared.covers_dir / f"{game_id}.gif"
@@ -98,7 +89,15 @@ def save_cover(game_id: str, cover_path: Path) -> None:
animated_path.unlink(missing_ok=True)
static_path.unlink(missing_ok=True)
if not cover_path:
if not cover_path and not pixbuf:
return
if pixbuf:
pixbuf.savev(str(static_path), "tiff", ["compression"], ["1"])
if game_id in shared.win.game_covers:
shared.win.game_covers[game_id].new_cover(static_path)
return
copyfile(

View File

@@ -134,7 +134,11 @@ class SgdbHelper:
tmp_file = Gio.File.new_tmp()[0]
tmp_file_path = tmp_file.get_path()
Path(tmp_file_path).write_bytes(response.content)
save_cover(game.game_id, convert_cover(tmp_file_path))
tmp_cover_path = convert_cover(tmp_file_path)
if tmp_cover_path:
save_cover(game.game_id, tmp_cover_path)
tmp_cover_path.unlink(missing_ok=True)
tmp_file_path.unlink(missing_ok=True)
except SgdbAuthError as error:
# Let caller handle auth errors
raise error

View File

@@ -44,7 +44,7 @@ template $CartridgesPreferences: Adw.PreferencesDialog {
}
Adw.ButtonRow reset_button_row {
title: _("Reset App");
title: "Reset App";
styles [
"destructive-action"
@@ -61,6 +61,10 @@ template $CartridgesPreferences: Adw.PreferencesDialog {
Adw.PreferencesGroup import_behavior_group {
title: _("Behavior");
Adw.SwitchRow auto_import_switch {
title: _("Import Games Automatically");
}
Adw.SwitchRow remove_missing_switch {
title: _("Remove Uninstalled Games");
}

View File

@@ -2,6 +2,9 @@
<schemalist gettext-domain="cartridges">
<schema id="@APP_ID@" path="@PREFIX@/">
<key name="auto-import" type="b">
<default>false</default>
</key>
<key name="exit-after-launch" type="b">
<default>false</default>
</key>

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-14 12:48+0200\n"
"POT-Creation-Date: 2024-10-31 14:25+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -46,8 +46,8 @@ msgid ""
"SteamGridDB."
msgstr ""
#: data/page.kramo.Cartridges.metainfo.xml.in:44 data/gtk/window.blp:318
#: cartridges/details_dialog.py:68
#: data/page.kramo.Cartridges.metainfo.xml.in:44 data/gtk/window.blp:320
#: cartridges/details_dialog.py:77
msgid "Game Details"
msgstr ""
@@ -56,7 +56,7 @@ msgid "Edit Game Details"
msgstr ""
#: data/page.kramo.Cartridges.metainfo.xml.in:52 data/gtk/help-overlay.blp:19
#: data/gtk/window.blp:542 cartridges/details_dialog.py:267
#: data/gtk/window.blp:543 cartridges/details_dialog.py:276
#: cartridges/importer/importer.py:320 cartridges/importer/importer.py:370
msgid "Preferences"
msgstr ""
@@ -65,47 +65,47 @@ msgstr ""
msgid "Cancel"
msgstr ""
#: data/gtk/details-dialog.blp:46
#: data/gtk/details-dialog.blp:45
msgid "New Cover"
msgstr ""
#: data/gtk/details-dialog.blp:65
#: data/gtk/details-dialog.blp:64
msgid "Delete Cover"
msgstr ""
#: data/gtk/details-dialog.blp:93 data/gtk/game.blp:81
#: data/gtk/details-dialog.blp:92 data/gtk/game.blp:80
msgid "Title"
msgstr ""
#: data/gtk/details-dialog.blp:97
#: data/gtk/details-dialog.blp:96
msgid "Developer (optional)"
msgstr ""
#: data/gtk/details-dialog.blp:103
#: data/gtk/details-dialog.blp:102
msgid "Executable"
msgstr ""
#: data/gtk/details-dialog.blp:109
#: data/gtk/details-dialog.blp:108
msgid "Select File"
msgstr ""
#: data/gtk/details-dialog.blp:120
#: data/gtk/details-dialog.blp:119
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:110 data/gtk/window.blp:443
#: data/gtk/game.blp:101 data/gtk/game.blp:109 data/gtk/window.blp:444
msgid "Edit"
msgstr ""
#: data/gtk/game.blp:103 cartridges/window.py:350
#: data/gtk/game.blp:102 cartridges/window.py:359
msgid "Hide"
msgstr ""
#: data/gtk/game.blp:104 data/gtk/game.blp:112 data/gtk/window.blp:463
#: data/gtk/game.blp:103 data/gtk/game.blp:111 data/gtk/window.blp:464
msgid "Remove"
msgstr ""
#: data/gtk/game.blp:111 cartridges/window.py:352
#: data/gtk/game.blp:110 cartridges/window.py:361
msgid "Unhide"
msgstr ""
@@ -113,17 +113,17 @@ msgstr ""
msgid "General"
msgstr ""
#: data/gtk/help-overlay.blp:14 data/gtk/window.blp:205 data/gtk/window.blp:221
#: data/gtk/window.blp:272 data/gtk/window.blp:288 data/gtk/window.blp:474
#: data/gtk/help-overlay.blp:14 data/gtk/window.blp:207 data/gtk/window.blp:223
#: data/gtk/window.blp:274 data/gtk/window.blp:290 data/gtk/window.blp:475
msgid "Search"
msgstr ""
#: data/gtk/help-overlay.blp:24 data/gtk/window.blp:543
#: data/gtk/help-overlay.blp:24 data/gtk/window.blp:544
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/help-overlay.blp:29 cartridges/game.py:103
#: cartridges/preferences.py:134 cartridges/importer/importer.py:394
#: cartridges/preferences.py:137 cartridges/importer/importer.py:394
msgid "Undo"
msgstr ""
@@ -131,11 +131,11 @@ msgstr ""
msgid "Quit"
msgstr ""
#: data/gtk/help-overlay.blp:39 data/gtk/window.blp:92 data/gtk/window.blp:185
#: data/gtk/help-overlay.blp:39 data/gtk/window.blp:92 data/gtk/window.blp:187
msgid "Toggle Sidebar"
msgstr ""
#: data/gtk/help-overlay.blp:44 data/gtk/window.blp:198 data/gtk/window.blp:265
#: data/gtk/help-overlay.blp:44 data/gtk/window.blp:200 data/gtk/window.blp:267
msgid "Main Menu"
msgstr ""
@@ -143,12 +143,12 @@ msgstr ""
msgid "Games"
msgstr ""
#: data/gtk/help-overlay.blp:53 data/gtk/window.blp:191 data/gtk/window.blp:550
#: data/gtk/help-overlay.blp:53 data/gtk/window.blp:193 data/gtk/window.blp:551
msgid "Add Game"
msgstr ""
#: data/gtk/help-overlay.blp:58 data/gtk/preferences.blp:113
#: data/gtk/window.blp:27 data/gtk/window.blp:554
#: data/gtk/help-overlay.blp:58 data/gtk/preferences.blp:58
#: data/gtk/window.blp:27 data/gtk/window.blp:555
msgid "Import"
msgstr ""
@@ -160,8 +160,8 @@ msgstr ""
msgid "Remove Game"
msgstr ""
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:415
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:62
#: data/gtk/preferences.blp:365
msgid "Behavior"
msgstr ""
@@ -177,7 +177,7 @@ msgstr ""
msgid "Swaps the behavior of the cover image and the play button"
msgstr ""
#: data/gtk/preferences.blp:26 cartridges/details_dialog.py:82
#: data/gtk/preferences.blp:26 cartridges/details_dialog.py:91
msgid "Images"
msgstr ""
@@ -193,137 +193,141 @@ msgstr ""
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:48
#: data/gtk/preferences.blp:39
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:120
#: data/gtk/preferences.blp:65
msgid "Import Games Automatically"
msgstr ""
#: data/gtk/preferences.blp:69
msgid "Remove Uninstalled Games"
msgstr ""
#: data/gtk/preferences.blp:125
#: data/gtk/preferences.blp:74
msgid "Sources"
msgstr ""
#: data/gtk/preferences.blp:128 cartridges/importer/steam_source.py:114
#: data/gtk/preferences.blp:78 cartridges/importer/steam_source.py:114
msgid "Steam"
msgstr ""
#: data/gtk/preferences.blp:137 data/gtk/preferences.blp:164
#: data/gtk/preferences.blp:199 data/gtk/preferences.blp:242
#: data/gtk/preferences.blp:269 data/gtk/preferences.blp:296
#: data/gtk/preferences.blp:323
#: data/gtk/preferences.blp:87 data/gtk/preferences.blp:114
#: data/gtk/preferences.blp:149 data/gtk/preferences.blp:192
#: data/gtk/preferences.blp:219 data/gtk/preferences.blp:246
#: data/gtk/preferences.blp:273
msgid "Install Location"
msgstr ""
#: data/gtk/preferences.blp:155 data/gtk/window.blp:564
#: cartridges/importer/lutris_source.py:96
#: data/gtk/preferences.blp:105 data/gtk/window.blp:565
#: cartridges/importer/lutris_source.py:107
msgid "Lutris"
msgstr ""
#: data/gtk/preferences.blp:181
#: data/gtk/preferences.blp:131
msgid "Import Steam Games"
msgstr ""
#: data/gtk/preferences.blp:185
#: data/gtk/preferences.blp:135
msgid "Import Flatpak Games"
msgstr ""
#: data/gtk/preferences.blp:190 cartridges/importer/heroic_source.py:355
#: data/gtk/preferences.blp:140 cartridges/importer/heroic_source.py:355
msgid "Heroic"
msgstr ""
#: data/gtk/preferences.blp:216
#: data/gtk/preferences.blp:166
msgid "Import Epic Games"
msgstr ""
#: data/gtk/preferences.blp:220
#: data/gtk/preferences.blp:170
msgid "Import GOG Games"
msgstr ""
#: data/gtk/preferences.blp:224
#: data/gtk/preferences.blp:174
msgid "Import Amazon Games"
msgstr ""
#: data/gtk/preferences.blp:228
#: data/gtk/preferences.blp:178
msgid "Import Sideloaded Games"
msgstr ""
#: data/gtk/preferences.blp:233 cartridges/importer/bottles_source.py:86
#: data/gtk/preferences.blp:183 cartridges/importer/bottles_source.py:86
msgid "Bottles"
msgstr ""
#: data/gtk/preferences.blp:260 cartridges/importer/itch_source.py:81
#: data/gtk/preferences.blp:210 cartridges/importer/itch_source.py:81
msgid "itch"
msgstr ""
#: data/gtk/preferences.blp:287 cartridges/importer/legendary_source.py:97
#: data/gtk/preferences.blp:237 cartridges/importer/legendary_source.py:97
msgid "Legendary"
msgstr ""
#: data/gtk/preferences.blp:314 cartridges/importer/retroarch_source.py:142
#: data/gtk/preferences.blp:264 cartridges/importer/retroarch_source.py:142
msgid "RetroArch"
msgstr ""
#: data/gtk/preferences.blp:341 cartridges/importer/flatpak_source.py:143
#: data/gtk/preferences.blp:291 cartridges/importer/flatpak_source.py:143
msgid "Flatpak"
msgstr ""
#. The location of the system-wide data directory
#: data/gtk/preferences.blp:351
#: data/gtk/preferences.blp:301
msgid "System Location"
msgstr ""
#. The location of the user-specific data directory
#: data/gtk/preferences.blp:369
#: data/gtk/preferences.blp:319
msgid "User Location"
msgstr ""
#: data/gtk/preferences.blp:386
#: data/gtk/preferences.blp:336
msgid "Import Game Launchers"
msgstr ""
#: data/gtk/preferences.blp:391 cartridges/importer/desktop_source.py:215
#: data/gtk/preferences.blp:341 cartridges/importer/desktop_source.py:215
msgid "Desktop Entries"
msgstr ""
#: data/gtk/preferences.blp:403 data/gtk/window.blp:562
#: data/gtk/preferences.blp:353 data/gtk/window.blp:563
msgid "SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:407
#: data/gtk/preferences.blp:357
msgid "Authentication"
msgstr ""
#: data/gtk/preferences.blp:410
#: data/gtk/preferences.blp:360
msgid "API Key"
msgstr ""
#: data/gtk/preferences.blp:418
#: data/gtk/preferences.blp:368
msgid "Use SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:419
#: data/gtk/preferences.blp:369
msgid "Download images when adding or importing games"
msgstr ""
#: data/gtk/preferences.blp:423
#: data/gtk/preferences.blp:373
msgid "Prefer Over Official Images"
msgstr ""
#: data/gtk/preferences.blp:427
#: data/gtk/preferences.blp:377
msgid "Prefer Animated Images"
msgstr ""
#: data/gtk/preferences.blp:433
#: data/gtk/preferences.blp:383
msgid "Update Covers"
msgstr ""
#: data/gtk/preferences.blp:434
#: data/gtk/preferences.blp:384
msgid "Fetch covers for games already in your library"
msgstr ""
#: data/gtk/preferences.blp:439
#: data/gtk/preferences.blp:389
msgid "Update"
msgstr ""
@@ -351,135 +355,135 @@ msgstr ""
msgid "Games you hide will appear here"
msgstr ""
#: data/gtk/window.blp:76 data/gtk/window.blp:111 cartridges/main.py:228
#: data/gtk/window.blp:76 data/gtk/window.blp:113 cartridges/main.py:249
msgid "All Games"
msgstr ""
#: data/gtk/window.blp:136 cartridges/main.py:230
#: data/gtk/window.blp:140 cartridges/main.py:251
msgid "Added"
msgstr ""
#: data/gtk/window.blp:156
#: data/gtk/window.blp:162
msgid "Imported"
msgstr ""
#: data/gtk/window.blp:258
#: data/gtk/window.blp:260
msgid "Hidden Games"
msgstr ""
#: data/gtk/window.blp:367
#: data/gtk/window.blp:368
msgid "Game Title"
msgstr ""
#: data/gtk/window.blp:424
#: data/gtk/window.blp:425
msgid "Play"
msgstr ""
#: data/gtk/window.blp:501
#: data/gtk/window.blp:502
msgid "Sort"
msgstr ""
#: data/gtk/window.blp:504
#: data/gtk/window.blp:505
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:510
#: data/gtk/window.blp:511
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:516
#: data/gtk/window.blp:517
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:522
#: data/gtk/window.blp:523
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:528
#: data/gtk/window.blp:529
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:535
#: data/gtk/window.blp:536
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:544
#: data/gtk/window.blp:545
msgid "About Cartridges"
msgstr ""
#: data/gtk/window.blp:561
#: data/gtk/window.blp:562
msgid "IGDB"
msgstr ""
#: data/gtk/window.blp:563
#: data/gtk/window.blp:564
msgid "ProtonDB"
msgstr ""
#: data/gtk/window.blp:565
#: data/gtk/window.blp:566
msgid "HowLongToBeat"
msgstr ""
#. The variable is the title of the game
#: cartridges/main.py:205 cartridges/game.py:125
#: cartridges/main.py:226 cartridges/game.py:125
msgid "{} launched"
msgstr ""
#. Translators: Replace this with your name for it to show up in the about window
#: cartridges/main.py:270
#: cartridges/main.py:291
msgid "translator_credits"
msgstr ""
#. The variable is the date when the game was added
#: cartridges/window.py:373
#: cartridges/window.py:382
msgid "Added: {}"
msgstr ""
#: cartridges/window.py:376
#: cartridges/window.py:385
msgid "Never"
msgstr ""
#. The variable is the date when the game was last played
#: cartridges/window.py:380
#: cartridges/window.py:389
msgid "Last played: {}"
msgstr ""
#: cartridges/details_dialog.py:73
#: cartridges/details_dialog.py:82
msgid "Apply"
msgstr ""
#: cartridges/details_dialog.py:79
#: cartridges/details_dialog.py:88
msgid "Add New Game"
msgstr ""
#: cartridges/details_dialog.py:80
#: cartridges/details_dialog.py:89
msgid "Add"
msgstr ""
#: cartridges/details_dialog.py:90
#: cartridges/details_dialog.py:99
msgid "Executables"
msgstr ""
#. Translate this string as you would translate "file"
#: cartridges/details_dialog.py:105
#: cartridges/details_dialog.py:114
msgid "file.txt"
msgstr ""
#. As in software
#: cartridges/details_dialog.py:107
#: cartridges/details_dialog.py:116
msgid "program"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: cartridges/details_dialog.py:112 cartridges/details_dialog.py:114
#: cartridges/details_dialog.py:121 cartridges/details_dialog.py:123
msgid "C:\\path\\to\\{}"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: cartridges/details_dialog.py:118 cartridges/details_dialog.py:120
#: cartridges/details_dialog.py:127 cartridges/details_dialog.py:129
msgid "/path/to/{}"
msgstr ""
#: cartridges/details_dialog.py:125
#: cartridges/details_dialog.py:134
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
@@ -492,19 +496,19 @@ msgid ""
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
#: cartridges/details_dialog.py:167 cartridges/details_dialog.py:173
#: cartridges/details_dialog.py:176 cartridges/details_dialog.py:182
msgid "Couldn't Add Game"
msgstr ""
#: cartridges/details_dialog.py:167 cartridges/details_dialog.py:209
#: cartridges/details_dialog.py:176 cartridges/details_dialog.py:218
msgid "Game title cannot be empty."
msgstr ""
#: cartridges/details_dialog.py:173 cartridges/details_dialog.py:217
#: cartridges/details_dialog.py:182 cartridges/details_dialog.py:226
msgid "Executable cannot be empty."
msgstr ""
#: cartridges/details_dialog.py:208 cartridges/details_dialog.py:216
#: cartridges/details_dialog.py:217 cartridges/details_dialog.py:225
msgid "Couldn't Apply Preferences"
msgstr ""
@@ -523,40 +527,40 @@ msgstr ""
msgid "{} removed"
msgstr ""
#: cartridges/preferences.py:133
#: cartridges/preferences.py:136
msgid "All games removed"
msgstr ""
#: cartridges/preferences.py:181
#: cartridges/preferences.py:188
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: cartridges/preferences.py:196
#: cartridges/preferences.py:203
msgid "Downloading covers…"
msgstr ""
#: cartridges/preferences.py:215
#: cartridges/preferences.py:222
msgid "Covers updated"
msgstr ""
#: cartridges/preferences.py:360
#: cartridges/preferences.py:370
msgid "Installation Not Found"
msgstr ""
#: cartridges/preferences.py:361
#: cartridges/preferences.py:371
msgid "Select a valid directory"
msgstr ""
#: cartridges/preferences.py:397 cartridges/importer/importer.py:318
#: cartridges/preferences.py:407 cartridges/importer/importer.py:318
msgid "Warning"
msgstr ""
#: cartridges/preferences.py:431
#: cartridges/preferences.py:441
msgid "Invalid Directory"
msgstr ""
#: cartridges/preferences.py:437
#: cartridges/preferences.py:447
msgid "Set Location"
msgstr ""

View File

@@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-14 12:48+0200\n"
"PO-Revision-Date: 2024-03-23 19:56+0000\n"
"PO-Revision-Date: 2024-10-22 10:56+0000\n"
"Last-Translator: Balázs Meskó <meskobalazs@mailbox.org>\n"
"Language-Team: Hungarian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/hu/>\n"
@@ -19,7 +19,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.5-dev\n"
"X-Generator: Weblate 5.8-rc\n"
#: data/page.kramo.Cartridges.desktop.in:3
#: data/page.kramo.Cartridges.metainfo.xml.in:9
@@ -260,7 +260,7 @@ msgstr "Kézileg hozzáadott játékok importálása"
#: data/gtk/preferences.blp:233 cartridges/importer/bottles_source.py:86
msgid "Bottles"
msgstr "Palackok"
msgstr "Bottles"
#: data/gtk/preferences.blp:260 cartridges/importer/itch_source.py:81
msgid "itch"

View File

@@ -3,13 +3,14 @@
# This file is distributed under the same license as the cartridges package.
# kramo <contact@kramo.hu>, 2023.
# Allan Nordhøy <epost@anotheragency.no>, 2023.
# sunniva <schildkroteskoldpadda@gmail.com>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-14 12:48+0200\n"
"PO-Revision-Date: 2023-04-06 08:09+0000\n"
"Last-Translator: Allan Nordhøy <epost@anotheragency.no>\n"
"PO-Revision-Date: 2024-10-22 10:56+0000\n"
"Last-Translator: sunniva <schildkroteskoldpadda@gmail.com>\n"
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/"
"cartridges/cartridges/nb_NO/>\n"
"Language: nb_NO\n"
@@ -17,7 +18,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17-dev\n"
"X-Generator: Weblate 5.8-rc\n"
#: data/page.kramo.Cartridges.desktop.in:3
#: data/page.kramo.Cartridges.metainfo.xml.in:9
@@ -39,6 +40,8 @@ msgstr "Start alle spillene dine"
msgid ""
"gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;"
msgstr ""
"gaming;lansere;spillstartere;steam;lutris;heroic;bottles;flasker;flatpak;lege"
"ndary;retroarch;"
#: data/page.kramo.Cartridges.metainfo.xml.in:12
msgid ""
@@ -73,20 +76,19 @@ msgstr "Avbryt"
#: data/gtk/details-dialog.blp:46
msgid "New Cover"
msgstr ""
msgstr "Nytt omslag"
#: data/gtk/details-dialog.blp:65
msgid "Delete Cover"
msgstr ""
msgstr "Fjern omslag"
#: data/gtk/details-dialog.blp:93 data/gtk/game.blp:81
msgid "Title"
msgstr "Navn"
#: data/gtk/details-dialog.blp:97
#, fuzzy
msgid "Developer (optional)"
msgstr "Utvikler eller utgiver (valgfritt)"
msgstr "Utvikler (valgfritt)"
#: data/gtk/details-dialog.blp:103
msgid "Executable"
@@ -94,11 +96,11 @@ msgstr "Kjørbar"
#: data/gtk/details-dialog.blp:109
msgid "Select File"
msgstr ""
msgstr "Velg fil"
#: data/gtk/details-dialog.blp:120
msgid "More Info"
msgstr ""
msgstr "Mer informasjon"
#: data/gtk/game.blp:102 data/gtk/game.blp:110 data/gtk/window.blp:443
msgid "Edit"
@@ -114,7 +116,7 @@ msgstr "Fjern"
#: data/gtk/game.blp:111 cartridges/window.py:352
msgid "Unhide"
msgstr "Opphev fjerning"
msgstr "Vis"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
@@ -122,7 +124,6 @@ msgstr "Generelt"
#: data/gtk/help-overlay.blp:14 data/gtk/window.blp:205 data/gtk/window.blp:221
#: data/gtk/window.blp:272 data/gtk/window.blp:288 data/gtk/window.blp:474
#, fuzzy
msgid "Search"
msgstr "Søk"
@@ -141,7 +142,7 @@ msgstr "Avslutt"
#: data/gtk/help-overlay.blp:39 data/gtk/window.blp:92 data/gtk/window.blp:185
msgid "Toggle Sidebar"
msgstr ""
msgstr "Vis/skjul sidefelt"
#: data/gtk/help-overlay.blp:44 data/gtk/window.blp:198 data/gtk/window.blp:265
msgid "Main Menu"
@@ -161,20 +162,17 @@ msgid "Import"
msgstr "Importer"
#: data/gtk/help-overlay.blp:63
#, fuzzy
msgid "Show Hidden Games"
msgstr "Vis skjulte spill"
#: data/gtk/help-overlay.blp:68
#, fuzzy
msgid "Remove Game"
msgstr "Fjern spill"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:415
#, fuzzy
msgid "Behavior"
msgstr "Adferd"
msgstr "Atferd"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
@@ -209,9 +207,8 @@ msgid "Remove All Games"
msgstr "Fjern alle spill"
#: data/gtk/preferences.blp:120
#, fuzzy
msgid "Remove Uninstalled Games"
msgstr "Fjern alle spill"
msgstr "Fjern avinstallerte spill"
#: data/gtk/preferences.blp:125
msgid "Sources"
@@ -225,9 +222,8 @@ msgstr "Steam"
#: data/gtk/preferences.blp:199 data/gtk/preferences.blp:242
#: data/gtk/preferences.blp:269 data/gtk/preferences.blp:296
#: data/gtk/preferences.blp:323
#, fuzzy
msgid "Install Location"
msgstr "Installasjonssted for itch"
msgstr "Installasjonssted"
#: data/gtk/preferences.blp:155 data/gtk/window.blp:564
#: cartridges/importer/lutris_source.py:96
@@ -235,14 +231,12 @@ msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:181
#, fuzzy
msgid "Import Steam Games"
msgstr "Importer sideinnlastede spill"
msgstr "Import Steam-spill"
#: data/gtk/preferences.blp:185
#, fuzzy
msgid "Import Flatpak Games"
msgstr "Importer sideinnlastede spill"
msgstr "Importer Flatpak-spill"
#: data/gtk/preferences.blp:190 cartridges/importer/heroic_source.py:355
msgid "Heroic"
@@ -269,42 +263,38 @@ msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:260 cartridges/importer/itch_source.py:81
#, fuzzy
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:287 cartridges/importer/legendary_source.py:97
msgid "Legendary"
msgstr ""
msgstr "Legendary"
#: data/gtk/preferences.blp:314 cartridges/importer/retroarch_source.py:142
msgid "RetroArch"
msgstr ""
msgstr "RetroArch"
#: data/gtk/preferences.blp:341 cartridges/importer/flatpak_source.py:143
msgid "Flatpak"
msgstr ""
msgstr "Flatpak"
#. The location of the system-wide data directory
#: data/gtk/preferences.blp:351
#, fuzzy
msgid "System Location"
msgstr "Velg mappe"
msgstr "System-lagringssted"
#. The location of the user-specific data directory
#: data/gtk/preferences.blp:369
#, fuzzy
msgid "User Location"
msgstr "Velg mappe"
msgstr "Bruker-lagringssted"
#: data/gtk/preferences.blp:386
#, fuzzy
msgid "Import Game Launchers"
msgstr "Spillutvalgstarter"
msgstr "Importer spillstartere"
#: data/gtk/preferences.blp:391 cartridges/importer/desktop_source.py:215
msgid "Desktop Entries"
msgstr ""
msgstr "Skrivebordsoppføringer"
#: data/gtk/preferences.blp:403 data/gtk/window.blp:562
msgid "SteamGridDB"
@@ -315,7 +305,6 @@ msgid "Authentication"
msgstr "Identitetsbekreftelse"
#: data/gtk/preferences.blp:410
#, fuzzy
msgid "API Key"
msgstr "API-nøkkel"
@@ -324,31 +313,28 @@ msgid "Use SteamGridDB"
msgstr "Bruk SteamGridDB"
#: data/gtk/preferences.blp:419
#, fuzzy
msgid "Download images when adding or importing games"
msgstr "Mappe å bruke ved import av spill"
msgstr "Last ned bilder når spill legges til eller importeres"
#: data/gtk/preferences.blp:423
#, fuzzy
msgid "Prefer Over Official Images"
msgstr "Foretrekk over offisielle bilder"
msgstr "Foretrekk fremfor offisielle bilder"
#: data/gtk/preferences.blp:427
#, fuzzy
msgid "Prefer Animated Images"
msgstr "Foretrekk over offisielle bilder"
msgstr "Foretrekk animerte bilder"
#: data/gtk/preferences.blp:433
msgid "Update Covers"
msgstr ""
msgstr "Oppdater omslag"
#: data/gtk/preferences.blp:434
msgid "Fetch covers for games already in your library"
msgstr ""
msgstr "Hente omslag til spill som allerede finnes i biblioteket ditt"
#: data/gtk/preferences.blp:439
msgid "Update"
msgstr ""
msgstr "Oppdater"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
@@ -375,19 +361,16 @@ msgid "Games you hide will appear here"
msgstr "Spill du skjuler vil vises her"
#: data/gtk/window.blp:76 data/gtk/window.blp:111 cartridges/main.py:228
#, fuzzy
msgid "All Games"
msgstr "Fjern alle spill"
msgstr "Alle spill"
#: data/gtk/window.blp:136 cartridges/main.py:230
#, fuzzy
msgid "Added"
msgstr "Tillagt: {}"
msgstr "Tillagte"
#: data/gtk/window.blp:156
#, fuzzy
msgid "Imported"
msgstr "Importer"
msgstr "Importerte"
#: data/gtk/window.blp:258
msgid "Hidden Games"
@@ -435,15 +418,15 @@ msgstr "Om"
#: data/gtk/window.blp:561
msgid "IGDB"
msgstr ""
msgstr "IGDB"
#: data/gtk/window.blp:563
msgid "ProtonDB"
msgstr ""
msgstr "ProtonDB"
#: data/gtk/window.blp:565
msgid "HowLongToBeat"
msgstr ""
msgstr "HowLongToBeat"
#. The variable is the title of the game
#: cartridges/main.py:205 cartridges/game.py:125
@@ -479,12 +462,11 @@ msgstr "Legg til nytt spill"
#: cartridges/details_dialog.py:80
msgid "Add"
msgstr ""
msgstr "Legg til"
#: cartridges/details_dialog.py:90
#, fuzzy
msgid "Executables"
msgstr "Kjørbar"
msgstr "Kjørbare filer"
#. Translate this string as you would translate "file"
#: cartridges/details_dialog.py:105
@@ -526,7 +508,7 @@ msgstr ""
"\n"
"<tt>{} «{}»</tt>\n"
"\n"
"Hvis stien inneholder mellomrom må du pakke den inn i doble engelske "
"Hvis stien inneholder mellomrom, må du pakke den inn i doble engelske "
"sitattegn."
#: cartridges/details_dialog.py:167 cartridges/details_dialog.py:173
@@ -547,7 +529,6 @@ msgstr "Kunne ikke ta i bruk endringer"
#. The variable is the title of the game
#: cartridges/game.py:139
#, fuzzy
msgid "{} hidden"
msgstr "{} skjult"
@@ -572,36 +553,32 @@ msgstr ""
"En API-nøkkel kreves for å bruke SteamGridDB. Du kan generere en {}her{}."
#: cartridges/preferences.py:196
#, fuzzy
msgid "Downloading covers…"
msgstr "Importerer omslag …"
msgstr "Laster ned omslag…"
#: cartridges/preferences.py:215
msgid "Covers updated"
msgstr ""
msgstr "Omslag oppdaterte"
#: cartridges/preferences.py:360
#, fuzzy
msgid "Installation Not Found"
msgstr "Fant ikke installasjonen"
msgstr "Fant ikke installasjon"
#: cartridges/preferences.py:361
#, fuzzy
msgid "Select a valid directory"
msgstr "Velg {}-datamappen."
msgstr "Velg en gyldig datamappe"
#: cartridges/preferences.py:397 cartridges/importer/importer.py:318
msgid "Warning"
msgstr ""
msgstr "Advarsel"
#: cartridges/preferences.py:431
msgid "Invalid Directory"
msgstr ""
msgstr "Ugyldig filmappe"
#: cartridges/preferences.py:437
#, fuzzy
msgid "Set Location"
msgstr "Velg mappe"
msgstr "Angi lagringssted"
#: cartridges/utils/create_dialog.py:33 cartridges/importer/importer.py:319
msgid "Dismiss"
@@ -613,69 +590,61 @@ msgstr "Importerer spill …"
#: cartridges/importer/importer.py:338
msgid "The following errors occured during import:"
msgstr ""
msgstr "De følgende feilene oppsto under importering:"
#: cartridges/importer/importer.py:367
#, fuzzy
msgid "No new games found"
msgstr "Fant ingen spill"
msgstr "Fant ingen nye spill"
#: cartridges/importer/importer.py:379
#, fuzzy
msgid "1 game imported"
msgstr "Spill importert"
msgstr "Ett spill importert"
#. The variable is the number of games
#: cartridges/importer/importer.py:383
#, fuzzy
msgid "{} games imported"
msgstr "Spill importert"
msgstr "{} spill importert"
#. A single game removed
#: cartridges/importer/importer.py:387
#, fuzzy
msgid "1 removed"
msgstr "{} fjernet"
msgstr "Ett spill fjernet"
#. The variable is the name of the source
#: cartridges/importer/location.py:34
#, fuzzy
msgid "Select the {} cache directory."
msgstr "Velg {}-datamappen."
msgstr "Velg {}-hurtiglagermappen."
#. The variable is the name of the source
#: cartridges/importer/location.py:36
#, fuzzy
msgid "Select the {} configuration directory."
msgstr "Velg {}-oppsettsmappen."
#. The variable is the name of the source
#: cartridges/importer/location.py:38
#, fuzzy
msgid "Select the {} data directory."
msgstr "Velg {}-datamappen."
#: cartridges/importer/retroarch_source.py:129
msgid "No RetroArch Core Selected"
msgstr ""
msgstr "Ingen RetroArch-kjerne valgt"
#. The variable is a newline separated list of playlists
#: cartridges/importer/retroarch_source.py:131
msgid "The following playlists have no default core:"
msgstr ""
msgstr "De følgende spillelister har ingen standardkjerne:"
#: cartridges/importer/retroarch_source.py:133
msgid "Games with no core selected were not imported"
msgstr ""
msgstr "Spill med ingen kjerne valgt har ikke blitt importert"
#: cartridges/store/managers/sgdb_manager.py:46
#, fuzzy
msgid "Couldn't Authenticate SteamGridDB"
msgstr "Kunne ikke koble til SteamGridDB"
msgstr "Kunne ikke autentisere SteamGridDB"
#: cartridges/store/managers/sgdb_manager.py:47
msgid "Verify your API key in preferences"
msgstr ""
msgstr "Verifiser API-nøkkelen din i Brukervalg"
#, fuzzy
#~ msgid "Cache Location"

270
po/ro.po
View File

@@ -2,13 +2,14 @@
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# Matt C <matei.gurzu@gmail.com>, 2023.
# Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-14 12:48+0200\n"
"PO-Revision-Date: 2023-04-04 17:12+0000\n"
"Last-Translator: Matt C <matei.gurzu@gmail.com>\n"
"PO-Revision-Date: 2024-10-14 00:15+0000\n"
"Last-Translator: Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>\n"
"Language-Team: Romanian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/ro/>\n"
"Language: ro\n"
@@ -17,7 +18,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
"20)) ? 1 : 2;\n"
"X-Generator: Weblate 4.17-dev\n"
"X-Generator: Weblate 5.8-dev\n"
#: data/page.kramo.Cartridges.desktop.in:3
#: data/page.kramo.Cartridges.metainfo.xml.in:9
@@ -39,18 +40,20 @@ msgstr "Lansați toate jocurile dvs"
msgid ""
"gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;"
msgstr ""
"jocuri;lansator;gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;lege"
"ndary;retroarch;"
#: data/page.kramo.Cartridges.metainfo.xml.in:12
#, fuzzy
msgid ""
"Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login "
"necessary. You can sort and hide games or download cover art from "
"SteamGridDB."
msgstr ""
"Cartridges este un simplu lansator de jocuri. Are suport pentru importarea "
"jocurilor dvs. din Steam, Heroic și Bottles cu funcții de organizare, cum ar "
"fi ascunderea și sortarea după data adăugată sau ultima dată jucată."
"Cartușe este un lansator de jocuri simplu pentru toate jocurile tale. Acesta "
"are suport pentru importul de jocuri de pe Steam, Lutris, Heroic și multe "
"altele, fără a fi necesară autentificarea. Puteți sorta și ascunde jocurile "
"sau descărca coperta jocului din SteamGridDB."
#: data/page.kramo.Cartridges.metainfo.xml.in:44 data/gtk/window.blp:318
#: cartridges/details_dialog.py:68
@@ -69,55 +72,55 @@ msgstr "Preferințe"
#: data/gtk/details-dialog.blp:15
msgid "Cancel"
msgstr ""
msgstr "Anulare"
#: data/gtk/details-dialog.blp:46
msgid "New Cover"
msgstr ""
msgstr "Copertă nouă"
#: data/gtk/details-dialog.blp:65
msgid "Delete Cover"
msgstr ""
msgstr "Șterge coperta"
#: data/gtk/details-dialog.blp:93 data/gtk/game.blp:81
msgid "Title"
msgstr ""
msgstr "Titlu"
#: data/gtk/details-dialog.blp:97
msgid "Developer (optional)"
msgstr ""
msgstr "Dezvoltator (opțional)"
#: data/gtk/details-dialog.blp:103
msgid "Executable"
msgstr ""
msgstr "Executabil"
#: data/gtk/details-dialog.blp:109
msgid "Select File"
msgstr ""
msgstr "Selectare fișier"
#: data/gtk/details-dialog.blp:120
msgid "More Info"
msgstr ""
msgstr "Mai multe informații"
#: data/gtk/game.blp:102 data/gtk/game.blp:110 data/gtk/window.blp:443
msgid "Edit"
msgstr ""
msgstr "Editare"
#: data/gtk/game.blp:103 cartridges/window.py:350
msgid "Hide"
msgstr ""
msgstr "Ascunde"
#: data/gtk/game.blp:104 data/gtk/game.blp:112 data/gtk/window.blp:463
msgid "Remove"
msgstr ""
msgstr "Elimină"
#: data/gtk/game.blp:111 cartridges/window.py:352
msgid "Unhide"
msgstr ""
msgstr "Afișează"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr ""
msgstr "General"
#: data/gtk/help-overlay.blp:14 data/gtk/window.blp:205 data/gtk/window.blp:221
#: data/gtk/window.blp:272 data/gtk/window.blp:288 data/gtk/window.blp:474
@@ -126,20 +129,20 @@ msgstr "Căutare"
#: data/gtk/help-overlay.blp:24 data/gtk/window.blp:543
msgid "Keyboard Shortcuts"
msgstr ""
msgstr "Taste de comenzi rapide"
#: data/gtk/help-overlay.blp:29 cartridges/game.py:103
#: cartridges/preferences.py:134 cartridges/importer/importer.py:394
msgid "Undo"
msgstr ""
msgstr "Anulează"
#: data/gtk/help-overlay.blp:34
msgid "Quit"
msgstr ""
msgstr "Ieșire"
#: data/gtk/help-overlay.blp:39 data/gtk/window.blp:92 data/gtk/window.blp:185
msgid "Toggle Sidebar"
msgstr ""
msgstr "Afișează/ascunde bara laterală"
#: data/gtk/help-overlay.blp:44 data/gtk/window.blp:198 data/gtk/window.blp:265
msgid "Main Menu"
@@ -147,7 +150,7 @@ msgstr "Meniu principal"
#: data/gtk/help-overlay.blp:50
msgid "Games"
msgstr ""
msgstr "Jocuri"
#: data/gtk/help-overlay.blp:53 data/gtk/window.blp:191 data/gtk/window.blp:550
msgid "Add Game"
@@ -156,186 +159,185 @@ msgstr "Adăugați joc"
#: data/gtk/help-overlay.blp:58 data/gtk/preferences.blp:113
#: data/gtk/window.blp:27 data/gtk/window.blp:554
msgid "Import"
msgstr ""
msgstr "Import"
#: data/gtk/help-overlay.blp:63
#, fuzzy
msgid "Show Hidden Games"
msgstr "Fără jocuri ascunse"
msgstr "Afișează jocurile ascunse"
#: data/gtk/help-overlay.blp:68
#, fuzzy
msgid "Remove Game"
msgstr "Fără jocuri"
msgstr "Elimină jocul"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:415
msgid "Behavior"
msgstr ""
msgstr "Comportament"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr ""
msgstr "Ieșire din program după lansarea jocurilor"
#: data/gtk/preferences.blp:20
msgid "Cover Image Launches Game"
msgstr ""
msgstr "Imaginea de copertă lansează jocul"
#: data/gtk/preferences.blp:21
msgid "Swaps the behavior of the cover image and the play button"
msgstr ""
"Interschimbă comportamentul imaginii de copertă și al butonului de redare"
#: data/gtk/preferences.blp:26 cartridges/details_dialog.py:82
msgid "Images"
msgstr ""
msgstr "Imagini"
#: data/gtk/preferences.blp:29
msgid "High Quality Images"
msgstr ""
msgstr "Imagini de înaltă calitate"
#: data/gtk/preferences.blp:30
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
"Salvează coperțile jocurilor fără pierderi, dar ocupă mai mult spațiu de "
"stocare"
#: data/gtk/preferences.blp:35
msgid "Danger Zone"
msgstr ""
msgstr "Zonă periculoasă"
#: data/gtk/preferences.blp:48
msgid "Remove All Games"
msgstr ""
msgstr "Elimină toate jocurile"
#: data/gtk/preferences.blp:120
msgid "Remove Uninstalled Games"
msgstr ""
msgstr "Elimină jocurile dezinstalate"
#: data/gtk/preferences.blp:125
msgid "Sources"
msgstr ""
msgstr "Surse"
#: data/gtk/preferences.blp:128 cartridges/importer/steam_source.py:114
msgid "Steam"
msgstr ""
msgstr "Steam"
#: data/gtk/preferences.blp:137 data/gtk/preferences.blp:164
#: data/gtk/preferences.blp:199 data/gtk/preferences.blp:242
#: data/gtk/preferences.blp:269 data/gtk/preferences.blp:296
#: data/gtk/preferences.blp:323
msgid "Install Location"
msgstr ""
msgstr "Locația de instalare"
#: data/gtk/preferences.blp:155 data/gtk/window.blp:564
#: cartridges/importer/lutris_source.py:96
msgid "Lutris"
msgstr ""
msgstr "Lutris"
#: data/gtk/preferences.blp:181
msgid "Import Steam Games"
msgstr ""
msgstr "Importă jocuri din Steam"
#: data/gtk/preferences.blp:185
msgid "Import Flatpak Games"
msgstr ""
msgstr "Importă jocuri din Flatpak"
#: data/gtk/preferences.blp:190 cartridges/importer/heroic_source.py:355
msgid "Heroic"
msgstr ""
msgstr "Heroic"
#: data/gtk/preferences.blp:216
msgid "Import Epic Games"
msgstr ""
msgstr "Importă jocuri din Epic"
#: data/gtk/preferences.blp:220
msgid "Import GOG Games"
msgstr ""
msgstr "Importă jocuri din GOG"
#: data/gtk/preferences.blp:224
#, fuzzy
msgid "Import Amazon Games"
msgstr "Lansator de jocuri"
msgstr "Importă jocuri din Amazon"
#: data/gtk/preferences.blp:228
msgid "Import Sideloaded Games"
msgstr ""
msgstr "Importă jocuri descărcate manual"
#: data/gtk/preferences.blp:233 cartridges/importer/bottles_source.py:86
msgid "Bottles"
msgstr ""
msgstr "Bottles"
#: data/gtk/preferences.blp:260 cartridges/importer/itch_source.py:81
msgid "itch"
msgstr ""
msgstr "itch"
#: data/gtk/preferences.blp:287 cartridges/importer/legendary_source.py:97
msgid "Legendary"
msgstr ""
msgstr "Legendary"
#: data/gtk/preferences.blp:314 cartridges/importer/retroarch_source.py:142
msgid "RetroArch"
msgstr ""
msgstr "RetroArch"
#: data/gtk/preferences.blp:341 cartridges/importer/flatpak_source.py:143
msgid "Flatpak"
msgstr ""
msgstr "Flatpak"
#. The location of the system-wide data directory
#: data/gtk/preferences.blp:351
msgid "System Location"
msgstr ""
msgstr "Locația directorului de date la nivel de sistem"
#. The location of the user-specific data directory
#: data/gtk/preferences.blp:369
msgid "User Location"
msgstr ""
msgstr "Locația directorului de date specific utilizatorului"
#: data/gtk/preferences.blp:386
#, fuzzy
msgid "Import Game Launchers"
msgstr "Lansator de jocuri"
msgstr "Importare lansatoare de jocuri"
#: data/gtk/preferences.blp:391 cartridges/importer/desktop_source.py:215
msgid "Desktop Entries"
msgstr ""
msgstr "Elemente de acces direct, pe birou"
#: data/gtk/preferences.blp:403 data/gtk/window.blp:562
msgid "SteamGridDB"
msgstr ""
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:407
msgid "Authentication"
msgstr ""
msgstr "Autentificare"
#: data/gtk/preferences.blp:410
msgid "API Key"
msgstr ""
msgstr "Cheie API"
#: data/gtk/preferences.blp:418
msgid "Use SteamGridDB"
msgstr ""
msgstr "Utilizează SteamGridDB"
#: data/gtk/preferences.blp:419
msgid "Download images when adding or importing games"
msgstr ""
msgstr "Descarcă imagini atunci când se adaugă sau se importă jocuri"
#: data/gtk/preferences.blp:423
msgid "Prefer Over Official Images"
msgstr ""
msgstr "Preferă mai mult decât imaginile oficiale"
#: data/gtk/preferences.blp:427
msgid "Prefer Animated Images"
msgstr ""
msgstr "Preferă imaginile animate"
#: data/gtk/preferences.blp:433
msgid "Update Covers"
msgstr ""
msgstr "Actualizare coperți"
#: data/gtk/preferences.blp:434
msgid "Fetch covers for games already in your library"
msgstr ""
msgstr "Obține coperți pentru jocurile aflate deja în colecție"
#: data/gtk/preferences.blp:439
msgid "Update"
msgstr ""
msgstr "Actualizare"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
@@ -362,17 +364,16 @@ msgid "Games you hide will appear here"
msgstr "Jocurile pe care le ascundeți vor apărea aici"
#: data/gtk/window.blp:76 data/gtk/window.blp:111 cartridges/main.py:228
#, fuzzy
msgid "All Games"
msgstr "Fără jocuri"
msgstr "Toate jocurile"
#: data/gtk/window.blp:136 cartridges/main.py:230
msgid "Added"
msgstr ""
msgstr "Adăugat"
#: data/gtk/window.blp:156
msgid "Imported"
msgstr ""
msgstr "Importat"
#: data/gtk/window.blp:258
msgid "Hidden Games"
@@ -388,107 +389,109 @@ msgstr "Joacă"
#: data/gtk/window.blp:501
msgid "Sort"
msgstr ""
msgstr "Sortează"
#: data/gtk/window.blp:504
msgid "A-Z"
msgstr ""
msgstr "A-Z"
#: data/gtk/window.blp:510
msgid "Z-A"
msgstr ""
msgstr "Z-A"
#: data/gtk/window.blp:516
msgid "Newest"
msgstr ""
msgstr "Cel mai noi"
#: data/gtk/window.blp:522
msgid "Oldest"
msgstr ""
msgstr "Cel mai vechi"
#: data/gtk/window.blp:528
msgid "Last Played"
msgstr ""
msgstr "Jucat ultima dată"
#: data/gtk/window.blp:535
msgid "Show Hidden"
msgstr ""
msgstr "Afișează pe cele ascunse"
#: data/gtk/window.blp:544
msgid "About Cartridges"
msgstr ""
msgstr "Despre Cartușe"
#: data/gtk/window.blp:561
msgid "IGDB"
msgstr ""
msgstr "IGDB"
#: data/gtk/window.blp:563
msgid "ProtonDB"
msgstr ""
msgstr "ProtonDB"
#: data/gtk/window.blp:565
msgid "HowLongToBeat"
msgstr ""
msgstr "HowLongToBeat"
#. The variable is the title of the game
#: cartridges/main.py:205 cartridges/game.py:125
msgid "{} launched"
msgstr ""
msgstr "{} lansat"
#. Translators: Replace this with your name for it to show up in the about window
#: cartridges/main.py:270
msgid "translator_credits"
msgstr ""
"Matt C <matei.gurzu@gmail.com>,\n"
"Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>"
#. The variable is the date when the game was added
#: cartridges/window.py:373
msgid "Added: {}"
msgstr ""
msgstr "Adăugat: {}"
#: cartridges/window.py:376
msgid "Never"
msgstr ""
msgstr "Niciodată"
#. The variable is the date when the game was last played
#: cartridges/window.py:380
msgid "Last played: {}"
msgstr ""
msgstr "Jucat ultima dată {}"
#: cartridges/details_dialog.py:73
msgid "Apply"
msgstr ""
msgstr "Aplică"
#: cartridges/details_dialog.py:79
msgid "Add New Game"
msgstr ""
msgstr "Adaugă un joc nou"
#: cartridges/details_dialog.py:80
msgid "Add"
msgstr ""
msgstr "Adaugă"
#: cartridges/details_dialog.py:90
msgid "Executables"
msgstr ""
msgstr "Executabili"
#. Translate this string as you would translate "file"
#: cartridges/details_dialog.py:105
msgid "file.txt"
msgstr ""
msgstr "fișier.txt"
#. As in software
#: cartridges/details_dialog.py:107
msgid "program"
msgstr ""
msgstr "program"
#. Translate this string as you would translate "path to {}"
#: cartridges/details_dialog.py:112 cartridges/details_dialog.py:114
msgid "C:\\path\\to\\{}"
msgstr ""
msgstr "C:\ruta\\către\\{}"
#. Translate this string as you would translate "path to {}"
#: cartridges/details_dialog.py:118 cartridges/details_dialog.py:120
msgid "/path/to/{}"
msgstr ""
msgstr "/ruta/către/{}"
#: cartridges/details_dialog.py:125
msgid ""
@@ -502,142 +505,151 @@ msgid ""
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Pentru a lansa executabilul „{}”, utilizați comanda:\n"
"\n"
"<tt>„{}”</tt>\n"
"\n"
"Pentru a deschide fișierul „{}” cu aplicația implicită, utilizați:\n"
"\n"
"<tt>{} „{}”</tt>\n"
"\n"
"Dacă ruta conține spații, asigurați-vă că o includeți între ghilimele duble!"
#: cartridges/details_dialog.py:167 cartridges/details_dialog.py:173
msgid "Couldn't Add Game"
msgstr ""
msgstr "Nu s-a putut adăuga jocul"
#: cartridges/details_dialog.py:167 cartridges/details_dialog.py:209
msgid "Game title cannot be empty."
msgstr ""
msgstr "Titlul jocului nu poate fi gol."
#: cartridges/details_dialog.py:173 cartridges/details_dialog.py:217
msgid "Executable cannot be empty."
msgstr ""
msgstr "Executabilul nu poate fi gol."
#: cartridges/details_dialog.py:208 cartridges/details_dialog.py:216
msgid "Couldn't Apply Preferences"
msgstr ""
msgstr "Nu s-au putut aplica preferințele"
#. The variable is the title of the game
#: cartridges/game.py:139
msgid "{} hidden"
msgstr ""
msgstr "{} ascuns"
#: cartridges/game.py:139
msgid "{} unhidden"
msgstr ""
msgstr "{} afișat"
#. The variable is the title of the game
#. The variable is the number of games removed
#: cartridges/game.py:153 cartridges/importer/importer.py:391
msgid "{} removed"
msgstr ""
msgstr "{} eliminat"
#: cartridges/preferences.py:133
msgid "All games removed"
msgstr ""
msgstr "Toate jocurile au fost eliminate"
#: cartridges/preferences.py:181
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"O cheie API este necesară pentru a utiliza SteamGridDB. Puteți genera una "
"{}aici{}."
#: cartridges/preferences.py:196
msgid "Downloading covers…"
msgstr ""
msgstr "Se descarcă coperțile…"
#: cartridges/preferences.py:215
msgid "Covers updated"
msgstr ""
msgstr "Coperți actualizate"
#: cartridges/preferences.py:360
msgid "Installation Not Found"
msgstr ""
msgstr "Instalarea nu a fost găsită"
#: cartridges/preferences.py:361
msgid "Select a valid directory"
msgstr ""
msgstr "Selectați un director valid"
#: cartridges/preferences.py:397 cartridges/importer/importer.py:318
msgid "Warning"
msgstr ""
msgstr "Atenţie"
#: cartridges/preferences.py:431
msgid "Invalid Directory"
msgstr ""
msgstr "Director nevalid"
#: cartridges/preferences.py:437
msgid "Set Location"
msgstr ""
msgstr "Stabilește locația"
#: cartridges/utils/create_dialog.py:33 cartridges/importer/importer.py:319
msgid "Dismiss"
msgstr ""
msgstr "Revocare"
#: cartridges/importer/importer.py:145
#, fuzzy
msgid "Importing Games…"
msgstr "Lansator de jocuri"
msgstr "Se importă jocurile…"
#: cartridges/importer/importer.py:338
msgid "The following errors occured during import:"
msgstr ""
msgstr "Au apărut următoarele erori în timpul importului:"
#: cartridges/importer/importer.py:367
#, fuzzy
msgid "No new games found"
msgstr "Nu s-au găsit jocuri"
msgstr "Nu s-au găsit jocuri noi"
#: cartridges/importer/importer.py:379
msgid "1 game imported"
msgstr ""
msgstr "un joc importat"
#. The variable is the number of games
#: cartridges/importer/importer.py:383
msgid "{} games imported"
msgstr ""
msgstr "{} jocuri importate"
#. A single game removed
#: cartridges/importer/importer.py:387
msgid "1 removed"
msgstr ""
msgstr "un joc eliminat"
#. The variable is the name of the source
#: cartridges/importer/location.py:34
msgid "Select the {} cache directory."
msgstr ""
msgstr "Selectați directorul cache {}."
#. The variable is the name of the source
#: cartridges/importer/location.py:36
msgid "Select the {} configuration directory."
msgstr ""
msgstr "Selectați directorul de configurare {}."
#. The variable is the name of the source
#: cartridges/importer/location.py:38
msgid "Select the {} data directory."
msgstr ""
msgstr "Selectați directorul de date {}."
#: cartridges/importer/retroarch_source.py:129
msgid "No RetroArch Core Selected"
msgstr ""
msgstr "Nu este selectat niciun nucleu RetroArch"
#. The variable is a newline separated list of playlists
#: cartridges/importer/retroarch_source.py:131
msgid "The following playlists have no default core:"
msgstr ""
msgstr "Următoarele liste de redare nu au un nucleu implicit:"
#: cartridges/importer/retroarch_source.py:133
msgid "Games with no core selected were not imported"
msgstr ""
msgstr "Jocurile fără un nucleu selectat nu au fost importate"
#: cartridges/store/managers/sgdb_manager.py:46
msgid "Couldn't Authenticate SteamGridDB"
msgstr ""
msgstr "Nu s-a putut autentifica SteamGridDB"
#: cartridges/store/managers/sgdb_manager.py:47
msgid "Verify your API key in preferences"
msgstr ""
msgstr "Verificați cheia API în preferințe"
#~ msgid "Library"
#~ msgstr "Bibliotecă"