Compare commits

...

7 Commits
v1.2 ... v1.2.2

Author SHA1 Message Date
kramo
a53e49610c v1.2.2 2023-03-30 23:38:38 +02:00
Weblate (bot)
3ec02ee64f Translated using Weblate (Ukrainian) (#45)
Currently translated at 100.0% (110 of 110 strings)


Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges

Co-authored-by: Dan <denqwerta@gmail.com>
2023-03-30 23:37:08 +02:00
kramo
4ed84390cf Fix Steam Linux/Windows bug 2023-03-30 23:35:39 +02:00
kramo
dbe00c5f90 v1.2.1 2023-03-30 22:20:05 +02:00
Weblate (bot)
6766910bb7 Translations update from Hosted Weblate (#44)
* Translated using Weblate (Italian)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Alessandro Iepure <alessandro.iepure@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/it/
Translation: Cartridges/Cartridges

* Translated using Weblate (Arabic)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ar/
Translation: Cartridges/Cartridges

---------

Co-authored-by: Alessandro Iepure <alessandro.iepure@gmail.com>
Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
2023-03-30 22:15:38 +02:00
kramo
7a3019775c Fix Heroic Linux/Windows bug 2023-03-30 22:07:48 +02:00
kramo
ef509f2eb0 Fix details window height - fixes #43 2023-03-30 21:39:14 +02:00
10 changed files with 46 additions and 56 deletions

View File

@@ -1,5 +1,5 @@
#define MyAppName "Cartridges" #define MyAppName "Cartridges"
#define MyAppVersion "1.2" #define MyAppVersion "1.2.2"
#define MyAppPublisher "kramo" #define MyAppPublisher "kramo"
#define MyAppURL "https://github.com/kra-mo/cartridges" #define MyAppURL "https://github.com/kra-mo/cartridges"
#define MyAppExeName "pythonw.exe" #define MyAppExeName "pythonw.exe"

View File

@@ -36,6 +36,14 @@
</screenshots> </screenshots>
<content_rating type="oars-1.1" /> <content_rating type="oars-1.1" />
<releases> <releases>
<release version="1.2.2" date="2023-03-30">
<description translatable="no">
<ul>
<li>Bug fixes</li>
<li>Translations since 1.2</li>
</ul>
</description>
</release>
<release version="1.2" date="2023-03-30"> <release version="1.2" date="2023-03-30">
<description translatable="no"> <description translatable="no">
<ul> <ul>

View File

@@ -1,5 +1,5 @@
project('cartridges', project('cartridges',
version: '1.2', version: '1.2.2',
meson_version: '>= 0.59.0', meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2', 'werror=false', ], default_options: [ 'warning_level=2', 'werror=false', ],
) )

View File

@@ -7,7 +7,7 @@ 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-30 16:23+0200\n" "POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-30 11:43+0000\n" "PO-Revision-Date: 2023-03-30 20:15+0000\n"
"Last-Translator: Ali Aljishi <ahj696@hotmail.com>\n" "Last-Translator: Ali Aljishi <ahj696@hotmail.com>\n"
"Language-Team: Arabic <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Arabic <https://hosted.weblate.org/projects/cartridges/"
"cartridges/ar/>\n" "cartridges/ar/>\n"
@@ -247,11 +247,11 @@ msgstr "احفظ غُلُف الألعاب دون فقد على حساب مسا
#: data/gtk/preferences.blp:47 #: data/gtk/preferences.blp:47
msgid "Danger Zone" msgid "Danger Zone"
msgstr "" msgstr "منطقة خطر"
#: data/gtk/preferences.blp:50 #: data/gtk/preferences.blp:50
msgid "Remove All Games" msgid "Remove All Games"
msgstr "" msgstr "أزل كلَّ الألعاب"
#: data/gtk/preferences.blp:70 #: data/gtk/preferences.blp:70
msgid "Sources" msgid "Sources"
@@ -370,20 +370,16 @@ msgid "Set Location"
msgstr "عيِّن الموضع" msgstr "عيِّن الموضع"
#: src/preferences.py:117 #: src/preferences.py:117
#, fuzzy
#| msgid "{title} removed"
msgid "All games removed" msgid "All games removed"
msgstr "أزيلت {title}" msgstr "أُزيلت كلُّ الألعاب"
#: src/utils/importer.py:37 #: src/utils/importer.py:37
msgid "Importing Games…" msgid "Importing Games…"
msgstr "تُستورد الألعاب…" msgstr "تُستورد الألعاب…"
#: src/utils/importer.py:79 #: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found on your device."
msgid "No new games were found on your system." msgid "No new games were found on your system."
msgstr "لم يُعثر على ألعاب جديدة في جهازك." msgstr "لم يُعثر على ألعاب جديدة في نظامك."
#: src/utils/importer.py:87 #: src/utils/importer.py:87
msgid "Game Imported" msgid "Game Imported"

View File

@@ -8,7 +8,7 @@ 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-30 16:23+0200\n" "POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-28 22:23+0000\n" "PO-Revision-Date: 2023-03-30 20:15+0000\n"
"Last-Translator: Alessandro Iepure <alessandro.iepure@gmail.com>\n" "Last-Translator: Alessandro Iepure <alessandro.iepure@gmail.com>\n"
"Language-Team: Italian <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Italian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/it/>\n" "cartridges/it/>\n"
@@ -154,10 +154,8 @@ msgid "About Cartridges"
msgstr "Informazioni su Cartucce" msgstr "Informazioni su Cartucce"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66 #: data/gtk/window.blp:388 data/gtk/preferences.blp:66
#, fuzzy
#| msgid "Import from"
msgid "Import" msgid "Import"
msgstr "Importa da" msgstr "Importa"
#: data/gtk/game.blp:60 src/utils/create_details_window.py:94 #: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Title" msgid "Title"
@@ -212,10 +210,8 @@ msgid "Add new game"
msgstr "Aggiungi un nuovo gioco" msgstr "Aggiungi un nuovo gioco"
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:53
#, fuzzy
#| msgid "Import GOG Games"
msgid "Import games" msgid "Import games"
msgstr "Importa giochi da GOG" msgstr "Importa giochi"
#: data/gtk/help-overlay.blp:58 #: data/gtk/help-overlay.blp:58
msgid "Show hidden games" msgid "Show hidden games"
@@ -223,7 +219,7 @@ msgstr "Mostra giochi nascosti"
#: data/gtk/preferences.blp:13 #: data/gtk/preferences.blp:13
msgid "Behavior" msgid "Behavior"
msgstr "" msgstr "Comportamento"
#: data/gtk/preferences.blp:16 #: data/gtk/preferences.blp:16
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
@@ -252,15 +248,15 @@ msgstr ""
#: data/gtk/preferences.blp:47 #: data/gtk/preferences.blp:47
msgid "Danger Zone" msgid "Danger Zone"
msgstr "" msgstr "Zona di pericolo"
#: data/gtk/preferences.blp:50 #: data/gtk/preferences.blp:50
msgid "Remove All Games" msgid "Remove All Games"
msgstr "" msgstr "Rimuovi tutti i giochi"
#: data/gtk/preferences.blp:70 #: data/gtk/preferences.blp:70
msgid "Sources" msgid "Sources"
msgstr "" msgstr "Fonti"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:73
msgid "Steam" msgid "Steam"
@@ -356,57 +352,47 @@ msgstr "Dettagli"
#: src/preferences.py:55 #: src/preferences.py:55
msgid "Installation Not Found" msgid "Installation Not Found"
msgstr "" msgstr "Installazione non trovata"
#. The variable is the name of the game launcher #. The variable is the name of the game launcher
#: src/preferences.py:57 #: src/preferences.py:57
#, python-brace-format #, python-brace-format
msgid "Select the {name} configuration directory." msgid "Select the {name} configuration directory."
msgstr "" msgstr "Selezionare la directory di configurazione per {name}."
#. The variable is the name of the game launcher #. The variable is the name of the game launcher
#: src/preferences.py:59 #: src/preferences.py:59
#, python-brace-format #, python-brace-format
msgid "Select the {name} data directory." msgid "Select the {name} data directory."
msgstr "" msgstr "Selezionare la cartella dei dati per {name}."
#: src/preferences.py:61 #: src/preferences.py:61
#, fuzzy
#| msgid "Set Steam Location"
msgid "Set Location" msgid "Set Location"
msgstr "Imposta il percorso per Steam" msgstr "Imposta percorso"
#: src/preferences.py:117 #: src/preferences.py:117
#, fuzzy
#| msgid "{title} removed"
msgid "All games removed" msgid "All games removed"
msgstr "{title} rimosso" msgstr "Tutti i giochi sono stati rimossi"
#: src/utils/importer.py:37 #: src/utils/importer.py:37
msgid "Importing Games…" msgid "Importing Games…"
msgstr "Import dei giochi in corso…" msgstr "Import dei giochi in corso…"
#: src/utils/importer.py:79 #: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found in the Heroic library."
msgid "No new games were found on your system." msgid "No new games were found on your system."
msgstr "Nessun nuovo gioco trovato nella libreria di Heroic." msgstr "Nessun nuovo gioco trovato nel tuo sistema."
#: src/utils/importer.py:87 #: src/utils/importer.py:87
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Game Imported" msgid "Game Imported"
msgstr "Importati giochi da Steam" msgstr "Gioco importato"
#: src/utils/importer.py:88 #: src/utils/importer.py:88
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "Un gioco importato con successo." msgstr "Un gioco importato con successo."
#: src/utils/importer.py:94 #: src/utils/importer.py:94
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Games Imported" msgid "Games Imported"
msgstr "Importati giochi da Steam" msgstr "Giochi importati"
#. The variable is the number of games #. The variable is the number of games
#: src/utils/importer.py:96 #: src/utils/importer.py:96

View File

@@ -8,7 +8,7 @@ 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-30 16:23+0200\n" "POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-30 11:43+0000\n" "PO-Revision-Date: 2023-03-30 21:36+0000\n"
"Last-Translator: Dan <denqwerta@gmail.com>\n" "Last-Translator: Dan <denqwerta@gmail.com>\n"
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Ukrainian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/uk/>\n" "cartridges/uk/>\n"
@@ -16,8 +16,8 @@ msgstr ""
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17-dev\n" "X-Generator: Weblate 4.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
@@ -248,11 +248,11 @@ msgstr "Збережена гра покривається без втрат з
#: data/gtk/preferences.blp:47 #: data/gtk/preferences.blp:47
msgid "Danger Zone" msgid "Danger Zone"
msgstr "" msgstr "Небезпечна зона"
#: data/gtk/preferences.blp:50 #: data/gtk/preferences.blp:50
msgid "Remove All Games" msgid "Remove All Games"
msgstr "" msgstr "Видалити всі ігри"
#: data/gtk/preferences.blp:70 #: data/gtk/preferences.blp:70
msgid "Sources" msgid "Sources"
@@ -371,20 +371,16 @@ msgid "Set Location"
msgstr "Встановити місцезнаходження" msgstr "Встановити місцезнаходження"
#: src/preferences.py:117 #: src/preferences.py:117
#, fuzzy
#| msgid "{title} removed"
msgid "All games removed" msgid "All games removed"
msgstr "{title} видалено" msgstr "Всі ігри видалено"
#: src/utils/importer.py:37 #: src/utils/importer.py:37
msgid "Importing Games…" msgid "Importing Games…"
msgstr "Імпорт ігор…" msgstr "Імпорт ігор…"
#: src/utils/importer.py:79 #: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found on your device."
msgid "No new games were found on your system." msgid "No new games were found on your system."
msgstr "На вашому пристрої не знайдено нових ігор." msgstr "У вашій системі не знайдено жодної нової гри."
#: src/utils/importer.py:87 #: src/utils/importer.py:87
msgid "Game Imported" msgid "Game Imported"

View File

@@ -110,7 +110,7 @@ class CartridgesApplication(Adw.Application):
application_name=_("Cartridges"), application_name=_("Cartridges"),
application_icon="hu.kramo.Cartridges", application_icon="hu.kramo.Cartridges",
developer_name="kramo", developer_name="kramo",
version="1.2", version="1.2.2",
developers=[ developers=[
"kramo https://kramo.hu", "kramo https://kramo.hu",
"Paweł Lidwin https://github.com/imLinguin", "Paweł Lidwin https://github.com/imLinguin",

View File

@@ -31,7 +31,7 @@ from .save_game import save_game
def create_details_window(parent_widget, game_id=None): def create_details_window(parent_widget, game_id=None):
window = Adw.Window( window = Adw.Window(
modal=True, default_width=500, default_height=750, transient_for=parent_widget modal=True, default_width=500, default_height=-1, transient_for=parent_widget
) )
games = parent_widget.games games = parent_widget.games
@@ -158,7 +158,7 @@ def create_details_window(parent_widget, game_id=None):
exec_info_popover.set_parent(exec_group.get_header_suffix()) exec_info_popover.set_parent(exec_group.get_header_suffix())
exec_group.add(executable) exec_group.add(executable)
general_page = Adw.PreferencesPage() general_page = Adw.PreferencesPage(vexpand=True)
general_page.add(cover_group) general_page.add(cover_group)
general_page.add(title_group) general_page.add(title_group)
general_page.add(developer_group) general_page.add(developer_group)

View File

@@ -50,7 +50,9 @@ def heroic_parser(parent_widget):
"heroic", "heroic",
), ),
) )
elif os.path.exists(os.path.join(os.getenv("appdata"), "heroic")): elif os.name == "nt" and os.path.exists(
os.path.join(os.getenv("appdata"), "heroic")
):
schema.set_string( schema.set_string(
"heroic-location", os.path.join(os.getenv("appdata"), "heroic") "heroic-location", os.path.join(os.getenv("appdata"), "heroic")
) )

View File

@@ -162,7 +162,9 @@ def steam_parser(parent_widget):
) )
elif os.path.exists(os.path.expanduser("~/.steam/steam/")): elif os.path.exists(os.path.expanduser("~/.steam/steam/")):
schema.set_string("steam-location", "~/.steam/steam/") schema.set_string("steam-location", "~/.steam/steam/")
elif os.path.exists(os.path.join(os.getenv("programfiles(x86)"), "Steam")): elif os.name == "nt" and os.path.exists(
os.path.join(os.getenv("programfiles(x86)"), "Steam")
):
schema.set_string( schema.set_string(
"steam-location", os.path.join(os.getenv("programfiles(x86)"), "Steam") "steam-location", os.path.join(os.getenv("programfiles(x86)"), "Steam")
) )