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 MyAppVersion "1.2"
#define MyAppVersion "1.2.2"
#define MyAppPublisher "kramo"
#define MyAppURL "https://github.com/kra-mo/cartridges"
#define MyAppExeName "pythonw.exe"

View File

@@ -36,6 +36,14 @@
</screenshots>
<content_rating type="oars-1.1" />
<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">
<description translatable="no">
<ul>

View File

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

View File

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

View File

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

View File

@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \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"
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/uk/>\n"
@@ -16,8 +16,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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"
"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.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
@@ -248,11 +248,11 @@ msgstr "Збережена гра покривається без втрат з
#: data/gtk/preferences.blp:47
msgid "Danger Zone"
msgstr ""
msgstr "Небезпечна зона"
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
msgstr "Видалити всі ігри"
#: data/gtk/preferences.blp:70
msgid "Sources"
@@ -371,20 +371,16 @@ msgid "Set Location"
msgstr "Встановити місцезнаходження"
#: src/preferences.py:117
#, fuzzy
#| msgid "{title} removed"
msgid "All games removed"
msgstr "{title} видалено"
msgstr "Всі ігри видалено"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "Імпорт ігор…"
#: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found on your device."
msgid "No new games were found on your system."
msgstr "На вашому пристрої не знайдено нових ігор."
msgstr "У вашій системі не знайдено жодної нової гри."
#: src/utils/importer.py:87
msgid "Game Imported"

View File

@@ -110,7 +110,7 @@ class CartridgesApplication(Adw.Application):
application_name=_("Cartridges"),
application_icon="hu.kramo.Cartridges",
developer_name="kramo",
version="1.2",
version="1.2.2",
developers=[
"kramo https://kramo.hu",
"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):
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
@@ -158,7 +158,7 @@ def create_details_window(parent_widget, game_id=None):
exec_info_popover.set_parent(exec_group.get_header_suffix())
exec_group.add(executable)
general_page = Adw.PreferencesPage()
general_page = Adw.PreferencesPage(vexpand=True)
general_page.add(cover_group)
general_page.add(title_group)
general_page.add(developer_group)

View File

@@ -50,7 +50,9 @@ def heroic_parser(parent_widget):
"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(
"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/")):
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(
"steam-location", os.path.join(os.getenv("programfiles(x86)"), "Steam")
)