Compare commits
5 Commits
page.kramo
...
v2.8.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b1fe1bd8d | ||
|
|
4198810cca | ||
|
|
451819a005 | ||
|
|
a0fe463f03 | ||
|
|
d9384308fe |
@@ -285,6 +285,9 @@ class CartridgesApplication(Adw.Application):
|
||||
page_name: Optional[str] = None,
|
||||
expander_row: Optional[str] = None,
|
||||
) -> CartridgesWindow:
|
||||
if CartridgesPreferences.is_open:
|
||||
return
|
||||
|
||||
win = CartridgesPreferences()
|
||||
if page_name:
|
||||
win.set_visible_page_name(page_name)
|
||||
|
||||
@@ -118,8 +118,15 @@ class CartridgesPreferences(Adw.PreferencesDialog):
|
||||
removed_games: set[Game] = set()
|
||||
warning_menu_buttons: dict = {}
|
||||
|
||||
is_open = False
|
||||
|
||||
def __init__(self, **kwargs: Any) -> None:
|
||||
super().__init__(**kwargs)
|
||||
|
||||
# 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.file_chooser = Gtk.FileDialog()
|
||||
|
||||
self.toast = Adw.Toast.new(_("All games removed"))
|
||||
@@ -247,6 +254,9 @@ class CartridgesPreferences(Adw.PreferencesDialog):
|
||||
self.sgdb_key_entry_row.connect("changed", set_sgdb_sensitive)
|
||||
set_sgdb_sensitive(self.sgdb_key_entry_row)
|
||||
|
||||
def set_is_open(self, is_open: bool) -> None:
|
||||
self.__class__.is_open = is_open
|
||||
|
||||
def get_switch(self, setting: str) -> Any:
|
||||
return getattr(self, f'{setting.replace("-", "_")}_switch')
|
||||
|
||||
|
||||
@@ -54,12 +54,10 @@
|
||||
</screenshots>
|
||||
<content_rating type="oars-1.1" />
|
||||
<releases>
|
||||
<release version="2.8.2" date="2024-03-29">
|
||||
<release version="2.8.3" date="2024-04-07">
|
||||
<description translate="no">
|
||||
<ul>
|
||||
<li>Improved notifications for launching games via the GNOME search provider</li>
|
||||
<li>Updated app metadata</li>
|
||||
<li>Fixed an issue with translations</li>
|
||||
<li>Fixed an issue with the preferences dialog</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
project('cartridges',
|
||||
version: '2.8.2',
|
||||
version: '2.8.3',
|
||||
meson_version: '>= 0.59.0',
|
||||
default_options: [ 'warning_level=2', 'werror=false', ],
|
||||
)
|
||||
|
||||
25
po/pl.po
25
po/pl.po
@@ -5,22 +5,23 @@
|
||||
# Kshyso <Kshysio@protonmail.com>, 2023.
|
||||
# Eryk Michalak <gnu.ewm@protonmail.com>, 2023.
|
||||
# Michaks <fexwex3@gmail.com>, 2023.
|
||||
# Igor Popowicz <igorpopowicz12@gmail.com>, 2024.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Cartridges\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-03-29 14:27+0100\n"
|
||||
"PO-Revision-Date: 2023-07-24 13:05+0000\n"
|
||||
"Last-Translator: Michaks <fexwex3@gmail.com>\n"
|
||||
"PO-Revision-Date: 2024-04-01 16:01+0000\n"
|
||||
"Last-Translator: Igor Popowicz <igorpopowicz12@gmail.com>\n"
|
||||
"Language-Team: Polish <https://hosted.weblate.org/projects/cartridges/"
|
||||
"cartridges/pl/>\n"
|
||||
"Language: pl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
||||
"|| n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 5.0-dev\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
||||
"|| n%100>=20) ? 1 : 2);\n"
|
||||
"X-Generator: Weblate 5.5-dev\n"
|
||||
|
||||
#: data/hu.kramo.Cartridges.desktop.in:3
|
||||
#: data/hu.kramo.Cartridges.metainfo.xml.in:6
|
||||
@@ -81,21 +82,19 @@ msgstr "Nowa okładka"
|
||||
|
||||
#: data/gtk/details-dialog.blp:64
|
||||
msgid "Delete Cover"
|
||||
msgstr "Usuń osłonę"
|
||||
msgstr "Usuń okładkę"
|
||||
|
||||
#: data/gtk/details-dialog.blp:91 data/gtk/game.blp:81
|
||||
msgid "Title"
|
||||
msgstr "Tytuł"
|
||||
|
||||
#: data/gtk/details-dialog.blp:94
|
||||
#, fuzzy
|
||||
#| msgid "The developer or publisher (optional)"
|
||||
msgid "Developer (optional)"
|
||||
msgstr "Twórca lub wydawca (opcjonalnie)"
|
||||
|
||||
#: data/gtk/details-dialog.blp:99
|
||||
msgid "Executable"
|
||||
msgstr "Wykonywalne"
|
||||
msgstr "Plik wykonywalny"
|
||||
|
||||
#: data/gtk/details-dialog.blp:105
|
||||
msgid "Select File"
|
||||
@@ -132,7 +131,7 @@ msgstr "Szukaj"
|
||||
|
||||
#: data/gtk/help-overlay.blp:24 data/gtk/window.blp:526
|
||||
msgid "Keyboard Shortcuts"
|
||||
msgstr "Skróty klawiaturowe"
|
||||
msgstr "Skróty klawiszy"
|
||||
|
||||
#: data/gtk/help-overlay.blp:29 cartridges/game.py:103
|
||||
#: cartridges/preferences.py:126 cartridges/importer/importer.py:394
|
||||
@@ -253,7 +252,7 @@ msgstr "Heroic"
|
||||
|
||||
#: data/gtk/preferences.blp:201
|
||||
msgid "Import Epic Games"
|
||||
msgstr "Zaimportuj Epic Games"
|
||||
msgstr "Importuj gry Epic Games"
|
||||
|
||||
#: data/gtk/preferences.blp:205
|
||||
msgid "Import GOG Games"
|
||||
@@ -488,10 +487,8 @@ msgid "Add"
|
||||
msgstr ""
|
||||
|
||||
#: cartridges/details_dialog.py:90
|
||||
#, fuzzy
|
||||
#| msgid "Executable"
|
||||
msgid "Executables"
|
||||
msgstr "Wykonywalne"
|
||||
msgstr "Pliki wykonywalne"
|
||||
|
||||
#. Translate this string as you would translate "file"
|
||||
#: cartridges/details_dialog.py:105
|
||||
|
||||
Reference in New Issue
Block a user