Compare commits

...

345 Commits
v1.0 ... v1.5.4

Author SHA1 Message Date
kramo
6f69344a16 v1.5.4 2023-05-27 17:54:43 +02:00
kramo
63951d76ac Fix custom path check logic 2023-05-27 17:53:08 +02:00
kramo
c045ad1f53 Fix prefix formatting 2023-05-27 17:01:18 +02:00
kramo
8a1e00883c Fix gresource prefix 2023-05-27 16:21:31 +02:00
kramo
620a094ff0 v1.5.3 2023-05-27 16:06:43 +02:00
kramo
7b7232d741 Fix flatpak manifest path 2023-05-27 15:14:14 +02:00
kramo
4c1af9245f Update build configuration 2023-05-27 15:11:03 +02:00
kramo
d05a03dee7 Fix custom install locations check logic 2023-05-27 14:03:09 +02:00
kramo
bff225572e v1.5.2 2023-05-27 09:14:36 +02:00
kramo
ac3f3133d9 Use yaml.safe_load for Bottles import 2023-05-27 09:02:53 +02:00
kramo
bda487f26e Fix Steam API response handling - fixes #101 2023-05-27 09:00:29 +02:00
kramo
4711652b4a Set fallback icon-name - fixes #100 2023-05-27 08:58:07 +02:00
kramo
2f9bbe933b Fix typo 2023-05-26 20:28:44 +02:00
kramo
11cd2129b8 v1.5.1 2023-05-26 20:24:39 +02:00
Weblate (bot)
5dd09b6d8f Translations update from Hosted Weblate (#99)
* Translated using Weblate (Arabic)

Currently translated at 100.0% (126 of 126 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Arabic)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Russian)

Currently translated at 100.0% (117 of 117 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ru/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Translated using Weblate (Turkish)

Currently translated at 100.0% (126 of 126 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Turkish)

Currently translated at 100.0% (117 of 117 strings)

Translated using Weblate (Turkish)

Currently translated at 1.7% (2 of 117 strings)

Added translation using Weblate (Turkish)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Sabri Ünal <libreajans@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/tr/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (126 of 126 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (126 of 126 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (117 of 117 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Вова Смірнов <vovasmirnon5895@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges

* Translated using Weblate (Italian)

Currently translated at 100.0% (126 of 126 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Italian)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (126 of 126 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Tamil)

Currently translated at 100.0% (117 of 117 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ta/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Swedish)

Currently translated at 100.0% (117 of 117 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: micke <micke@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/sv/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (French)

Currently translated at 100.0% (117 of 117 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: rene-coty <irenee.thirion@e.email>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

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

---------

Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Co-authored-by: Sabri Ünal <libreajans@gmail.com>
Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Вова Смірнов <vovasmirnon5895@gmail.com>
Co-authored-by: Alessandro Iepure <alessandro.iepure@gmail.com>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: kramo <contact@kramo.hu>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: micke <micke@users.noreply.hosted.weblate.org>
Co-authored-by: rene-coty <irenee.thirion@e.email>
2023-05-26 20:23:06 +02:00
kramo
b6ebb6bb54 Revert "Translations update from Hosted Weblate (#95)" (#98)
This reverts commit cb35f58db8.
2023-05-26 20:22:19 +02:00
Weblate (bot)
cb35f58db8 Translations update from Hosted Weblate (#95)
* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Italian)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Arabic)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Russian)

Currently translated at 100.0% (117 of 117 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ru/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Turkish)

Currently translated at 100.0% (117 of 117 strings)

Translated using Weblate (Turkish)

Currently translated at 1.7% (2 of 117 strings)

Added translation using Weblate (Turkish)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Sabri Ünal <libreajans@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/tr/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (117 of 117 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Tamil)

Currently translated at 100.0% (117 of 117 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ta/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Swedish)

Currently translated at 100.0% (117 of 117 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: micke <micke@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/sv/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (French)

Currently translated at 100.0% (117 of 117 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: rene-coty <irenee.thirion@e.email>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

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

---------

Co-authored-by: Alessandro Iepure <alessandro.iepure@gmail.com>
Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Co-authored-by: Sabri Ünal <libreajans@gmail.com>
Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: kramo <contact@kramo.hu>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: micke <micke@users.noreply.hosted.weblate.org>
Co-authored-by: rene-coty <irenee.thirion@e.email>
2023-05-26 20:14:28 +02:00
kramo
edf9242288 Fix search logic if no developer 2023-05-26 20:09:55 +02:00
kramo
1c9be94ce7 Add missing translatable strings 2023-05-25 17:49:22 +02:00
Sabri Ünal
2e19567c8e i18n: Add details_window.blp to POTFILES (#97)
Add missing details_window.blp to the POTFILES to make it translatable.

Fixes: #96
2023-05-25 17:47:57 +02:00
kramo
19496ab9c3 Remove extra line 2023-05-23 15:50:58 +02:00
kramo
382623d1e7 v1.5 2023-05-23 15:44:59 +02:00
Weblate (bot)
8cafd0c246 Translations update from Hosted Weblate (#88)
* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Swedish)

Currently translated at 100.0% (131 of 131 strings)

Added translation using Weblate (Swedish)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: micke <mikanybe@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/sv/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (French)

Currently translated at 100.0% (131 of 131 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Yannick A <pify@live.fr>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

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

---------

Co-authored-by: micke <mikanybe@gmail.com>
Co-authored-by: Yannick A <pify@live.fr>
2023-05-23 15:43:17 +02:00
kramo
5c07bbb88a Add version checking logic 2023-05-23 15:13:54 +02:00
kramo
9cac59e912 Add Circle badge to README 2023-05-23 14:07:42 +02:00
kramo
4ca8e140aa Move close action to the window class 2023-05-23 14:04:57 +02:00
kramo
0e24c8c50b Update translations 2023-05-23 07:31:16 +02:00
kramo
0fc063a528 Cleanups 2023-05-23 07:11:42 +02:00
kramo
2e1aa24e54 Set focus to play button in details view 2023-05-22 23:11:09 +02:00
kramo
da207d35f7 Update screenshot 2023-05-22 20:48:15 +02:00
kramo
acb2924602 GTK cleanups 2 2023-05-22 20:47:14 +02:00
kramo
f041598629 Update screenshot 2023-05-22 20:26:20 +02:00
kramo
292e1f8f97 GTK cleanups 2023-05-22 20:25:06 +02:00
kramo
d6a2108e42 Add accessibility label to info toggle button 2023-05-22 19:36:31 +02:00
kramo
5c8e290fd4 Make Ctrl + W a separate action 2023-05-22 16:58:14 +02:00
kramo
1597d783f0 Quit on Ctrl + W 2023-05-22 16:09:35 +02:00
kramo
8fc7bcd8a8 Update screenshots 2023-05-22 16:08:22 +02:00
kramo
dd2562a8ed Don't skip Steam import if no libraryfolders.vdf 2023-05-22 16:06:48 +02:00
kramo
f2c9e11856 Update widget labels 2023-05-22 15:58:14 +02:00
kramo
5e07621b48 Add refrence to COC in README 2023-05-22 13:59:04 +02:00
kramo
0f59b75d42 Darken placeholder cover 2023-05-22 13:54:21 +02:00
kramo
203393dea0 Move shared values to shared 2023-05-21 17:28:29 +02:00
Geoffrey Coulaud
ab21e8b38b Moved schemas to shared module (#94) 2023-05-21 16:34:22 +02:00
kramo
d6cda0c562 Fix typo 2023-05-21 13:07:00 +02:00
kramo
1db5a15c33 Replace subtitles with paths in settings 2023-05-21 12:46:49 +02:00
kramo
1b5080b0c6 Cleanup import warning logic 2023-05-21 10:36:16 +02:00
kramo
2dc36287ee Set schema instead of switch in preferences 2023-05-21 10:25:55 +02:00
kramo
88dbf04325 Preferences wording change 2023-05-20 20:01:07 +02:00
kramo
0074ef56d4 Use Popen for spawning games again 2023-05-20 19:53:54 +02:00
kramo
48685d2591 Automatically add extra Steam libraries 2023-05-20 18:45:18 +02:00
kramo
caaeade600 Fix SGDB warning dialog logic 2023-05-20 10:53:45 +02:00
kramo
7b34b53a3a Workaround for breaking changes before 2.0 2023-05-20 09:34:44 +02:00
kramo
d060c4feca Make the SGDB row insensitive if no API key 2023-05-20 09:10:13 +02:00
kramo
f2c807d8e8 Set cwd to home dir 2023-05-20 08:46:03 +02:00
kramo
0715c77c06 Use crossfade for button revealers 2023-05-20 08:29:40 +02:00
kramo
0e79f07d72 Update blueprint-compiler to 0.8.1 2023-05-19 23:01:17 +02:00
kramo
28a304e364 Fix syntax 2023-05-18 15:44:10 +02:00
kramo
4ff236ed44 Fix bug 2023-05-18 15:42:06 +02:00
kramo
235c8ab531 Use toasts for informing the user about imports 2023-05-18 15:36:04 +02:00
kramo
5d5530ffb5 Fix osd button padding 2023-05-16 17:42:05 +02:00
kramo
caf68332ba Move overflow property back to cover button 2023-05-16 17:34:50 +02:00
kramo
247a6e1012 Move buttons inside of the game cover 2023-05-16 17:22:47 +02:00
kramo
19c7148ee6 Update Blueprint syntax for 0.8 2023-05-16 13:56:43 +02:00
kramo
cd7e5a5de0 Don't round the bottom of game covers 2023-05-16 13:49:30 +02:00
kramo
e9ef3b2d32 Use opacity, not visibility for hiding widgets 2023-05-15 20:23:28 +02:00
kramo
25a340015c Remove nested if statement 2023-05-15 18:22:22 +02:00
kramo
3127f4a898 Handle the user flipping a switch back 2023-05-15 18:17:49 +02:00
kramo
6db43213f0 Auto-import only if changes would have effect 2023-05-15 16:20:05 +02:00
kramo
53f273d434 Automatically import if changing import settings 2023-05-15 14:25:19 +02:00
kramo
8446635f10 Revamp empty status page 2023-05-15 13:52:10 +02:00
kramo
01622f48a6 Use app icon symbolic as placeholder art 2023-05-15 13:45:30 +02:00
kramo
2b7d0d9f88 Update blueprint-compiler version 2023-05-15 09:55:37 +02:00
kramo
c113ebb750 Navigation improvements - closes #80 2023-05-13 21:49:37 +02:00
kramo
f7c363f118 Correct number comparison in appstream file 2023-05-13 20:08:39 +02:00
kramo
630d94f75f Add device appstream info 2023-05-13 20:06:24 +02:00
kramo
410ef80fe8 Add keywords to desktop entry 2023-05-11 10:19:27 +02:00
kramo
0be07aa8de Add DOAP 2023-05-10 10:40:23 +02:00
kramo
8f3ce6328b Update code of conduct 2023-05-10 10:09:12 +02:00
kramo
47f4d85efa Update Flathub links in readme 2023-05-08 17:41:55 +02:00
kramo
34ab65c4d2 Fix SGDB loading logic 2023-05-08 11:40:58 +02:00
kramo
aaed2ee8f2 Adjust blurred cover art opacity 2023-05-08 10:09:00 +02:00
kramo
d701d0827a Cleanups 2023-05-08 09:35:01 +02:00
K.B.Dharun Krishna
c39eb5672f Merge pull request #70 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-05-07 22:26:35 +05:30
Hosted Weblate
0c63943cfc Update translation files
Updated by "Squash Git commits" hook in Weblate.

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
2023-05-07 17:59:30 +02:00
Hosted Weblate
e46ed5de44 Translated using Weblate (French)
Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (French)

Currently translated at 100.0% (131 of 131 strings)

Translated using Weblate (French)

Currently translated at 100.0% (131 of 131 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: John Donne <akheron@zaclys.net>
Co-authored-by: rene-coty <irenee.thirion@e.email>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
98a299016f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
d4dbf4ce67 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
613c2e6300 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
160d62fd76 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
0010e20a34 Translated using Weblate (Polish)
Currently translated at 100.0% (131 of 131 strings)

Added translation using Weblate (Polish)

Co-authored-by: Artur Wróblewski <krypalkora1984@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pl/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
2ce604d7f0 Translated using Weblate (Persian)
Currently translated at 25.9% (34 of 131 strings)

Added translation using Weblate (Persian)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: سید حسین موسوی فرد <shmf1385@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fa/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
1b00d1445e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (131 of 131 strings)

Added translation using Weblate (Portuguese (Brazil))

Co-authored-by: Henrique Machado <henriquecamposrj@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt_BR/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
62b3116b3c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
7fedf887f9 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
c675492f10 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
4c2853eb0d Translated using Weblate (Portuguese)
Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Henrique Machado <henriquecamposrj@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
76e11f0413 Translated using Weblate (German)
Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/de/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
131199b75a Translated using Weblate (Finnish)
Currently translated at 94.6% (124 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
f6332d50c6 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-05-07 17:59:30 +02:00
Hosted Weblate
74e4d28edd Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-05-07 17:59:29 +02:00
Hosted Weblate
961525c2ca Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-05-07 17:59:29 +02:00
Hosted Weblate
e6b09bc0af Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-05-07 17:59:29 +02:00
kramo
00fa770943 Cleanups 2023-05-07 17:59:23 +02:00
kramo
e1296444e5 Cleanups 2023-05-07 17:38:31 +02:00
kramo
bd0386bcba Resize images asynchronously in the edit dialog 2023-05-06 10:07:41 +02:00
Arcitec
f8c06a9e4d Sort contributors alphabetically (#82) 2023-05-06 07:41:42 +02:00
kramo
eb8f6ef204 Missing period 2023-05-05 19:56:20 +02:00
kramo
15fc6292b6 Remove GdkPixbuf hack 2023-05-05 17:40:22 +02:00
kramo
cd396a4bf8 Better blur 2023-05-05 17:21:48 +02:00
kramo
820bcb5aa8 Better blur 2023-05-05 17:06:28 +02:00
kramo
491bc4919c Blur game covers properly 2023-05-05 16:59:56 +02:00
kramo
92e818af64 Simplify action creation 2023-05-03 20:25:54 +02:00
kramo
caf0706d22 Fix GOG path check 2023-04-28 18:58:16 +02:00
Rishabh Moharir
82aceb3b18 Fix/update gog library path (#75) 2023-04-28 18:56:14 +02:00
kramo
44d63d37bd Cleanups 2023-04-26 20:18:10 +02:00
kramo
fc67ba471a Fix typo in gschema 2023-04-26 20:03:04 +02:00
kramo
6f273ab8a6 Fix potential missing file in Heroic importer 2023-04-26 17:29:20 +02:00
kramo
d505705493 Fix DetailsWindow bugs 2023-04-20 02:05:20 +02:00
kramo
1e3df843ba Move DetailsWindow to its own class 2023-04-20 01:53:22 +02:00
kramo
5fd0cdf416 Don't get covers from SGDB for blacklisted games 2023-04-19 22:50:45 +02:00
kramo
7a5450d7d8 Potentially fix bad fd error 2023-04-19 22:46:57 +02:00
kramo
2b2b7e0c75 Cleanups 2023-04-19 22:26:54 +02:00
kramo
3cfb3c5028 Update SGDBSave to use Game class 2023-04-19 22:05:14 +02:00
kramo
b92e316729 Update create_details_window to use Game class 2023-04-19 21:54:25 +02:00
kramo
259891fdc5 Cleanups 2023-04-19 21:14:00 +02:00
kramo
9c38d10ff8 Simplify action creation 2023-04-19 20:15:43 +02:00
kramo
9e7dc12a99 Cleanups 2023-04-19 19:50:11 +02:00
kramo
96a16c1adb Cleanups 2023-04-18 21:11:38 +02:00
kramo
bc9192e83b Cleanups 2023-04-18 19:07:49 +02:00
kramo
f8bb111939 Cleanups 2023-04-18 02:31:44 +02:00
kramo
741245b415 Cleanups 2023-04-17 22:32:28 +02:00
kramo
bc0d33f966 More reliance on GLib 2023-04-17 19:20:29 +02:00
kramo
297bea8494 Fix saving in unsupported modes with Pillow 2023-04-17 18:22:16 +02:00
kramo
838460ce2a Resize images consistently 2023-04-17 14:21:37 +02:00
kramo
a6523aee16 Support all formats supported by PIL - closes #72 2023-04-16 21:00:02 +02:00
kramo
8832bb36f4 Update translation 2023-04-16 21:00:02 +02:00
K.B.Dharun Krishna
b4b1d62c46 README: fix markdown to follow markdownlint 2023-04-16 18:34:37 +05:30
K.B.Dharun Krishna
b4f0e9b2c6 README: add information about winget (#71)
* README: add information about winget

* Update README.md

---------

Co-authored-by: kramo <93832451+kra-mo@users.noreply.github.com>
2023-04-16 14:58:48 +02:00
kramo
1a3c26c074 v1.4 2023-04-16 13:51:37 +02:00
kramo
598f93201b Update README.md 2023-04-16 13:44:17 +02:00
Weblate (bot)
a03fae8556 Translations update from Hosted Weblate (#65)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nl/
Translation: Cartridges/Cartridges

* Translated using Weblate (Italian)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Italian)

Currently translated at 100.0% (130 of 130 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Arabic)

Currently translated at 100.0% (130 of 130 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Spanish)

Currently translated at 100.0% (130 of 130 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/es/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (German)

Currently translated at 100.0% (130 of 130 strings)

Translated using Weblate (German)

Currently translated at 100.0% (130 of 130 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jummit <jummit@web.de>
Co-authored-by: WebSnke <websnke@tutanota.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/de/
Translation: Cartridges/Cartridges

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Henrique Machado <henriquecamposrj@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt/
Translation: Cartridges/Cartridges

* Translated using Weblate (Russian)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ru/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (130 of 130 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (130 of 130 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges

* Translated using Weblate (Tamil)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Tamil)

Currently translated at 100.0% (130 of 130 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ta/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (French)

Currently translated at 100.0% (130 of 130 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: rene-coty <irenee.thirion@e.email>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges

---------

Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: Alessandro Iepure <alessandro.iepure@gmail.com>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Jummit <jummit@web.de>
Co-authored-by: WebSnke <websnke@tutanota.com>
Co-authored-by: Henrique Machado <henriquecamposrj@gmail.com>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: kramo <contact@kramo.hu>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: rene-coty <irenee.thirion@e.email>
2023-04-16 13:42:48 +02:00
kramo
7eb7248b4c Better display of dates 2023-04-16 13:42:18 +02:00
kramo
16956d214b Fix animated cover import bug 2023-04-16 13:07:50 +02:00
kramo
3966b8f4ff Update screenshots 2023-04-16 13:04:21 +02:00
kramo
4b11a2737a Cleanups 2023-04-16 12:52:06 +02:00
kramo
aea8a6ed5f Cleanups 2023-04-16 11:04:00 +02:00
kramo
24ad3369c7 Remove arbitrary cover save 2023-04-16 01:26:55 +02:00
kramo
12f6ae0567 Fix play button flickering when launching game 2023-04-16 01:18:46 +02:00
kramo
b89d15537d Fix SGDBSave before update 2023-04-15 23:09:07 +02:00
kramo
f0be6888cf Fix Windows not opening links 2023-04-15 22:33:06 +02:00
kramo
43ec0e1a1f Fix hiding game toast bug 2023-04-15 22:02:04 +02:00
kramo
e3411b8e7e Fix move when deleting all games 2023-04-15 21:50:19 +02:00
kramo
00151abcf7 Fix SGDB warning dialog popping up twice 2023-04-15 00:15:09 +02:00
kramo
6b2678c5f6 Use new functions in preferences 2023-04-14 16:10:40 +02:00
kramo
6edd85e80a Cleanups 2023-04-14 14:44:44 +02:00
kramo
3da6674dbb UI improvements 2023-04-14 14:27:48 +02:00
kramo
43e8317c46 Refactor install location checking - fixes #69 2023-04-14 14:12:27 +02:00
kramo
8a7d716db6 Update translation 2023-04-11 23:34:01 +02:00
kramo
fd66d07ac3 Cleanups 2023-04-11 23:31:16 +02:00
kramo
cebf080619 Update translation 2023-04-11 21:03:12 +02:00
Rafael Mardojai CM
e08f849d64 preferences: Use activatable-widget for action rows with switches (#68) 2023-04-11 20:59:34 +02:00
kramo
a08ed1d4c2 Cleanups 2023-04-11 20:57:11 +02:00
kramo
984249c05b Remove animated covers properly 2023-04-11 19:03:16 +02:00
kramo
1d630722de Save all covers in a shared directory 2023-04-11 18:31:46 +02:00
kramo
2303c2e6da Adaptive cover resolution for still images 2023-04-11 17:44:39 +02:00
kramo
fd9e0511d0 Always resize images 2023-04-11 17:06:35 +02:00
kramo
dc9a91eac3 Better performance for animated images 2023-04-11 15:56:51 +02:00
kramo
0da5f94ea3 SteamGridDB animated covers 2023-04-11 15:42:07 +02:00
kramo
5b08cea6de Delete animated covers properly 2023-04-11 15:00:18 +02:00
kramo
0f6a989142 Reimplement animated covers with Pillow 2023-04-11 14:49:18 +02:00
kramo
3c6639ae07 Create GameCover class 2023-04-11 12:33:42 +02:00
kramo
3e495283b0 Revert animation support due to performance issues 2023-04-11 00:58:42 +02:00
kramo
9e60aad7f3 Fix animation when deleting cover 2023-04-11 00:06:09 +02:00
kramo
8ec2998077 Fix animated covers in the overview 2023-04-11 00:01:05 +02:00
kramo
62aff0e7cc Basic animated cover support 2023-04-10 23:24:48 +02:00
kramo
c1715aa328 Reimplement pixbuf caching 2023-04-10 20:54:24 +02:00
kramo
d136897c8c Fix cover saving issue 2023-04-10 20:05:41 +02:00
kramo
7b4513913e Add ability to search for games 2023-04-10 18:56:49 +02:00
kramo
0fb7c859d2 Cleanups 2023-04-10 16:34:03 +02:00
kramo
39f79e118e Custom CSS for play button 2023-04-10 16:12:42 +02:00
kramo
d93c6aa81d Details view improvements 2023-04-10 15:24:24 +02:00
kramo
3107bda8e0 Fix ZeroDivisionError - fixes #67 2023-04-09 16:26:55 +02:00
ducky
fbc33e0fe3 Fixed a missing comma (#64) 2023-04-08 11:15:24 +02:00
kramo
5ea8d49f14 Remove debugging print 2023-04-08 09:33:05 +02:00
kramo
cccc4744ac More elegant formulas 2023-04-08 09:30:14 +02:00
kramo
05004b8225 Make pixbufs appear consistent 2023-04-08 09:18:05 +02:00
kramo
b86f0f9217 Got some sleep 2023-04-08 09:11:38 +02:00
kramo
22182a838a Add tinting back for high contrast 2023-04-08 00:05:26 +02:00
kramo
a9e67595f7 Totally unnecessary algorithm 2023-04-07 23:54:42 +02:00
kramo
9986e35365 v1.3.2 2023-04-06 14:24:43 +02:00
kramo
c8bc101c96 Fix SteamGridDB query 2023-04-06 14:21:40 +02:00
kramo
06026757d6 Fix SteamGridDB if no internet connection 2023-04-06 14:15:23 +02:00
kramo
d2064ecaf4 Use the requests library consistently 2023-04-06 13:55:49 +02:00
kramo
ed3b8d7019 Fix Steam import property case bug 2023-04-06 12:21:02 +02:00
kramo
1279514c30 v1.3.1 2023-04-06 11:38:54 +02:00
kramo
b580e55c02 Fix inconsistent faulty Steam import 2023-04-06 11:32:57 +02:00
kramo
33377cf69f v1.3 2023-04-06 10:18:55 +02:00
Weblate (bot)
50ce503458 Translations update from Hosted Weblate (#54)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (130 of 130 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 97.7% (128 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 100.0% (120 of 120 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 100.0% (118 of 118 strings)

Translated using Weblate (Dutch)

Currently translated at 99.1% (117 of 118 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 100.0% (116 of 116 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 100.0% (115 of 115 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nl/
Translation: Cartridges/Cartridges

* Translated using Weblate (Italian)

Currently translated at 100.0% (130 of 130 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Italian)

Currently translated at 100.0% (118 of 118 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Italian)

Currently translated at 100.0% (114 of 114 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (130 of 130 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Arabic)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Arabic)

Currently translated at 100.0% (118 of 118 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Arabic)

Currently translated at 100.0% (114 of 114 strings)

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

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Spanish)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Spanish)

Currently translated at 100.0% (118 of 118 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Spanish)

Currently translated at 100.0% (115 of 115 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Spanish)

Currently translated at 100.0% (114 of 114 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/es/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Finnish)

Currently translated at 95.6% (109 of 114 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (German)

Currently translated at 100.0% (115 of 115 strings)

Added translation using Weblate (German)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jummit <jummit@web.de>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/de/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Portuguese)

Currently translated at 100.0% (114 of 114 strings)

Co-authored-by: Henrique Machado <henriquecamposrj@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt/
Translation: Cartridges/Cartridges

* Translated using Weblate (Russian)

Currently translated at 100.0% (130 of 130 strings)

Translated using Weblate (Russian)

Currently translated at 99.2% (129 of 130 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Russian)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Russian)

Currently translated at 100.0% (118 of 118 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Russian)

Currently translated at 100.0% (114 of 114 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ru/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Romanian)

Currently translated at 18.3% (22 of 120 strings)

Added translation using Weblate (Romanian)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matt C <matei.gurzu@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ro/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (118 of 118 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (114 of 114 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 85.3% (111 of 130 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nb_NO/
Translation: Cartridges/Cartridges

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (130 of 130 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (118 of 118 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (116 of 116 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (115 of 115 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Tamil)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Tamil)

Currently translated at 100.0% (115 of 115 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ta/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

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

---------

Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: Alessandro Iepure <alessandro.iepure@gmail.com>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
Co-authored-by: Jummit <jummit@web.de>
Co-authored-by: Henrique Machado <henriquecamposrj@gmail.com>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Co-authored-by: Matt C <matei.gurzu@gmail.com>
Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: kramo <contact@kramo.hu>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-04-06 10:09:58 +02:00
kramo
7647857617 Windows cleanups - closes #15 2023-04-05 19:17:49 +02:00
kramo
329fe098c5 Update tooltip icon 2023-04-05 13:16:20 +02:00
kramo
415ebb8844 itch import support for Windows 2023-04-05 12:46:12 +02:00
kramo
dac83919a0 SteamGridDB for Windows 2023-04-05 12:28:20 +02:00
kramo
32b965300f Update screenshots 2023-04-05 11:23:30 +02:00
kramo
74b639c760 Update app description 2023-04-05 11:12:13 +02:00
kramo
4a1f9d3f86 Fix capitalization 2023-04-05 10:55:08 +02:00
kramo
087c7989c2 Update translation 2023-04-05 10:15:11 +02:00
kramo
725e4027f2 Add option to import Steam games from Lutris 2023-04-05 10:13:22 +02:00
kramo
41f7ce3d5f Add spinner for loading game covers 2023-04-05 09:57:31 +02:00
kramo
ee0c07befc SteamGridDB cleanups 2023-04-05 00:08:30 +02:00
kramo
b942fd7d3c Add shortcut for removing game 2023-04-04 23:45:40 +02:00
kramo
00580571a6 Add option to delete game covers 2023-04-04 23:37:39 +02:00
kramo
60b8a537ea Copy temp database files for sqlite3 2023-04-04 20:58:33 +02:00
kramo
df69352602 Set itch Windows location 2023-04-04 20:10:33 +02:00
kramo
a9dc097553 Fix SteamGridDB for nonexistent games 2023-04-04 19:30:55 +02:00
kramo
cbe9bfbab8 SteamGridDB for manually added games 2023-04-04 19:12:36 +02:00
kramo
45be2eb165 Basic SteamGridDB support 2023-04-04 17:35:36 +02:00
kramo
1e484e03f2 Update translation 2023-04-03 18:20:15 +02:00
kramo
f18894bf10 Add itch import 2023-04-03 18:17:53 +02:00
kramo
a4c28449a7 Add Geoffrey Coulaud to the AboutWindow 2023-04-03 11:35:16 +02:00
kramo
b1cb2d679a Make undoing the hide action more consistent 2023-04-03 10:56:56 +02:00
kramo
e373534e41 Add toast notifications for hiding/unhiding games 2023-04-03 10:36:58 +02:00
kramo
937f66237c Add toast notification for launching games 2023-04-03 09:38:48 +02:00
kramo
f3db0647ae Add hint if multiple Steam libraries are detected 2023-04-02 17:04:43 +02:00
K.B.Dharun Krishna
54d9a996e4 flatpak-builder: Bump image and builder version (#53) 2023-04-02 10:48:39 +02:00
kramo
95d1fe6c92 Steam pathlib fix 2023-04-02 09:23:53 +02:00
kramo
7e968a9ac7 Pathlib fixes 2023-04-02 08:06:09 +02:00
kramo
960eaa1949 Use utf-8 everywhere 2023-04-02 07:28:04 +02:00
kramo
b511ce22b7 Cleanups 2023-04-02 07:20:05 +02:00
kramo
6899246d01 Use simpler syntax for I/O operations 2023-04-01 16:14:19 +02:00
kramo
3bcbf8457c Refactor to use pathlib 2023-04-01 11:33:48 +02:00
Weblate (bot)
397f267522 Translations update from Hosted Weblate (#49)
* Translated using Weblate (Dutch)

Currently translated at 100.0% (114 of 114 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (114 of 114 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nl/
Translation: Cartridges/Cartridges

* Translated using Weblate (Italian)

Currently translated at 92.9% (106 of 114 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/it/
Translation: Cartridges/Cartridges

* Translated using Weblate (Arabic)

Currently translated at 90.3% (103 of 114 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ar/
Translation: Cartridges/Cartridges

* Translated using Weblate (Spanish)

Currently translated at 89.4% (102 of 114 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/es/
Translation: Cartridges/Cartridges

* Translated using Weblate (Finnish)

Currently translated at 79.8% (91 of 114 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
Translation: Cartridges/Cartridges

* Translated using Weblate (Portuguese)

Currently translated at 80.7% (92 of 114 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt/
Translation: Cartridges/Cartridges

* Translated using Weblate (Russian)

Currently translated at 92.9% (106 of 114 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ru/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Translated using Weblate (Ukrainian)

Currently translated at 92.1% (105 of 114 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 82.4% (94 of 114 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nb_NO/
Translation: Cartridges/Cartridges

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (114 of 114 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges

* Translated using Weblate (Tamil)

Currently translated at 80.7% (92 of 114 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ta/
Translation: Cartridges/Cartridges

* Translated using Weblate (French)

Currently translated at 93.8% (107 of 114 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges

---------

Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: kramo <contact@kramo.hu>
2023-03-31 17:04:33 +02:00
kramo
6e1acf43da Update translation files 2023-03-31 16:40:20 +02:00
kramo
3e568be6d8 Fix fstrings in translations 2023-03-31 15:44:59 +02:00
Weblate (bot)
89afe23535 Translations update from Hosted Weblate (#48)
* Translated using Weblate (Russian)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Сергей <asvmail.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ru/
Translation: Cartridges/Cartridges

* Translated using Weblate (French)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: rene-coty <irenee.thirion@e.email>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges

---------

Co-authored-by: Сергей <asvmail.as@gmail.com>
Co-authored-by: rene-coty <irenee.thirion@e.email>
2023-03-31 15:38:53 +02:00
Bananaman
77b083e219 A few minor code cleanups and fixes (#47)
* Avoid exception if trying to delete missing "removed" key

`.pop(key)` throws an exception if that `key` is missing. Using a default value (in this case None) means we don't throw any errors when deleting a missing key. Which is what we want here, for safety. We just want to delete the key. We don't care if it's existing or not.

There are other places in the codebase that also use `.pop(key)`, but all of those first check the validity of the key before popping, so this was the only one that needed fixing.

* Improve performance by removing keys() calls

Every `.keys()` call create a new `[list...]` of all keys from the given dictionary. It's a total waste of performance, since we can already check if a key exists in a dictionary by just using `if "key" in the_dict`.

* Use more pythonic "not in" syntax

The syntax is supposed to be `if "thing" not in other_thing`. We already use this proper `not in` syntax everywhere else in the codebase. Just fixing this location.
2023-03-31 15:24:02 +02:00
kramo
780fd0a09f Added Lutris import 2023-03-31 15:22:45 +02:00
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
kramo
d5fa2a0dba v1.2 2023-03-30 18:31:27 +02:00
Weblate (bot)
d664b50afb Translations update from Hosted Weblate (#42)
* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 100.0% (107 of 107 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 100.0% (103 of 103 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nl/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (107 of 107 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges

---------

Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: kramo <contact@kramo.hu>
2023-03-30 18:25:20 +02:00
Weblate (bot)
4928fb8bbf Translations update from Hosted Weblate (#41)
* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 100.0% (107 of 107 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 100.0% (103 of 103 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nl/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Arabic)

Currently translated at 100.0% (107 of 107 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Arabic)

Currently translated at 100.0% (103 of 103 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Spanish)

Currently translated at 100.0% (107 of 107 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Spanish)

Currently translated at 100.0% (103 of 103 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/es/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Russian)

Currently translated at 100.0% (107 of 107 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ru/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (107 of 107 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Norwegian Bokmål)

Currently translated at 87.8% (94 of 107 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nb_NO/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (107 of 107 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (110 of 110 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (110 of 110 strings)

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

---------

Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: kramo <contact@kramo.hu>
2023-03-30 18:24:27 +02:00
kramo
7841462738 Revert "Translations update from Hosted Weblate (#39)"
This reverts commit eabf903e1c.
2023-03-30 18:23:02 +02:00
Weblate (bot)
eabf903e1c Translations update from Hosted Weblate (#39)
* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 100.0% (103 of 103 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nl/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Arabic)

Currently translated at 100.0% (103 of 103 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Spanish)

Currently translated at 100.0% (103 of 103 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/es/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

* Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges

---------

Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
2023-03-30 18:17:40 +02:00
kramo
c26575a6cc Update translation files 2023-03-30 16:24:44 +02:00
kramo
61ef02cc7a Add option to remove all games 2023-03-30 16:22:58 +02:00
kramo
bf2a500d5e Fix import reporting incorrect number of games 2023-03-30 13:43:26 +02:00
kramo
dad4905753 Cleanups 2023-03-29 23:02:10 +02:00
kramo
e6ba083736 Update translations 2023-03-29 19:28:55 +02:00
kramo
4d99f80ff7 Create ImportPreferences class for future use 2023-03-29 19:27:06 +02:00
kramo
0a943d4259 Add warnings for non-existent launcher directories 2023-03-29 16:20:08 +02:00
kramo
2248660027 Merge pull request #40 from russjr08/patch-1
Update README
2023-03-29 15:46:19 +02:00
Russell
af679ef2e6 Update README
Fixes the URL reference to Cartridge's Discord Server
2023-03-29 08:18:34 -04:00
kramo
a5f553f701 Update translation files 2023-03-29 08:33:19 +02:00
kramo
88c9dcb628 Merge pull request #38 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-29 08:29:54 +02:00
Hosted Weblate
fb35f8a007 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:11 +02:00
Hosted Weblate
71ed5c3c7e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:11 +02:00
Hosted Weblate
44bde9ae25 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:11 +02:00
Hosted Weblate
fc85f6a9b3 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:11 +02:00
Hosted Weblate
8858968f0e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:10 +02:00
Hosted Weblate
8ae10ccf04 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:10 +02:00
Hosted Weblate
ef196ac12c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:10 +02:00
Hosted Weblate
ea5585f4e9 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:10 +02:00
Hosted Weblate
7602003e9e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:10 +02:00
Hosted Weblate
f4a31886cb Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:10 +02:00
Hosted Weblate
2e3e716ff2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:09 +02:00
Hosted Weblate
e031cf7b50 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:09 +02:00
Hosted Weblate
2b0356ce19 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:29:09 +02:00
kramo
21603f4486 Update cartridges.pot 2023-03-29 08:29:01 +02:00
kramo
71a047f8b4 Update translation files 2023-03-29 08:25:22 +02:00
kramo
4fc2a31cd8 Merge pull request #34 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-29 08:20:52 +02:00
Hosted Weblate
cb3c72f48a Update translation files
Updated by "Squash Git commits" hook in Weblate.

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
2023-03-29 08:20:23 +02:00
Hosted Weblate
7e882c9064 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (French)

Currently translated at 100.0% (115 of 115 strings)

Translated using Weblate (French)

Currently translated at 95.6% (110 of 115 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: rene-coty <irenee.thirion@e.email>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges
2023-03-29 08:20:23 +02:00
Hosted Weblate
05043cde30 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Tamil)

Currently translated at 100.0% (115 of 115 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ta/
Translation: Cartridges/Cartridges
2023-03-29 08:20:23 +02:00
Hosted Weblate
364a171326 Translated using Weblate (Hungarian)
Currently translated at 100.0% (103 of 103 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 99.0% (105 of 106 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (115 of 115 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges
2023-03-29 08:20:22 +02:00
Hosted Weblate
2d354f42d3 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:20:22 +02:00
Hosted Weblate
451f191fd2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (115 of 115 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges
2023-03-29 08:20:22 +02:00
Hosted Weblate
6050ae5bbe Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Korean)

Currently translated at 8.6% (10 of 115 strings)

Added translation using Weblate (Korean)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: MJKim <kmj10727@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ko/
Translation: Cartridges/Cartridges
2023-03-29 08:20:22 +02:00
Hosted Weblate
925e3ef5a8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Russian)

Currently translated at 100.0% (115 of 115 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ru/
Translation: Cartridges/Cartridges
2023-03-29 08:20:22 +02:00
Hosted Weblate
ef8b63af97 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Portuguese)

Currently translated at 100.0% (115 of 115 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Pedro Sader Azevedo <pedro.saderazevedo@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt/
Translation: Cartridges/Cartridges
2023-03-29 08:20:22 +02:00
Hosted Weblate
417cd77907 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Finnish)

Currently translated at 99.1% (114 of 115 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
Translation: Cartridges/Cartridges
2023-03-29 08:20:21 +02:00
Hosted Weblate
14731b92f4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Spanish)

Currently translated at 100.0% (115 of 115 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Óscar Fernández Díaz <oscfdezdz@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/es/
Translation: Cartridges/Cartridges
2023-03-29 08:20:21 +02:00
Hosted Weblate
ba69182222 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Arabic)

Currently translated at 100.0% (115 of 115 strings)

Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ar/
Translation: Cartridges/Cartridges
2023-03-29 08:20:21 +02:00
Hosted Weblate
36fd3bb2bf Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Italian)

Currently translated at 100.0% (115 of 115 strings)

Co-authored-by: Alessandro Iepure <alessandro.iepure@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/it/
Translation: Cartridges/Cartridges
2023-03-29 08:20:21 +02:00
Hosted Weblate
94e8839f8f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-29 08:20:21 +02:00
kramo
f17663323d Update translation files 2023-03-29 08:17:47 +02:00
kramo
eca96d8a5a Update translation files 2023-03-29 08:15:56 +02:00
kramo
d4e6423bd5 Update translation files 2023-03-29 08:09:04 +02:00
kramo
17a6a53fd2 Use Adw.ExpanderRows for import sources 2023-03-29 07:59:02 +02:00
kramo
db32f66d76 Update preferences grouping 2023-03-29 01:10:32 +02:00
kramo
c1abed8af6 UX improvements 2023-03-29 00:55:18 +02:00
kramo
643ca368a6 Unify games import 2023-03-29 00:23:23 +02:00
kramo
3f4443d703 Update copyright 2023-03-26 20:17:39 +02:00
kramo
9aea8cc089 Black formatting 2023-03-26 20:14:18 +02:00
K.B.Dharun Krishna
f5acf6d256 revert: main.py release notes change 2023-03-26 23:40:41 +05:30
K.B.Dharun Krishna
95cf7ed691 Add release notes, fix Tamil translation
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-03-26 23:21:07 +05:30
kramo
33a6efc02b v1.1 2023-03-26 13:15:51 +02:00
kramo
d88801bdef Merge pull request #32 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-26 13:15:44 +02:00
Hosted Weblate
8c58452a6e Update translation files
Updated by "Squash Git commits" hook in Weblate.

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
2023-03-26 13:15:10 +02:00
Hosted Weblate
993c0165d0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (French)

Currently translated at 88.6% (102 of 115 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges
2023-03-26 13:15:10 +02:00
Hosted Weblate
042fb3e5d3 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-26 13:15:09 +02:00
Hosted Weblate
6f92d98d23 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Hungarian)

Currently translated at 100.0% (115 of 115 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges
2023-03-26 13:15:09 +02:00
Hosted Weblate
4ba4fbe27d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Norwegian Bokmål)

Currently translated at 93.9% (108 of 115 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nb_NO/
Translation: Cartridges/Cartridges
2023-03-26 13:15:09 +02:00
Hosted Weblate
1954749068 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-26 13:15:09 +02:00
Hosted Weblate
ee76b8eb55 Translated using Weblate (Russian)
Currently translated at 100.0% (115 of 115 strings)

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Russian)

Currently translated at 16.5% (19 of 115 strings)

Added translation using Weblate (Russian)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ru/
Translation: Cartridges/Cartridges
2023-03-26 13:15:09 +02:00
Hosted Weblate
60be155b51 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-26 13:15:08 +02:00
Hosted Weblate
60925982e0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-26 13:15:08 +02:00
Hosted Weblate
1fe2add19a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-26 13:15:08 +02:00
Hosted Weblate
f046538771 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-26 13:15:08 +02:00
Hosted Weblate
ca7199b9d1 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-26 13:15:08 +02:00
Hosted Weblate
07a5e268cf Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translated using Weblate (Dutch)

Currently translated at 100.0% (115 of 115 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nl/
Translation: Cartridges/Cartridges
2023-03-26 13:15:07 +02:00
kramo
7200d45303 Added comments for translators 2023-03-26 11:53:37 +02:00
kramo
a154c76744 Update translations 2023-03-26 11:05:31 +02:00
kramo
228db1b2f0 Add option to launch games by clicking cover 2023-03-26 11:04:40 +02:00
kramo
2cc9f638a7 Merge pull request #29 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-26 11:04:30 +02:00
Hosted Weblate
70f3089aed Update translation files
Updated by "Squash Git commits" hook in Weblate.

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
2023-03-26 11:03:54 +02:00
Hosted Weblate
610837911f Translated using Weblate (Hungarian)
Currently translated at 100.0% (112 of 112 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges
2023-03-26 11:03:53 +02:00
Hosted Weblate
d57bc83357 Translated using Weblate (Norwegian Bokmål)
Currently translated at 95.5% (107 of 112 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nb_NO/
Translation: Cartridges/Cartridges
2023-03-26 11:03:53 +02:00
Hosted Weblate
3e152fd4ca Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-26 11:03:53 +02:00
Hosted Weblate
723f21ca13 Translated using Weblate (Portuguese)
Currently translated at 12.5% (14 of 112 strings)

Added translation using Weblate (Portuguese)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Pedro Sader Azevedo <pedro.saderazevedo@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt/
Translation: Cartridges/Cartridges
2023-03-26 11:03:53 +02:00
Hosted Weblate
33223d22f4 Translated using Weblate (Dutch)
Currently translated at 100.0% (112 of 112 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nl/
Translation: Cartridges/Cartridges
2023-03-26 11:03:53 +02:00
kramo
0a0865e0b4 Update translations 2023-03-25 19:54:33 +01:00
kramo
a1bf94904c Add option to save game covers losslessly 2023-03-25 19:53:41 +01:00
kramo
5e0c5970ad Merge pull request #25 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-25 19:53:22 +01:00
Hosted Weblate
d353249c41 Translated using Weblate (Hungarian)
Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges
2023-03-25 18:57:51 +01:00
Hosted Weblate
88af0f2f59 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-25 18:57:50 +01:00
Hosted Weblate
ad461dc1f0 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
2023-03-25 18:57:50 +01:00
Hosted Weblate
32ab5871bb Translated using Weblate (Italian)
Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/it/
Translation: Cartridges/Cartridges
2023-03-25 18:57:50 +01:00
kramo
3d5bf39ea7 Cleanup blueprint-compiler 2023-03-25 18:57:22 +01:00
kramo
f3956f3ea6 Add Flathub to README 2023-03-25 18:50:21 +01:00
kramo
0aa6d967bb Update translations 2023-03-25 16:13:37 +01:00
kramo
500d02b62d Fix typo in function name 2023-03-25 15:47:17 +01:00
kramo
f321b5453c Merge pull request #23 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-25 15:47:02 +01:00
Hosted Weblate
4227b71138 Translated using Weblate (Tamil)
Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ta/
Translation: Cartridges/Cartridges
2023-03-25 15:46:08 +01:00
Hosted Weblate
d588695a29 Translated using Weblate (Hungarian)
Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges
2023-03-25 15:46:08 +01:00
Hosted Weblate
c841d766a6 Translated using Weblate (Spanish)
Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/es/
Translation: Cartridges/Cartridges
2023-03-25 15:46:08 +01:00
Hosted Weblate
2480527e5b Translated using Weblate (Dutch)
Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nl/
Translation: Cartridges/Cartridges
2023-03-25 15:46:08 +01:00
kramo
12e4d5ed80 Merge pull request #21 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-25 15:46:02 +01:00
kramo
501ca75a02 Merge pull request #22 from Bananaman/windows_launching
Refactor game launching, and fix Windows support
2023-03-25 14:56:29 +01:00
Bananaman
732bb77192 Refactor game launching, and fix Windows support
The function was getting a bit convoluted to follow, and there was a maintenance burden of having to remember that "shell=True" should only be true if the argument is a single string to be passed exactly as-is to the shell. If it's a list, only the first value in the list would be ran as the shell command and the rest would be given as arguments to the shell itself.

Therefore, it's been refactored to automatically determine shell-mode based on whether "args" is a list or a string.

On Windows, we now generate a correctly escaped shell-string via "shlex". This ensures that we properly support spaces inside quoted launch arguments, by auto-escaping them on a per-argument basis.

The extra pylint hint is needed because the import is detected as unused on non-Windows machines.
2023-03-25 14:29:28 +01:00
Hosted Weblate
f1b9a59c54 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translation: Cartridges/Cartridges
2023-03-25 11:26:50 +01:00
81 changed files with 15532 additions and 6224 deletions

View File

@@ -8,12 +8,12 @@ jobs:
name: "Flatpak" name: "Flatpak"
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: bilelmoussaoui/flatpak-github-actions:gnome-40 image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged options: --privileged
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: flatpak/flatpak-github-actions/flatpak-builder@v5 - uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with: with:
bundle: hu.kramo.Cartridges.flatpak bundle: hu.kramo.Cartridges.Devel.flatpak
manifest-path: hu.kramo.Cartridges.json manifest-path: flatpak/hu.kramo.Cartridges.Devel.json
cache-key: flatpak-builder-${{ github.sha }} cache-key: flatpak-builder-${{ github.sha }}

View File

@@ -15,17 +15,18 @@ jobs:
with: with:
msystem: UCRT64 msystem: UCRT64
update: true update: true
install: mingw-w64-ucrt-x86_64-gtk4 mingw-w64-ucrt-x86_64-libadwaita mingw-w64-ucrt-x86_64-python-gobject mingw-w64-ucrt-x86_64-python-yaml mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-ca-certificates mingw-w64-ucrt-x86_64-meson git install: mingw-w64-ucrt-x86_64-gtk4 mingw-w64-ucrt-x86_64-libadwaita mingw-w64-ucrt-x86_64-python-gobject mingw-w64-ucrt-x86_64-python-yaml mingw-w64-ucrt-x86_64-python-requests mingw-w64-ucrt-x86_64-python-pillow mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-ca-certificates mingw-w64-ucrt-x86_64-meson git
- name: Compile - name: Compile
shell: msys2 {0} shell: msys2 {0}
run: | run: |
meson setup _build meson setup _build
ninja -C _build install ninja -C _build install
pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git
find /ucrt64/share/locale/ -type f ! -name "*cartridges.mo" -delete
- name: "Inno Setup" - name: "Inno Setup"
run: iscc ".\.windows\Cartridges.iss" run: iscc ".\windows\Cartridges.iss"
- name: "Upload Artifact" - name: "Upload Artifact"
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: "Installer" name: "Installer"
path: ".windows/Output/Cartridges Setup.exe" path: "windows/Output/Cartridges Setup.exe"

View File

@@ -1,128 +1,3 @@
# Contributor Covenant Code of Conduct The project follows the [GNOME Code of Conduct](https://wiki.gnome.org/Foundation/CodeOfConduct).
## Our Pledge If you believe that someone is violating the Code of Conduct, or have any other concerns, please contact us via [cartridges-community@kramo.hu](mailto:cartridges-community@kramo.hu).
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
cartridges-community@kramo.hu.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series
of actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within
the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.

View File

@@ -24,7 +24,7 @@ The project can be translated on [Weblate](https://hosted.weblate.org/engage/car
## For Windows ## For Windows
1. Install [MSYS2](https://www.msys2.org/). 1. Install [MSYS2](https://www.msys2.org/).
2. From the MSYS2 shell, install the required dependencies listed [here](https://github.com/kra-mo/cartridges/blob/main/.github/workflows/windows.yml). 2. From the MSYS2 shell, install the required dependencies listed [here](https://github.com/kra-mo/cartridges/blob/main/.github/workflows/windows.yml).
3. Build it via Meson 3. Build it via Meson.
## Meson ## Meson
```bash ```bash

View File

@@ -3,14 +3,19 @@
<img src="data/icons/hicolor/scalable/apps/hu.kramo.Cartridges.svg" width="128" height="128"> <img src="data/icons/hicolor/scalable/apps/hu.kramo.Cartridges.svg" width="128" height="128">
# Cartridges # Cartridges
A GTK4 + Libadwaita game launcher A GTK4 + Libadwaita game launcher
[![GNOME Circle][circle-image]][circle-url]
[![Flathub][flathub-image]][flathub-url]
[![Build status][github-actions-image]][github-actions-url] [![Build status][github-actions-image]][github-actions-url]
[![Translation Status][weblate-image]][weblate-url] [![Translation Status][weblate-image]][weblate-url]
[![License][license-image]][license-url] [![License][license-image]][license-url]
[![Discord Chatroom][discord-image]][discord-url]
[![Code style][code-style-image]][code-style-url] [![Code style][code-style-image]][code-style-url]
[![Discord][discord-image]][discord-url]
[circle-url]: https://circle.gnome.org
[circle-image]: https://circle.gnome.org/assets/button/badge.svg
[github-actions-url]: https://github.com/kra-mo/cartridges [github-actions-url]: https://github.com/kra-mo/cartridges
[github-actions-image]: https://github.com/kra-mo/cartridges/actions/workflows/flatpak-builder.yml/badge.svg [github-actions-image]: https://github.com/kra-mo/cartridges/actions/workflows/flatpak-builder.yml/badge.svg
[license-url]: https://github.com/kra-mo/cartridges/blob/main/LICENSE [license-url]: https://github.com/kra-mo/cartridges/blob/main/LICENSE
@@ -21,42 +26,64 @@
[weblate-image]: https://hosted.weblate.org/widgets/cartridges/-/cartridges/svg-badge.svg [weblate-image]: https://hosted.weblate.org/widgets/cartridges/-/cartridges/svg-badge.svg
[discord-url]: https://discord.gg/4KSFh3AmQR [discord-url]: https://discord.gg/4KSFh3AmQR
[discord-image]: https://img.shields.io/discord/1088155799299313754?color=%235865F2&label=discord&logo=discord&logoColor=%23FFFFFF [discord-image]: https://img.shields.io/discord/1088155799299313754?color=%235865F2&label=discord&logo=discord&logoColor=%23FFFFFF
[flathub-url]: https://flathub.org/apps/hu.kramo.Cartridges
[flathub-image]: https://img.shields.io/flathub/v/hu.kramo.Cartridges
<img src="data/screenshots/1.png"> <img src="data/screenshots/1.png">
</div> </div>
# The Project # The Project
Cartridges is a simple game launcher written in Python using GTK4 and Libadwaita. Cartridges is a simple game launcher written in Python using GTK4 and Libadwaita.
## Features ## Features
- Manually adding and editing games - Manually adding and editing games
- Importing games from Steam, Heroic and Bottles - Importing games from Steam, Lutris, Heroic, Bottles and itch
- Support for multiple Steam install locations - Support for multiple Steam install locations
- Hiding games - Hiding games
- Searching and sorting by title, date added and last played - Searching and sorting by title, date added and last played
- Automatically downloading cover art from [SteamGridDB](https://www.steamgriddb.com/)
- Searching for games on various databases
- Animated covers
For updates and questions, join our [Discord server]([discord-url])! For updates and questions, join our [Discord server][discord-url]!
# Installation # Installation
## Linux ## Linux
### From Releases ### Flathub
1. Download the latest release from [Releases](https://github.com/kra-mo/cartridges/releases).
2. Install the downloaded file via GNOME Software or `flatpak install hu.kramo.Cartridges.flatpak`. The app is available on Flathub.
<a href=https://flathub.org/apps/hu.kramo.Cartridges><img width='240' alt='Download on Flathub' src='https://dl.flathub.org/assets/badges/flathub-badge-en.png'/></a>
## Windows ## Windows
### From Releases ### From Releases
1. Download the latest release from [Releases](https://github.com/kra-mo/cartridges/releases). 1. Download the latest release from [Releases](https://github.com/kra-mo/cartridges/releases).
2. Run the downloaded installer. 2. Run the downloaded installer.
Note: Windows might present you with a warning when trying to install the app. This is expected, just ignore the warning. Note: Windows might present you with a warning when trying to install the app. This is expected, just ignore the warning.
### Winget
Install the latest release with the command: `winget install cartridges`.
## Building manually ## Building manually
See [Building](https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md#building). See [Building](https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md#building).
# Contributing # Contributing
See [CONTRIBUTING](https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md). See [CONTRIBUTING.md](https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md).
Thanks to [Weblate](https://weblate.org/) for hosting our translations! Thanks to [Weblate](https://weblate.org/) for hosting our translations!
# Code of Conduct
The project follows the [GNOME Code of Conduct](https://wiki.gnome.org/Foundation/CodeOfConduct).
See [CODE_OF_CONDUCT.md](https://github.com/kra-mo/cartridges/blob/main/CODE_OF_CONDUCT.md).

35
cartridges.doap Normal file
View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:gnome="http://api.gnome.org/doap-extensions#"
xmlns="http://usefulinc.com/ns/doap#">
<name>Cartridges</name>
<shortdesc xml:lang="en">Launch all your games</shortdesc>
<description xml:lang="en">
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.
</description>
<homepage rdf:resource="https://github.com/kra-mo/cartridges" />
<download-page rdf:resource="https://github.com/kra-mo/cartridges" />
<bug-database rdf:resource="https://github.com/kra-mo/cartridges/issues" />
<programming-language>Python</programming-language>
<platform>GTK 4</platform>
<platform>Libadwaita</platform>
<maintainer>
<foaf:Person>
<foaf:name>kramo</foaf:name>
<foaf:mbox rdf:resource="mailto:contact@kramo.hu" />
<foaf:account>
<foaf:OnlineAccount>
<foaf:accountServiceHomepage rdf:resource="https://github.com"/>
<foaf:accountName>kra-mo</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
</foaf:Person>
</maintainer>
</Project>

View File

@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<gresources> <gresources>
<gresource prefix="/hu/kramo/Cartridges"> <gresource prefix="@PREFIX@">
<file preprocess="xml-stripblanks">gtk/window.ui</file> <file preprocess="xml-stripblanks">gtk/window.ui</file>
<file preprocess="xml-stripblanks">gtk/help-overlay.ui</file> <file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
<file preprocess="xml-stripblanks">gtk/game.ui</file> <file preprocess="xml-stripblanks">gtk/game.ui</file>
<file preprocess="xml-stripblanks">gtk/preferences.ui</file> <file preprocess="xml-stripblanks">gtk/preferences.ui</file>
<file preprocess="xml-stripblanks">gtk/details_window.ui</file>
<file alias="style.css">gtk/style.css</file> <file alias="style.css">gtk/style.css</file>
<file alias="style-dark.css">gtk/style-dark.css</file> <file alias="style-dark.css">gtk/style-dark.css</file>
<file>library_placeholder.svg</file> <file>library_placeholder.svg</file>

159
data/gtk/details_window.blp Normal file
View File

@@ -0,0 +1,159 @@
using Gtk 4.0;
using Adw 1;
template $DetailsWindow : Adw.Window {
default-width: 500;
default-height: -1;
modal: true;
ShortcutController {
Shortcut {
trigger: "Escape";
action: "action(window.close)";
}
}
Box {
orientation: vertical;
Adw.HeaderBar HeaderBar {
show-start-title-buttons: false;
show-end-title-buttons: false;
[start]
Button cancel_button {
label: _("Cancel");
action-name: "window.close";
}
[end]
Button apply_button {
styles [
"suggested-action"
]
}
}
Adw.PreferencesPage {
vexpand: true;
Adw.PreferencesGroup cover_group {
Adw.Clamp cover_clamp {
maximum-size: 200;
Overlay {
[overlay]
Spinner spinner {
margin-start: 72;
margin-end: 72;
}
Overlay cover_overlay {
halign: center;
valign: center;
[overlay]
Button cover_button_edit {
icon-name: "document-edit-symbolic";
tooltip-text: _("New Cover");
halign: end;
valign: end;
margin-bottom: 6;
margin-end: 6;
styles [
"circular", "osd"
]
}
[overlay]
Revealer cover_button_delete_revealer {
transition-type: crossfade;
margin-end: 40;
Button cover_button_delete {
icon-name: "user-trash-symbolic";
tooltip-text: _("Delete Cover");
halign: end;
valign: end;
margin-bottom: 6;
margin-end: 6;
styles [
"circular", "osd"
]
}
}
Picture cover {
width-request: 200;
height-request: 300;
styles [
"card"
]
}
}
}
}
}
Adw.PreferencesGroup title_group {
title: _("Title");
description: _("The title of the game");
Entry name {
accessibility {
label: _("Title");
}
}
}
Adw.PreferencesGroup developer_group {
title: _("Developer");
description: _("The developer or publisher (optional)");
Entry developer {
accessibility {
label: _("Developer");
}
}
}
Adw.PreferencesGroup exec_group {
title: _("Executable");
description: _("File to open or command to run when launching the game");
[header-suffix]
Gtk.MenuButton exec_info_button {
valign: center;
icon-name: "help-about-symbolic";
tooltip-text: _("More Info");
popover: Popover {
visible: bind-property exec_info_button.active bidirectional;
Label exec_info_label {
use-markup: true;
wrap: true;
max-width-chars: 30;
margin-top: 6;
margin-bottom: 12;
margin-start: 6;
margin-end: 6;
}
};
styles [
"flat"
]
}
Entry executable {
accessibility {
label: _("Executable");
}
}
}
}
}
}

View File

@@ -1,62 +1,81 @@
using Gtk 4.0; using Gtk 4.0;
using Adw 1; using Adw 1;
template game : Box { template $Game : Box {
orientation: vertical; orientation: vertical;
halign: center; halign: center;
valign: start; valign: start;
Adw.Clamp { Adw.Clamp {
maximum-size: 200; maximum-size: 200;
Box {
orientation: vertical; Overlay {
[overlay]
Revealer play_revealer {
transition-type: crossfade;
valign: start;
halign: start;
Button play_button {
icon-name: "media-playback-start-symbolic";
margin-start: 6;
margin-end: 3;
margin-top: 6;
margin-bottom: 3;
styles [
"circular",
"osd",
]
}
}
[overlay]
Revealer menu_revealer {
transition-type: crossfade;
valign: start;
halign: end;
MenuButton menu_button {
icon-name: "view-more-symbolic";
margin-start: 3;
margin-end: 6;
margin-top: 6;
margin-bottom: 3;
styles [
"circular",
"osd",
]
}
}
Button cover_button { Button cover_button {
name: "cover_button";
overflow: hidden; overflow: hidden;
Picture cover {
width-request: 200; accessibility {
height-request: 300; labelled-by: title;
hexpand: true;
vexpand: true;
} }
styles [ Box {
"card", orientation: vertical;
"flat",
]
}
Overlay overlay {
[overlay]
Revealer play_revealer {
reveal-child: false;
transition-type: crossfade;
Box {
Button button_play {
halign: start;
label: _("Play");
margin-start: 6;
margin-end: 6;
margin-top: 6;
margin-bottom: 6;
}
MenuButton menu_button {
icon-name: "view-more-symbolic";
margin-top: 6;
margin-bottom: 6;
margin-end: 6;
margin-start: 6;
hexpand: true;
halign: end;
styles [ Overlay {
"flat", [overlay]
] Spinner spinner {
margin-start: 72;
margin-end: 72;
}
Picture cover {
width-request: 200;
height-request: 300;
hexpand: true;
vexpand: true;
} }
} }
}
Revealer title_revealer {
transition-type: slide_down;
reveal-child: true;
valign: start;
Label title { Label title {
label: _("Title"); label: _("Title");
ellipsize: end; ellipsize: end;
@@ -68,20 +87,20 @@ template game : Box {
margin-end: 12; margin-end: 12;
} }
} }
styles [
"card",
]
} }
} }
} }
styles [
"card",
]
} }
menu game_options { menu game_options {
section { section {
item { item {
label: _("Edit"); label: _("Edit");
action: "app.edit_details"; action: "app.edit_game";
} }
item { item {
@@ -100,7 +119,7 @@ menu hidden_game_options {
section { section {
item { item {
label: _("Edit"); label: _("Edit");
action: "app.edit_details"; action: "app.edit_game";
} }
item { item {

View File

@@ -8,51 +8,61 @@ ShortcutsWindow help_overlay {
max-height: 10; max-height: 10;
ShortcutsGroup { ShortcutsGroup {
title: C_("shortcut window", "General"); title: _("General");
ShortcutsShortcut { ShortcutsShortcut {
title: C_("shortcut window", "Quit"); title: _("Quit");
action-name: "app.quit"; action-name: "app.quit";
} }
ShortcutsShortcut { ShortcutsShortcut {
title: C_("shortcut window", "Search"); title: _("Search");
action-name: "win.toggle_search"; action-name: "win.toggle_search";
} }
ShortcutsShortcut { ShortcutsShortcut {
title: C_("shortcut window", "Show preferences"); title: _("Show preferences");
action-name: "app.preferences"; action-name: "app.preferences";
} }
ShortcutsShortcut { ShortcutsShortcut {
title: C_("shortcut window", "Shortcuts"); title: _("Shortcuts");
action-name: "win.show-help-overlay"; action-name: "win.show-help-overlay";
} }
ShortcutsShortcut { ShortcutsShortcut {
title: C_("shortcut window", "Undo"); title: _("Undo");
action-name: "win.undo_remove"; action-name: "win.undo";
} }
ShortcutsShortcut { ShortcutsShortcut {
title: C_("shortcut window", "Open menu"); title: _("Open menu");
action-name: "win.open_menu"; action-name: "win.open_menu";
} }
} }
ShortcutsGroup { ShortcutsGroup {
title: C_("shortcut window", "Games"); title: _("Games");
ShortcutsShortcut { ShortcutsShortcut {
title: C_("shortcut window", "Add new game"); title: _("Add new game");
action-name: "app.add_game"; action-name: "app.add_game";
} }
ShortcutsShortcut { ShortcutsShortcut {
title: C_("shortcut window", "Show hidden games"); title: _("Import games");
action-name: "app.import";
}
ShortcutsShortcut {
title: _("Show hidden games");
action-name: "win.show_hidden"; action-name: "win.show_hidden";
} }
ShortcutsShortcut {
title: _("Remove game");
action-name: "app.remove_game_details_view";
}
} }
} }
} }

View File

@@ -1,108 +1,234 @@
using Gtk 4.0; using Gtk 4.0;
using Adw 1; using Adw 1;
template PreferencesWindow : Adw.PreferencesWindow { template $PreferencesWindow : Adw.PreferencesWindow {
search-enabled: false;
default-height: 500; default-height: 500;
Adw.PreferencesPage page { Adw.PreferencesPage general_page {
Adw.PreferencesGroup { name: "general";
title: _("General"); title: _("General");
icon-name: "user-home-symbolic";
Adw.PreferencesGroup behavior_group {
title: _("Behavior");
Adw.ActionRow { Adw.ActionRow {
title: _("Exit After Launching Games"); title: _("Exit After Launching Games");
activatable-widget: exit_after_launch_switch;
Switch exit_after_launch_switch { Switch exit_after_launch_switch {
valign: center; valign: center;
} }
} }
}
Adw.PreferencesGroup steam_group {
title: "Steam";
Adw.ActionRow { Adw.ActionRow {
title: _("Steam Install Location"); title: _("Cover Image Launches Game");
subtitle: _("Directory to use when importing games"); subtitle: _("Swaps the behavior of the cover image and the play button");
activatable-widget: cover_launches_game_switch;
Button steam_file_chooser_button { Switch cover_launches_game_switch {
icon-name: "folder-symbolic";
valign: center; valign: center;
} }
} }
}
Adw.PreferencesGroup images_group {
title: _("Images");
Adw.ActionRow { Adw.ActionRow {
title: _("Extra Steam Libraries"); title: _("High Quality Images");
subtitle: _("Select other directories where you have Steam games installed"); subtitle: _("Save game covers losslessly at the cost of storage");
activatable-widget: high_quality_images_switch;
Switch high_quality_images_switch {
valign: center;
}
}
}
Revealer steam_clear_button_revealer { Adw.PreferencesGroup danger_zone_group {
reveal-child: false; title: _("Danger Zone");
transition-type: slide_left;
Button steam_clear_button { Adw.ActionRow {
label: _("Clear"); title: _("Remove All Games");
Button remove_all_games_button {
label: _("Remove");
valign: center;
styles [
"destructive-action",
]
}
}
}
}
Adw.PreferencesPage import_page {
name: "import";
title: _("Import");
icon-name: "document-save-symbolic";
Adw.PreferencesGroup sources_group {
title: _("Sources");
Adw.ExpanderRow steam_expander_row {
title: _("Steam");
show-enable-switch: true;
Adw.ActionRow steam_action_row {
title: _("Steam Install Location");
Button steam_file_chooser_button {
icon-name: "folder-symbolic";
valign: center; valign: center;
halign: end; }
}
}
styles [ Adw.ExpanderRow lutris_expander_row {
"destructive-action", title: _("Lutris");
] show-enable-switch: true;
Adw.ActionRow lutris_action_row {
title: _("Lutris Install Location");
Button lutris_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
} }
} }
Button steam_extra_file_chooser_button { Adw.ActionRow lutris_cache_action_row {
icon-name: "folder-new-symbolic"; title: _("Lutris Cache Location");
valign: center;
Button lutris_cache_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
Adw.ActionRow {
title: _("Import Steam Games");
activatable-widget: lutris_import_steam_switch;
Switch lutris_import_steam_switch {
valign: center;
}
}
}
Adw.ExpanderRow heroic_expander_row {
title: _("Heroic");
show-enable-switch: true;
Adw.ActionRow heroic_action_row {
title: _("Heroic Install Location");
Button heroic_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
Adw.ActionRow {
title: _("Import Epic Games");
activatable-widget: heroic_import_epic_switch;
Switch heroic_import_epic_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Import GOG Games");
activatable-widget: heroic_import_gog_switch;
Switch heroic_import_gog_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Import Sideloaded Games");
activatable-widget: heroic_import_sideload_switch;
Switch heroic_import_sideload_switch {
valign: center;
}
}
}
Adw.ExpanderRow bottles_expander_row {
title: _("Bottles");
show-enable-switch: true;
Adw.ActionRow bottles_action_row {
title: _("Bottles Install Location");
Button bottles_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
}
Adw.ExpanderRow itch_expander_row {
title: _("itch");
show-enable-switch: true;
Adw.ActionRow itch_action_row {
title: _("itch Install Location");
Button itch_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
} }
} }
} }
}
Adw.PreferencesGroup heroic_group { Adw.PreferencesPage sgdb_page {
title: "Heroic"; name: "sgdb";
title: _("SteamGridDB");
icon-name: "image-x-generic-symbolic";
Adw.ActionRow { Adw.PreferencesGroup sgdb_key_group {
title: _("Heroic Install Location"); title: _("Authentication");
subtitle: _("Directory to use when importing games");
Button heroic_file_chooser_button { Adw.EntryRow sgdb_key_entry_row {
icon-name: "folder-symbolic"; title: _("API Key");
valign: center;
}
}
Adw.ActionRow {
title: _("Import Epic Games");
Switch import_epic_games_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Import GOG Games");
Switch import_gog_games_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Import Sideloaded Games");
Switch import_sideload_games_switch {
valign: center;
}
} }
} }
Adw.PreferencesGroup bottles_group { Adw.PreferencesGroup sgdb_behavior_group {
title: "Bottles"; title: _("Behavior");
Adw.ActionRow sgdb_switch_row {
title: _("Use SteamGridDB");
subtitle: _("Download images when adding or importing games");
activatable-widget: sgdb_switch;
Switch sgdb_switch {
valign: center;
}
}
Adw.ActionRow { Adw.ActionRow {
title: _("Bottles Install Location"); title: _("Prefer Over Official Images");
subtitle: _("Directory to use when importing games"); activatable-widget: sgdb_prefer_switch;
Button bottles_file_chooser_button { Switch sgdb_prefer_switch {
icon-name: "folder-symbolic"; valign: center;
}
}
Adw.ActionRow {
title: _("Prefer Animated Images");
activatable-widget: sgdb_animated_switch;
Switch sgdb_animated_switch {
valign: center; valign: center;
} }
} }

View File

@@ -1,2 +1,11 @@
@define-color accent_color @purple_1; @define-color accent_color @purple_1;
@define-color accent_bg_color @purple_4; @define-color accent_bg_color @purple_4;
#details_view {
background-color: black;
}
#details_view_play_button {
color: @dark_5;
background-color: @light_1;
}

View File

@@ -1,2 +1,12 @@
@define-color accent_color @purple_5; @define-color accent_color @purple_5;
@define-color accent_bg_color @purple_3; @define-color accent_bg_color @purple_3;
#details_view {
background-color: white;
}
#details_view_play_button {
color: @light_1;
background-color: @dark_5;
opacity: 0.8;
}

View File

@@ -9,12 +9,30 @@ Adw.StatusPage notice_no_results {
valign: center; valign: center;
} }
Adw.StatusPage hidden_notice_no_results {
icon-name: "system-search-symbolic";
title: _("No Games Found");
description: _("Try a different search.");
vexpand: true;
valign: center;
}
Adw.StatusPage notice_empty { Adw.StatusPage notice_empty {
icon-name: "applications-games-symbolic";
title: _("No Games"); title: _("No Games");
description: _("Use the + button to add games."); description: _("Use the + button to add games.");
vexpand: true; vexpand: true;
valign: center; valign: center;
Button {
label: _("Import");
halign: center;
action-name: "app.import";
styles [
"pill",
"suggested-action",
]
}
} }
Adw.StatusPage hidden_notice_empty { Adw.StatusPage hidden_notice_empty {
@@ -25,7 +43,7 @@ Adw.StatusPage hidden_notice_empty {
valign: center; valign: center;
} }
template CartridgesWindow : Adw.ApplicationWindow { template $CartridgesWindow : Adw.ApplicationWindow {
title: _("Cartridges"); title: _("Cartridges");
Adw.ToastOverlay toast_overlay { Adw.ToastOverlay toast_overlay {
@@ -33,9 +51,11 @@ template CartridgesWindow : Adw.ApplicationWindow {
visible-child: library_view; visible-child: library_view;
transition-type: over_left; transition-type: over_left;
Overlay overview { Overlay details_view {
name: "details_view";
[overlay] [overlay]
Box overview_box { Box details_view_box {
orientation: vertical; orientation: vertical;
Adw.HeaderBar { Adw.HeaderBar {
@@ -47,7 +67,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
} }
[title] [title]
Adw.WindowTitle overview_header_bar_title { Adw.WindowTitle details_view_header_bar_title {
title: _("Game Details"); title: _("Game Details");
} }
@@ -70,15 +90,24 @@ template CartridgesWindow : Adw.ApplicationWindow {
Adw.Clamp { Adw.Clamp {
maximum-size: 200; maximum-size: 200;
Picture overview_cover {
halign: end;
valign: start;
width-request: 200;
height-request: 300;
styles [ Overlay {
"card", [overlay]
] Spinner details_view_spinner {
margin-start: 72;
margin-end: 72;
}
Picture details_view_cover {
halign: end;
valign: start;
width-request: 200;
height-request: 300;
styles [
"card",
]
}
} }
} }
@@ -88,10 +117,11 @@ template CartridgesWindow : Adw.ApplicationWindow {
vexpand: true; vexpand: true;
valign: center; valign: center;
Label overview_title { Label details_view_title {
label: _("Game Title"); label: _("Game Title");
hexpand: true; hexpand: true;
halign: start; halign: start;
max-width-chars: 24;
wrap: true; wrap: true;
wrap-mode: word_char; wrap-mode: word_char;
natural-wrap-mode: word; natural-wrap-mode: word;
@@ -101,71 +131,96 @@ template CartridgesWindow : Adw.ApplicationWindow {
] ]
} }
Label overview_developer { Label details_view_developer {
margin-top: 3;
hexpand: true;
halign: start;
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
styles [
"heading"
]
}
Label overview_added {
margin-top: 12;
hexpand: true;
halign: start;
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
styles [
"dim-label",
]
}
Label overview_last_played {
margin-top: 6; margin-top: 6;
hexpand: true; hexpand: true;
halign: start; halign: start;
max-width-chars: 36;
wrap: true; wrap: true;
wrap-mode: word_char; wrap-mode: word_char;
natural-wrap-mode: word; natural-wrap-mode: word;
styles [ styles [
"dim-label", "heading",
] ]
} }
Box {
orientation: horizontal;
margin-top: 16;
hexpand: true;
halign: start;
Label details_view_added {
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
}
Label details_view_last_played {
margin-start: 12;
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
}
}
Box { Box {
hexpand: true; hexpand: true;
vexpand: true; vexpand: true;
valign: center; valign: center;
Button overview_launch { Button details_view_play_button {
name: "details_view_play_button";
action-name: "app.launch_game"; action-name: "app.launch_game";
label: _("Play"); label: _("Play");
halign: start; halign: start;
margin-top: 24; margin-top: 24;
styles [ styles [
"suggested-action", "opaque",
"pill", "pill",
] ]
} }
MenuButton overview_menu_button { Box {
icon-name: "view-more-symbolic";
hexpand: true;
vexpand: true;
halign: start; halign: start;
valign: center; valign: center;
margin-top: 24; margin-top: 24;
margin-start: 6; margin-start: 9;
Button {
icon-name: "document-edit-symbolic";
action-name: "app.edit_game";
tooltip-text: _("Edit");
styles ["raised", "circular"]
}
Button details_view_hide_button {
action-name: "app.hide_game";
styles ["raised", "circular"]
}
Button {
icon-name: "user-trash-symbolic";
action-name: "app.remove_game";
tooltip-text: _("Remove");
styles ["raised", "circular"]
}
MenuButton {
icon-name: "system-search-symbolic";
menu-model: search;
tooltip-text: _("Search");
styles ["raised", "circular"]
}
styles [ styles [
"circular", "toolbar",
] ]
} }
} }
@@ -174,16 +229,8 @@ template CartridgesWindow : Adw.ApplicationWindow {
} }
} }
styles [ Picture details_view_blurred_cover {
"background",
]
Picture overview_blurred_cover {
opacity: 0.2;
can-shrink: true;
keep-aspect-ratio: false; keep-aspect-ratio: false;
hexpand: true;
vexpand: true;
} }
} }
@@ -214,6 +261,9 @@ template CartridgesWindow : Adw.ApplicationWindow {
} }
SearchBar search_bar { SearchBar search_bar {
search-mode-enabled: bind-property search_button.active bidirectional;
key-capture-widget: library_view;
Adw.Clamp { Adw.Clamp {
maximum-size: 500; maximum-size: 500;
tightening-threshold: 500; tightening-threshold: 500;
@@ -262,7 +312,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
} }
[end] [end]
MenuButton { MenuButton hidden_primary_menu_button {
tooltip-text: _("Main Menu"); tooltip-text: _("Main Menu");
icon-name: "open-menu-symbolic"; icon-name: "open-menu-symbolic";
menu-model: primary_menu; menu-model: primary_menu;
@@ -277,6 +327,9 @@ template CartridgesWindow : Adw.ApplicationWindow {
} }
SearchBar hidden_search_bar { SearchBar hidden_search_bar {
search-mode-enabled: bind-property hidden_search_button.active bidirectional;
key-capture-widget: hidden_library_view;
Adw.Clamp { Adw.Clamp {
maximum-size: 500; maximum-size: 500;
tightening-threshold: 500; tightening-threshold: 500;
@@ -383,24 +436,42 @@ menu add_games {
action: "app.add_game"; action: "app.add_game";
} }
} }
section { section {
submenu { item {
label: _("Import from"); label: _("Import");
item { action: "app.import";
label: _("Steam"); }
action: "app.steam_import"; }
} }
item { menu search {
label: _("Heroic"); section {
action: "app.heroic_import"; label: "Search on…";
}
item {
item { label: "IGDB";
label: _("Bottles"); action: "app.igdb_search";
action: "app.bottles_import"; }
hidden-when: "action-disabled";
} item {
label: "SteamGridDB";
action: "app.sgdb_search";
}
item {
label: "ProtonDB";
action: "app.protondb_search";
}
item {
label: "Lutris";
action: "app.lutris_search";
}
item {
label: "HowLongToBeat";
action: "app.hltb_search";
} }
} }
} }

View File

@@ -1,10 +1,11 @@
[Desktop Entry] [Desktop Entry]
Name=Cartridges Name=Cartridges
GenericName=Game Launcher GenericName=Game Launcher
Comment=Launch your games Comment=Launch all your games
Exec=cartridges Exec=cartridges
Icon=hu.kramo.Cartridges Icon=@APP_ID@
Terminal=false Terminal=false
Type=Application Type=Application
Categories=GNOME;GTK;Game; Categories=GNOME;GTK;Game;
Keywords=gaming;launcher;steam;lutris;heroic;bottles;itch;
StartupNotify=true StartupNotify=true

View File

@@ -1,50 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="cartridges">
<schema id="hu.kramo.Cartridges" path="/hu/kramo/Cartridges/">
<key name="exit-after-launch" type="b">
<default>false</default>
</key>
<key name="heroic-import-epic" type="b">
<default>true</default>
</key>
<key name="heroic-import-gog" type="b">
<default>true</default>
</key>
<key name="heroic-import-sideload" type="b">
<default>true</default>
</key>
<key name="steam-location" type="s">
<default>"~/.steam/"</default>
</key>
<key name="steam-extra-dirs" type="as">
<default>[]</default>
</key>
<key name="heroic-location" type="s">
<default>"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/"</default>
</key>
<key name="bottles-location" type="s">
<default>"~/.var/app/com.usebottles.bottles/data/bottles/"</default>
</key>
</schema>
<schema id="hu.kramo.Cartridge.State" path="/hu/kramo/Cartridges/State/">
<key name="width" type="i">
<default>1110</default>
</key>
<key name="height" type="i">
<default>820</default>
</key>
<key name="is-maximized" type="b">
<default>false</default>
</key>
<key name="sort-mode" type="s">
<choices>
<choice value="a-z"/>
<choice value="z-a"/>
<choice value="newest"/>
<choice value="oldest"/>
<choice value="last_played"/>
</choices>
<default>"a-z"</default>
</key>
</schema>
</schemalist>

View File

@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="cartridges">
<schema id="@APP_ID@" path="@PREFIX@/">
<key name="exit-after-launch" type="b">
<default>false</default>
</key>
<key name="cover-launches-game" type="b">
<default>false</default>
</key>
<key name="high-quality-images" type="b">
<default>false</default>
</key>
<key name="steam" type="b">
<default>true</default>
</key>
<key name="steam-location" type="s">
<default>"~/.steam/"</default>
</key>
<key name="lutris" type="b">
<default>true</default>
</key>
<key name="lutris-location" type="s">
<default>"~/.var/app/net.lutris.Lutris/data/lutris/"</default>
</key>
<key name="lutris-cache-location" type="s">
<default>"~/.var/app/net.lutris.Lutris/cache/lutris"</default>
</key>
<key name="lutris-import-steam" type="b">
<default>false</default>
</key>
<key name="heroic" type="b">
<default>true</default>
</key>
<key name="heroic-location" type="s">
<default>"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/"</default>
</key>
<key name="heroic-import-epic" type="b">
<default>true</default>
</key>
<key name="heroic-import-gog" type="b">
<default>true</default>
</key>
<key name="heroic-import-sideload" type="b">
<default>true</default>
</key>
<key name="bottles" type="b">
<default>true</default>
</key>
<key name="bottles-location" type="s">
<default>"~/.var/app/com.usebottles.bottles/data/bottles/"</default>
</key>
<key name="itch" type="b">
<default>true</default>
</key>
<key name="itch-location" type="s">
<default>"~/.var/app/io.itch.itch/config/itch/"</default>
</key>
<key name="sgdb-key" type="s">
<default>""</default>
</key>
<key name="sgdb" type="b">
<default>false</default>
</key>
<key name="sgdb-prefer" type="b">
<default>false</default>
</key>
<key name="sgdb-animated" type="b">
<default>false</default>
</key>
</schema>
<schema id="@APP_ID@.State" path="@PREFIX@/State/">
<key name="width" type="i">
<default>1110</default>
</key>
<key name="height" type="i">
<default>820</default>
</key>
<key name="is-maximized" type="b">
<default>false</default>
</key>
<key name="sort-mode" type="s">
<choices>
<choice value="a-z"/>
<choice value="z-a"/>
<choice value="newest"/>
<choice value="oldest"/>
<choice value="last_played"/>
</choices>
<default>"a-z"</default>
</key>
</schema>
</schemalist>

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application"> <component type="desktop-application">
<id>hu.kramo.Cartridges.desktop</id> <id>@APP_ID@.desktop</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license> <project_license>GPL-3.0-or-later</project_license>
<name>Cartridges</name> <name>Cartridges</name>
<summary>Launch all your games</summary> <summary>Launch all your games</summary>
<description> <description>
<p>Cartridges is a simple game launcher. It has support for importing your games from Steam, Heroic and Bottles with organizational features such as hiding and sorting by date added or last played.</p> <p>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.</p>
</description> </description>
<url type="homepage">https://github.com/kra-mo/cartridges</url> <url type="homepage">https://github.com/kra-mo/cartridges</url>
<url type="bugtracker">https://github.com/kra-mo/cartridges/issues</url> <url type="bugtracker">https://github.com/kra-mo/cartridges/issues</url>
@@ -15,7 +15,15 @@
<url type="vcs-browser">https://github.com/kra-mo/cartridges</url> <url type="vcs-browser">https://github.com/kra-mo/cartridges</url>
<url type="contribute">https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md</url> <url type="contribute">https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md</url>
<developer_name translatable="no">kramo</developer_name> <developer_name translatable="no">kramo</developer_name>
<launchable type="desktop-id">hu.kramo.Cartridges.desktop</launchable> <launchable type="desktop-id">@APP_ID@.desktop</launchable>
<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</supports>
<recommends>
<display_length compare="gt">545</display_length>
</recommends>
<screenshots> <screenshots>
<screenshot type="default"> <screenshot type="default">
<image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/1.png</image> <image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/1.png</image>
@@ -36,8 +44,68 @@
</screenshots> </screenshots>
<content_rating type="oars-1.1" /> <content_rating type="oars-1.1" />
<releases> <releases>
<release version="1.5.4" date="2023-05-27">
<description translatable="no">
<ul>
<li>Fixes a bug with custom install locations</li>
<li>Fixes a potential bug with deleted Steam libraries</li>
<li>Translations since 1.5</li>
</ul>
</description>
</release>
<release version="1.5" date="2023-05-23">
<description translatable="no">
<ul>
<li>Cartridges is now part of GNOME Circle!</li>
<li>Extra Steam libraries are now detected automatically</li>
<li>Executables are now passed directly to the shell</li>
<li>Various UX improvements</li>
<li>Translations since 1.4</li>
</ul>
</description>
</release>
<release version="1.4" date="2023-04-16">
<description translatable="no">
<ul>
<li>Support for animated covers</li>
<li>Redesigned details view</li>
<li>Easily search for games on various databases</li>
<li>Translations since 1.3</li>
</ul>
</description>
</release>
<release version="1.3" date="2023-04-06">
<description translatable="no">
<ul>
<li>Support for importing game covers from SteamGridDB!</li>
<li>New import source: Lutris</li>
<li>New import source: itch</li>
<li>Better feedback for hiding and launching games</li>
<li>UX improvements</li>
<li>Translations since 1.2</li>
</ul>
</description>
</release>
<release version="1.2" date="2023-03-30">
<description translatable="no">
<ul>
<li>Refined the user experience for importing games</li>
<li>Added option to remove all games</li>
<li>Translations since 1.1</li>
</ul>
</description>
</release>
<release version="1.1" date="2023-03-26">
<description translatable="no">
<ul>
<li>Added option to launch games by clicking the cover image</li>
<li>Added option to save cover art losslessly</li>
<li>Translations since 1.0</li>
</ul>
</description>
</release>
<release version="1.0" date="2023-03-25"> <release version="1.0" date="2023-03-25">
<description> <description translatable="no">
<p>First stable release</p> <p>First stable release</p>
</description> </description>
</release> </release>

View File

@@ -0,0 +1,85 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg height="128px" viewBox="0 0 128 128" width="128px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<linearGradient id="a" gradientUnits="userSpaceOnUse" x1="9" x2="119" y1="115" y2="115">
<stop offset="0" stop-color="#613583"/>
<stop offset="0.05" stop-color="#9141ac"/>
<stop offset="0.22" stop-color="#613583"/>
<stop offset="0.78" stop-color="#613583"/>
<stop offset="0.95" stop-color="#9141ac"/>
<stop offset="1" stop-color="#613583"/>
</linearGradient>
<linearGradient id="b" gradientUnits="userSpaceOnUse" x1="45" x2="45" y1="50" y2="82">
<stop offset="0" stop-color="#bdd0d5"/>
<stop offset="1" stop-color="#305749"/>
</linearGradient>
<clipPath id="c">
<rect height="128" width="128"/>
</clipPath>
<clipPath id="d">
<rect height="128" width="128"/>
</clipPath>
<filter id="e" height="100%" width="100%" x="0%" y="0%">
<feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
</filter>
<mask id="f">
<g clip-path="url(#d)" filter="url(#e)">
<g clip-path="url(#c)">
<path d="m 111 29 h -94 c -4.417969 0 -8 3.582031 -8 8 v 70 c 0 4.417969 3.582031 8 8 8 h 94 c 4.417969 0 8 -3.582031 8 -8 v -70 c 0 -4.417969 -3.582031 -8 -8 -8 z m 0 0" fill="url(#a)"/>
<path d="m 111 29 h -94 c -4.417969 0 -8 3.679688 -8 8.222656 v 57.554688 c 0 4.539062 3.582031 8.222656 8 8.222656 h 94 c 4.417969 0 8 -3.679688 8 -8.222656 v -57.554688 c 0 -4.539062 -3.582031 -8.222656 -8 -8.222656 z m 0 0" fill="#c061cb"/>
<path d="m 84 42 h -40 c -2.210938 0 -4 1.789062 -4 4 v 40 c 0 2.210938 1.789062 4 4 4 h 40 c 2.210938 0 4 -1.789062 4 -4 v -40 c 0 -2.210938 -1.789062 -4 -4 -4 z m 0 0"/>
<path d="m 81 50 h -34 c -1.105469 0 -2 0.894531 -2 2 v 28 c 0 1.105469 0.894531 2 2 2 h 34 c 1.105469 0 2 -0.894531 2 -2 v -28 c 0 -1.105469 -0.894531 -2 -2 -2 z m 0 0" fill="url(#b)"/>
<path d="m 102 61 v -1 c 0 -2.761719 -2.238281 -5 -5 -5 s -5 2.238281 -5 5 v 1 c 0 2.761719 2.238281 5 5 5 s 5 -2.238281 5 -5 z m 12 -6 v -1 c 0 -2.761719 -2.238281 -5 -5 -5 s -5 2.238281 -5 5 v 1 c 0 2.761719 2.238281 5 5 5 s 5 -2.238281 5 -5 z m 0 0"/>
<path d="m 97 64 c 2.761719 0 5 -2.015625 5 -4.5 s -2.238281 -4.5 -5 -4.5 s -5 2.015625 -5 4.5 s 2.238281 4.5 5 4.5 z m 12 -6 c 2.761719 0 5 -2.015625 5 -4.5 s -2.238281 -4.5 -5 -4.5 s -5 2.015625 -5 4.5 s 2.238281 4.5 5 4.5 z m 0 0" fill="#3d3846"/>
<path d="m 29 56.5 c 0 -1.933594 -1.566406 -3.5 -3.5 -3.5 s -3.5 1.566406 -3.5 3.5 v 13 c 0 1.933594 1.566406 3.5 3.5 3.5 s 3.5 -1.566406 3.5 -3.5 z m 0 0"/>
<path d="m 33 58 h -15 c -1.65625 0 -3 1.34375 -3 3 v 2 c 0 1.65625 1.34375 3 3 3 h 15 c 1.65625 0 3 -1.34375 3 -3 v -2 c 0 -1.65625 -1.34375 -3 -3 -3 z m 0 0"/>
<path d="m 29 54.5 c 0 -1.933594 -1.566406 -3.5 -3.5 -3.5 s -3.5 1.566406 -3.5 3.5 v 13 c 0 1.933594 1.566406 3.5 3.5 3.5 s 3.5 -1.566406 3.5 -3.5 z m 0 0" fill="#3d3846"/>
<path d="m 33 58 h -15 c -1.65625 0 -3 1.34375 -3 3 s 1.34375 3 3 3 h 15 c 1.65625 0 3 -1.34375 3 -3 s -1.34375 -3 -3 -3 z m 0 0" fill="#3d3846"/>
<path d="m 71 109 c 0 -1.105469 0.894531 -2 2 -2 s 2 0.894531 2 2 s -0.894531 2 -2 2 s -2 -0.894531 -2 -2 z m 0 0"/>
<path d="m 71.0625 108.5 c 0.226562 0.882812 1.023438 1.503906 1.9375 1.503906 s 1.710938 -0.621094 1.9375 -1.503906 c 0.195312 0.757812 -0.066406 1.558594 -0.671875 2.050781 c -0.605469 0.492188 -1.445313 0.585938 -2.144531 0.242188 c -0.855469 -0.414063 -1.296875 -1.375 -1.058594 -2.292969 z m 0 0" fill="#9141ac"/>
<path d="m 66 107 h -10 c -1.105469 0 -2 0.894531 -2 2 s 0.894531 2 2 2 h 10 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 0 0"/>
<path d="m 54.0625 108.5 c -0.152344 0.597656 -0.023438 1.234375 0.355469 1.726562 c 0.378906 0.488282 0.964843 0.773438 1.582031 0.773438 h 10 c 0.617188 0 1.203125 -0.285156 1.582031 -0.773438 c 0.378907 -0.492187 0.511719 -1.128906 0.355469 -1.726562 c -0.226562 0.882812 -1.023438 1.5 -1.9375 1.5 h -10 c -0.914062 0 -1.710938 -0.617188 -1.9375 -1.5 z m 0 0" fill="#9141ac"/>
<path d="m 110 74 h -14 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 14 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 5 h -14 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 14 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 5 h -14 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 14 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 0" fill="#613583"/>
<path d="m 21.5 79 h -3 c -1.378906 0 -2.5 1.121094 -2.5 2.5 s 1.121094 2.5 2.5 2.5 h 3 c 1.378906 0 2.5 -1.121094 2.5 -2.5 s -1.121094 -2.5 -2.5 -2.5 z m 11 0 h -3 c -1.378906 0 -2.5 1.121094 -2.5 2.5 s 1.121094 2.5 2.5 2.5 h 3 c 1.378906 0 2.5 -1.121094 2.5 -2.5 s -1.121094 -2.5 -2.5 -2.5 z m 0 0"/>
<path d="m 22 79 h -4 c -1.105469 0 -2 0.894531 -2 2 s 0.894531 2 2 2 h 4 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 11 0 h -4 c -1.105469 0 -2 0.894531 -2 2 s 0.894531 2 2 2 h 4 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 0 0" fill="#3d3846"/>
</g>
</g>
</mask>
<mask id="g">
<g filter="url(#e)">
<rect fill-opacity="0.8" height="128" width="128"/>
</g>
</mask>
<linearGradient id="h" gradientTransform="matrix(0 0.37 -0.98462 0 295.38501 -30.360001)" gradientUnits="userSpaceOnUse" x1="300" x2="428" y1="235" y2="235">
<stop offset="0" stop-color="#f9f06b"/>
<stop offset="1" stop-color="#f5c211"/>
</linearGradient>
<clipPath id="i">
<rect height="128" width="128"/>
</clipPath>
<clipPath id="j">
<rect height="128" width="128"/>
</clipPath>
<path d="m 111 29 h -94 c -4.417969 0 -8 3.582031 -8 8 v 70 c 0 4.417969 3.582031 8 8 8 h 94 c 4.417969 0 8 -3.582031 8 -8 v -70 c 0 -4.417969 -3.582031 -8 -8 -8 z m 0 0" fill="url(#a)"/>
<path d="m 111 29 h -94 c -4.417969 0 -8 3.679688 -8 8.222656 v 57.554688 c 0 4.539062 3.582031 8.222656 8 8.222656 h 94 c 4.417969 0 8 -3.679688 8 -8.222656 v -57.554688 c 0 -4.539062 -3.582031 -8.222656 -8 -8.222656 z m 0 0" fill="#c061cb"/>
<path d="m 84 42 h -40 c -2.210938 0 -4 1.789062 -4 4 v 40 c 0 2.210938 1.789062 4 4 4 h 40 c 2.210938 0 4 -1.789062 4 -4 v -40 c 0 -2.210938 -1.789062 -4 -4 -4 z m 0 0"/>
<path d="m 81 50 h -34 c -1.105469 0 -2 0.894531 -2 2 v 28 c 0 1.105469 0.894531 2 2 2 h 34 c 1.105469 0 2 -0.894531 2 -2 v -28 c 0 -1.105469 -0.894531 -2 -2 -2 z m 0 0" fill="url(#b)"/>
<path d="m 102 61 v -1 c 0 -2.761719 -2.238281 -5 -5 -5 s -5 2.238281 -5 5 v 1 c 0 2.761719 2.238281 5 5 5 s 5 -2.238281 5 -5 z m 12 -6 v -1 c 0 -2.761719 -2.238281 -5 -5 -5 s -5 2.238281 -5 5 v 1 c 0 2.761719 2.238281 5 5 5 s 5 -2.238281 5 -5 z m 0 0"/>
<path d="m 97 64 c 2.761719 0 5 -2.015625 5 -4.5 s -2.238281 -4.5 -5 -4.5 s -5 2.015625 -5 4.5 s 2.238281 4.5 5 4.5 z m 12 -6 c 2.761719 0 5 -2.015625 5 -4.5 s -2.238281 -4.5 -5 -4.5 s -5 2.015625 -5 4.5 s 2.238281 4.5 5 4.5 z m 0 0" fill="#3d3846"/>
<path d="m 29 56.5 c 0 -1.933594 -1.566406 -3.5 -3.5 -3.5 s -3.5 1.566406 -3.5 3.5 v 13 c 0 1.933594 1.566406 3.5 3.5 3.5 s 3.5 -1.566406 3.5 -3.5 z m 0 0"/>
<path d="m 33 58 h -15 c -1.65625 0 -3 1.34375 -3 3 v 2 c 0 1.65625 1.34375 3 3 3 h 15 c 1.65625 0 3 -1.34375 3 -3 v -2 c 0 -1.65625 -1.34375 -3 -3 -3 z m 0 0"/>
<path d="m 29 54.5 c 0 -1.933594 -1.566406 -3.5 -3.5 -3.5 s -3.5 1.566406 -3.5 3.5 v 13 c 0 1.933594 1.566406 3.5 3.5 3.5 s 3.5 -1.566406 3.5 -3.5 z m 0 0" fill="#3d3846"/>
<path d="m 33 58 h -15 c -1.65625 0 -3 1.34375 -3 3 s 1.34375 3 3 3 h 15 c 1.65625 0 3 -1.34375 3 -3 s -1.34375 -3 -3 -3 z m 0 0" fill="#3d3846"/>
<path d="m 71 109 c 0 -1.105469 0.894531 -2 2 -2 s 2 0.894531 2 2 s -0.894531 2 -2 2 s -2 -0.894531 -2 -2 z m 0 0"/>
<path d="m 71.0625 108.5 c 0.226562 0.882812 1.023438 1.503906 1.9375 1.503906 s 1.710938 -0.621094 1.9375 -1.503906 c 0.195312 0.757812 -0.066406 1.558594 -0.671875 2.050781 c -0.605469 0.492188 -1.445313 0.585938 -2.144531 0.242188 c -0.855469 -0.414063 -1.296875 -1.375 -1.058594 -2.292969 z m 0 0" fill="#9141ac"/>
<path d="m 66 107 h -10 c -1.105469 0 -2 0.894531 -2 2 s 0.894531 2 2 2 h 10 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 0 0"/>
<path d="m 54.0625 108.5 c -0.152344 0.597656 -0.023438 1.234375 0.355469 1.726562 c 0.378906 0.488282 0.964843 0.773438 1.582031 0.773438 h 10 c 0.617188 0 1.203125 -0.285156 1.582031 -0.773438 c 0.378907 -0.492187 0.511719 -1.128906 0.355469 -1.726562 c -0.226562 0.882812 -1.023438 1.5 -1.9375 1.5 h -10 c -0.914062 0 -1.710938 -0.617188 -1.9375 -1.5 z m 0 0" fill="#9141ac"/>
<path d="m 110 74 h -14 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 14 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 5 h -14 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 14 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 5 h -14 c -0.550781 0 -1 0.449219 -1 1 s 0.449219 1 1 1 h 14 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 z m 0 0" fill="#613583"/>
<path d="m 21.5 79 h -3 c -1.378906 0 -2.5 1.121094 -2.5 2.5 s 1.121094 2.5 2.5 2.5 h 3 c 1.378906 0 2.5 -1.121094 2.5 -2.5 s -1.121094 -2.5 -2.5 -2.5 z m 11 0 h -3 c -1.378906 0 -2.5 1.121094 -2.5 2.5 s 1.121094 2.5 2.5 2.5 h 3 c 1.378906 0 2.5 -1.121094 2.5 -2.5 s -1.121094 -2.5 -2.5 -2.5 z m 0 0"/>
<path d="m 22 79 h -4 c -1.105469 0 -2 0.894531 -2 2 s 0.894531 2 2 2 h 4 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 11 0 h -4 c -1.105469 0 -2 0.894531 -2 2 s 0.894531 2 2 2 h 4 c 1.105469 0 2 -0.894531 2 -2 s -0.894531 -2 -2 -2 z m 0 0" fill="#3d3846"/>
<g clip-path="url(#j)" mask="url(#f)">
<g clip-path="url(#i)" mask="url(#g)">
<path d="m 128 80.640625 v 47.359375 h -128 v -47.359375 z m 0 0" fill="url(#h)"/>
<path d="m 13.308594 80.640625 l 47.355468 47.359375 h 21.214844 l -47.359375 -47.359375 z m 42.421875 0 l 47.363281 47.359375 h 21.214844 l -47.363282 -47.359375 z m 42.429687 0 l 29.839844 29.839844 v -21.210938 l -8.628906 -8.628906 z m -98.160156 7.90625 v 21.214844 l 18.238281 18.238281 h 21.214844 z m 0 0"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 3C1.89543 3 1 3.89543 1 5V11C1 12.1046 1.89543 13 3 13H13C14.1046 13 15 12.1046 15 11V5C15 3.89543 14.1046 3 13 3H3ZM6 5C5.44772 5 5 5.44772 5 6V10C5 10.5523 5.44772 11 6 11H10C10.5523 11 11 10.5523 11 10V6C11 5.44772 10.5523 5 10 5H6ZM12 8C12 7.44772 12.4477 7 13 7C13.5523 7 14 7.44772 14 8C14 8.55228 13.5523 9 13 9C12.4477 9 12 8.55228 12 8ZM3 7C2.44772 7 2 7.44772 2 8C2 8.55228 2.44772 9 3 9C3.55228 9 4 8.55228 4 8C4 7.44772 3.55228 7 3 7Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 618 B

View File

@@ -1,13 +1,11 @@
application_id = 'hu.kramo.Cartridges'
scalable_dir = join_paths('hicolor', 'scalable', 'apps') scalable_dir = join_paths('hicolor', 'scalable', 'apps')
install_data( install_data(
join_paths(scalable_dir, ('@0@.svg').format(application_id)), join_paths(scalable_dir, ('@0@.svg').format(app_id)),
install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir) install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir)
) )
symbolic_dir = join_paths('hicolor', 'symbolic', 'apps') symbolic_dir = join_paths('hicolor', 'symbolic', 'apps')
install_data( install_data(
join_paths(symbolic_dir, ('@0@-symbolic.svg').format(application_id)), join_paths(symbolic_dir, ('@0@-symbolic.svg').format(app_id)),
install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir) install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir)
) )

View File

@@ -1,15 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="300" fill="none"> <svg width="200" height="300" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="url(#a)" d="M0 0h200v300H0z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M63.125 113.125c-8.146 0-14.75 6.604-14.75 14.75v44.25c0 8.146 6.604 14.75 14.75 14.75h73.75c8.146 0 14.75-6.604 14.75-14.75v-44.25c0-8.146-6.604-14.75-14.75-14.75h-73.75Zm22.125 14.75a7.375 7.375 0 0 0-7.375 7.375v29.5a7.375 7.375 0 0 0 7.375 7.375h29.5a7.375 7.375 0 0 0 7.375-7.375v-29.5a7.375 7.375 0 0 0-7.375-7.375h-29.5ZM129.5 150a7.375 7.375 0 1 1 14.75 0 7.375 7.375 0 0 1-14.75 0Zm-66.375-7.375a7.375 7.375 0 1 0 0 14.75 7.375 7.375 0 0 0 0-14.75Z" fill="#fff"/><defs><linearGradient id="a" x1="100" y1="0" x2="100" y2="300" gradientUnits="userSpaceOnUse"><stop stop-color="#9A9996"/><stop offset="1" stop-color="#5E5C64"/></linearGradient></defs></svg>
<path fill="url(#a)" d="M0 0h200v300H0z"/>
<g fill="#241F31" clip-path="url(#b)">
<path d="M49 169.125v15.937C49 193.853 56.147 201 64.938 201h3.187c7.047 0 12.75-5.703 12.75-12.75s5.703-12.75 12.75-12.75 12.75 5.703 12.75 12.75c.872 7.919 8.019 13.622 15.937 12.75 8.791 0 15.938-7.122 15.938-15.938v-15.937c0-14.095-11.405-25.5-25.5-25.5H74.5c-14.095 0-25.5 11.405-25.5 25.5Zm20.719-12.75h3.187c.872 0 1.594.722 1.594 1.594v4.781h4.781c.872 0 1.594.722 1.594 1.594v3.187c0 .897-.722 1.594-1.594 1.594H74.5v4.781c0 .897-.722 1.594-1.594 1.594H69.72a1.573 1.573 0 0 1-1.594-1.594v-4.781h-4.781a1.573 1.573 0 0 1-1.594-1.594v-3.187c0-.872.697-1.594 1.594-1.594h4.781v-4.781c0-.872.697-1.594 1.594-1.594Zm39.843 4.781a4.783 4.783 0 0 1 4.782 4.782 4.783 4.783 0 0 1-4.782 4.781 4.783 4.783 0 0 1-4.781-4.781 4.783 4.783 0 0 1 4.781-4.782Zm12.75 6.375a4.783 4.783 0 0 1 4.782 4.781 4.783 4.783 0 0 1-4.782 4.782 4.783 4.783 0 0 1-4.781-4.782 4.783 4.783 0 0 1 4.781-4.781ZM61.75 118.225c.05 10.558 8.666 19.075 19.225 19.025h50.8c10.609 0 19.225-8.616 19.225-19.225-.05-10.558-8.666-19.075-19.225-19.025h-50.8c-10.609 0-19.225 8.616-19.225 19.225Zm20.52-12.85h3.187c.872 0 1.594.722 1.594 1.594v4.781h4.781c.872 0 1.594.722 1.594 1.594v3.187c0 .897-.722 1.594-1.594 1.594h-4.781v4.781c0 .897-.722 1.594-1.594 1.594h-3.188a1.573 1.573 0 0 1-1.593-1.594v-4.781h-4.782a1.573 1.573 0 0 1-1.593-1.594v-3.187c0-.872.697-1.594 1.593-1.594h4.782v-4.781c0-.872.697-1.594 1.593-1.594Zm39.843 4.781a4.783 4.783 0 0 1 4.782 4.782 4.783 4.783 0 0 1-4.782 4.781 4.783 4.783 0 0 1-4.781-4.781 4.783 4.783 0 0 1 4.781-4.782Zm12.75.199a4.783 4.783 0 0 1 4.782 4.782 4.783 4.783 0 0 1-4.782 4.781 4.783 4.783 0 0 1-4.781-4.781 4.783 4.783 0 0 1 4.781-4.782Z"/>
</g>
<defs>
<linearGradient id="a" x1="100" x2="100" y1="0" y2="300" gradientUnits="userSpaceOnUse">
<stop stop-color="#DEDDDA"/>
<stop offset="1" stop-color="#9A9996"/>
</linearGradient>
<clipPath id="b">
<path fill="#fff" d="M49 99h102v102H49z"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 831 B

View File

@@ -3,14 +3,19 @@ blueprints = custom_target('blueprints',
'gtk/help-overlay.blp', 'gtk/help-overlay.blp',
'gtk/window.blp', 'gtk/window.blp',
'gtk/game.blp', 'gtk/game.blp',
'gtk/preferences.blp' 'gtk/preferences.blp',
'gtk/details_window.blp'
), ),
output: '.', output: '.',
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'], command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
) )
gnome.compile_resources('cartridges', gnome.compile_resources('cartridges',
'cartridges.gresource.xml', configure_file(
input: 'cartridges.gresource.xml.in',
output: 'cartridges.gresource.xml',
configuration: conf
),
gresource_bundle: true, gresource_bundle: true,
install: true, install: true,
install_dir: pkgdatadir, install_dir: pkgdatadir,
@@ -18,8 +23,12 @@ gnome.compile_resources('cartridges',
) )
desktop_file = i18n.merge_file( desktop_file = i18n.merge_file(
input: 'hu.kramo.Cartridges.desktop.in', input: configure_file(
output: 'hu.kramo.Cartridges.desktop', input: 'hu.kramo.Cartridges.desktop.in',
output: app_id + '.desktop.in',
configuration: conf
),
output: app_id + '.desktop',
type: 'desktop', type: 'desktop',
po_dir: '../po', po_dir: '../po',
install: true, install: true,
@@ -32,8 +41,12 @@ if desktop_utils.found()
endif endif
appstream_file = i18n.merge_file( appstream_file = i18n.merge_file(
input: 'hu.kramo.Cartridges.metainfo.xml.in', input: configure_file(
output: 'hu.kramo.Cartridges.metainfo.xml', input: 'hu.kramo.Cartridges.metainfo.xml.in',
output: app_id + '.metainfo.xml.in',
configuration: conf
),
output: app_id + '.metainfo.xml',
po_dir: '../po', po_dir: '../po',
install: true, install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo') install_dir: join_paths(get_option('datadir'), 'metainfo')
@@ -44,7 +57,12 @@ if appstream_util.found()
test('Validate appstream file', appstream_util, args: ['validate', appstream_file]) test('Validate appstream file', appstream_util, args: ['validate', appstream_file])
endif endif
install_data('hu.kramo.Cartridges.gschema.xml', install_data(
configure_file(
input: 'hu.kramo.Cartridges.gschema.xml.in',
output: app_id + '.gschema.xml',
configuration: conf
),
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas') install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
) )

Binary file not shown.

Before

Width:  |  Height:  |  Size: 719 KiB

After

Width:  |  Height:  |  Size: 683 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -0,0 +1,131 @@
{
"id" : "hu.kramo.Cartridges.Devel",
"runtime" : "org.gnome.Platform",
"runtime-version" : "44",
"sdk" : "org.gnome.Sdk",
"command" : "cartridges",
"finish-args" : [
"--share=network",
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland",
"--talk-name=org.freedesktop.Flatpak",
"--filesystem=host:ro",
"--filesystem=~/.var/app/com.valvesoftware.Steam/data/Steam/:ro",
"--filesystem=~/.var/app/net.lutris.Lutris/:ro",
"--filesystem=~/.var/app/com.heroicgameslauncher.hgl/config/heroic/:ro",
"--filesystem=~/.var/app/com.usebottles.bottles/data/bottles/:ro",
"--filesystem=~/.var/app/io.itch.itch/config/itch/:ro"
],
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules" : [
{
"name": "python3-modules",
"buildsystem": "simple",
"build-commands": [],
"modules": [
{
"name": "python3-pyyaml",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pyyaml\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/36/2b/61d51a2c4f25ef062ae3f74576b01638bebad5e045f747ff12643df63844/PyYAML-6.0.tar.gz",
"sha256": "68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2"
}
]
},
{
"name": "python3-requests",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"requests\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/71/4c/3db2b8021bd6f2f0ceb0e088d6b2d49147671f25832fb17970e9b583d742/certifi-2022.12.7-py3-none-any.whl",
"sha256": "4ad3232f5e926d6718ec31cfc1fcadfde020920e278684144551c91769c7bc18"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ff/d7/8d757f8bd45be079d76309248845a04f09619a7b17d6dfc8c9ff6433cac2/charset-normalizer-3.1.0.tar.gz",
"sha256": "34e0a2f9c370eb95597aae63bf85eb5e96826d81e3dcf88b8886012906f509b5"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl",
"sha256": "90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/d2/f4/274d1dbe96b41cf4e0efb70cbced278ffd61b5c7bb70338b62af94ccb25b/requests-2.28.2-py3-none-any.whl",
"sha256": "64299f4909223da747622c030b781c0d7811e359c37124b4bd368fb8c6518baa"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/7b/f5/890a0baca17a61c1f92f72b81d3c31523c99bec609e60c292ea55b387ae8/urllib3-1.26.15-py2.py3-none-any.whl",
"sha256": "aa751d169e23c7479ce47a0cb0da579e3ede798f994f5816a74e4f4500dcea42"
}
]
},
{
"name": "python3-pillow",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pillow\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/00/d5/4903f310765e0ff2b8e91ffe55031ac6af77d982f0156061e20a4d1a8b2d/Pillow-9.5.0.tar.gz",
"sha256": "bf548479d336726d7a0eceb6e767e179fbde37833ae42794602631a070d630f1"
}
]
}
]
},
{
"name" : "blueprint-compiler",
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler",
"tag" : "v0.8.1"
}
],
"cleanup" : [
"*"
]
},
{
"name" : "cartridges",
"builddir" : true,
"buildsystem" : "meson",
"config-opts": [
"-Dprofile=development"
],
"sources" : [
{
"type" : "dir",
"path" : ".."
}
]
}
]
}

View File

@@ -1,74 +0,0 @@
{
"id" : "hu.kramo.Cartridges",
"runtime" : "org.gnome.Platform",
"runtime-version" : "44",
"sdk" : "org.gnome.Sdk",
"command" : "cartridges",
"finish-args" : [
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland",
"--talk-name=org.freedesktop.Flatpak",
"--talk-name=org.gtk.vfs.*",
"--filesystem=xdg-run/gvfsd",
"--filesystem=~/.steam/steam/:ro",
"--filesystem=xdg-config/heroic/:ro",
"--filesystem=xdg-data/bottles/:ro",
"--filesystem=~/.var/app/com.valvesoftware.Steam/data/Steam/:ro",
"--filesystem=~/.var/app/com.heroicgameslauncher.hgl/config/heroic/:ro",
"--filesystem=~/.var/app/com.usebottles.bottles/data/bottles/:ro"
],
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules" : [
{
"name": "python3-pyyaml",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pyyaml\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/36/2b/61d51a2c4f25ef062ae3f74576b01638bebad5e045f747ff12643df63844/PyYAML-6.0.tar.gz",
"sha256": "68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2"
}
]
},
{
"name" : "blueprint-compiler",
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler",
"tag" : "v0.6.0"
}
]
},
{
"name" : "cartridges",
"builddir" : true,
"buildsystem" : "meson",
"sources" : [
{
"type" : "dir",
"path" : "."
}
]
}
],
"build-options" : {
"env" : { }
}
}

View File

@@ -1,14 +1,32 @@
project('cartridges', project('cartridges',
version: '1.0', version: '1.5.4',
meson_version: '>= 0.59.0', meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2', 'werror=false', ], default_options: [ 'warning_level=2', 'werror=false', ],
) )
i18n = import('i18n') i18n = import('i18n')
gnome = import('gnome') gnome = import('gnome')
python = import('python')
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name()) pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
profile = get_option('profile')
if profile == 'development'
app_id = 'hu.kramo.Cartridges.Devel'
prefix = '/hu/kramo/Cartridges/Devel'
elif profile == 'release'
app_id = 'hu.kramo.Cartridges'
prefix = '/hu/kramo/Cartridges'
endif
conf = configuration_data()
conf.set('PYTHON', python.find_installation('python3').full_path())
conf.set('APP_ID', app_id)
conf.set('PREFIX', prefix)
conf.set('VERSION', meson.project_version())
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
conf.set('pkgdatadir', pkgdatadir)
subdir('data') subdir('data')
subdir('src') subdir('src')
subdir('po') subdir('po')

9
meson_options.txt Normal file
View File

@@ -0,0 +1,9 @@
option(
'profile',
type: 'combo',
choices: [
'release',
'development',
],
value: 'release'
)

View File

@@ -8,3 +8,13 @@ it
ar ar
es es
fi fi
pt
ru
ko
de
ro
pt_BR
fa
pl
sv
tr

View File

@@ -1,19 +1,19 @@
data/hu.kramo.Cartridges.desktop.in data/hu.kramo.Cartridges.desktop.in
data/hu.kramo.Cartridges.gschema.xml data/hu.kramo.Cartridges.gschema.xml.in
data/hu.kramo.Cartridges.metainfo.xml.in data/hu.kramo.Cartridges.metainfo.xml.in
data/gtk/window.blp data/gtk/details_window.blp
data/gtk/game.blp data/gtk/game.blp
data/gtk/help-overlay.blp data/gtk/help-overlay.blp
data/gtk/preferences.blp data/gtk/preferences.blp
data/gtk/window.blp
src/main.py src/main.py
src/window.py src/window.py
src/details_window.py
src/game.py src/game.py
src/preferences.py src/preferences.py
src/utils/bottles_parser.py
src/utils/create_details_window.py
src/utils/create_dialog.py src/utils/create_dialog.py
src/utils/heroic_parser.py src/utils/importer.py
src/utils/steam_parser.py src/utils/steamgriddb.py

845
po/ar.po

File diff suppressed because it is too large Load Diff

View File

@@ -1,14 +1,14 @@
# SOME DESCRIPTIVE TITLE. # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) YEAR kramo
# This file is distributed under the same license as the cartridges package. # This file is distributed under the same license as the Cartridges package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy #, fuzzy
msgid "" 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-25 11:25+0100\n" "POT-Creation-Date: 2023-05-25 17:48+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"
@@ -18,8 +18,8 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: 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:48
#: src/main.py:115 #: src/main.py:109
msgid "Cartridges" msgid "Cartridges"
msgstr "" msgstr ""
@@ -28,482 +28,530 @@ msgid "Game Launcher"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:5 #: data/hu.kramo.Cartridges.desktop.in:5
msgid "Launch your games"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:7 #: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games" msgid "Launch all your games"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "" msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
"Cartridges is a simple game launcher. It has support for importing your "
"games from Steam, Heroic and Bottles with organizational features such as "
"hiding and sorting by date added or last played."
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
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 ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
#: src/utils/create_details_window.py:48
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
msgid "Game Details" 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:42 data/gtk/window.blp:417
#: src/utils/steam_parser.py:170 #: src/utils/importer.py:92 src/utils/importer.py:124
#: src/utils/steamgriddb.py:115
msgid "Preferences" msgid "Preferences"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:41 #: data/gtk/details_window.blp:25
msgid "First stable release" msgid "Cancel"
msgstr "" msgstr ""
#: data/gtk/window.blp:6 src/utils/bottles_parser.py:140 #: data/gtk/details_window.blp:57
#: src/utils/heroic_parser.py:250 src/utils/steam_parser.py:167 msgid "New Cover"
msgid "No Games Found"
msgstr "" msgstr ""
#: data/gtk/window.blp:7 #: data/gtk/details_window.blp:75
msgid "Try a different search." msgid "Delete Cover"
msgstr "" msgstr ""
#: data/gtk/window.blp:14 #: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
msgid "No Games" #: data/gtk/game.blp:80
msgstr ""
#: data/gtk/window.blp:15
msgid "Use the + button to add games."
msgstr ""
#: data/gtk/window.blp:22
msgid "No Hidden Games"
msgstr ""
#: data/gtk/window.blp:23
msgid "Games you hide will appear here."
msgstr ""
#: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Back"
msgstr ""
#: data/gtk/window.blp:92
msgid "Game Title"
msgstr ""
#: data/gtk/window.blp:148 data/gtk/game.blp:35
msgid "Play"
msgstr ""
#: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Add Game"
msgstr ""
#: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:210 data/gtk/window.blp:273
msgid "Search"
msgstr ""
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr ""
#: data/gtk/window.blp:321
msgid "Sort"
msgstr ""
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:336
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr ""
#: data/gtk/window.blp:388
msgid "Import from"
msgstr ""
#: data/gtk/window.blp:390
msgid "Steam"
msgstr ""
#: data/gtk/window.blp:395
msgid "Heroic"
msgstr ""
#: data/gtk/window.blp:400
msgid "Bottles"
msgstr ""
#: data/gtk/game.blp:61 src/utils/create_details_window.py:94
msgid "Title" msgid "Title"
msgstr "" msgstr ""
#: data/gtk/game.blp:83 data/gtk/game.blp:102 #: data/gtk/details_window.blp:102
msgid "The title of the game"
msgstr ""
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
msgid "Developer"
msgstr ""
#: data/gtk/details_window.blp:113
msgid "The developer or publisher (optional)"
msgstr ""
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
msgid "Executable"
msgstr ""
#: data/gtk/details_window.blp:124
msgid "File to open or command to run when launching the game"
msgstr ""
#: data/gtk/details_window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: data/gtk/game.blp:88 #: data/gtk/game.blp:107 src/window.py:205
msgid "Hide" msgid "Hide"
msgstr "" msgstr ""
#: data/gtk/game.blp:93 data/gtk/game.blp:112 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:210
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: data/gtk/game.blp:107 #: data/gtk/game.blp:126 src/window.py:207
msgid "Unhide" msgid "Unhide"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:11 #: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgctxt "shortcut window"
msgid "General" msgid "General"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14
msgctxt "shortcut window"
msgid "Quit" msgid "Quit"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:19 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
msgctxt "shortcut window" #: data/gtk/window.blp:324
msgid "Search" msgid "Search"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24
msgctxt "shortcut window"
msgid "Show preferences" msgid "Show preferences"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29
msgctxt "shortcut window"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:34 #: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
msgctxt "shortcut window"
msgid "Undo" msgid "Undo"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:39
msgctxt "shortcut window"
msgid "Open menu" msgid "Open menu"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:45
msgctxt "shortcut window"
msgid "Games" msgid "Games"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:48
msgctxt "shortcut 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" msgid "Import games"
msgstr ""
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games" msgid "Show hidden games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:10 #: data/gtk/help-overlay.blp:63
msgid "General" msgid "Remove game"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:13 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
msgid "Behavior"
msgstr ""
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:25
msgid "Steam Install Location" msgid "Cover Image Launches Game"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:64 #: data/gtk/preferences.blp:26
#: data/gtk/preferences.blp:102 msgid "Swaps the behavior of the cover image and the play button"
msgid "Directory to use when importing games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:34 #: data/gtk/preferences.blp:36 src/details_window.py:84
msgid "Extra Steam Libraries" msgid "Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:35 #: data/gtk/preferences.blp:39
msgid "Select other directories where you have Steam games installed" msgid "High Quality Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:42 #: data/gtk/preferences.blp:40
msgid "Clear" msgid "Save game covers losslessly at the cost of storage"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:63 #: data/gtk/preferences.blp:50
msgid "Heroic Install Location" msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
msgid "Import"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:73
msgid "Sources"
msgstr ""
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr ""
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr ""
#: data/gtk/preferences.blp:90
msgid "Lutris"
msgstr ""
#: data/gtk/preferences.blp:94
msgid "Lutris Install Location"
msgstr ""
#: data/gtk/preferences.blp:103
msgid "Lutris Cache Location"
msgstr ""
#: data/gtk/preferences.blp:112
msgid "Import Steam Games"
msgstr ""
#: data/gtk/preferences.blp:122
msgid "Heroic"
msgstr ""
#: data/gtk/preferences.blp:126
msgid "Heroic Install Location"
msgstr ""
#: data/gtk/preferences.blp:135
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:81 #: data/gtk/preferences.blp:144
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:89 #: data/gtk/preferences.blp:153
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:101 #: data/gtk/preferences.blp:163
msgid "Bottles"
msgstr ""
#: data/gtk/preferences.blp:167
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:177
msgid "itch"
msgstr ""
#: data/gtk/preferences.blp:181
msgid "itch Install Location"
msgstr ""
#: data/gtk/preferences.blp:194
msgid "SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:198
msgid "Authentication"
msgstr ""
#: data/gtk/preferences.blp:201
msgid "API Key"
msgstr ""
#: data/gtk/preferences.blp:209
msgid "Use SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:210
msgid "Download images when adding or importing games"
msgstr ""
#: data/gtk/preferences.blp:219
msgid "Prefer Over Official Images"
msgstr ""
#: data/gtk/preferences.blp:228
msgid "Prefer Animated Images"
msgstr ""
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr ""
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr ""
#: data/gtk/window.blp:22
msgid "No Games"
msgstr ""
#: data/gtk/window.blp:23
msgid "Use the + button to add games."
msgstr ""
#: data/gtk/window.blp:41
msgid "No Hidden Games"
msgstr ""
#: data/gtk/window.blp:42
msgid "Games you hide will appear here."
msgstr ""
#: data/gtk/window.blp:65 data/gtk/window.blp:305
msgid "Back"
msgstr ""
#: data/gtk/window.blp:122
msgid "Game Title"
msgstr ""
#: data/gtk/window.blp:177
msgid "Play"
msgstr ""
#: data/gtk/window.blp:244 data/gtk/window.blp:436
msgid "Add Game"
msgstr ""
#: data/gtk/window.blp:251 data/gtk/window.blp:317
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:312
msgid "Hidden Games"
msgstr ""
#: data/gtk/window.blp:375
msgid "Sort"
msgstr ""
#: data/gtk/window.blp:378
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:384
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:390
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:396
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:402
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:409
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:422
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:427
msgid "About Cartridges"
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:127
msgid "translator_credits" msgid "translator_credits"
msgstr "" msgstr ""
#: src/main.py:193 #: src/window.py:187
#, python-brace-format
msgid "{title} removed"
msgstr ""
#: src/main.py:194
msgid "Undo"
msgstr ""
#: src/window.py:235
msgid "Today" msgid "Today"
msgstr "" msgstr ""
#: src/window.py:237 #: src/window.py:189
msgid "Yesterday" msgid "Yesterday"
msgstr "" msgstr ""
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:271 #: src/window.py:228
#, python-brace-format msgid "Added: {}"
msgid "Added: {date}"
msgstr "" msgstr ""
#: src/window.py:276 #: src/window.py:231
msgid "Never" msgid "Never"
msgstr "" msgstr ""
#. The variable is the date when the game was last played #. The variable is the date when the game was last played
#: src/window.py:280 #: src/window.py:235
#, python-brace-format msgid "Last played: {}"
msgid "Last played: {last_played_date}"
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/details_window.py:75
#: src/utils/steam_parser.py:245
msgid "Couldn't Import Games"
msgstr ""
#: src/utils/bottles_parser.py:81
msgid "The Bottles directory cannot be found."
msgstr ""
#: src/utils/bottles_parser.py:83
msgid "Set Bottles Location"
msgstr ""
#: src/utils/bottles_parser.py:141
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."
msgstr ""
#. The variable is the number of games
#: src/utils/bottles_parser.py:155 src/utils/heroic_parser.py:265
#: src/utils/steam_parser.py:185
#, python-brace-format
msgid "Successfully imported {games_no} games."
msgstr ""
#: src/utils/create_details_window.py:41
msgid "Add New Game"
msgstr ""
#: src/utils/create_details_window.py:46
msgid "Confirm"
msgstr ""
#: src/utils/create_details_window.py:57
msgid "Apply" msgid "Apply"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:59 #: src/details_window.py:81
msgid "Images" msgid "Add New Game"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:95 #: src/details_window.py:82
msgid "The title of the game" msgid "Confirm"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:100 #. Translate this string as you would translate "file"
msgid "Developer" #: src/details_window.py:94
msgstr ""
#: src/utils/create_details_window.py:101
msgid "The developer or publisher (optional)"
msgstr ""
#: src/utils/create_details_window.py:111
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr ""
#. As in software #. As in software
#: src/utils/create_details_window.py:113 #: src/details_window.py:96
msgid "program" msgid "program"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:117 #. Translate this string as you would translate "path to {}"
#, python-brace-format #: src/details_window.py:101 src/details_window.py:103
msgid "C:\\path\\to\\{exe_name}" msgid "C:\\path\\to\\{}"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:118 #. Translate this string as you would translate "path to {}"
#, python-brace-format #: src/details_window.py:107 src/details_window.py:109
msgid "C:\\path\\to\\{file_name}" msgid "/path/to/{}"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:121 #: src/details_window.py:113
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr ""
#: src/utils/create_details_window.py:122
#, python-brace-format
msgid "/path/to/{file_name}"
msgstr ""
#: src/utils/create_details_window.py:126
#, python-brace-format
msgid "" msgid ""
"To launch the executable \"{exe_name}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
"<tt>\"{exe_path}\"</tt>\n" "<tt>\"{}\"</tt>\n"
"\n" "\n"
"To open the file \"{file_name}\" with the default application, use:\n" "To open the file \"{}\" with the default application, use:\n"
"\n" "\n"
"<tt>{command} \"{file_path}\"</tt>\n" "<tt>{} \"{}\"</tt>\n"
"\n" "\n"
"If the path contains spaces, make sure to wrap it in double quotes!" "If the path contains spaces, make sure to wrap it in double quotes!"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:149 #: src/details_window.py:143 src/details_window.py:149
msgid "Executable"
msgstr ""
#: src/utils/create_details_window.py:150
msgid "File to open or command to run when launching the game"
msgstr ""
#: src/utils/create_details_window.py:162
msgid "Cancel"
msgstr ""
#: src/utils/create_details_window.py:212
#: src/utils/create_details_window.py:222
#: src/utils/create_details_window.py:228
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:214 #: src/details_window.py:143 src/details_window.py:176
#: src/utils/create_details_window.py:252
#: src/utils/create_details_window.py:260
msgid "Couldn't Apply Preferences"
msgstr ""
#: src/utils/create_details_window.py:222
#: src/utils/create_details_window.py:253
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "" msgstr ""
#: src/utils/create_details_window.py:228 #: src/details_window.py:149 src/details_window.py:184
#: src/utils/create_details_window.py:261
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:175 src/details_window.py:183
msgid "Couldn't Apply Preferences"
msgstr ""
#. The variable is the title of the game
#: src/game.py:208
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/game.py:220
msgid "{} hidden"
msgstr ""
#: src/game.py:220
msgid "{} unhidden"
msgstr ""
#. The variable is the title of the game
#: src/game.py:233
msgid "{} removed"
msgstr ""
#: src/preferences.py:97
msgid "All games removed"
msgstr ""
#: src/preferences.py:136
msgid "Cache Not Found"
msgstr ""
#: src/preferences.py:137
msgid "Select the Lutris cache directory."
msgstr ""
#: src/preferences.py:139 src/preferences.py:292
msgid "Set Location"
msgstr ""
#: src/preferences.py:166
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/preferences.py:286
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:288
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:290
msgid "Select the {} data directory."
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 #: src/utils/importer.py:41
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…" msgid "Importing Games…"
msgstr "" msgstr ""
#: src/utils/steam_parser.py:266 #: src/utils/importer.py:76
msgid "Talking to Steam" msgid "Importing Covers…"
msgstr ""
#: src/utils/importer.py:91
msgid "No new games found"
msgstr ""
#: src/utils/importer.py:98
msgid "1 game imported"
msgstr ""
#. The variable is the number of games
#: src/utils/importer.py:104
msgid "{} games imported"
msgstr ""
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
msgid "Couldn't Connect to SteamGridDB"
msgstr "" msgstr ""

620
po/de.po Normal file
View File

@@ -0,0 +1,620 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# Jummit <jummit@web.de>, 2023.
# WebSnke <websnke@tutanota.com>, 2023.
# Ettore Atalan <atalanttore@googlemail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
"PO-Revision-Date: 2023-04-17 17:20+0000\n"
"Last-Translator: Ettore Atalan <atalanttore@googlemail.com>\n"
"Language-Team: German <https://hosted.weblate.org/projects/cartridges/"
"cartridges/de/>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"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\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
#: src/main.py:109
msgid "Cartridges"
msgstr "Cartridges"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Spiele-Launcher"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Starte all deine Spiele"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
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 ist ein einfacher Spiel-Launcher. Es unterstützt das Importieren "
"von Spielen aus Steam, Lutris, Heroic und mehr, keine Anmeldung "
"erforderlich. Du kannst sortieren, Spiele verstecken oder das Cover-Art aus "
"SteamGRID herunterladen."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Bibliothek"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
msgid "Edit Game Details"
msgstr "Spieldetails bearbeiten"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
msgid "Game Details"
msgstr "Spieldetails"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
#: src/utils/importer.py:92 src/utils/importer.py:124
#: src/utils/steamgriddb.py:115
msgid "Preferences"
msgstr "Einstellungen"
#: data/gtk/details_window.blp:25
msgid "Cancel"
msgstr "Abbrechen"
#: data/gtk/details_window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details_window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Titel"
#: data/gtk/details_window.blp:102
msgid "The title of the game"
msgstr "Der Titel des Spiels"
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
msgid "Developer"
msgstr "Entwickler"
#: data/gtk/details_window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Der Entwickler oder Verlag (optional)"
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
msgid "Executable"
msgstr "Ausführbare Datei"
#: data/gtk/details_window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Datei zum Öffnen oder Befehl zum Starten des Spiels"
#: data/gtk/details_window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
msgid "Edit"
msgstr "Bearbeiten"
#: data/gtk/game.blp:107 src/window.py:205
msgid "Hide"
msgstr "Verstecken"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:210
msgid "Remove"
msgstr "Entfernen"
#: data/gtk/game.blp:126 src/window.py:207
msgid "Unhide"
msgstr "Unverstecken"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Allgemein"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Beenden"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
#: data/gtk/window.blp:324
msgid "Search"
msgstr "Suchen"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Einstellungen anzeigen"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Kürzel"
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
msgid "Undo"
msgstr "Rückgängig"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Menü öffnen"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Spiele"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Neues Spiel hinzufügen"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Spiele importieren"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Ausgeblendete Spiele anzeigen"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Spiel entfernen"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
msgid "Behavior"
msgstr "Verhalten"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Nach dem Starten von Spielen beenden"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Coverbild Startet Spiel"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Tauscht das Verhalten des Covers und des Spielen-Knopfes"
#: data/gtk/preferences.blp:36 src/details_window.py:84
msgid "Images"
msgstr "Bilder"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Hochaufgelöste Bilder"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr "Speichere Spielcovers verlustfrei auf Kosten des Speicherplatzes"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Gefahrenzone"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Alle Spiele entfernen"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
msgid "Import"
msgstr "Importieren"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Quellen"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Steam-Installationsort"
#: data/gtk/preferences.blp:90
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:94
msgid "Lutris Install Location"
msgstr "Lutris-Installationsort"
#: data/gtk/preferences.blp:103
msgid "Lutris Cache Location"
msgstr "Lutris-Cacheort"
#: data/gtk/preferences.blp:112
msgid "Import Steam Games"
msgstr "Steam-Spiele importieren"
#: data/gtk/preferences.blp:122
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:126
msgid "Heroic Install Location"
msgstr "Heroic-Installationsort"
#: data/gtk/preferences.blp:135
msgid "Import Epic Games"
msgstr "Epic Games importieren"
#: data/gtk/preferences.blp:144
msgid "Import GOG Games"
msgstr "GOG-Spiele importieren"
#: data/gtk/preferences.blp:153
msgid "Import Sideloaded Games"
msgstr "Sideloaded-Spiele importieren"
#: data/gtk/preferences.blp:163
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:167
msgid "Bottles Install Location"
msgstr "Bottles-Installationsort"
#: data/gtk/preferences.blp:177
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:181
msgid "itch Install Location"
msgstr "itch-Installationsort"
#: data/gtk/preferences.blp:194
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:198
msgid "Authentication"
msgstr "Authentifizierung"
#: data/gtk/preferences.blp:201
msgid "API Key"
msgstr "API-Schlüssel"
#: data/gtk/preferences.blp:209
msgid "Use SteamGridDB"
msgstr "SteamGridDB benutzen"
#: data/gtk/preferences.blp:210
msgid "Download images when adding or importing games"
msgstr "Lade Bilder herunter, wenn Spiele hinzugefügt oder importiert werden"
#: data/gtk/preferences.blp:219
msgid "Prefer Over Official Images"
msgstr "Über offizielien Images bevorzugen"
#: data/gtk/preferences.blp:228
msgid "Prefer Animated Images"
msgstr "Animierte Bilder bevorzugen"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Keine Spiele gefunden"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Versuche eine andere Suche."
#: data/gtk/window.blp:22
msgid "No Games"
msgstr "Keine Spiele"
#: data/gtk/window.blp:23
msgid "Use the + button to add games."
msgstr "Benutze denn + Knopf um Spiele hinzuzufügen."
#: data/gtk/window.blp:41
msgid "No Hidden Games"
msgstr "Keine versteckten Spiele"
#: data/gtk/window.blp:42
msgid "Games you hide will appear here."
msgstr "Ausgeblendete Spiele, werden hier angezeigt."
#: data/gtk/window.blp:65 data/gtk/window.blp:305
msgid "Back"
msgstr "Zurück"
#: data/gtk/window.blp:122
msgid "Game Title"
msgstr "Spieltitel"
#: data/gtk/window.blp:177
msgid "Play"
msgstr "Spielen"
#: data/gtk/window.blp:244 data/gtk/window.blp:436
msgid "Add Game"
msgstr "Spiel hinzufügen"
#: data/gtk/window.blp:251 data/gtk/window.blp:317
msgid "Main Menu"
msgstr "Hauptmenü"
#: data/gtk/window.blp:312
msgid "Hidden Games"
msgstr "Ausgeblendete Spiele"
#: data/gtk/window.blp:375
msgid "Sort"
msgstr "Sortierung"
#: data/gtk/window.blp:378
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:384
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:390
msgid "Newest"
msgstr "Neuestes"
#: data/gtk/window.blp:396
msgid "Oldest"
msgstr "Älteste"
#: data/gtk/window.blp:402
msgid "Last Played"
msgstr "Zuletzt gespielt"
#: data/gtk/window.blp:409
msgid "Show Hidden"
msgstr "Ausgeblendete anzeigen"
#: data/gtk/window.blp:422
msgid "Keyboard Shortcuts"
msgstr "Tastaturkürzel"
#: data/gtk/window.blp:427
msgid "About Cartridges"
msgstr "Über Cartridges"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:127
msgid "translator_credits"
msgstr "Feliks Weber"
#: src/window.py:187
msgid "Today"
msgstr "Heute"
#: src/window.py:189
msgid "Yesterday"
msgstr "Gestern"
#. The variable is the date when the game was added
#: src/window.py:228
msgid "Added: {}"
msgstr "Hinzugefügt: {}"
#: src/window.py:231
msgid "Never"
msgstr "Nie"
#. The variable is the date when the game was last played
#: src/window.py:235
msgid "Last played: {}"
msgstr "Zuletzt gespielt: {}"
#: src/details_window.py:75
msgid "Apply"
msgstr "Anwenden"
#: src/details_window.py:81
msgid "Add New Game"
msgstr "Neues Spiel hinzufügen"
#: src/details_window.py:82
msgid "Confirm"
msgstr "Bestätigen"
#. Translate this string as you would translate "file"
#: src/details_window.py:94
msgid "file.txt"
msgstr "datei.txt"
#. As in software
#: src/details_window.py:96
msgid "program"
msgstr "Programm"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:101 src/details_window.py:103
msgid "C:\\path\\to\\{}"
msgstr "C:\\pfad\\zu\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:107 src/details_window.py:109
msgid "/path/to/{}"
msgstr "/pfad/zu/{}"
#: src/details_window.py:113
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Verwende diesen Kommando um die ausführbare Datei \"{}\" zu starten:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Um die Datei \"{}\" mit der Standardanwendung zu öffnen, benutze:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Falls der Pfad Leerzeichen enthält, stelle sicher ihn in doppelte "
"Anführungszeichen zu setzen!"
#: src/details_window.py:143 src/details_window.py:149
msgid "Couldn't Add Game"
msgstr "Konnte Spiel nicht hinzufügen"
#: src/details_window.py:143 src/details_window.py:176
msgid "Game title cannot be empty."
msgstr "Spieltitel kann nicht leer sein."
#: src/details_window.py:149 src/details_window.py:184
msgid "Executable cannot be empty."
msgstr "Ausführbare Datei darf nicht leer sein."
#: src/details_window.py:175 src/details_window.py:183
msgid "Couldn't Apply Preferences"
msgstr "Einstellungen konnten nicht angewendet werden"
#. The variable is the title of the game
#: src/game.py:208
msgid "{} launched"
msgstr "{} gestartet"
#. The variable is the title of the game
#: src/game.py:220
msgid "{} hidden"
msgstr "{} versteckt"
#: src/game.py:220
msgid "{} unhidden"
msgstr "{} unversteckt"
#. The variable is the title of the game
#: src/game.py:233
msgid "{} removed"
msgstr "{} entfernt"
#: src/preferences.py:97
msgid "All games removed"
msgstr "Alle Spiele entfernt"
#: src/preferences.py:136
msgid "Cache Not Found"
msgstr "Cache nicht gefunden"
#: src/preferences.py:137
msgid "Select the Lutris cache directory."
msgstr "Wähle das Lutris-Cache-Verzeichnis aus."
#: src/preferences.py:139 src/preferences.py:292
msgid "Set Location"
msgstr "Ort festlegen"
#: src/preferences.py:166
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Für die Nutzung von SteamGridDB ist ein API-Schlüssel erforderlich. Sie "
"können ihn {}hier{} generieren."
#: src/preferences.py:286
msgid "Installation Not Found"
msgstr "Installation nicht gefunden"
#. The variable is the name of the game launcher
#: src/preferences.py:288
msgid "Select the {} configuration directory."
msgstr "Wähle das Konfigurationsverzeichnis von {} aus."
#. The variable is the name of the game launcher
#: src/preferences.py:290
msgid "Select the {} data directory."
msgstr "Wähle das Datenverzeichnis von {} aus."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Verstanden"
#: src/utils/importer.py:41
msgid "Importing Games…"
msgstr "Spiele werden importiert…"
#: src/utils/importer.py:76
msgid "Importing Covers…"
msgstr "Spielecover werden importiert…"
#: src/utils/importer.py:91
#, fuzzy
#| msgid "No Games Found"
msgid "No new games found"
msgstr "Keine Spiele gefunden"
#: src/utils/importer.py:98
#, fuzzy
#| msgid "Game Imported"
msgid "1 game imported"
msgstr "Spiel Importiert"
#. The variable is the number of games
#: src/utils/importer.py:104
#, fuzzy
#| msgid "Games Imported"
msgid "{} games imported"
msgstr "Spiele importiert"
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
msgid "Couldn't Connect to SteamGridDB"
msgstr "Verbindung zu SteamGridDB konnte nicht hergestellt werden"
#~ msgid "Directory to use when importing games"
#~ msgstr "Verzeichnis, das beim Importieren von Spielen verwendet wird"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Extra Steam-Bibliotheken"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr ""
#~ "Wähle andere Verzeichnisse in denen du Steam-Spiele installiert hast"
#~ msgid "Clear"
#~ msgstr "Löchen"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Verzeichnis für den Import von Spiel-Covern"
#~ msgid "Details"
#~ msgstr "Details"
#~ msgid "No new games were found on your system."
#~ msgstr "Keine neuen Spiele auf deinem System gefunden."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Erfolgreich 1 Spiel importiert."
#~ msgid "Successfully imported {} games."
#~ msgstr "Erfolgreich {} Spiele importiert."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Sieht aus als hättest du mehrere Steam-Bibliotheken. Möchtest du sie in "
#~ "den Einstellungen hinzufügen?"
#~ msgid "Launch your games"
#~ msgstr "Starte deine Spiele"

852
po/es.po

File diff suppressed because it is too large Load Diff

563
po/fa.po Normal file
View File

@@ -0,0 +1,563 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# سید حسین موسوی فرد <shmf1385@protonmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
"PO-Revision-Date: 2023-04-22 10:48+0000\n"
"Last-Translator: سید حسین موسوی فرد <shmf1385@protonmail.com>\n"
"Language-Team: Persian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/fa/>\n"
"Language: fa\n"
"MIME-Version: 1.0\n"
"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.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
#: src/main.py:109
msgid "Cartridges"
msgstr "کارتریج‌ها"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "اجراگر بازی"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "اجرای همهٔ بازی‌های شما"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
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 ""
"کارتریج یک اجراگر سادهٔ بازی برای همهٔ بازی‌های شماست. کارتریج می‌تواند بدون "
"نیاز به ورود، بازی‌های شما را از استیم، لوتریس، هیروییک و... وارد کند. شما "
"می‌توانید بازی‌های خود را پنهان کنید یا جلدشان را از SteamGridDB بارگیری کنید."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "کتاب‌خانه"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
msgid "Edit Game Details"
msgstr "ویرایش جزییات بازی"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
msgid "Game Details"
msgstr "جزییات بازی"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
#: src/utils/importer.py:92 src/utils/importer.py:124
#: src/utils/steamgriddb.py:115
msgid "Preferences"
msgstr "ترجیحات"
#: data/gtk/details_window.blp:25
msgid "Cancel"
msgstr ""
#: data/gtk/details_window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details_window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "عنوان"
#: data/gtk/details_window.blp:102
msgid "The title of the game"
msgstr ""
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
msgid "Developer"
msgstr ""
#: data/gtk/details_window.blp:113
msgid "The developer or publisher (optional)"
msgstr ""
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
msgid "Executable"
msgstr ""
#: data/gtk/details_window.blp:124
msgid "File to open or command to run when launching the game"
msgstr ""
#: data/gtk/details_window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
msgid "Edit"
msgstr "ویرایش"
#: data/gtk/game.blp:107 src/window.py:205
msgid "Hide"
msgstr "پنهان کردن"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:210
msgid "Remove"
msgstr "حذف"
#: data/gtk/game.blp:126 src/window.py:207
msgid "Unhide"
msgstr "پیدا کردن"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "عمومی"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "خروج"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
#: data/gtk/window.blp:324
msgid "Search"
msgstr "جست‌وجو"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "نمایش ترجیحات"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "میانبرها"
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
msgid "Undo"
msgstr "برگردان"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "گشودن فهرست"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "بازی‌ها"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "افزدون بازی"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "درون‌ریزی بازی"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "نمایش بازی‌های پنهان"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "حذف کردن بازی"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
msgid "Behavior"
msgstr ""
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "خروج پس از اجرا کردن بازی"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "عکس جلد بازی را باز می‌کند"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr ""
#: data/gtk/preferences.blp:36 src/details_window.py:84
msgid "Images"
msgstr "عکس‌ها"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "عکس‌های با کیفیت بالا"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "منطقهٔ خطر"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "حذف کردن همهٔ بازی‌ها"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
msgid "Import"
msgstr "درون‌ریزی"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "منبع‌ها"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "استیم"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr ""
#: data/gtk/preferences.blp:90
msgid "Lutris"
msgstr ""
#: data/gtk/preferences.blp:94
msgid "Lutris Install Location"
msgstr ""
#: data/gtk/preferences.blp:103
msgid "Lutris Cache Location"
msgstr ""
#: data/gtk/preferences.blp:112
msgid "Import Steam Games"
msgstr ""
#: data/gtk/preferences.blp:122
msgid "Heroic"
msgstr ""
#: data/gtk/preferences.blp:126
msgid "Heroic Install Location"
msgstr ""
#: data/gtk/preferences.blp:135
msgid "Import Epic Games"
msgstr ""
#: data/gtk/preferences.blp:144
msgid "Import GOG Games"
msgstr ""
#: data/gtk/preferences.blp:153
msgid "Import Sideloaded Games"
msgstr ""
#: data/gtk/preferences.blp:163
msgid "Bottles"
msgstr ""
#: data/gtk/preferences.blp:167
msgid "Bottles Install Location"
msgstr ""
#: data/gtk/preferences.blp:177
msgid "itch"
msgstr ""
#: data/gtk/preferences.blp:181
msgid "itch Install Location"
msgstr ""
#: data/gtk/preferences.blp:194
msgid "SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:198
msgid "Authentication"
msgstr ""
#: data/gtk/preferences.blp:201
msgid "API Key"
msgstr ""
#: data/gtk/preferences.blp:209
msgid "Use SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:210
msgid "Download images when adding or importing games"
msgstr ""
#: data/gtk/preferences.blp:219
msgid "Prefer Over Official Images"
msgstr ""
#: data/gtk/preferences.blp:228
msgid "Prefer Animated Images"
msgstr ""
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr ""
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr ""
#: data/gtk/window.blp:22
msgid "No Games"
msgstr ""
#: data/gtk/window.blp:23
msgid "Use the + button to add games."
msgstr ""
#: data/gtk/window.blp:41
msgid "No Hidden Games"
msgstr ""
#: data/gtk/window.blp:42
msgid "Games you hide will appear here."
msgstr ""
#: data/gtk/window.blp:65 data/gtk/window.blp:305
msgid "Back"
msgstr ""
#: data/gtk/window.blp:122
msgid "Game Title"
msgstr ""
#: data/gtk/window.blp:177
msgid "Play"
msgstr ""
#: data/gtk/window.blp:244 data/gtk/window.blp:436
msgid "Add Game"
msgstr ""
#: data/gtk/window.blp:251 data/gtk/window.blp:317
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:312
msgid "Hidden Games"
msgstr ""
#: data/gtk/window.blp:375
msgid "Sort"
msgstr ""
#: data/gtk/window.blp:378
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:384
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:390
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:396
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:402
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:409
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:422
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:427
msgid "About Cartridges"
msgstr ""
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:127
msgid "translator_credits"
msgstr ""
#: src/window.py:187
msgid "Today"
msgstr ""
#: src/window.py:189
msgid "Yesterday"
msgstr ""
#. The variable is the date when the game was added
#: src/window.py:228
msgid "Added: {}"
msgstr ""
#: src/window.py:231
msgid "Never"
msgstr ""
#. The variable is the date when the game was last played
#: src/window.py:235
msgid "Last played: {}"
msgstr ""
#: src/details_window.py:75
msgid "Apply"
msgstr ""
#: src/details_window.py:81
msgid "Add New Game"
msgstr ""
#: src/details_window.py:82
msgid "Confirm"
msgstr ""
#. Translate this string as you would translate "file"
#: src/details_window.py:94
msgid "file.txt"
msgstr ""
#. As in software
#: src/details_window.py:96
msgid "program"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:101 src/details_window.py:103
msgid "C:\\path\\to\\{}"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:107 src/details_window.py:109
msgid "/path/to/{}"
msgstr ""
#: src/details_window.py:113
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
#: src/details_window.py:143 src/details_window.py:149
msgid "Couldn't Add Game"
msgstr ""
#: src/details_window.py:143 src/details_window.py:176
msgid "Game title cannot be empty."
msgstr ""
#: src/details_window.py:149 src/details_window.py:184
msgid "Executable cannot be empty."
msgstr ""
#: src/details_window.py:175 src/details_window.py:183
msgid "Couldn't Apply Preferences"
msgstr ""
#. The variable is the title of the game
#: src/game.py:208
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/game.py:220
msgid "{} hidden"
msgstr ""
#: src/game.py:220
msgid "{} unhidden"
msgstr ""
#. The variable is the title of the game
#: src/game.py:233
msgid "{} removed"
msgstr ""
#: src/preferences.py:97
msgid "All games removed"
msgstr ""
#: src/preferences.py:136
msgid "Cache Not Found"
msgstr ""
#: src/preferences.py:137
msgid "Select the Lutris cache directory."
msgstr ""
#: src/preferences.py:139 src/preferences.py:292
msgid "Set Location"
msgstr ""
#: src/preferences.py:166
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/preferences.py:286
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:288
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:290
msgid "Select the {} data directory."
msgstr ""
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr ""
#: src/utils/importer.py:41
msgid "Importing Games…"
msgstr ""
#: src/utils/importer.py:76
msgid "Importing Covers…"
msgstr ""
#: src/utils/importer.py:91
#, fuzzy
#| msgid "Add new game"
msgid "No new games found"
msgstr "افزدون بازی"
#: src/utils/importer.py:98
msgid "1 game imported"
msgstr ""
#. The variable is the number of games
#: src/utils/importer.py:104
msgid "{} games imported"
msgstr ""
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
msgid "Couldn't Connect to SteamGridDB"
msgstr ""

1060
po/fi.po

File diff suppressed because it is too large Load Diff

887
po/fr.po

File diff suppressed because it is too large Load Diff

886
po/hu.po

File diff suppressed because it is too large Load Diff

849
po/it.po

File diff suppressed because it is too large Load Diff

577
po/ko.po Normal file
View File

@@ -0,0 +1,577 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# MJKim <kmj10727@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
"PO-Revision-Date: 2023-03-28 22:23+0000\n"
"Last-Translator: MJKim <kmj10727@gmail.com>\n"
"Language-Team: Korean <https://hosted.weblate.org/projects/cartridges/"
"cartridges/ko/>\n"
"Language: ko\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
#: src/main.py:109
msgid "Cartridges"
msgstr "카트리지"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "게임 런처"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "모든 게임을 실행합니다"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
#, fuzzy
#| msgid ""
#| "Cartridges is a simple game launcher. It has support for importing your "
#| "games from Steam, Heroic and Bottles with organizational features such as "
#| "hiding and sorting by date added or last played."
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 ""
"카트리지는 간단한 게임 런처입니다. 추가한 날짜 또는 마지막으로 플레이한 날짜"
"별로 게임을 숨기거나 정렬하는 등의 정리 기능을 통해 Steam, Heroic 및 Bottles"
"에서 게임을 가져올 수 있습니다."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "라이브러리"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
msgid "Edit Game Details"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
msgid "Game Details"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
#: src/utils/importer.py:92 src/utils/importer.py:124
#: src/utils/steamgriddb.py:115
msgid "Preferences"
msgstr ""
#: data/gtk/details_window.blp:25
msgid "Cancel"
msgstr ""
#: data/gtk/details_window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details_window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr ""
#: data/gtk/details_window.blp:102
msgid "The title of the game"
msgstr ""
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
msgid "Developer"
msgstr ""
#: data/gtk/details_window.blp:113
msgid "The developer or publisher (optional)"
msgstr ""
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
msgid "Executable"
msgstr ""
#: data/gtk/details_window.blp:124
msgid "File to open or command to run when launching the game"
msgstr ""
#: data/gtk/details_window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
msgid "Edit"
msgstr ""
#: data/gtk/game.blp:107 src/window.py:205
msgid "Hide"
msgstr ""
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:210
msgid "Remove"
msgstr ""
#: data/gtk/game.blp:126 src/window.py:207
msgid "Unhide"
msgstr ""
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr ""
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr ""
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
#: data/gtk/window.blp:324
msgid "Search"
msgstr ""
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr ""
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr ""
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
msgid "Undo"
msgstr ""
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr ""
#: data/gtk/help-overlay.blp:45
#, fuzzy
#| msgid "No Games"
msgid "Games"
msgstr "게임이 없습니다"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr ""
#: data/gtk/help-overlay.blp:53
#, fuzzy
#| msgid "No Games"
msgid "Import games"
msgstr "게임이 없습니다"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr ""
#: data/gtk/help-overlay.blp:63
#, fuzzy
#| msgid "No Games"
msgid "Remove game"
msgstr "게임이 없습니다"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
msgid "Behavior"
msgstr ""
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr ""
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr ""
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr ""
#: data/gtk/preferences.blp:36 src/details_window.py:84
msgid "Images"
msgstr ""
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr ""
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
msgid "Import"
msgstr ""
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr ""
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr ""
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr ""
#: data/gtk/preferences.blp:90
msgid "Lutris"
msgstr ""
#: data/gtk/preferences.blp:94
msgid "Lutris Install Location"
msgstr ""
#: data/gtk/preferences.blp:103
msgid "Lutris Cache Location"
msgstr ""
#: data/gtk/preferences.blp:112
#, fuzzy
#| msgid "No Games"
msgid "Import Steam Games"
msgstr "게임이 없습니다"
#: data/gtk/preferences.blp:122
msgid "Heroic"
msgstr ""
#: data/gtk/preferences.blp:126
msgid "Heroic Install Location"
msgstr ""
#: data/gtk/preferences.blp:135
msgid "Import Epic Games"
msgstr ""
#: data/gtk/preferences.blp:144
msgid "Import GOG Games"
msgstr ""
#: data/gtk/preferences.blp:153
msgid "Import Sideloaded Games"
msgstr ""
#: data/gtk/preferences.blp:163
msgid "Bottles"
msgstr ""
#: data/gtk/preferences.blp:167
msgid "Bottles Install Location"
msgstr ""
#: data/gtk/preferences.blp:177
msgid "itch"
msgstr ""
#: data/gtk/preferences.blp:181
msgid "itch Install Location"
msgstr ""
#: data/gtk/preferences.blp:194
msgid "SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:198
msgid "Authentication"
msgstr ""
#: data/gtk/preferences.blp:201
msgid "API Key"
msgstr ""
#: data/gtk/preferences.blp:209
msgid "Use SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:210
msgid "Download images when adding or importing games"
msgstr ""
#: data/gtk/preferences.blp:219
msgid "Prefer Over Official Images"
msgstr ""
#: data/gtk/preferences.blp:228
msgid "Prefer Animated Images"
msgstr ""
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr ""
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr ""
#: data/gtk/window.blp:22
msgid "No Games"
msgstr "게임이 없습니다"
#: data/gtk/window.blp:23
msgid "Use the + button to add games."
msgstr ""
#: data/gtk/window.blp:41
msgid "No Hidden Games"
msgstr ""
#: data/gtk/window.blp:42
msgid "Games you hide will appear here."
msgstr ""
#: data/gtk/window.blp:65 data/gtk/window.blp:305
msgid "Back"
msgstr "뒤로"
#: data/gtk/window.blp:122
msgid "Game Title"
msgstr ""
#: data/gtk/window.blp:177
msgid "Play"
msgstr ""
#: data/gtk/window.blp:244 data/gtk/window.blp:436
msgid "Add Game"
msgstr ""
#: data/gtk/window.blp:251 data/gtk/window.blp:317
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:312
msgid "Hidden Games"
msgstr ""
#: data/gtk/window.blp:375
msgid "Sort"
msgstr "정렬"
#: data/gtk/window.blp:378
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:384
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:390
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:396
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:402
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:409
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:422
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:427
msgid "About Cartridges"
msgstr "카트리지 정보"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:127
msgid "translator_credits"
msgstr ""
#: src/window.py:187
msgid "Today"
msgstr ""
#: src/window.py:189
msgid "Yesterday"
msgstr ""
#. The variable is the date when the game was added
#: src/window.py:228
msgid "Added: {}"
msgstr ""
#: src/window.py:231
msgid "Never"
msgstr ""
#. The variable is the date when the game was last played
#: src/window.py:235
msgid "Last played: {}"
msgstr ""
#: src/details_window.py:75
msgid "Apply"
msgstr ""
#: src/details_window.py:81
msgid "Add New Game"
msgstr ""
#: src/details_window.py:82
msgid "Confirm"
msgstr ""
#. Translate this string as you would translate "file"
#: src/details_window.py:94
msgid "file.txt"
msgstr ""
#. As in software
#: src/details_window.py:96
msgid "program"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:101 src/details_window.py:103
msgid "C:\\path\\to\\{}"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:107 src/details_window.py:109
msgid "/path/to/{}"
msgstr ""
#: src/details_window.py:113
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
#: src/details_window.py:143 src/details_window.py:149
msgid "Couldn't Add Game"
msgstr ""
#: src/details_window.py:143 src/details_window.py:176
msgid "Game title cannot be empty."
msgstr ""
#: src/details_window.py:149 src/details_window.py:184
msgid "Executable cannot be empty."
msgstr ""
#: src/details_window.py:175 src/details_window.py:183
msgid "Couldn't Apply Preferences"
msgstr ""
#. The variable is the title of the game
#: src/game.py:208
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/game.py:220
msgid "{} hidden"
msgstr ""
#: src/game.py:220
msgid "{} unhidden"
msgstr ""
#. The variable is the title of the game
#: src/game.py:233
msgid "{} removed"
msgstr ""
#: src/preferences.py:97
msgid "All games removed"
msgstr ""
#: src/preferences.py:136
msgid "Cache Not Found"
msgstr ""
#: src/preferences.py:137
msgid "Select the Lutris cache directory."
msgstr ""
#: src/preferences.py:139 src/preferences.py:292
msgid "Set Location"
msgstr ""
#: src/preferences.py:166
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/preferences.py:286
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:288
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:290
msgid "Select the {} data directory."
msgstr ""
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr ""
#: src/utils/importer.py:41
msgid "Importing Games…"
msgstr ""
#: src/utils/importer.py:76
msgid "Importing Covers…"
msgstr ""
#: src/utils/importer.py:91
msgid "No new games found"
msgstr ""
#: src/utils/importer.py:98
msgid "1 game imported"
msgstr ""
#. The variable is the number of games
#: src/utils/importer.py:104
msgid "{} games imported"
msgstr ""
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
msgid "Couldn't Connect to SteamGridDB"
msgstr ""
#~ msgid "Launch your games"
#~ msgstr "게임을 실행합니다"

File diff suppressed because it is too large Load Diff

1068
po/nl.po

File diff suppressed because it is too large Load Diff

614
po/pl.po Normal file
View File

@@ -0,0 +1,614 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# Artur Wróblewski <krypalkora1984@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
"PO-Revision-Date: 2023-05-07 15:38+0000\n"
"Last-Translator: Artur Wróblewski <krypalkora1984@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 4.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
#: src/main.py:109
msgid "Cartridges"
msgstr "Cartridges"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Launcher Gier"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Uruchom wszystkie swoje gry"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
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 to prosty launcher gier dla wszystkich twoich gier. Posiada "
"wsparcie dla importu gier ze Steam, Lutris, Heroic i innych bez konieczności "
"logowania. Możesz sortować i ukrywać gry lub pobierać okładki ze SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Biblioteka"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
msgid "Edit Game Details"
msgstr "Edytuj detale gry"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
msgid "Game Details"
msgstr "Detale gry"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
#: src/utils/importer.py:92 src/utils/importer.py:124
#: src/utils/steamgriddb.py:115
msgid "Preferences"
msgstr "Ustawienia"
#: data/gtk/details_window.blp:25
msgid "Cancel"
msgstr "Anuluj"
#: data/gtk/details_window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details_window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Tytuł"
#: data/gtk/details_window.blp:102
msgid "The title of the game"
msgstr "Tytuł gry"
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
msgid "Developer"
msgstr "Deweloper"
#: data/gtk/details_window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Twórca lub wydawca (opcjonalnie)"
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
msgid "Executable"
msgstr "Wykonywalne"
#: data/gtk/details_window.blp:124
msgid "File to open or command to run when launching the game"
msgstr ""
"Plik do otwarcia lub polecenie do uruchomienia podczas uruchamiania gry"
#: data/gtk/details_window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
msgid "Edit"
msgstr "Edytuj"
#: data/gtk/game.blp:107 src/window.py:205
msgid "Hide"
msgstr "Ukryj"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:210
msgid "Remove"
msgstr "Usuń"
#: data/gtk/game.blp:126 src/window.py:207
msgid "Unhide"
msgstr "Odkryj"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Ogólne"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Wyjdź"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
#: data/gtk/window.blp:324
msgid "Search"
msgstr "Szukaj"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Pokaż preferencje"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Skróty"
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
msgid "Undo"
msgstr "Cofnij"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Otwórz menu"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Gry"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Dodaj nową grę"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Importuj gry"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Pokaż ukryte gry"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Usuń grę"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
msgid "Behavior"
msgstr "Zachowanie"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Wyjdź po uruchomieniu gry"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Obraz okładki startera gier"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Zamienia zachowanie obrazu okładki i przycisku odtwarzania"
#: data/gtk/preferences.blp:36 src/details_window.py:84
msgid "Images"
msgstr "Obrazy"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Wysokiej jakości obrazy"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr "Zapisywanie okładek gier bezstratnie kosztem pamięci masowej"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Strefa zagrożenia"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Usuń wszystkie gry"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
msgid "Import"
msgstr "Importuj"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Źródła"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Lokalizacja instalacji Steam"
#: data/gtk/preferences.blp:90
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:94
msgid "Lutris Install Location"
msgstr "Lokalizacja instalacji Lutris"
#: data/gtk/preferences.blp:103
msgid "Lutris Cache Location"
msgstr "Lokalizacja Lutris Cache"
#: data/gtk/preferences.blp:112
msgid "Import Steam Games"
msgstr "Importuj gry Steam"
#: data/gtk/preferences.blp:122
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:126
msgid "Heroic Install Location"
msgstr "Lokalizacja instalacji Heroic"
#: data/gtk/preferences.blp:135
msgid "Import Epic Games"
msgstr "Zaimportuj Epic Games"
#: data/gtk/preferences.blp:144
msgid "Import GOG Games"
msgstr "Importuj gry z GOG"
#: data/gtk/preferences.blp:153
msgid "Import Sideloaded Games"
msgstr "Importuj gry w wersji Sideloaded"
#: data/gtk/preferences.blp:163
msgid "Bottles"
msgstr "Butelki"
#: data/gtk/preferences.blp:167
msgid "Bottles Install Location"
msgstr "Butelki Miejsce montażu"
#: data/gtk/preferences.blp:177
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:181
msgid "itch Install Location"
msgstr "Położenie instalacji itch"
#: data/gtk/preferences.blp:194
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:198
msgid "Authentication"
msgstr "Uwierzytelnianie"
#: data/gtk/preferences.blp:201
msgid "API Key"
msgstr "Klucz API"
#: data/gtk/preferences.blp:209
msgid "Use SteamGridDB"
msgstr "Użyj SteamGridDB"
#: data/gtk/preferences.blp:210
msgid "Download images when adding or importing games"
msgstr "Pobieranie obrazów podczas dodawania lub importowania gier"
#: data/gtk/preferences.blp:219
msgid "Prefer Over Official Images"
msgstr "Preferuj ponad Oficjalne zdjęcia"
#: data/gtk/preferences.blp:228
msgid "Prefer Animated Images"
msgstr "Preferuj animowane obrazy"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Nie znaleziono żadnych gier"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Spróbuj innego wyszukiwania."
#: data/gtk/window.blp:22
msgid "No Games"
msgstr "Brak gier"
#: data/gtk/window.blp:23
msgid "Use the + button to add games."
msgstr "Użyj przycisku +, aby dodać gry."
#: data/gtk/window.blp:41
msgid "No Hidden Games"
msgstr "Brak ukrytych gier"
#: data/gtk/window.blp:42
msgid "Games you hide will appear here."
msgstr "Gry, które ukryjesz, pojawią się tutaj."
#: data/gtk/window.blp:65 data/gtk/window.blp:305
msgid "Back"
msgstr "Cofnij"
#: data/gtk/window.blp:122
msgid "Game Title"
msgstr "Tytuł gry"
#: data/gtk/window.blp:177
msgid "Play"
msgstr "Uruchom"
#: data/gtk/window.blp:244 data/gtk/window.blp:436
msgid "Add Game"
msgstr "Dodaj grę"
#: data/gtk/window.blp:251 data/gtk/window.blp:317
msgid "Main Menu"
msgstr "Menu główne"
#: data/gtk/window.blp:312
msgid "Hidden Games"
msgstr "Ukryte gry"
#: data/gtk/window.blp:375
msgid "Sort"
msgstr "Sortuj"
#: data/gtk/window.blp:378
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:384
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:390
msgid "Newest"
msgstr "Najnowsza"
#: data/gtk/window.blp:396
msgid "Oldest"
msgstr "Najstarszy"
#: data/gtk/window.blp:402
msgid "Last Played"
msgstr "Ostatnio odtwarzane"
#: data/gtk/window.blp:409
msgid "Show Hidden"
msgstr "Pokaż ukryte"
#: data/gtk/window.blp:422
msgid "Keyboard Shortcuts"
msgstr "Skróty klawiaturowe"
#: data/gtk/window.blp:427
msgid "About Cartridges"
msgstr "O Cartridges"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:127
msgid "translator_credits"
msgstr "kredyty tłumacza"
#: src/window.py:187
msgid "Today"
msgstr "Dzisiaj"
#: src/window.py:189
msgid "Yesterday"
msgstr "Wczoraj"
#. The variable is the date when the game was added
#: src/window.py:228
msgid "Added: {}"
msgstr "Dodano: {}"
#: src/window.py:231
msgid "Never"
msgstr "Nigdy"
#. The variable is the date when the game was last played
#: src/window.py:235
msgid "Last played: {}"
msgstr "Ostatnio grane: {}"
#: src/details_window.py:75
msgid "Apply"
msgstr "Zastosuj"
#: src/details_window.py:81
msgid "Add New Game"
msgstr "Dodaj nową grę"
#: src/details_window.py:82
msgid "Confirm"
msgstr "Potwierdź"
#. Translate this string as you would translate "file"
#: src/details_window.py:94
msgid "file.txt"
msgstr "plik.txt"
#. As in software
#: src/details_window.py:96
msgid "program"
msgstr "program"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:101 src/details_window.py:103
msgid "C:\\path\\to\\{}"
msgstr "C:\\scieżka\\do\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:107 src/details_window.py:109
msgid "/path/to/{}"
msgstr "/ścieżka/do/{}"
#: src/details_window.py:113
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Aby uruchomić plik wykonywalny \"{}\", należy użyć polecenia:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Aby otworzyć plik \"{}\" za pomocą domyślnej aplikacji, użyj:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Jeśli ścieżka zawiera spacje, pamiętaj, aby zawinąć ją w podwójne cudzysłowy!"
#: src/details_window.py:143 src/details_window.py:149
msgid "Couldn't Add Game"
msgstr "Nie można było dodać gry"
#: src/details_window.py:143 src/details_window.py:176
msgid "Game title cannot be empty."
msgstr "Tytuł gry nie może być pusty."
#: src/details_window.py:149 src/details_window.py:184
msgid "Executable cannot be empty."
msgstr "Plik wykonywalny nie może być pusty."
#: src/details_window.py:175 src/details_window.py:183
msgid "Couldn't Apply Preferences"
msgstr "Nie można zastosować preferencji"
#. The variable is the title of the game
#: src/game.py:208
msgid "{} launched"
msgstr "{} uruchomiony"
#. The variable is the title of the game
#: src/game.py:220
msgid "{} hidden"
msgstr "{} ukryte"
#: src/game.py:220
msgid "{} unhidden"
msgstr "{} nieukryty"
#. The variable is the title of the game
#: src/game.py:233
msgid "{} removed"
msgstr "{} usunięty"
#: src/preferences.py:97
msgid "All games removed"
msgstr "Wszystkie gry usunięte"
#: src/preferences.py:136
msgid "Cache Not Found"
msgstr "Nie znaleziono pamięci podręcznej"
#: src/preferences.py:137
msgid "Select the Lutris cache directory."
msgstr "Wybierz katalog pamięci podręcznej Lutris."
#: src/preferences.py:139 src/preferences.py:292
msgid "Set Location"
msgstr "Ustaw lokacje"
#: src/preferences.py:166
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Do korzystania z SteamGridDB wymagany jest klucz API. Możesz go wygenerować "
"{} tutaj{}."
#: src/preferences.py:286
msgid "Installation Not Found"
msgstr "Nie znaleziono instalacji"
#. The variable is the name of the game launcher
#: src/preferences.py:288
msgid "Select the {} configuration directory."
msgstr "Wybierz {} katalog konfiguracyjny."
#. The variable is the name of the game launcher
#: src/preferences.py:290
msgid "Select the {} data directory."
msgstr "Wybierz {} katalog danych."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Odrzucić"
#: src/utils/importer.py:41
msgid "Importing Games…"
msgstr "Importowanie gier…"
#: src/utils/importer.py:76
msgid "Importing Covers…"
msgstr "Importowanie okładek…"
#: src/utils/importer.py:91
#, fuzzy
#| msgid "No Games Found"
msgid "No new games found"
msgstr "Nie znaleziono żadnych gier"
#: src/utils/importer.py:98
#, fuzzy
#| msgid "Game Imported"
msgid "1 game imported"
msgstr "Gra Importowana"
#. The variable is the number of games
#: src/utils/importer.py:104
#, fuzzy
#| msgid "Games Imported"
msgid "{} games imported"
msgstr "Gry Przywiezione"
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
msgid "Couldn't Connect to SteamGridDB"
msgstr "Nie można połączyć się z SteamGridDB"
#~ msgid "Directory to use when importing games"
#~ msgstr "Katalog używany podczas importowania gier"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Dodatkowe biblioteki Steam"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Wybierz inne katalogi, w których masz zainstalowane gry Steam"
#~ msgid "Clear"
#~ msgstr "Wyczyść"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Katalog do użycia podczas importowania okładek gier"
#~ msgid "Details"
#~ msgstr "Szczegóły"
#~ msgid "No new games were found on your system."
#~ msgstr "W systemie nie znaleziono żadnych nowych gier."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Udało się zaimportować 1 grę."
#~ msgid "Successfully imported {} games."
#~ msgstr "Udało się zaimportować {} gier."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Wygląda na to, że masz wiele bibliotek Steam. Czy chciałbyś dodać je w "
#~ "preferencjach?"

697
po/pt.po Normal file
View File

@@ -0,0 +1,697 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# Pedro Sader Azevedo <pedro.saderazevedo@protonmail.com>, 2023.
# kramo <contact@kramo.hu>, 2023.
# Henrique Machado <henriquecamposrj@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
"PO-Revision-Date: 2023-04-18 22:49+0000\n"
"Last-Translator: Henrique Machado <henriquecamposrj@gmail.com>\n"
"Language-Team: Portuguese <https://hosted.weblate.org/projects/cartridges/"
"cartridges/pt/>\n"
"Language: pt\n"
"MIME-Version: 1.0\n"
"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.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
#: src/main.py:109
msgid "Cartridges"
msgstr "Cartuchos"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Iniciador de jogos"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Inicie todos os seus jogos"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
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 ""
"Cartuchos é um iniciador de jogos simples. Ele tem suporte para importação "
"de jogos da Steam, Lutris, Heroic, e etc. sem precisar fazer login. E pode "
"organizar e esconder jogos ou baixar imagens das capas dos jogos a partir do "
"SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Biblioteca"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
msgid "Edit Game Details"
msgstr "Editar detalhes do jogo"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
msgid "Game Details"
msgstr "Detalhes do jogo"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
#: src/utils/importer.py:92 src/utils/importer.py:124
#: src/utils/steamgriddb.py:115
msgid "Preferences"
msgstr "Preferências"
#: data/gtk/details_window.blp:25
msgid "Cancel"
msgstr "Cancelar"
#: data/gtk/details_window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details_window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Título"
#: data/gtk/details_window.blp:102
msgid "The title of the game"
msgstr "O título do jogo"
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
msgid "Developer"
msgstr "Desenvolvedor"
#: data/gtk/details_window.blp:113
msgid "The developer or publisher (optional)"
msgstr "O desenvolvedor ou publicador (opcional)"
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
msgid "Executable"
msgstr "Executável"
#: data/gtk/details_window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Arquivo a ser aberto ou comando a ser executado ao iniciar o jogo"
#: data/gtk/details_window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
msgid "Edit"
msgstr "Editar"
#: data/gtk/game.blp:107 src/window.py:205
msgid "Hide"
msgstr "Ocultar"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:210
msgid "Remove"
msgstr "Remover"
#: data/gtk/game.blp:126 src/window.py:207
msgid "Unhide"
msgstr "Exibir"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Geral"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Sair"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
#: data/gtk/window.blp:324
msgid "Search"
msgstr "Buscar"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Mostrar preferências"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Atalhos"
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
msgid "Undo"
msgstr "Desfazer"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Abrir menu"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Jogos"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Adicionar novo jogo"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Importar jogos"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Exibir jogos ocultados"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Remove o jogo"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
msgid "Behavior"
msgstr "Comportamento"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Fechar Cartuchos ao iniciar um jogo"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Clicar na capa para iniciar o jogo"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Troca o comportamento de clicar na capa do jogo e do botão Jogar"
#: data/gtk/preferences.blp:36 src/details_window.py:84
msgid "Images"
msgstr "Imagens"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Imagens de alta qualidade"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr "Salva imagens das capas sem perda, consumindo mais armazenamento"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Atenção"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Remove todos os jogos"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
msgid "Import"
msgstr "Importar"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Fontes"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Local de instalação da Steam"
#: data/gtk/preferences.blp:90
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:94
msgid "Lutris Install Location"
msgstr "Local de instalação do Lutris"
#: data/gtk/preferences.blp:103
msgid "Lutris Cache Location"
msgstr "Local do cache do Lutris"
#: data/gtk/preferences.blp:112
msgid "Import Steam Games"
msgstr "Importar jogos da Steam"
#: data/gtk/preferences.blp:122
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:126
msgid "Heroic Install Location"
msgstr "Local de instalação do Heroic"
#: data/gtk/preferences.blp:135
msgid "Import Epic Games"
msgstr "Importar jogos da Epic Games"
#: data/gtk/preferences.blp:144
msgid "Import GOG Games"
msgstr "Importar jogos do GOG"
#: data/gtk/preferences.blp:153
msgid "Import Sideloaded Games"
msgstr "Importar jogos adicionados manualmente"
#: data/gtk/preferences.blp:163
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:167
msgid "Bottles Install Location"
msgstr "Local de instalação do Bottles"
#: data/gtk/preferences.blp:177
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:181
msgid "itch Install Location"
msgstr "Local de instalação do itch"
#: data/gtk/preferences.blp:194
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:198
msgid "Authentication"
msgstr "Autenticação"
#: data/gtk/preferences.blp:201
msgid "API Key"
msgstr "Chave da API"
#: data/gtk/preferences.blp:209
msgid "Use SteamGridDB"
msgstr "Usar SteamGridDB"
#: data/gtk/preferences.blp:210
msgid "Download images when adding or importing games"
msgstr "Baixa imagens ao adicionar ou importar jogos"
#: data/gtk/preferences.blp:219
msgid "Prefer Over Official Images"
msgstr "Preferir mais que as imagens oficiais"
#: data/gtk/preferences.blp:228
msgid "Prefer Animated Images"
msgstr "Preferir imagens animadas"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Nenhum jogo encontrado"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Tente outra pesquisa."
#: data/gtk/window.blp:22
msgid "No Games"
msgstr "Sem jogos"
#: data/gtk/window.blp:23
msgid "Use the + button to add games."
msgstr "Use o botão + para adicionar jogos."
#: data/gtk/window.blp:41
msgid "No Hidden Games"
msgstr "Sem jogos ocultados"
#: data/gtk/window.blp:42
msgid "Games you hide will appear here."
msgstr "Jogos ocultados vão aparecer aqui."
#: data/gtk/window.blp:65 data/gtk/window.blp:305
msgid "Back"
msgstr "Voltar"
#: data/gtk/window.blp:122
msgid "Game Title"
msgstr "Título do jogo"
#: data/gtk/window.blp:177
msgid "Play"
msgstr "Jogar"
#: data/gtk/window.blp:244 data/gtk/window.blp:436
msgid "Add Game"
msgstr "Adicionar jogo"
#: data/gtk/window.blp:251 data/gtk/window.blp:317
msgid "Main Menu"
msgstr "Menu principal"
#: data/gtk/window.blp:312
msgid "Hidden Games"
msgstr "Jogos ocultados"
#: data/gtk/window.blp:375
msgid "Sort"
msgstr "Ordenar"
#: data/gtk/window.blp:378
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:384
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:390
msgid "Newest"
msgstr "Mais novo"
#: data/gtk/window.blp:396
msgid "Oldest"
msgstr "Mais antigo"
#: data/gtk/window.blp:402
msgid "Last Played"
msgstr "Última vez jogado"
#: data/gtk/window.blp:409
msgid "Show Hidden"
msgstr "Mostrar ocultados"
#: data/gtk/window.blp:422
msgid "Keyboard Shortcuts"
msgstr "Atalhos de teclado"
#: data/gtk/window.blp:427
msgid "About Cartridges"
msgstr "Sobre o Cartuchos"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:127
msgid "translator_credits"
msgstr "Pedro Sader Azevedo"
#: src/window.py:187
msgid "Today"
msgstr "Hoje"
#: src/window.py:189
msgid "Yesterday"
msgstr "Ontem"
#. The variable is the date when the game was added
#: src/window.py:228
msgid "Added: {}"
msgstr "Adicionado: {}"
#: src/window.py:231
msgid "Never"
msgstr "Nunca"
#. The variable is the date when the game was last played
#: src/window.py:235
msgid "Last played: {}"
msgstr "Última vez jogado"
#: src/details_window.py:75
msgid "Apply"
msgstr "Aplicar"
#: src/details_window.py:81
msgid "Add New Game"
msgstr "Adicionar novo jogo"
#: src/details_window.py:82
msgid "Confirm"
msgstr "Confirmar"
#. Translate this string as you would translate "file"
#: src/details_window.py:94
msgid "file.txt"
msgstr "arquivo.txt"
#. As in software
#: src/details_window.py:96
msgid "program"
msgstr "programa"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:101 src/details_window.py:103
msgid "C:\\path\\to\\{}"
msgstr "C:\\caminho\\para\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:107 src/details_window.py:109
msgid "/path/to/{}"
msgstr "/caminho/para/{}"
#: src/details_window.py:113
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Para iniciar o executável \"{}\", use o comando:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Para abrir o arquivo \"{}\" com o aplicativo padrão, use:\n"
"\n"
"<tt>{}\"{}\"</tt>\n"
"\n"
"Se o caminho contiver espaços, certifique-se de colocá-lo entre aspas duplas!"
#: src/details_window.py:143 src/details_window.py:149
msgid "Couldn't Add Game"
msgstr "Não foi possível adicionar o jogo"
#: src/details_window.py:143 src/details_window.py:176
msgid "Game title cannot be empty."
msgstr "O título do jogo não pode estar vazio."
#: src/details_window.py:149 src/details_window.py:184
msgid "Executable cannot be empty."
msgstr "O executável não pode estar vazio."
#: src/details_window.py:175 src/details_window.py:183
msgid "Couldn't Apply Preferences"
msgstr "Não foi possível aplicar as preferências"
#. The variable is the title of the game
#: src/game.py:208
msgid "{} launched"
msgstr "{} iniciado"
#. The variable is the title of the game
#: src/game.py:220
msgid "{} hidden"
msgstr "{} está oculto"
#: src/game.py:220
msgid "{} unhidden"
msgstr "{} está exposto"
#. The variable is the title of the game
#: src/game.py:233
msgid "{} removed"
msgstr "{} removido"
#: src/preferences.py:97
msgid "All games removed"
msgstr "Todos os jogos foram removidos"
#: src/preferences.py:136
msgid "Cache Not Found"
msgstr "Cache não encontrado"
#: src/preferences.py:137
msgid "Select the Lutris cache directory."
msgstr "Selecione o diretório de cache do Lutris."
#: src/preferences.py:139 src/preferences.py:292
msgid "Set Location"
msgstr "Definir local"
#: src/preferences.py:166
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Uma chave da API é necessária para usar a SteamGridDB. Você pode gerar uma "
"chave {}aqui{}."
#: src/preferences.py:286
msgid "Installation Not Found"
msgstr "Instalação não encontrada"
#. The variable is the name of the game launcher
#: src/preferences.py:288
msgid "Select the {} configuration directory."
msgstr "Selecione o diretório de configuração de {}."
#. The variable is the name of the game launcher
#: src/preferences.py:290
msgid "Select the {} data directory."
msgstr "Selecione o diretório de informações de {}."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Dispensar"
#: src/utils/importer.py:41
msgid "Importing Games…"
msgstr "Importando jogos…"
#: src/utils/importer.py:76
msgid "Importing Covers…"
msgstr "Importando capas…"
#: src/utils/importer.py:91
#, fuzzy
#| msgid "No Games Found"
msgid "No new games found"
msgstr "Nenhum jogo encontrado"
#: src/utils/importer.py:98
#, fuzzy
#| msgid "Game Imported"
msgid "1 game imported"
msgstr "Jogo importado"
#. The variable is the number of games
#: src/utils/importer.py:104
#, fuzzy
#| msgid "Games Imported"
msgid "{} games imported"
msgstr "Jogos importados"
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
msgid "Couldn't Connect to SteamGridDB"
msgstr "Não foi possível conectar à SteamGridDB"
#~ msgid "Directory to use when importing games"
#~ msgstr "Diretório para usar ao importar jogos"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Bibliotecas adicionais da Steam"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Selecione outros diretórios onde você tem jogos da Steam instalados"
#~ msgid "Clear"
#~ msgstr "Limpar"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Diretório para usar ao importar imagens das capas dos jogos"
#~ msgid "Details"
#~ msgstr "Detalhes"
#~ msgid "No new games were found on your system."
#~ msgstr "Nenhum jogo novo foi encontrado no seu sistema."
#~ msgid "Successfully imported 1 game."
#~ msgstr "1 jogo foi importado com sucesso."
#~ msgid "Successfully imported {} games."
#~ msgstr "{} jogos foram importados com sucesso."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Parece que você tem múltiplas bibliotecas Steam. Gostaria de adicioná-las "
#~ "nas preferências?"
#~ msgid "Launch your games"
#~ msgstr "Inicie seus jogos"
#, python-brace-format
#~ msgid "Last played: {last_played_date}"
#~ msgstr "Última vez jogado: {last_played_date}"
#, python-brace-format
#~ msgid "Successfully imported {games_no} games."
#~ msgstr "{games_no} jogos importados com sucesso."
#, python-brace-format
#~ msgid "C:\\path\\to\\{file_name}"
#~ msgstr "C:\\caminho\\para\\{file_name}"
#, python-brace-format
#~ msgid "/path/to/{file_name}"
#~ msgstr "/caminho/para/{file_name}"
#, fuzzy
#~| msgid "General"
#~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "Geral"
#, fuzzy
#~| msgid "Search"
#~ msgctxt "shortcuts window"
#~ msgid "Search"
#~ msgstr "Buscar"
#, fuzzy
#~| msgid "Undo"
#~ msgctxt "shortcuts window"
#~ msgid "Undo"
#~ msgstr "Desfazer"
#~ msgid "First stable release"
#~ msgstr "Primeira versão estável"
#~ msgctxt "shortcut window"
#~ msgid "General"
#~ msgstr "Geral"
#~ msgctxt "shortcut window"
#~ msgid "Search"
#~ msgstr "Buscar"
#~ msgctxt "shortcut window"
#~ msgid "Undo"
#~ msgstr "Desfazer"
#~ msgid "Couldn't Import Games"
#~ msgstr "Não foi possível importar os jogos"
#~ msgid "The Bottles directory cannot be found."
#~ msgstr "O diretório do Bottles não foi encontrado."
#~ msgid "Set Bottles Location"
#~ msgstr "Definir local do Bottles"
#~ msgid "No new games were found in the Bottles library."
#~ msgstr "Nenhum jogo novo foi encontrado na biblioteca do Bottles."
#~ msgid "Bottles Games Imported"
#~ msgstr "Jogos do Bottles importados"
#~ msgid "The Heroic directory cannot be found."
#~ msgstr "O diretório do Heroic não foi encontrado."
#~ msgid "Heroic Games Imported"
#~ msgstr "Jogos do Heroic importados"
#~ msgid "No new games were found in the Steam library."
#~ msgstr "Nenhum jogo novo foi encontrado na biblioteca da Steam."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "O diretório da Steam não foi encontrado."
#~ msgid "Talking to Steam"
#~ msgstr "Falando com a Steam"

613
po/pt_BR.po Normal file
View File

@@ -0,0 +1,613 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# Henrique Machado <henriquecamposrj@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
"PO-Revision-Date: 2023-04-19 17:50+0000\n"
"Last-Translator: Henrique Machado <henriquecamposrj@gmail.com>\n"
"Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/"
"cartridges/cartridges/pt_BR/>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"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.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
#: src/main.py:109
msgid "Cartridges"
msgstr "Cartuchos"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Iniciador de jogos"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Inicie todos os seus jogos"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
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 ""
"Cartuchos é um iniciador de jogos simples. Ele tem suporte para importação "
"de jogos da Steam, Lutris, Heroic, e etc. sem precisar fazer login. E pode "
"organizar e esconder jogos ou baixar imagens das capas dos jogos a partir do "
"SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Biblioteca"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
msgid "Edit Game Details"
msgstr "Editar detalhes do jogo"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
msgid "Game Details"
msgstr "Detalhes do jogo"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
#: src/utils/importer.py:92 src/utils/importer.py:124
#: src/utils/steamgriddb.py:115
msgid "Preferences"
msgstr "Preferências"
#: data/gtk/details_window.blp:25
msgid "Cancel"
msgstr "Cancelar"
#: data/gtk/details_window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details_window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Título"
#: data/gtk/details_window.blp:102
msgid "The title of the game"
msgstr "O título do jogo"
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
msgid "Developer"
msgstr "Desenvolvedor"
#: data/gtk/details_window.blp:113
msgid "The developer or publisher (optional)"
msgstr "O desenvolvedor ou publicador (opcional)"
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
msgid "Executable"
msgstr "Executável"
#: data/gtk/details_window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Arquivo a ser aberto ou comando a ser executado ao iniciar o jogo"
#: data/gtk/details_window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
msgid "Edit"
msgstr "Editar"
#: data/gtk/game.blp:107 src/window.py:205
msgid "Hide"
msgstr "Ocultar"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:210
msgid "Remove"
msgstr "Remover"
#: data/gtk/game.blp:126 src/window.py:207
msgid "Unhide"
msgstr "Exibir"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Geral"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Sair"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
#: data/gtk/window.blp:324
msgid "Search"
msgstr "Buscar"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Mostrar preferências"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Atalhos"
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
msgid "Undo"
msgstr "Desfazer"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Abrir menu"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Jogos"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Adicionar novo jogo"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Importar jogos"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Exibir jogos ocultados"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Remove o jogo"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
msgid "Behavior"
msgstr "Comportamento"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Fechar Cartuchos ao iniciar um jogo"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Clicar na capa para iniciar o jogo"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Troca o comportamento de clicar na capa do jogo e do botão Jogar"
#: data/gtk/preferences.blp:36 src/details_window.py:84
msgid "Images"
msgstr "Imagens"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Imagens de alta qualidade"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr "Salva imagens das capas sem perda, consumindo mais armazenamento"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Atenção"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Remove todos os jogos"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
msgid "Import"
msgstr "Importar"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Fontes"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Local de instalação da Steam"
#: data/gtk/preferences.blp:90
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:94
msgid "Lutris Install Location"
msgstr "Local de instalação do Lutris"
#: data/gtk/preferences.blp:103
msgid "Lutris Cache Location"
msgstr "Local do cache do Lutris"
#: data/gtk/preferences.blp:112
msgid "Import Steam Games"
msgstr "Importar jogos da Steam"
#: data/gtk/preferences.blp:122
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:126
msgid "Heroic Install Location"
msgstr "Local de instalação do Heroic"
#: data/gtk/preferences.blp:135
msgid "Import Epic Games"
msgstr "Importar jogos da Epic Games"
#: data/gtk/preferences.blp:144
msgid "Import GOG Games"
msgstr "Importar jogos do GOG"
#: data/gtk/preferences.blp:153
msgid "Import Sideloaded Games"
msgstr "Importar jogos adicionados manualmente"
#: data/gtk/preferences.blp:163
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:167
msgid "Bottles Install Location"
msgstr "Local de instalação do Bottles"
#: data/gtk/preferences.blp:177
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:181
msgid "itch Install Location"
msgstr "Local de instalação do itch"
#: data/gtk/preferences.blp:194
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:198
msgid "Authentication"
msgstr "Autenticação"
#: data/gtk/preferences.blp:201
msgid "API Key"
msgstr "Chave da API"
#: data/gtk/preferences.blp:209
msgid "Use SteamGridDB"
msgstr "Usar SteamGridDB"
#: data/gtk/preferences.blp:210
msgid "Download images when adding or importing games"
msgstr "Baixa imagens ao adicionar ou importar jogos"
#: data/gtk/preferences.blp:219
msgid "Prefer Over Official Images"
msgstr "Preferir mais que as imagens oficiais"
#: data/gtk/preferences.blp:228
msgid "Prefer Animated Images"
msgstr "Preferir imagens animadas"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Nenhum jogo encontrado"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Tente outra pesquisa."
#: data/gtk/window.blp:22
msgid "No Games"
msgstr "Sem jogos"
#: data/gtk/window.blp:23
msgid "Use the + button to add games."
msgstr "Use o botão + para adicionar jogos."
#: data/gtk/window.blp:41
msgid "No Hidden Games"
msgstr "Sem jogos ocultados"
#: data/gtk/window.blp:42
msgid "Games you hide will appear here."
msgstr "Jogos ocultados vão aparecer aqui."
#: data/gtk/window.blp:65 data/gtk/window.blp:305
msgid "Back"
msgstr "Voltar"
#: data/gtk/window.blp:122
msgid "Game Title"
msgstr "Título do jogo"
#: data/gtk/window.blp:177
msgid "Play"
msgstr "Jogar"
#: data/gtk/window.blp:244 data/gtk/window.blp:436
msgid "Add Game"
msgstr "Adicionar jogo"
#: data/gtk/window.blp:251 data/gtk/window.blp:317
msgid "Main Menu"
msgstr "Menu principal"
#: data/gtk/window.blp:312
msgid "Hidden Games"
msgstr "Jogos ocultados"
#: data/gtk/window.blp:375
msgid "Sort"
msgstr "Ordenar"
#: data/gtk/window.blp:378
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:384
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:390
msgid "Newest"
msgstr "Mais novo"
#: data/gtk/window.blp:396
msgid "Oldest"
msgstr "Mais antigo"
#: data/gtk/window.blp:402
msgid "Last Played"
msgstr "Última vez jogado"
#: data/gtk/window.blp:409
msgid "Show Hidden"
msgstr "Mostrar ocultados"
#: data/gtk/window.blp:422
msgid "Keyboard Shortcuts"
msgstr "Atalhos de teclado"
#: data/gtk/window.blp:427
msgid "About Cartridges"
msgstr "Sobre o Cartuchos"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:127
msgid "translator_credits"
msgstr "Pedro Sader Azevedo"
#: src/window.py:187
msgid "Today"
msgstr "Hoje"
#: src/window.py:189
msgid "Yesterday"
msgstr "Ontem"
#. The variable is the date when the game was added
#: src/window.py:228
msgid "Added: {}"
msgstr "Adicionado: {}"
#: src/window.py:231
msgid "Never"
msgstr "Nunca"
#. The variable is the date when the game was last played
#: src/window.py:235
msgid "Last played: {}"
msgstr "Última vez jogado"
#: src/details_window.py:75
msgid "Apply"
msgstr "Aplicar"
#: src/details_window.py:81
msgid "Add New Game"
msgstr "Adicionar novo jogo"
#: src/details_window.py:82
msgid "Confirm"
msgstr "Confirmar"
#. Translate this string as you would translate "file"
#: src/details_window.py:94
msgid "file.txt"
msgstr "arquivo.txt"
#. As in software
#: src/details_window.py:96
msgid "program"
msgstr "programa"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:101 src/details_window.py:103
msgid "C:\\path\\to\\{}"
msgstr "C:\\caminho\\para\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:107 src/details_window.py:109
msgid "/path/to/{}"
msgstr "/caminho/para/{}"
#: src/details_window.py:113
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Para iniciar o executável \"{}\", use o comando:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Para abrir o arquivo \"{}\" com o aplicativo padrão, use:\n"
"\n"
"<tt>{}\"{}\"</tt>\n"
"\n"
"Se o caminho contiver espaços, certifique-se de colocá-lo entre aspas duplas!"
#: src/details_window.py:143 src/details_window.py:149
msgid "Couldn't Add Game"
msgstr "Não foi possível adicionar o jogo"
#: src/details_window.py:143 src/details_window.py:176
msgid "Game title cannot be empty."
msgstr "O título do jogo não pode estar vazio."
#: src/details_window.py:149 src/details_window.py:184
msgid "Executable cannot be empty."
msgstr "O executável não pode estar vazio."
#: src/details_window.py:175 src/details_window.py:183
msgid "Couldn't Apply Preferences"
msgstr "Não foi possível aplicar as preferências"
#. The variable is the title of the game
#: src/game.py:208
msgid "{} launched"
msgstr "{} iniciado"
#. The variable is the title of the game
#: src/game.py:220
msgid "{} hidden"
msgstr "{} está oculto"
#: src/game.py:220
msgid "{} unhidden"
msgstr "{} está exposto"
#. The variable is the title of the game
#: src/game.py:233
msgid "{} removed"
msgstr "{} removido"
#: src/preferences.py:97
msgid "All games removed"
msgstr "Todos os jogos foram removidos"
#: src/preferences.py:136
msgid "Cache Not Found"
msgstr "Cache não encontrado"
#: src/preferences.py:137
msgid "Select the Lutris cache directory."
msgstr "Selecione o diretório de cache do Lutris."
#: src/preferences.py:139 src/preferences.py:292
msgid "Set Location"
msgstr "Definir local"
#: src/preferences.py:166
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Uma chave da API é necessária para usar a SteamGridDB. Você pode gerar uma "
"chave {}aqui{}."
#: src/preferences.py:286
msgid "Installation Not Found"
msgstr "Instalação não encontrada"
#. The variable is the name of the game launcher
#: src/preferences.py:288
msgid "Select the {} configuration directory."
msgstr "Selecione o diretório de configuração de {}."
#. The variable is the name of the game launcher
#: src/preferences.py:290
msgid "Select the {} data directory."
msgstr "Selecione o diretório de informações de {}."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Dispensar"
#: src/utils/importer.py:41
msgid "Importing Games…"
msgstr "Importando jogos…"
#: src/utils/importer.py:76
msgid "Importing Covers…"
msgstr "Importando capas…"
#: src/utils/importer.py:91
#, fuzzy
#| msgid "No Games Found"
msgid "No new games found"
msgstr "Nenhum jogo encontrado"
#: src/utils/importer.py:98
#, fuzzy
#| msgid "Game Imported"
msgid "1 game imported"
msgstr "Jogo importado"
#. The variable is the number of games
#: src/utils/importer.py:104
#, fuzzy
#| msgid "Games Imported"
msgid "{} games imported"
msgstr "Jogos importados"
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
msgid "Couldn't Connect to SteamGridDB"
msgstr "Não foi possível conectar à SteamGridDB"
#~ msgid "Directory to use when importing games"
#~ msgstr "Diretório para usar ao importar jogos"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Bibliotecas adicionais da Steam"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Selecione outros diretórios onde você tem jogos da Steam instalados"
#~ msgid "Clear"
#~ msgstr "Limpar"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Diretório para usar ao importar imagens das capas dos jogos"
#~ msgid "Details"
#~ msgstr "Detalhes"
#~ msgid "No new games were found on your system."
#~ msgstr "Nenhum jogo novo foi encontrado no seu sistema."
#~ msgid "Successfully imported 1 game."
#~ msgstr "1 jogo foi importado com sucesso."
#~ msgid "Successfully imported {} games."
#~ msgstr "{} jogos foram importados com sucesso."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Parece que você tem múltiplas bibliotecas Steam. Gostaria de adicioná-las "
#~ "nas preferências?"

572
po/ro.po Normal file
View File

@@ -0,0 +1,572 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# Matt C <matei.gurzu@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
"PO-Revision-Date: 2023-04-04 17:12+0000\n"
"Last-Translator: Matt C <matei.gurzu@gmail.com>\n"
"Language-Team: Romanian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/ro/>\n"
"Language: ro\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==0 || (n%100 > 0 && n%100 < "
"20)) ? 1 : 2;\n"
"X-Generator: Weblate 4.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
#: src/main.py:109
msgid "Cartridges"
msgstr "Cartușe"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Lansator de jocuri"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Lansați toate jocurile dvs"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
#, fuzzy
#| msgid ""
#| "Cartridges is a simple game launcher. It has support for importing your "
#| "games from Steam, Heroic and Bottles with organizational features such as "
#| "hiding and sorting by date added or last played."
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ă."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Bibliotecă"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
msgid "Edit Game Details"
msgstr "Editați detaliile jocului"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
msgid "Game Details"
msgstr "Detalii joc"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
#: src/utils/importer.py:92 src/utils/importer.py:124
#: src/utils/steamgriddb.py:115
msgid "Preferences"
msgstr "Preferințe"
#: data/gtk/details_window.blp:25
msgid "Cancel"
msgstr ""
#: data/gtk/details_window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details_window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr ""
#: data/gtk/details_window.blp:102
msgid "The title of the game"
msgstr ""
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
msgid "Developer"
msgstr ""
#: data/gtk/details_window.blp:113
msgid "The developer or publisher (optional)"
msgstr ""
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
msgid "Executable"
msgstr ""
#: data/gtk/details_window.blp:124
msgid "File to open or command to run when launching the game"
msgstr ""
#: data/gtk/details_window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
msgid "Edit"
msgstr ""
#: data/gtk/game.blp:107 src/window.py:205
msgid "Hide"
msgstr ""
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:210
msgid "Remove"
msgstr ""
#: data/gtk/game.blp:126 src/window.py:207
msgid "Unhide"
msgstr ""
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr ""
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr ""
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
#: data/gtk/window.blp:324
msgid "Search"
msgstr "Căutare"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr ""
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr ""
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
msgid "Undo"
msgstr ""
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr ""
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr ""
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr ""
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr ""
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr ""
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr ""
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
msgid "Behavior"
msgstr ""
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr ""
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr ""
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr ""
#: data/gtk/preferences.blp:36 src/details_window.py:84
msgid "Images"
msgstr ""
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr ""
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
msgid "Import"
msgstr ""
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr ""
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr ""
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr ""
#: data/gtk/preferences.blp:90
msgid "Lutris"
msgstr ""
#: data/gtk/preferences.blp:94
msgid "Lutris Install Location"
msgstr ""
#: data/gtk/preferences.blp:103
msgid "Lutris Cache Location"
msgstr ""
#: data/gtk/preferences.blp:112
msgid "Import Steam Games"
msgstr ""
#: data/gtk/preferences.blp:122
msgid "Heroic"
msgstr ""
#: data/gtk/preferences.blp:126
msgid "Heroic Install Location"
msgstr ""
#: data/gtk/preferences.blp:135
msgid "Import Epic Games"
msgstr ""
#: data/gtk/preferences.blp:144
msgid "Import GOG Games"
msgstr ""
#: data/gtk/preferences.blp:153
msgid "Import Sideloaded Games"
msgstr ""
#: data/gtk/preferences.blp:163
msgid "Bottles"
msgstr ""
#: data/gtk/preferences.blp:167
msgid "Bottles Install Location"
msgstr ""
#: data/gtk/preferences.blp:177
msgid "itch"
msgstr ""
#: data/gtk/preferences.blp:181
msgid "itch Install Location"
msgstr ""
#: data/gtk/preferences.blp:194
msgid "SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:198
msgid "Authentication"
msgstr ""
#: data/gtk/preferences.blp:201
msgid "API Key"
msgstr ""
#: data/gtk/preferences.blp:209
msgid "Use SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:210
msgid "Download images when adding or importing games"
msgstr ""
#: data/gtk/preferences.blp:219
msgid "Prefer Over Official Images"
msgstr ""
#: data/gtk/preferences.blp:228
msgid "Prefer Animated Images"
msgstr ""
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Nu s-au găsit jocuri"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Încercați o altă căutare."
#: data/gtk/window.blp:22
msgid "No Games"
msgstr "Fără jocuri"
#: data/gtk/window.blp:23
msgid "Use the + button to add games."
msgstr "Folosiți butonul + pentru a adăuga jocuri."
#: data/gtk/window.blp:41
msgid "No Hidden Games"
msgstr "Fără jocuri ascunse"
#: data/gtk/window.blp:42
msgid "Games you hide will appear here."
msgstr "Jocurile pe care le ascundeți vor apărea aici."
#: data/gtk/window.blp:65 data/gtk/window.blp:305
msgid "Back"
msgstr "Înapoi"
#: data/gtk/window.blp:122
msgid "Game Title"
msgstr "Titlul jocului"
#: data/gtk/window.blp:177
msgid "Play"
msgstr "Joacă"
#: data/gtk/window.blp:244 data/gtk/window.blp:436
msgid "Add Game"
msgstr "Adăugați joc"
#: data/gtk/window.blp:251 data/gtk/window.blp:317
msgid "Main Menu"
msgstr "Meniu principal"
#: data/gtk/window.blp:312
msgid "Hidden Games"
msgstr "Jocuri ascunse"
#: data/gtk/window.blp:375
msgid "Sort"
msgstr ""
#: data/gtk/window.blp:378
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:384
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:390
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:396
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:402
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:409
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:422
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:427
msgid "About Cartridges"
msgstr ""
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:127
msgid "translator_credits"
msgstr ""
#: src/window.py:187
msgid "Today"
msgstr ""
#: src/window.py:189
msgid "Yesterday"
msgstr ""
#. The variable is the date when the game was added
#: src/window.py:228
msgid "Added: {}"
msgstr ""
#: src/window.py:231
msgid "Never"
msgstr ""
#. The variable is the date when the game was last played
#: src/window.py:235
msgid "Last played: {}"
msgstr ""
#: src/details_window.py:75
msgid "Apply"
msgstr ""
#: src/details_window.py:81
msgid "Add New Game"
msgstr ""
#: src/details_window.py:82
msgid "Confirm"
msgstr ""
#. Translate this string as you would translate "file"
#: src/details_window.py:94
msgid "file.txt"
msgstr ""
#. As in software
#: src/details_window.py:96
msgid "program"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:101 src/details_window.py:103
msgid "C:\\path\\to\\{}"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:107 src/details_window.py:109
msgid "/path/to/{}"
msgstr ""
#: src/details_window.py:113
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
#: src/details_window.py:143 src/details_window.py:149
msgid "Couldn't Add Game"
msgstr ""
#: src/details_window.py:143 src/details_window.py:176
msgid "Game title cannot be empty."
msgstr ""
#: src/details_window.py:149 src/details_window.py:184
msgid "Executable cannot be empty."
msgstr ""
#: src/details_window.py:175 src/details_window.py:183
msgid "Couldn't Apply Preferences"
msgstr ""
#. The variable is the title of the game
#: src/game.py:208
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/game.py:220
msgid "{} hidden"
msgstr ""
#: src/game.py:220
msgid "{} unhidden"
msgstr ""
#. The variable is the title of the game
#: src/game.py:233
msgid "{} removed"
msgstr ""
#: src/preferences.py:97
msgid "All games removed"
msgstr ""
#: src/preferences.py:136
msgid "Cache Not Found"
msgstr ""
#: src/preferences.py:137
msgid "Select the Lutris cache directory."
msgstr ""
#: src/preferences.py:139 src/preferences.py:292
msgid "Set Location"
msgstr ""
#: src/preferences.py:166
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/preferences.py:286
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:288
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:290
msgid "Select the {} data directory."
msgstr ""
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr ""
#: src/utils/importer.py:41
msgid "Importing Games…"
msgstr ""
#: src/utils/importer.py:76
msgid "Importing Covers…"
msgstr ""
#: src/utils/importer.py:91
#, fuzzy
#| msgid "No Games Found"
msgid "No new games found"
msgstr "Nu s-au găsit jocuri"
#: src/utils/importer.py:98
msgid "1 game imported"
msgstr ""
#. The variable is the number of games
#: src/utils/importer.py:104
msgid "{} games imported"
msgstr ""
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
msgid "Couldn't Connect to SteamGridDB"
msgstr ""
#~ msgid "Launch your games"
#~ msgstr "Lansați-vă jocurile"

690
po/ru.po Normal file
View File

@@ -0,0 +1,690 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# Сергей <asvmail.as@gmail.com>, 2023.
# kramo <contact@kramo.hu>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
"PO-Revision-Date: 2023-05-24 20:27+0000\n"
"Last-Translator: Сергей <asvmail.as@gmail.com>\n"
"Language-Team: Russian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/ru/>\n"
"Language: ru\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%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.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
#: src/main.py:109
msgid "Cartridges"
msgstr "Картриджи"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Средство запуска игр"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Запустите все свои игры"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "gaming;launcher;steam;lutris;heroic;bottles;itch;игры;стим;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
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 ""
"Картриджи - это простое приложение для запуска ваших игр. Оно поддерживает "
"импорт игр из Steam, Lutris, Heroic и других без необходимости входа в "
"систему. Вы можете сортировать и скрывать игры или загружать обложки из "
"SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Библиотека"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
msgid "Edit Game Details"
msgstr "Редактировать подробности об игре"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
msgid "Game Details"
msgstr "Подробности об игре"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
#: src/utils/importer.py:92 src/utils/importer.py:124
#: src/utils/steamgriddb.py:115
msgid "Preferences"
msgstr "Параметры"
#: data/gtk/details_window.blp:25
msgid "Cancel"
msgstr "Отменить"
#: data/gtk/details_window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details_window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Название"
#: data/gtk/details_window.blp:102
msgid "The title of the game"
msgstr "Название игры"
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
msgid "Developer"
msgstr "Разработчик"
#: data/gtk/details_window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Разработчик или издатель (необязательно)"
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
msgid "Executable"
msgstr "Исполняемый"
#: data/gtk/details_window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Файл для открытия или команда для запуска игры"
#: data/gtk/details_window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
msgid "Edit"
msgstr "Редактировать"
#: data/gtk/game.blp:107 src/window.py:205
msgid "Hide"
msgstr "Скрыть"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:210
msgid "Remove"
msgstr "Удалить"
#: data/gtk/game.blp:126 src/window.py:207
msgid "Unhide"
msgstr "Показать"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Основное"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Выйти"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
#: data/gtk/window.blp:324
msgid "Search"
msgstr "Поиск"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Показать параметры"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Комбинации клавиш"
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
msgid "Undo"
msgstr "Отменить"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Открыть меню"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Игры"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Добавить новую игру"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Импорт игр"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Показать скрытые игры"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Удалить игру"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
msgid "Behavior"
msgstr "Поведение"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Выход после запуска игр"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Запуск игры используя изображение обложки"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Меняет местами поведение изображения обложки и кнопки запуска"
#: data/gtk/preferences.blp:36 src/details_window.py:84
msgid "Images"
msgstr "Изображения"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Изображения высокого качества"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr "Сохранение обложек игр без потерь за счет хранилища"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Небезопасная область"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Удалить все игры"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
msgid "Import"
msgstr "Импортировать"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Источники"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Место установки Steam"
#: data/gtk/preferences.blp:90
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:94
msgid "Lutris Install Location"
msgstr "Место установки Lutris"
#: data/gtk/preferences.blp:103
msgid "Lutris Cache Location"
msgstr "Расположение кэша Lutris"
#: data/gtk/preferences.blp:112
msgid "Import Steam Games"
msgstr "Импорт игр Steam"
#: data/gtk/preferences.blp:122
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:126
msgid "Heroic Install Location"
msgstr "Место установки Heroic"
#: data/gtk/preferences.blp:135
msgid "Import Epic Games"
msgstr "Импорт игр Epic"
#: data/gtk/preferences.blp:144
msgid "Import GOG Games"
msgstr "Импорт игр GOG"
#: data/gtk/preferences.blp:153
msgid "Import Sideloaded Games"
msgstr "Импорт сторонних игр"
#: data/gtk/preferences.blp:163
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:167
msgid "Bottles Install Location"
msgstr "Место установки Bottles"
#: data/gtk/preferences.blp:177
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:181
msgid "itch Install Location"
msgstr "Место установки itch"
#: data/gtk/preferences.blp:194
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:198
msgid "Authentication"
msgstr "Аутентификация"
#: data/gtk/preferences.blp:201
msgid "API Key"
msgstr "API-ключ"
#: data/gtk/preferences.blp:209
msgid "Use SteamGridDB"
msgstr "Использовать SteamGridDB"
#: data/gtk/preferences.blp:210
msgid "Download images when adding or importing games"
msgstr "Загрузка изображений при добавлении или импорте игр"
#: data/gtk/preferences.blp:219
msgid "Prefer Over Official Images"
msgstr "Отдавать предпочтение официальным изображениям"
#: data/gtk/preferences.blp:228
msgid "Prefer Animated Images"
msgstr "Отдавать предпочтение анимированным изображениям"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Игры не найдены"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Попробуйте другой поиск."
#: data/gtk/window.blp:22
msgid "No Games"
msgstr "Игр нет"
#: data/gtk/window.blp:23
msgid "Use the + button to add games."
msgstr "Используйте кнопку «+» для добавления игр."
#: data/gtk/window.blp:41
msgid "No Hidden Games"
msgstr "Нет скрытых игр"
#: data/gtk/window.blp:42
msgid "Games you hide will appear here."
msgstr "Здесь появятся скрытые игры."
#: data/gtk/window.blp:65 data/gtk/window.blp:305
msgid "Back"
msgstr "Назад"
#: data/gtk/window.blp:122
msgid "Game Title"
msgstr "Название игры"
#: data/gtk/window.blp:177
msgid "Play"
msgstr "Играть"
#: data/gtk/window.blp:244 data/gtk/window.blp:436
msgid "Add Game"
msgstr "Добавить игру"
#: data/gtk/window.blp:251 data/gtk/window.blp:317
msgid "Main Menu"
msgstr "Главное меню"
#: data/gtk/window.blp:312
msgid "Hidden Games"
msgstr "Скрытые игры"
#: data/gtk/window.blp:375
msgid "Sort"
msgstr "Сортировать"
#: data/gtk/window.blp:378
msgid "A-Z"
msgstr "А-Я"
#: data/gtk/window.blp:384
msgid "Z-A"
msgstr "Я-А"
#: data/gtk/window.blp:390
msgid "Newest"
msgstr "Сначала новые"
#: data/gtk/window.blp:396
msgid "Oldest"
msgstr "Сначала старые"
#: data/gtk/window.blp:402
msgid "Last Played"
msgstr "Последняя игра"
#: data/gtk/window.blp:409
msgid "Show Hidden"
msgstr "Показать скрытые"
#: data/gtk/window.blp:422
msgid "Keyboard Shortcuts"
msgstr "Комбинации клавиш"
#: data/gtk/window.blp:427
msgid "About Cartridges"
msgstr "О приложении"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:127
msgid "translator_credits"
msgstr "Ser82-png"
#: src/window.py:187
msgid "Today"
msgstr "Сегодня"
#: src/window.py:189
msgid "Yesterday"
msgstr "Вчера"
#. The variable is the date when the game was added
#: src/window.py:228
msgid "Added: {}"
msgstr "Добавлено: {}"
#: src/window.py:231
msgid "Never"
msgstr "Никогда"
#. The variable is the date when the game was last played
#: src/window.py:235
msgid "Last played: {}"
msgstr "Последняя игра: {}"
#: src/details_window.py:75
msgid "Apply"
msgstr "Применить"
#: src/details_window.py:81
msgid "Add New Game"
msgstr "Добавить новую игру"
#: src/details_window.py:82
msgid "Confirm"
msgstr "Подтвердить"
#. Translate this string as you would translate "file"
#: src/details_window.py:94
msgid "file.txt"
msgstr "file.txt"
#. As in software
#: src/details_window.py:96
msgid "program"
msgstr "программа"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:101 src/details_window.py:103
msgid "C:\\path\\to\\{}"
msgstr "C:\\путь\\к\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:107 src/details_window.py:109
msgid "/path/to/{}"
msgstr "/путь/к/{}"
#: src/details_window.py:113
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Чтобы запустить исполняемый файл \"{}\", выполните команду:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Чтобы открыть файл \"{}\" с помощью приложения по умолчанию, используйте:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Если путь содержит пробелы, обязательно заключите его в двойные кавычки!"
#: src/details_window.py:143 src/details_window.py:149
msgid "Couldn't Add Game"
msgstr "Не удалось добавить игру"
#: src/details_window.py:143 src/details_window.py:176
msgid "Game title cannot be empty."
msgstr "Название игры не может быть пустым."
#: src/details_window.py:149 src/details_window.py:184
msgid "Executable cannot be empty."
msgstr "Исполняемый файл не может быть пустым."
#: src/details_window.py:175 src/details_window.py:183
msgid "Couldn't Apply Preferences"
msgstr "Не удалось применить параметры"
#. The variable is the title of the game
#: src/game.py:208
msgid "{} launched"
msgstr "{} - запущена"
#. The variable is the title of the game
#: src/game.py:220
msgid "{} hidden"
msgstr "{} - скрытая"
#: src/game.py:220
msgid "{} unhidden"
msgstr "{} - не скрыта"
#. The variable is the title of the game
#: src/game.py:233
msgid "{} removed"
msgstr "{} удалена"
#: src/preferences.py:97
msgid "All games removed"
msgstr "Все игры удалены"
#: src/preferences.py:136
msgid "Cache Not Found"
msgstr "Кэш не найден"
#: src/preferences.py:137
msgid "Select the Lutris cache directory."
msgstr "Выберите каталог кэша Lutris."
#: src/preferences.py:139 src/preferences.py:292
msgid "Set Location"
msgstr "Установить расположение"
#: src/preferences.py:166
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Для использования SteamGridDB требуется ключ API. Вы можете сгенерировать "
"его {}здесь{}."
#: src/preferences.py:286
msgid "Installation Not Found"
msgstr "Установка не найдена"
#. The variable is the name of the game launcher
#: src/preferences.py:288
msgid "Select the {} configuration directory."
msgstr "Выберите каталог конфигурации {}."
#. The variable is the name of the game launcher
#: src/preferences.py:290
msgid "Select the {} data directory."
msgstr "Выберите каталог данных {}."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Отклонить"
#: src/utils/importer.py:41
msgid "Importing Games…"
msgstr "Импорт игр…"
#: src/utils/importer.py:76
msgid "Importing Covers…"
msgstr "Импорт обложек…"
#: src/utils/importer.py:91
msgid "No new games found"
msgstr "Новых игр не найдено"
#: src/utils/importer.py:98
msgid "1 game imported"
msgstr "1 игра импортирована"
#. The variable is the number of games
#: src/utils/importer.py:104
msgid "{} games imported"
msgstr "{} игр(ы) импортировано"
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
msgid "Couldn't Connect to SteamGridDB"
msgstr "Не удалось подключиться к SteamGridDB"
#~ msgid "Directory to use when importing games"
#~ msgstr "Каталог для импорта игр"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Дополнительные библиотеки Steam"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Выберите другие каталоги, в которых у вас установлены игры из Steam"
#~ msgid "Clear"
#~ msgstr "Очистить"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Каталог для импорта обложек игр"
#~ msgid "Details"
#~ msgstr "Подробности"
#~ msgid "No new games were found on your system."
#~ msgstr "В вашей системе не найдено новых игр."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Успешно импортирована 1 игра."
#~ msgid "Successfully imported {} games."
#~ msgstr "Успешно импортировано {} игр."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Похоже, у вас несколько библиотек Steam. Хотите добавить их в параметрах?"
#~ msgid "Launch your games"
#~ msgstr "Запускайте свои игры"
#, python-brace-format
#~ msgid "Last played: {last_played_date}"
#~ msgstr "Последняя игра: {last_played_date}"
#, python-brace-format
#~ msgid "Successfully imported {games_no} games."
#~ msgstr "Успешно импортировано {games_no} игр."
#, python-brace-format
#~ msgid "C:\\path\\to\\{file_name}"
#~ msgstr "C:\\путь\\к\\{file_name}"
#, python-brace-format
#~ msgid "/path/to/{file_name}"
#~ msgstr "/путь/к/{file_name}"
#, fuzzy
#~| msgid "General"
#~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "Основное"
#, fuzzy
#~| msgid "Search"
#~ msgctxt "shortcuts window"
#~ msgid "Search"
#~ msgstr "Поиск"
#, fuzzy
#~| msgid "Undo"
#~ msgctxt "shortcuts window"
#~ msgid "Undo"
#~ msgstr "Отменить"
#~ msgid "First stable release"
#~ msgstr "Первый стабильный выпуск"
#~ msgctxt "shortcut window"
#~ msgid "General"
#~ msgstr "Основное"
#~ msgctxt "shortcut window"
#~ msgid "Search"
#~ msgstr "Поиск"
#~ msgctxt "shortcut window"
#~ msgid "Undo"
#~ msgstr "Отменить"
#~ msgid "Couldn't Import Games"
#~ msgstr "Не удалось импортировать игры"
#~ msgid "The Bottles directory cannot be found."
#~ msgstr "Не удалось найти каталог Bottles."
#~ msgid "Set Bottles Location"
#~ msgstr "Установить расположение Bottles"
#~ msgid "No new games were found in the Bottles library."
#~ msgstr "В библиотеке Bottles не было найдено новых игр."
#~ msgid "Bottles Games Imported"
#~ msgstr "Игры Bottles импортированы"
#~ msgid "The Heroic directory cannot be found."
#~ msgstr "Не удалось найти каталог Heroic."
#~ msgid "Heroic Games Imported"
#~ msgstr "Игры Heroic импортированы"
#~ msgid "No new games were found in the Steam library."
#~ msgstr "В библиотеке Steam новых игр не найдено."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Не удалось найти каталог Steam."
#~ msgid "Talking to Steam"
#~ msgstr "Общение со Steam"

608
po/sv.po Normal file
View File

@@ -0,0 +1,608 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# micke <mikanybe@gmail.com>, 2023.
# micke <micke@users.noreply.hosted.weblate.org>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
"PO-Revision-Date: 2023-05-24 20:27+0000\n"
"Last-Translator: micke <micke@users.noreply.hosted.weblate.org>\n"
"Language-Team: Swedish <https://hosted.weblate.org/projects/cartridges/"
"cartridges/sv/>\n"
"Language: sv\n"
"MIME-Version: 1.0\n"
"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.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
#: src/main.py:109
msgid "Cartridges"
msgstr "Cartridges"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Spelstartare"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Starta alla dina spel"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "gaming;spelstartare;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
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 är en enkel spelstartare för alla dina spel. Det har stöd för att "
"importera spel från Steam, Lutris, Heroic och fler utan inloggning. Du kan "
"sortera och dölja spel eller ladda ner omslagsbilder från SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Bibliotek"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
msgid "Edit Game Details"
msgstr "Redigera speldetaljer"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
msgid "Game Details"
msgstr "Speldetaljer"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
#: src/utils/importer.py:92 src/utils/importer.py:124
#: src/utils/steamgriddb.py:115
msgid "Preferences"
msgstr "Inställningar"
#: data/gtk/details_window.blp:25
msgid "Cancel"
msgstr "Avbryt"
#: data/gtk/details_window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details_window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Titel"
#: data/gtk/details_window.blp:102
msgid "The title of the game"
msgstr "Spelets titel"
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
msgid "Developer"
msgstr "Utvecklare"
#: data/gtk/details_window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Utvecklaren eller utgivaren (valfritt)"
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
msgid "Executable"
msgstr "Körbar"
#: data/gtk/details_window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Fil som ska öppnas eller kommando som ska köras när spelet startas"
#: data/gtk/details_window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
msgid "Edit"
msgstr "Redigera"
#: data/gtk/game.blp:107 src/window.py:205
msgid "Hide"
msgstr "Dölj"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:210
msgid "Remove"
msgstr "Ta bort"
#: data/gtk/game.blp:126 src/window.py:207
msgid "Unhide"
msgstr "Visa"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Allmänt"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Avsluta"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
#: data/gtk/window.blp:324
msgid "Search"
msgstr "Sök"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Visa inställningar"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Genvägar"
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
msgid "Undo"
msgstr "Ångra"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Öppna meny"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Spel"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Lägg till nytt spel"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Importera spel"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Visa dolda spel"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Ta bort spel"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
msgid "Behavior"
msgstr "Beteende"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Avsluta efter start av spel"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Omslagsbild startar spel"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Byt beteende för omslagsbilden och Spela-knappen"
#: data/gtk/preferences.blp:36 src/details_window.py:84
msgid "Images"
msgstr "Bilder"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Bilder av hög kvalitet"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
"Spara omslagsbilder utan kvalitetsförlust på bekostnad av lagringsplats"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Farozon"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Ta bort alla spel"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
msgid "Import"
msgstr "Importera"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Källor"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Steam-installationsplats"
#: data/gtk/preferences.blp:90
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:94
msgid "Lutris Install Location"
msgstr "Lutris-installationsplats"
#: data/gtk/preferences.blp:103
msgid "Lutris Cache Location"
msgstr "Plats för Lutris cache"
#: data/gtk/preferences.blp:112
msgid "Import Steam Games"
msgstr "Importera Steam-spel"
#: data/gtk/preferences.blp:122
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:126
msgid "Heroic Install Location"
msgstr "Heroic-installationsplats"
#: data/gtk/preferences.blp:135
msgid "Import Epic Games"
msgstr "Importera Epic Games"
#: data/gtk/preferences.blp:144
msgid "Import GOG Games"
msgstr "Importera GOG-spel"
#: data/gtk/preferences.blp:153
msgid "Import Sideloaded Games"
msgstr "Importera sidoladdade spel"
#: data/gtk/preferences.blp:163
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:167
msgid "Bottles Install Location"
msgstr "Bottles-installationsplats"
#: data/gtk/preferences.blp:177
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:181
msgid "itch Install Location"
msgstr "itch-installationsplats"
#: data/gtk/preferences.blp:194
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:198
msgid "Authentication"
msgstr "Autentisering"
#: data/gtk/preferences.blp:201
msgid "API Key"
msgstr "API-nyckel"
#: data/gtk/preferences.blp:209
msgid "Use SteamGridDB"
msgstr "Använd SteamGridDB"
#: data/gtk/preferences.blp:210
msgid "Download images when adding or importing games"
msgstr "Ladda ner bilder när spel läggs till eller importeras"
#: data/gtk/preferences.blp:219
msgid "Prefer Over Official Images"
msgstr "Föredra framför officiella bilder"
#: data/gtk/preferences.blp:228
msgid "Prefer Animated Images"
msgstr "Föredra animerade bilder"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Inga spel hittades"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Försök med en annan sökning."
#: data/gtk/window.blp:22
msgid "No Games"
msgstr "Inga spel"
#: data/gtk/window.blp:23
msgid "Use the + button to add games."
msgstr "Använd +-knappen för att lägga till spel."
#: data/gtk/window.blp:41
msgid "No Hidden Games"
msgstr "Inga dolda spel"
#: data/gtk/window.blp:42
msgid "Games you hide will appear here."
msgstr "Spel som du döljer kommer visas här."
#: data/gtk/window.blp:65 data/gtk/window.blp:305
msgid "Back"
msgstr "Bakåt"
#: data/gtk/window.blp:122
msgid "Game Title"
msgstr "Speltitel"
#: data/gtk/window.blp:177
msgid "Play"
msgstr "Spela"
#: data/gtk/window.blp:244 data/gtk/window.blp:436
msgid "Add Game"
msgstr "Lägg till spel"
#: data/gtk/window.blp:251 data/gtk/window.blp:317
msgid "Main Menu"
msgstr "Huvudmeny"
#: data/gtk/window.blp:312
msgid "Hidden Games"
msgstr "Dolda spel"
#: data/gtk/window.blp:375
msgid "Sort"
msgstr "Sortering"
#: data/gtk/window.blp:378
msgid "A-Z"
msgstr "A-Ö"
#: data/gtk/window.blp:384
msgid "Z-A"
msgstr "Ö-A"
#: data/gtk/window.blp:390
msgid "Newest"
msgstr "Nyaste"
#: data/gtk/window.blp:396
msgid "Oldest"
msgstr "Äldsta"
#: data/gtk/window.blp:402
msgid "Last Played"
msgstr "Senast spelad"
#: data/gtk/window.blp:409
msgid "Show Hidden"
msgstr "Visa dolda"
#: data/gtk/window.blp:422
msgid "Keyboard Shortcuts"
msgstr "Tangentbordsgenvägar"
#: data/gtk/window.blp:427
msgid "About Cartridges"
msgstr "Om Cartridges"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:127
msgid "translator_credits"
msgstr "Micke"
#: src/window.py:187
msgid "Today"
msgstr "Idag"
#: src/window.py:189
msgid "Yesterday"
msgstr "Igår"
#. The variable is the date when the game was added
#: src/window.py:228
msgid "Added: {}"
msgstr "Tillagt: {}"
#: src/window.py:231
msgid "Never"
msgstr "Aldrig"
#. The variable is the date when the game was last played
#: src/window.py:235
msgid "Last played: {}"
msgstr "Senast spelat: {}"
#: src/details_window.py:75
msgid "Apply"
msgstr "Tillämpa"
#: src/details_window.py:81
msgid "Add New Game"
msgstr "Lägg till nytt spel"
#: src/details_window.py:82
msgid "Confirm"
msgstr "Bekräfta"
#. Translate this string as you would translate "file"
#: src/details_window.py:94
msgid "file.txt"
msgstr "fil.txt"
#. As in software
#: src/details_window.py:96
msgid "program"
msgstr "program"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:101 src/details_window.py:103
msgid "C:\\path\\to\\{}"
msgstr "C:\\sökväg\\till\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:107 src/details_window.py:109
msgid "/path/to/{}"
msgstr "/sökväg/till/{}"
#: src/details_window.py:113
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Använd kommandot för att starta den körbara filen \"{}\":\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"För att öppna filen \"{}\" med standardprogrammet använder du:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Om sökvägen innehåller mellanslag, se till att den omsluts av dubbla "
"citationstecken!"
#: src/details_window.py:143 src/details_window.py:149
msgid "Couldn't Add Game"
msgstr "Kunde inte lägga till spelet"
#: src/details_window.py:143 src/details_window.py:176
msgid "Game title cannot be empty."
msgstr "Spelets titel kan inte vara tom."
#: src/details_window.py:149 src/details_window.py:184
msgid "Executable cannot be empty."
msgstr "Den körbara filen kan inte vara tom."
#: src/details_window.py:175 src/details_window.py:183
msgid "Couldn't Apply Preferences"
msgstr "Kunde inte tillämpa inställningar"
#. The variable is the title of the game
#: src/game.py:208
msgid "{} launched"
msgstr "{} startat"
#. The variable is the title of the game
#: src/game.py:220
msgid "{} hidden"
msgstr "{} dolt"
#: src/game.py:220
msgid "{} unhidden"
msgstr "{} synlig"
#. The variable is the title of the game
#: src/game.py:233
msgid "{} removed"
msgstr "{} borttaget"
#: src/preferences.py:97
msgid "All games removed"
msgstr "Alla spel togs bort"
#: src/preferences.py:136
msgid "Cache Not Found"
msgstr "Cache inte hittad"
#: src/preferences.py:137
msgid "Select the Lutris cache directory."
msgstr "Välj Lutris cache-mapp."
#: src/preferences.py:139 src/preferences.py:292
msgid "Set Location"
msgstr "Ange plats"
#: src/preferences.py:166
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"En API-nyckel krävs för att använda SteamGridDB. Du kan generera en {}här{}."
#: src/preferences.py:286
msgid "Installation Not Found"
msgstr "Installationen hittades inte"
#. The variable is the name of the game launcher
#: src/preferences.py:288
msgid "Select the {} configuration directory."
msgstr "Välj konfigurationsmappen {}."
#. The variable is the name of the game launcher
#: src/preferences.py:290
msgid "Select the {} data directory."
msgstr "Välj datamappen {}."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Avvisa"
#: src/utils/importer.py:41
msgid "Importing Games…"
msgstr "Importerar spel…"
#: src/utils/importer.py:76
msgid "Importing Covers…"
msgstr "Importerar omslagsbilder…"
#: src/utils/importer.py:91
msgid "No new games found"
msgstr "Inga nya spel hittades"
#: src/utils/importer.py:98
msgid "1 game imported"
msgstr "1 spel Importerat"
#. The variable is the number of games
#: src/utils/importer.py:104
msgid "{} games imported"
msgstr "{} spel importerade"
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
msgid "Couldn't Connect to SteamGridDB"
msgstr "Kunde inte ansluta till SteamGridDB"
#~ msgid "Directory to use when importing games"
#~ msgstr "Mapp att använda för importering av spel"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Extra Steam-bibliotek"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Välj andra mappar där du har Steam-spel installerade"
#~ msgid "Clear"
#~ msgstr "Rensa"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Mapp att använda för import av omslagsbilder"
#~ msgid "Details"
#~ msgstr "Detaljer"
#~ msgid "No new games were found on your system."
#~ msgstr "Inga nya spel hittades på ditt system."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Importerade 1 spel."
#~ msgid "Successfully imported {} games."
#~ msgstr "Importerade {} spel."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Du verkar ha flera Steam-bibliotek. Vill du lägga till dem i "
#~ "inställningar?"

853
po/ta.po

File diff suppressed because it is too large Load Diff

575
po/tr.po Normal file
View File

@@ -0,0 +1,575 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# Sabri Ünal <libreajans@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-25 17:48+0200\n"
"PO-Revision-Date: 2023-05-26 18:10+0000\n"
"Last-Translator: Sabri Ünal <libreajans@gmail.com>\n"
"Language-Team: Turkish <https://hosted.weblate.org/projects/cartridges/"
"cartridges/tr/>\n"
"Language: tr\n"
"MIME-Version: 1.0\n"
"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.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:48
#: src/main.py:109
msgid "Cartridges"
msgstr "Kartuşlar"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Oyun Başlatıcı"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Tüm oyunlarınızı başlatın"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "oyun;başlatıcı;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
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 ""
"Kartuşlar, tüm oyunlarınız için basit bir oyun başlatıcıdır. Oturum açmaya "
"gerek kalmadan Steam, Lutris, Heroic ve daha fazla sağlayıcıdan oyun içe "
"aktarma desteğine sahiptir. Oyunları sıralayabilir, gizleyebilir veya "
"SteamGridDB'den kapak resmi indirebilirsiniz."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Kütüphane"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:66
msgid "Edit Game Details"
msgstr "Oyun Ayrıntılarını Düzenle"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:72
msgid "Game Details"
msgstr "Oyun Ayrıntıları"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:417
#: src/utils/importer.py:92 src/utils/importer.py:124
#: src/utils/steamgriddb.py:115
msgid "Preferences"
msgstr "Tercihler"
#: data/gtk/details_window.blp:25
msgid "Cancel"
msgstr "İptal"
#: data/gtk/details_window.blp:57
msgid "New Cover"
msgstr "Yeni Kapak"
#: data/gtk/details_window.blp:75
msgid "Delete Cover"
msgstr "Kapağı Sil"
#: data/gtk/details_window.blp:101 data/gtk/details_window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Başlık"
#: data/gtk/details_window.blp:102
msgid "The title of the game"
msgstr "Oyunun başlığı"
#: data/gtk/details_window.blp:112 data/gtk/details_window.blp:117
msgid "Developer"
msgstr "Geliştirici"
#: data/gtk/details_window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Geliştirici veya yayıncı (isteğe bağlı)"
#: data/gtk/details_window.blp:123 data/gtk/details_window.blp:153
msgid "Executable"
msgstr "Yürütülebilir"
#: data/gtk/details_window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Oyun başlatılırken açılacak dosya veya çalıştırılacak komut"
#: data/gtk/details_window.blp:130
msgid "More Info"
msgstr "Daha Fazla Bilgi"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:196
msgid "Edit"
msgstr "Düzenle"
#: data/gtk/game.blp:107 src/window.py:205
msgid "Hide"
msgstr "Gizle"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:210
msgid "Remove"
msgstr "Kaldır"
#: data/gtk/game.blp:126 src/window.py:207
msgid "Unhide"
msgstr "Göster"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Genel"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Çık"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:218 data/gtk/window.blp:258
#: data/gtk/window.blp:324
msgid "Search"
msgstr "Ara"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Tercihleri göster"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Kısayollar"
#: data/gtk/help-overlay.blp:34 src/game.py:169 src/preferences.py:98
msgid "Undo"
msgstr "Geri Al"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Menüyü aç"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Oyunlar"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Yeni oyun ekle"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Oyunları içe aktar"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Gizli oyunları göster"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Oyunu kaldır"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:206
msgid "Behavior"
msgstr "Davranış"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Oyunu Başlatıldıktan Sonra Çık"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Kapak Görüntüsü Oyunu Başlatır"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Kapak görüntüsünün ve oyna düğmesinin davranışını değiştirir"
#: data/gtk/preferences.blp:36 src/details_window.py:84
msgid "Images"
msgstr "Görüntüler"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Yüksek Kaliteli Görüntüler"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
"Oyun kapaklarını, daha çok depolama alanı gerektirmesine rağmen, kayıpsız "
"kaydet"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Tehlikeli Bölge"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Tüm Oyunları Kaldır"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:28 data/gtk/window.blp:443
msgid "Import"
msgstr "İçe Aktar"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Kaynaklar"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Steam Kurulu Konumu"
#: data/gtk/preferences.blp:90
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:94
msgid "Lutris Install Location"
msgstr "Lutris Kurulu Konumu"
#: data/gtk/preferences.blp:103
msgid "Lutris Cache Location"
msgstr "Lutris Önbellek Konumu"
#: data/gtk/preferences.blp:112
msgid "Import Steam Games"
msgstr "Steam Oyunlarını İçe Aktar"
#: data/gtk/preferences.blp:122
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:126
msgid "Heroic Install Location"
msgstr "Heroic Kurulu Konumu"
#: data/gtk/preferences.blp:135
msgid "Import Epic Games"
msgstr "Epic Oyunlarını İçe Aktar"
#: data/gtk/preferences.blp:144
msgid "Import GOG Games"
msgstr "GOG Oyunlarını İçe Aktar"
#: data/gtk/preferences.blp:153
msgid "Import Sideloaded Games"
msgstr "Yandan Yüklenmiş Oyunları İçe Aktar"
#: data/gtk/preferences.blp:163
msgid "Bottles"
msgstr "Şişeler"
#: data/gtk/preferences.blp:167
msgid "Bottles Install Location"
msgstr "Şişeler Kurulu Konumu"
#: data/gtk/preferences.blp:177
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:181
msgid "itch Install Location"
msgstr "itch Kurulu Konumu"
#: data/gtk/preferences.blp:194
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:198
msgid "Authentication"
msgstr "Kimlik Doğrulaması"
#: data/gtk/preferences.blp:201
msgid "API Key"
msgstr "API anahtarı"
#: data/gtk/preferences.blp:209
msgid "Use SteamGridDB"
msgstr "SteamGridDB Kullan"
#: data/gtk/preferences.blp:210
msgid "Download images when adding or importing games"
msgstr "Oyun eklerken veya içe aktarırken görüntüleri indir"
#: data/gtk/preferences.blp:219
msgid "Prefer Over Official Images"
msgstr "Resmî Görsellere Yeğle"
#: data/gtk/preferences.blp:228
msgid "Prefer Animated Images"
msgstr "Hareketli Görselleri Yeğle"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Hiçbir Oyun Bulunamadı"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Başka arama dene."
#: data/gtk/window.blp:22
msgid "No Games"
msgstr "Oyun Yok"
#: data/gtk/window.blp:23
msgid "Use the + button to add games."
msgstr "Oyun eklemek için + düğmesini kullanın."
#: data/gtk/window.blp:41
msgid "No Hidden Games"
msgstr "Gizli Oyun Yok"
#: data/gtk/window.blp:42
msgid "Games you hide will appear here."
msgstr "Gizlediğiniz oyunlar burada belirecek."
#: data/gtk/window.blp:65 data/gtk/window.blp:305
msgid "Back"
msgstr "Geri"
#: data/gtk/window.blp:122
msgid "Game Title"
msgstr "Oyun Başlığı"
#: data/gtk/window.blp:177
msgid "Play"
msgstr "Oyna"
#: data/gtk/window.blp:244 data/gtk/window.blp:436
msgid "Add Game"
msgstr "Oyun Ekle"
#: data/gtk/window.blp:251 data/gtk/window.blp:317
msgid "Main Menu"
msgstr "Ana Menü"
#: data/gtk/window.blp:312
msgid "Hidden Games"
msgstr "Gizli Oyunlar"
#: data/gtk/window.blp:375
msgid "Sort"
msgstr "Sırala"
#: data/gtk/window.blp:378
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:384
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:390
msgid "Newest"
msgstr "En Yeni"
#: data/gtk/window.blp:396
msgid "Oldest"
msgstr "En Eski"
#: data/gtk/window.blp:402
msgid "Last Played"
msgstr "Son Oynanan"
#: data/gtk/window.blp:409
msgid "Show Hidden"
msgstr "Gizlileri Göster"
#: data/gtk/window.blp:422
msgid "Keyboard Shortcuts"
msgstr "Klavye Kısayolları"
#: data/gtk/window.blp:427
msgid "About Cartridges"
msgstr "Kartuşlar Hakkında"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:127
msgid "translator_credits"
msgstr "Sabri Ünal <libreajans@gmail.com>"
#: src/window.py:187
msgid "Today"
msgstr "Bugün"
#: src/window.py:189
msgid "Yesterday"
msgstr "Dün"
#. The variable is the date when the game was added
#: src/window.py:228
msgid "Added: {}"
msgstr "Eklendi: {}"
#: src/window.py:231
msgid "Never"
msgstr "Asla"
#. The variable is the date when the game was last played
#: src/window.py:235
msgid "Last played: {}"
msgstr "Son oynanma: {}"
#: src/details_window.py:75
msgid "Apply"
msgstr "Uygula"
#: src/details_window.py:81
msgid "Add New Game"
msgstr "Yeni Oyun Ekle"
#: src/details_window.py:82
msgid "Confirm"
msgstr "Doğrula"
#. Translate this string as you would translate "file"
#: src/details_window.py:94
msgid "file.txt"
msgstr "dosya.txt"
#. As in software
#: src/details_window.py:96
msgid "program"
msgstr "program"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:101 src/details_window.py:103
msgid "C:\\path\\to\\{}"
msgstr "C:\\yol\\klasör\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:107 src/details_window.py:109
msgid "/path/to/{}"
msgstr "/yol/klasör/{}"
#: src/details_window.py:113
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"\"{}\" yürütülebilirini başlatmak için şu komutu kullanın:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"\"{}\" dosyasını öntanımlı uygulamayla açmak için şunu kullanın:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Yol boşluk içeriyorsa, çift tırnak içine aldığınızdan emin olun!"
#: src/details_window.py:143 src/details_window.py:149
msgid "Couldn't Add Game"
msgstr "Oyun Eklenemedi"
#: src/details_window.py:143 src/details_window.py:176
msgid "Game title cannot be empty."
msgstr "Oyun başlığı boş olamaz."
#: src/details_window.py:149 src/details_window.py:184
msgid "Executable cannot be empty."
msgstr "Çalıştırılabilir boş olamaz."
#: src/details_window.py:175 src/details_window.py:183
msgid "Couldn't Apply Preferences"
msgstr "Tercihler Uygulanamadı"
#. The variable is the title of the game
#: src/game.py:208
msgid "{} launched"
msgstr "{} başlatıldı"
#. The variable is the title of the game
#: src/game.py:220
msgid "{} hidden"
msgstr "{} gizli"
#: src/game.py:220
msgid "{} unhidden"
msgstr "{} görünür"
#. The variable is the title of the game
#: src/game.py:233
msgid "{} removed"
msgstr "{} kaldırıldı"
#: src/preferences.py:97
msgid "All games removed"
msgstr "Tüm oyunlar kaldırıldı"
#: src/preferences.py:136
msgid "Cache Not Found"
msgstr "Önbellek Bulunamadı"
#: src/preferences.py:137
msgid "Select the Lutris cache directory."
msgstr "Lutris önbellek dizinini seç."
#: src/preferences.py:139 src/preferences.py:292
msgid "Set Location"
msgstr "Konum Ayarla"
#: src/preferences.py:166
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"SteamGridDBʼyi kullanmak için API anahtarı gereklidir. {}Buradan{} bir tane "
"oluşturabilirsiniz."
#: src/preferences.py:286
msgid "Installation Not Found"
msgstr "Kurulum Bulunamadı"
#. The variable is the name of the game launcher
#: src/preferences.py:288
msgid "Select the {} configuration directory."
msgstr "{} yapılandırma dizinini seç."
#. The variable is the name of the game launcher
#: src/preferences.py:290
msgid "Select the {} data directory."
msgstr "{} veri dizinini seç."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Vazgeç"
#: src/utils/importer.py:41
msgid "Importing Games…"
msgstr "Oyunlar İçe Aktarılıyor…"
#: src/utils/importer.py:76
msgid "Importing Covers…"
msgstr "Kapaklar İçe Aktarılıyor…"
#: src/utils/importer.py:91
msgid "No new games found"
msgstr "Yeni oyun bulunamadı"
#: src/utils/importer.py:98
msgid "1 game imported"
msgstr "1 oyun içe aktarıldı"
#. The variable is the number of games
#: src/utils/importer.py:104
msgid "{} games imported"
msgstr "{} oyun içe aktarıldı"
#: src/utils/importer.py:121 src/utils/steamgriddb.py:112
msgid "Couldn't Connect to SteamGridDB"
msgstr "SteamGridDBʼye bağlanılamadı"

842
po/uk.po

File diff suppressed because it is too large Load Diff

View File

@@ -27,6 +27,11 @@ import gettext
VERSION = "@VERSION@" VERSION = "@VERSION@"
if os.name == "nt": if os.name == "nt":
from ctypes import windll
os.environ["LANGUAGE"] = locale.windows_locale[
windll.kernel32.GetUserDefaultUILanguage()
]
pkgdatadir = os.path.join(os.path.dirname(__file__), "..", "share", "cartridges") pkgdatadir = os.path.join(os.path.dirname(__file__), "..", "share", "cartridges")
localedir = os.path.join(os.path.dirname(__file__), "..", "share", "locale") localedir = os.path.join(os.path.dirname(__file__), "..", "share", "locale")
else: else:

238
src/details_window.py Normal file
View File

@@ -0,0 +1,238 @@
# details_window.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
import os
import shlex
from time import time
from gi.repository import Adw, Gio, GLib, Gtk
from PIL import Image
from . import shared
from .create_dialog import create_dialog
from .game import Game
from .game_cover import GameCover
from .save_cover import resize_cover, save_cover
from .steamgriddb import SGDBSave
@Gtk.Template(resource_path=shared.PREFIX + "/gtk/details_window.ui")
class DetailsWindow(Adw.Window):
__gtype_name__ = "DetailsWindow"
cover_overlay = Gtk.Template.Child()
cover = Gtk.Template.Child()
cover_button_edit = Gtk.Template.Child()
cover_button_delete_revealer = Gtk.Template.Child()
cover_button_delete = Gtk.Template.Child()
spinner = Gtk.Template.Child()
name = Gtk.Template.Child()
developer = Gtk.Template.Child()
executable = Gtk.Template.Child()
exec_info_label = Gtk.Template.Child()
apply_button = Gtk.Template.Child()
cover_changed = False
def __init__(self, game=None, **kwargs):
super().__init__(**kwargs)
self.win = shared.win
self.game = game
self.game_cover = GameCover({self.cover})
self.set_transient_for(self.win)
if self.game:
self.set_title(_("Edit Game Details"))
self.name.set_text(self.game.name)
if self.game.developer:
self.developer.set_text(self.game.developer)
self.executable.set_text(
self.game.executable
if isinstance(self.game.executable, str)
else shlex.join(self.game.executable)
)
self.apply_button.set_label(_("Apply"))
self.game_cover.new_cover(self.game.get_cover_path())
if self.game_cover.get_pixbuf():
self.cover_button_delete_revealer.set_reveal_child(True)
else:
self.set_title(_("Add New Game"))
self.apply_button.set_label(_("Confirm"))
image_filter = Gtk.FileFilter(name=_("Images"))
for extension in Image.registered_extensions():
image_filter.add_suffix(extension[1:])
file_filters = Gio.ListStore.new(Gtk.FileFilter)
file_filters.append(image_filter)
self.file_dialog = Gtk.FileDialog()
self.file_dialog.set_filters(file_filters)
# Translate this string as you would translate "file"
file_name = _("file.txt")
# As in software
exe_name = _("program")
if os.name == "nt":
exe_name += ".exe"
# Translate this string as you would translate "path to {}"
exe_path = _("C:\\path\\to\\{}").format(exe_name)
# Translate this string as you would translate "path to {}"
file_path = _("C:\\path\\to\\{}").format(file_name)
command = "start"
else:
# Translate this string as you would translate "path to {}"
exe_path = _("/path/to/{}").format(exe_name)
# Translate this string as you would translate "path to {}"
file_path = _("/path/to/{}").format(file_name)
command = "xdg-open"
exec_info_text = _(
'To launch the executable "{}", use the command:\n\n<tt>"{}"</tt>\n\nTo open the file "{}" with the default application, use:\n\n<tt>{} "{}"</tt>\n\nIf the path contains spaces, make sure to wrap it in double quotes!'
).format(exe_name, exe_path, file_name, command, file_path)
self.exec_info_label.set_label(exec_info_text)
self.cover_button_delete.connect("clicked", self.delete_pixbuf)
self.cover_button_edit.connect("clicked", self.choose_cover)
self.apply_button.connect("clicked", self.apply_preferences)
self.name.connect("activate", self.focus_executable)
self.developer.connect("activate", self.focus_executable)
self.executable.connect("activate", self.apply_preferences)
self.set_focus(self.name)
self.present()
def delete_pixbuf(self, *_args):
self.game_cover.new_cover()
self.cover_button_delete_revealer.set_reveal_child(False)
self.cover_changed = True
def apply_preferences(self, *_args):
final_name = self.name.get_text()
final_developer = self.developer.get_text()
final_executable = self.executable.get_text()
if not self.game:
if final_name == "":
create_dialog(
self, _("Couldn't Add Game"), _("Game title cannot be empty.")
)
return
if final_executable == "":
create_dialog(
self, _("Couldn't Add Game"), _("Executable cannot be empty.")
)
return
# Increment the number after the game id (eg. imported_1, imported_2)
numbers = [0]
for current_game in self.win.games:
if "imported_" in current_game:
numbers.append(int(current_game.replace("imported_", "")))
self.game = Game(
{
"game_id": f"imported_{str(max(numbers) + 1)}",
"hidden": False,
"source": "imported",
"added": int(time()),
"last_played": 0,
},
)
else:
if final_name == "":
create_dialog(
self,
_("Couldn't Apply Preferences"),
_("Game title cannot be empty."),
)
return
if final_executable == "":
create_dialog(
self,
_("Couldn't Apply Preferences"),
_("Executable cannot be empty."),
)
return
self.game.name = final_name
self.game.developer = final_developer or None
self.game.executable = final_executable
if self.game.game_id in self.win.game_covers.keys():
self.win.game_covers[self.game.game_id].animation = None
self.win.game_covers[self.game.game_id] = self.game_cover
if self.cover_changed:
save_cover(
self.game.game_id,
self.game_cover.path,
)
self.game.save()
if not self.game_cover.get_pixbuf():
SGDBSave({self.game})
self.game_cover.pictures.remove(self.cover)
self.close()
self.win.show_details_view(self.game)
def focus_executable(self, *_args):
self.set_focus(self.executable)
def toggle_loading(self):
self.apply_button.set_sensitive(not self.apply_button.get_sensitive())
self.spinner.set_spinning(not self.spinner.get_spinning())
self.cover_overlay.set_opacity(not self.cover_overlay.get_opacity())
def set_cover(self, _source, result, *_args):
try:
path = self.file_dialog.open_finish(result).get_path()
except GLib.GError:
return
self.cover_button_delete_revealer.set_reveal_child(True)
self.cover_changed = True
def resize():
self.game_cover.new_cover(resize_cover(path))
self.toggle_loading()
self.toggle_loading()
GLib.Thread.new(None, resize)
def choose_cover(self, *_args):
self.file_dialog.open(self, None, self.set_cover)

View File

@@ -19,123 +19,255 @@
import json import json
import os import os
import shlex
import subprocess import subprocess
import sys from pathlib import Path
from time import time
from gi.repository import GdkPixbuf, Gio, Gtk from gi.repository import Adw, Gtk
from .save_games import save_games from . import shared
from .game_cover import GameCover
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/game.ui") @Gtk.Template(resource_path=shared.PREFIX + "/gtk/game.ui")
class game(Gtk.Box): # pylint: disable=invalid-name class Game(Gtk.Box):
__gtype_name__ = "game" __gtype_name__ = "Game"
overlay = Gtk.Template.Child()
title = Gtk.Template.Child() title = Gtk.Template.Child()
button_play = Gtk.Template.Child() play_button = Gtk.Template.Child()
cover = Gtk.Template.Child() cover = Gtk.Template.Child()
spinner = Gtk.Template.Child()
cover_button = Gtk.Template.Child() cover_button = Gtk.Template.Child()
menu_button = Gtk.Template.Child() menu_button = Gtk.Template.Child()
play_revealer = Gtk.Template.Child() play_revealer = Gtk.Template.Child()
title_revealer = Gtk.Template.Child() menu_revealer = Gtk.Template.Child()
game_options = Gtk.Template.Child() game_options = Gtk.Template.Child()
hidden_game_options = Gtk.Template.Child() hidden_game_options = Gtk.Template.Child()
def __init__(self, parent_widget, data, **kwargs): loading = 0
filtered = False
added = None
executable = None
game_id = None
source = None
hidden = None
last_played = None
name = None
developer = None
removed = None
blacklisted = None
game_cover = None
def __init__(self, data, **kwargs):
super().__init__(**kwargs) super().__init__(**kwargs)
self.parent_widget = parent_widget self.win = shared.win
self.added = data["added"] self.app = self.win.get_application()
self.executable = data["executable"] self.version = shared.SPEC_VERSION
self.game_id = data["game_id"]
self.hidden = data["hidden"]
self.last_played = data["last_played"]
self.name = data["name"]
self.developer = data["developer"] if "developer" in data.keys() else None
self.removed = "removed" in data.keys()
self.blacklisted = "blacklisted" in data.keys()
self.pixbuf = self.get_cover() self.update_values(data)
self.cover.set_pixbuf(self.pixbuf) self.win.games[self.game_id] = self
self.title.set_label(self.name)
self.set_play_icon()
self.event_contoller_motion = Gtk.EventControllerMotion.new() self.event_contoller_motion = Gtk.EventControllerMotion.new()
self.add_controller(self.event_contoller_motion) self.add_controller(self.event_contoller_motion)
self.overlay.set_measure_overlay(self.play_revealer, True) self.event_contoller_motion.connect("enter", self.toggle_play, False)
self.event_contoller_motion.connect("leave", self.toggle_play, None, None)
self.button_play.connect("clicked", self.launch_game) self.cover_button.connect("clicked", self.main_button_clicked, False)
self.event_contoller_motion.connect("enter", self.show_play) self.play_button.connect("clicked", self.main_button_clicked, True)
self.event_contoller_motion.connect("leave", self.hide_play)
if self.hidden: shared.schema.connect("changed", self.schema_changed)
self.menu_button.set_menu_model(self.hidden_game_options)
def update(self):
if self.get_parent():
self.get_parent().get_parent().remove(self)
if self.get_parent():
self.get_parent().set_child()
self.menu_button.set_menu_model(
self.hidden_game_options if self.hidden else self.game_options
)
self.title.set_label(self.name)
self.menu_button.get_popover().connect(
"notify::visible", self.toggle_play, None
)
self.menu_button.get_popover().connect(
"notify::visible", self.win.set_active_game, self
)
if self.game_id in self.win.game_covers:
self.game_cover = self.win.game_covers[self.game_id]
self.game_cover.add_picture(self.cover)
else: else:
self.menu_button.set_menu_model(self.game_options) self.game_cover = GameCover({self.cover}, self.get_cover_path())
self.menu_button.get_popover().connect("notify::visible", self.hide_play) self.win.game_covers[self.game_id] = self.game_cover
if (
self.win.stack.get_visible_child() == self.win.details_view
and self.win.active_game == self
):
self.win.show_details_view(self)
if not self.removed and not self.blacklisted:
if self.hidden:
self.win.hidden_library.append(self)
else:
self.win.library.append(self)
self.get_parent().set_focusable(False)
self.win.set_library_child()
def update_values(self, data):
for key, value in data.items():
setattr(self, key, value)
def save(self):
shared.games_dir.mkdir(parents=True, exist_ok=True)
attrs = (
"added",
"executable",
"game_id",
"source",
"hidden",
"last_played",
"name",
"developer",
"removed",
"blacklisted",
"version",
)
# TODO: remove for 2.0
attrs = list(attrs)
if not self.removed:
attrs.remove("removed")
if not self.blacklisted:
attrs.remove("blacklisted")
json.dump(
{attr: getattr(self, attr) for attr in attrs if attr},
(shared.games_dir / f"{self.game_id}.json").open("w"),
indent=4,
sort_keys=True,
)
self.update()
def create_toast(self, title, action=None):
toast = Adw.Toast.new(title.format(self.name))
toast.set_priority(Adw.ToastPriority.HIGH)
if action:
toast.set_button_label(_("Undo"))
toast.connect("button-clicked", self.win.on_undo_action, self, action)
if (self, action) in self.win.toasts.keys():
# Dismiss the toast if there already is one
self.win.toasts[(self, action)].dismiss()
self.win.toasts[(self, action)] = toast
self.win.toast_overlay.add_toast(toast)
def launch(self): def launch(self):
# The host environment vars are automatically passed through by Popen. self.last_played = int(time())
self.save()
string = (
self.executable
if isinstance(self.executable, str)
else shlex.join(self.executable)
)
args = (
"flatpak-spawn --host /bin/sh -c " + shlex.quote(string) # Flatpak
if os.getenv("FLATPAK_ID") == shared.APP_ID
else string # Others
)
subprocess.Popen( subprocess.Popen(
["flatpak-spawn", "--host", *self.executable] # Flatpak args,
if os.getenv("FLATPAK_ID") == "hu.kramo.Cartridges" cwd=Path.home(),
else self.executable, # Others shell=True,
shell=os.name == "nt", # Set shell to True on Windows
start_new_session=True, start_new_session=True,
creationflags=subprocess.CREATE_NEW_PROCESS_GROUP if os.name == "nt" else 0, creationflags=subprocess.CREATE_NEW_PROCESS_GROUP if os.name == "nt" else 0,
) )
if Gio.Settings.new("hu.kramo.Cartridges").get_boolean("exit-after-launch"):
sys.exit()
def toggle_hidden(self): if shared.schema.get_boolean("exit-after-launch"):
games_dir = os.path.join( self.app.quit()
os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges",
"games",
)
if not os.path.exists(games_dir): # The variable is the title of the game
return self.create_toast(_("{} launched"))
with open(os.path.join(games_dir, f"{self.game_id}.json"), "r") as open_file: def toggle_hidden(self, toast=True):
data = json.loads(open_file.read()) self.hidden = not self.hidden
self.save()
data["hidden"] = not data["hidden"] if self.win.stack.get_visible_child() == self.win.details_view:
self.win.on_go_back_action()
save_games({self.game_id: data}) if toast:
self.create_toast(
# The variable is the title of the game
(_("{} hidden") if self.hidden else _("{} unhidden")).format(self.name),
"hide",
)
def get_cover(self): def remove_game(self):
# Add "removed=True" to the game properties so it can be deleted on next init
self.removed = True
self.save()
# If the cover is already in memory, return if self.win.stack.get_visible_child() == self.win.details_view:
if self.game_id in self.parent_widget.pixbufs.keys(): self.win.on_go_back_action()
return self.parent_widget.pixbufs[self.game_id]
# Create a new pixbuf # The variable is the title of the game
cover_path = os.path.join( self.create_toast(_("{} removed").format(self.name), "remove")
os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges",
"covers",
f"{self.game_id}.tiff",
)
if os.path.isfile(cover_path): def set_loading(self, state):
return GdkPixbuf.Pixbuf.new_from_file(cover_path) self.loading += state
loading = self.loading > 0
# Return the placeholder pixbuf self.cover.set_opacity(int(not loading))
return self.parent_widget.placeholder_pixbuf self.spinner.set_spinning(loading)
def show_play(self, _widget, *_unused): def get_cover_path(self):
self.play_revealer.set_reveal_child(True) cover_path = shared.covers_dir / f"{self.game_id}.gif"
self.title_revealer.set_reveal_child(False) if cover_path.is_file():
return cover_path
def hide_play(self, _widget, *_unused): cover_path = shared.covers_dir / f"{self.game_id}.tiff"
if cover_path.is_file():
return cover_path
return None
def toggle_play(self, _widget, _prop1, _prop2, state=True):
if not self.menu_button.get_active(): if not self.menu_button.get_active():
self.play_revealer.set_reveal_child(False) self.play_revealer.set_reveal_child(not state)
self.title_revealer.set_reveal_child(True) self.menu_revealer.set_reveal_child(not state)
def launch_game(self, _widget): def main_button_clicked(self, _widget, button):
self.parent_widget.set_active_game(None, None, self.game_id) if shared.schema.get_boolean("cover-launches-game") ^ button:
self.parent_widget.get_application().on_launch_game_action(None) self.launch()
else:
self.win.show_details_view(self)
def set_play_icon(self):
self.play_button.set_icon_name(
"help-about-symbolic"
if shared.schema.get_boolean("cover-launches-game")
else "media-playback-start-symbolic"
)
def schema_changed(self, _settings, key):
if key == "cover-launches-game":
self.set_play_icon()

133
src/game_cover.py Normal file
View File

@@ -0,0 +1,133 @@
# game_cover.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
from gi.repository import GdkPixbuf, Gio, GLib
from PIL import Image, ImageFilter, ImageStat
from . import shared
class GameCover:
pixbuf = None
blurred = None
luminance = None
path = None
animation = None
anim_iter = None
placeholder_pixbuf = GdkPixbuf.Pixbuf.new_from_resource_at_scale(
shared.PREFIX + "/library_placeholder.svg", 400, 600, False
)
def __init__(self, pictures, path=None):
self.pictures = pictures
self.new_cover(path)
# Wrap the function in another one as Gio.Task.run_in_thread does not allow for passing args
def create_func(self, path):
self.animation = GdkPixbuf.PixbufAnimation.new_from_file(str(path))
self.anim_iter = self.animation.get_iter()
def wrapper(task, *_args):
self.update_animation((task, self.animation))
return wrapper
def new_cover(self, path=None):
self.animation = None
self.pixbuf = None
self.blurred = None
self.luminance = None
self.path = path
if path:
if path.suffix == ".gif":
task = Gio.Task.new()
task.run_in_thread(self.create_func(self.path))
else:
self.pixbuf = GdkPixbuf.Pixbuf.new_from_file(str(path))
if not self.animation:
self.set_pixbuf(self.pixbuf)
def get_pixbuf(self):
return self.animation.get_static_image() if self.animation else self.pixbuf
def get_blurred(self):
if not self.blurred:
if self.path:
with Image.open(self.path) as image:
image = (
image.convert("RGB")
.resize((100, 150))
.filter(ImageFilter.GaussianBlur(20))
)
tmp_path = Gio.File.new_tmp(None)[0].get_path()
image.save(tmp_path, "tiff", compression=None)
self.blurred = GdkPixbuf.Pixbuf.new_from_file(tmp_path)
stat = ImageStat.Stat(image.convert("L"))
# Luminance values for light and dark mode
self.luminance = (
(stat.mean[0] + stat.extrema[0][0]) / 510,
(stat.mean[0] + stat.extrema[0][1]) / 510,
)
else:
self.blurred = GdkPixbuf.Pixbuf.new_from_resource_at_scale(
shared.PREFIX + "/library_placeholder.svg", 2, 2, False
)
self.luminance = (0.1, 0.8)
return self.blurred
def add_picture(self, picture):
self.pictures.add(picture)
if not self.animation:
self.set_pixbuf(self.pixbuf)
def set_pixbuf(self, pixbuf):
self.pictures.discard(
picture for picture in self.pictures if not picture.is_visible()
)
if not self.pictures:
self.animation = None
else:
for picture in self.pictures:
if not pixbuf:
pixbuf = self.placeholder_pixbuf
picture.set_pixbuf(pixbuf)
def update_animation(self, data):
if self.animation == data[1]:
self.anim_iter.advance()
self.set_pixbuf(self.anim_iter.get_pixbuf())
delay_time = self.anim_iter.get_delay_time()
GLib.timeout_add(
20 if delay_time < 20 else delay_time,
self.update_animation,
data,
)
else:
data[0].return_value(False)

View File

@@ -0,0 +1,97 @@
# bottles_importer.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
from pathlib import Path
from time import time
import yaml
from . import shared
from .check_install import check_install
def bottles_installed(path=None):
location_key = "bottles-location"
check = "library.yml"
locations = (
(path,)
if path
else (
Path(shared.schema.get_string(location_key)).expanduser(),
Path.home() / ".var/app/com.usebottles.bottles/data/bottles",
shared.data_dir / "bottles",
)
)
bottles_dir = check_install(check, locations, (shared.schema, location_key))
return bottles_dir
def bottles_importer():
bottles_dir = bottles_installed()
if not bottles_dir:
return
current_time = int(time())
data = (bottles_dir / "library.yml").read_text("utf-8")
library = yaml.safe_load(data)
importer = shared.importer
importer.total_queue += len(library)
importer.queue += len(library)
for game in library:
game = library[game]
values = {}
values["game_id"] = f'bottles_{game["id"]}'
if (
values["game_id"] in shared.win.games
and not shared.win.games[values["game_id"]].removed
):
importer.save_game()
continue
values["name"] = game["name"]
values["executable"] = [
"xdg-open",
f'bottles:run/{game["bottle"]["name"]}/{game["name"]}',
]
values["hidden"] = False
values["source"] = "bottles"
values["added"] = current_time
values["last_played"] = 0
importer.save_game(
values,
(
bottles_dir
/ "bottles"
/ game["bottle"]["path"]
/ "grids"
/ game["thumbnail"].split(":")[1]
)
if game["thumbnail"]
else None,
)

View File

@@ -0,0 +1,201 @@
# heroic_importer.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
import json
import os
from hashlib import sha256
from pathlib import Path
from time import time
from . import shared
from .check_install import check_install
def heroic_installed(path=None):
location_key = "heroic-location"
check = "config.json"
locations = (
(path,)
if path
else (
Path(shared.schema.get_string(location_key)).expanduser(),
Path.home() / ".var/app/com.heroicgameslauncher.hgl/config/heroic",
shared.config_dir / "heroic",
)
)
if os.name == "nt" and not path:
locations += (Path(os.getenv("appdata")) / "heroic",)
heroic_dir = check_install(check, locations, (shared.schema, location_key))
return heroic_dir
def heroic_importer():
heroic_dir = heroic_installed()
if not heroic_dir:
return
current_time = int(time())
importer = shared.importer
# Import Epic games
if not shared.schema.get_boolean("heroic-import-epic"):
pass
elif (heroic_dir / "store_cache" / "legendary_library.json").is_file():
library = json.load(
(heroic_dir / "store_cache" / "legendary_library.json").open()
)
try:
for game in library["library"]:
if not game["is_installed"]:
continue
importer.total_queue += 1
importer.queue += 1
values = {}
app_name = game["app_name"]
values["game_id"] = f"heroic_epic_{app_name}"
if (
values["game_id"] in shared.win.games
and not shared.win.games[values["game_id"]].removed
):
importer.save_game()
continue
values["name"] = game["title"]
values["developer"] = game["developer"]
values["executable"] = (
["start", f"heroic://launch/{app_name}"]
if os.name == "nt"
else ["xdg-open", f"heroic://launch/{app_name}"]
)
values["hidden"] = False
values["source"] = "heroic_epic"
values["added"] = current_time
values["last_played"] = 0
image_path = (
heroic_dir
/ "images-cache"
/ sha256(
(f'{game["art_square"]}?h=400&resize=1&w=300').encode()
).hexdigest()
)
importer.save_game(values, image_path if image_path.is_file() else None)
except KeyError:
pass
# Import GOG games
if not shared.schema.get_boolean("heroic-import-gog"):
pass
elif (heroic_dir / "gog_store" / "installed.json").is_file() and (
heroic_dir / "store_cache" / "gog_library.json"
).is_file():
installed = json.load((heroic_dir / "gog_store" / "installed.json").open())
importer.total_queue += len(installed["installed"])
importer.queue += len(installed["installed"])
for item in installed["installed"]:
values = {}
app_name = item["appName"]
values["game_id"] = f"heroic_gog_{app_name}"
if (
values["game_id"] in shared.win.games
and not shared.win.games[values["game_id"]].removed
):
importer.save_game()
continue
# Get game title and developer from gog_library.json as they are not present in installed.json
library = json.load(
(heroic_dir / "store_cache" / "gog_library.json").open()
)
for game in library["games"]:
if game["app_name"] == app_name:
values["developer"] = game["developer"]
values["name"] = game["title"]
image_path = (
heroic_dir
/ "images-cache"
/ sha256(game["art_square"].encode()).hexdigest()
)
values["executable"] = (
["start", f"heroic://launch/{app_name}"]
if os.name == "nt"
else ["xdg-open", f"heroic://launch/{app_name}"]
)
values["hidden"] = False
values["source"] = "heroic_gog"
values["added"] = current_time
values["last_played"] = 0
importer.save_game(values, image_path if image_path.is_file() else None)
# Import sideloaded games
if not shared.schema.get_boolean("heroic-import-sideload"):
pass
elif (heroic_dir / "sideload_apps" / "library.json").is_file():
library = json.load((heroic_dir / "sideload_apps" / "library.json").open())
importer.total_queue += len(library["games"])
importer.queue += len(library["games"])
for item in library["games"]:
values = {}
app_name = item["app_name"]
values["game_id"] = f"heroic_sideload_{app_name}"
if (
values["game_id"] in shared.win.games
and not shared.win.games[values["game_id"]].removed
):
importer.save_game()
continue
values["name"] = item["title"]
values["executable"] = (
["start", f"heroic://launch/{app_name}"]
if os.name == "nt"
else ["xdg-open", f"heroic://launch/{app_name}"]
)
values["hidden"] = False
values["source"] = "heroic_sideload"
values["added"] = current_time
values["last_played"] = 0
image_path = (
heroic_dir
/ "images-cache"
/ sha256(item["art_square"].encode()).hexdigest()
)
importer.save_game(values, image_path if image_path.is_file() else None)

View File

@@ -0,0 +1,189 @@
# itch_importer.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
import os
from pathlib import Path
from shutil import copyfile
from sqlite3 import connect
from time import time
import requests
from gi.repository import GdkPixbuf, Gio
from . import shared
from .check_install import check_install
from .save_cover import resize_cover
def get_game(task, current_time, row):
values = {}
values["game_id"] = f"itch_{row[0]}"
if (
values["game_id"] in shared.win.games
and not shared.win.games[values["game_id"]].removed
):
task.return_value((None, None))
return
values["added"] = current_time
values["executable"] = (
["start", f"itch://caves/{row[4]}/launch"]
if os.name == "nt"
else ["xdg-open", f"itch://caves/{row[4]}/launch"]
)
values["hidden"] = False
values["last_played"] = 0
values["name"] = row[1]
values["source"] = "itch"
if row[3] or row[2]:
tmp_file = Gio.File.new_tmp()[0]
try:
with requests.get(row[3] or row[2], timeout=5) as cover:
cover.raise_for_status()
Path(tmp_file.get_path()).write_bytes(cover.content)
except requests.exceptions.RequestException:
task.return_value((values, None))
return
game_cover = GdkPixbuf.Pixbuf.new_from_stream_at_scale(
tmp_file.read(), 2, 2, False
).scale_simple(*shared.image_size, GdkPixbuf.InterpType.BILINEAR)
itch_pixbuf = GdkPixbuf.Pixbuf.new_from_stream(tmp_file.read())
itch_pixbuf = itch_pixbuf.scale_simple(
shared.image_size[0],
itch_pixbuf.get_height() * (shared.image_size[0] / itch_pixbuf.get_width()),
GdkPixbuf.InterpType.BILINEAR,
)
itch_pixbuf.composite(
game_cover,
0,
(shared.image_size[1] - itch_pixbuf.get_height()) / 2,
itch_pixbuf.get_width(),
itch_pixbuf.get_height(),
0,
(shared.image_size[1] - itch_pixbuf.get_height()) / 2,
1.0,
1.0,
GdkPixbuf.InterpType.BILINEAR,
255,
)
else:
game_cover = None
task.return_value((values, game_cover))
def get_games_async(rows, importer):
current_time = int(time())
# Wrap the function in another one as Gio.Task.run_in_thread does not allow for passing args
def create_func(current_time, row):
def wrapper(task, *_args):
get_game(
task,
current_time,
row,
)
return wrapper
def update_games(_task, result):
final_values = result.propagate_value()[1]
# No need for an if statement as final_value would be None for games we don't want to save
importer.save_game(
final_values[0],
resize_cover(pixbuf=final_values[1]),
)
for row in rows:
task = Gio.Task.new(None, None, update_games)
task.run_in_thread(create_func(current_time, row))
def itch_installed(path=None):
location_key = "itch-location"
check = Path("db") / "butler.db"
locations = (
(path,)
if path
else (
Path(shared.schema.get_string(location_key)).expanduser(),
Path.home() / ".var/app/io.itch.itch/config/itch",
shared.config_dir / "itch",
)
)
if os.name == "nt" and not path:
locations += (Path(os.getenv("appdata")) / "itch",)
itch_dir = check_install(check, locations, (shared.schema, location_key))
return itch_dir
def itch_importer():
itch_dir = itch_installed()
if not itch_dir:
return
database_path = (itch_dir / "db").expanduser()
db_cache_dir = shared.cache_dir / "cartridges" / "itch"
db_cache_dir.mkdir(parents=True, exist_ok=True)
# Copy the file because sqlite3 doesn't like databases in /run/user/
database_tmp_path = db_cache_dir / "butler.db"
for db_file in database_path.glob("butler.db*"):
copyfile(db_file, (db_cache_dir / db_file.name))
db_request = """
SELECT
games.id,
games.title,
games.cover_url,
games.still_cover_url,
caves.id
FROM
'caves'
INNER JOIN
'games'
ON
caves.game_id = games.id
;
"""
connection = connect(database_tmp_path)
cursor = connection.execute(db_request)
rows = cursor.fetchall()
connection.close()
# No need to unlink temp files as they disappear when the connection is closed
database_tmp_path.unlink(missing_ok=True)
importer = shared.importer
importer.total_queue += len(rows)
importer.queue += len(rows)
get_games_async(rows, importer)

View File

@@ -0,0 +1,134 @@
# lutris_importer.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
from pathlib import Path
from shutil import copyfile
from sqlite3 import connect
from time import time
from . import shared
from .check_install import check_install
def lutris_installed(path=None):
location_key = "lutris-location"
check = "pga.db"
locations = (
(path,)
if path
else (
Path(shared.schema.get_string(location_key)).expanduser(),
Path.home() / ".var/app/net.lutris.Lutris/data/lutris",
shared.data_dir / "lutris",
)
)
lutris_dir = check_install(check, locations, (shared.schema, location_key))
return lutris_dir
def lutris_cache_exists(path=None):
cache_key = "lutris-cache-location"
cache_check = "coverart"
cache_locations = (
(path,)
if path
else (
Path(shared.schema.get_string(cache_key)).expanduser(),
Path.home() / ".var" / "app" / "net.lutris.Lutris" / "cache" / "lutris",
shared.cache_dir / "lutris",
)
)
cache_dir = check_install(cache_check, cache_locations, (shared.schema, cache_key))
return cache_dir
def lutris_importer():
lutris_dir = lutris_installed()
if not lutris_dir:
return
cache_dir = lutris_cache_exists()
if not cache_dir:
return
db_cache_dir = shared.cache_dir / "cartridges" / "lutris"
db_cache_dir.mkdir(parents=True, exist_ok=True)
# Copy the file because sqlite3 doesn't like databases in /run/user/
database_tmp_path = db_cache_dir / "pga.db"
for db_file in lutris_dir.glob("pga.db*"):
copyfile(db_file, (db_cache_dir / db_file.name))
db_request = """
SELECT
id, name, slug, runner, hidden
FROM
'games'
WHERE
name IS NOT NULL
AND slug IS NOT NULL
AND configPath IS NOT NULL
AND installed IS TRUE
;
"""
connection = connect(database_tmp_path)
cursor = connection.execute(db_request)
rows = cursor.fetchall()
connection.close()
# No need to unlink temp files as they disappear when the connection is closed
database_tmp_path.unlink(missing_ok=True)
if not shared.schema.get_boolean("lutris-import-steam"):
rows = [row for row in rows if not row[3] == "steam"]
current_time = int(time())
importer = shared.importer
importer.total_queue += len(rows)
importer.queue += len(rows)
for row in rows:
values = {}
values["game_id"] = f"lutris_{row[3]}_{row[0]}"
if (
values["game_id"] in shared.win.games
and not shared.win.games[values["game_id"]].removed
):
importer.save_game()
continue
values["added"] = current_time
values["executable"] = ["xdg-open", f"lutris:rungameid/{row[0]}"]
values["hidden"] = row[4] == 1
values["last_played"] = 0
values["name"] = row[1]
values["source"] = f"lutris_{row[3]}"
image_path = cache_dir / "coverart" / f"{row[2]}.jpg"
importer.save_game(values, image_path if image_path.is_file() else None)

View File

@@ -0,0 +1,178 @@
# steam_importer.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
import os
import re
from pathlib import Path
from time import time
import requests
from gi.repository import Gio
from . import shared
from .check_install import check_install
def update_values_from_data(content, values):
basic_data = content[values["appid"]]
if not basic_data["success"]:
values["blacklisted"] = True
else:
data = basic_data["data"]
if data.get("developers"):
values["developer"] = ", ".join(data["developers"])
if data.get("type") != "game":
values["blacklisted"] = True
return values
def get_game(task, datatypes, current_time, appmanifest, steam_dir):
values = {}
data = appmanifest.read_text("utf-8")
for datatype in datatypes:
value = re.findall(f'"{datatype}"\t\t"(.*)"\n', data, re.IGNORECASE)
try:
values[datatype] = value[0]
except IndexError:
task.return_value((None, None))
return
values["game_id"] = f'steam_{values["appid"]}'
if (
values["game_id"] in shared.win.games
and not shared.win.games[values["game_id"]].removed
):
task.return_value((None, None))
return
values["executable"] = (
["start", f'steam://rungameid/{values["appid"]}']
if os.name == "nt"
else ["xdg-open", f'steam://rungameid/{values["appid"]}']
)
values["hidden"] = False
values["source"] = "steam"
values["added"] = current_time
values["last_played"] = 0
image_path = (
steam_dir
/ "appcache"
/ "librarycache"
/ f'{values["appid"]}_library_600x900.jpg'
)
try:
with requests.get(
f'https://store.steampowered.com/api/appdetails?appids={values["appid"]}',
timeout=5,
) as open_file:
open_file.raise_for_status()
content = open_file.json()
except requests.exceptions.RequestException:
task.return_value((values, image_path if image_path.is_file() else None))
return
values = update_values_from_data(content, values)
task.return_value((values, image_path if image_path.is_file() else None))
def get_games_async(appmanifests, steam_dir, importer):
datatypes = ["appid", "name"]
current_time = int(time())
# Wrap the function in another one as Gio.Task.run_in_thread does not allow for passing args
def create_func(datatypes, current_time, appmanifest, steam_dir):
def wrapper(task, *_args):
get_game(
task,
datatypes,
current_time,
appmanifest,
steam_dir,
)
return wrapper
def update_games(_task, result):
final_values = result.propagate_value()[1]
# No need for an if statement as final_value would be None for games we don't want to save
importer.save_game(final_values[0], final_values[1])
for appmanifest in appmanifests:
task = Gio.Task.new(None, None, update_games)
task.run_in_thread(create_func(datatypes, current_time, appmanifest, steam_dir))
def steam_installed(path=None):
location_key = "steam-location"
check = "steamapps"
subdirs = ("steam", "Steam")
locations = (
(path,)
if path
else (
Path(shared.schema.get_string(location_key)).expanduser(),
Path.home() / ".steam",
shared.data_dir / "Steam",
Path.home() / ".var/app/com.valvesoftware.Steam/data/Steam",
)
)
if os.name == "nt":
locations += (Path(os.getenv("programfiles(x86)")) / "Steam",)
steam_dir = check_install(check, locations, (shared.schema, location_key), subdirs)
return steam_dir
def steam_importer():
steam_dir = steam_installed()
if not steam_dir:
return
appmanifests = []
if (lib_file := steam_dir / "steamapps" / "libraryfolders.vdf").is_file():
libraryfolders = lib_file.open().read()
steam_dirs = [
Path(path) for path in re.findall('"path"\t\t"(.*)"\n', libraryfolders)
]
else:
steam_dirs = [steam_dir]
for directory in steam_dirs:
try:
for open_file in (directory / "steamapps").iterdir():
if open_file.is_file() and "appmanifest" in open_file.name:
appmanifests.append(open_file)
except FileNotFoundError:
continue
importer = shared.importer
importer.total_queue += len(appmanifests)
importer.queue += len(appmanifests)
get_games_async(appmanifests, steam_dir, importer)

View File

@@ -17,9 +17,7 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import os
import sys import sys
import time
import gi import gi
@@ -29,41 +27,29 @@ gi.require_version("Adw", "1")
# pylint: disable=wrong-import-position # pylint: disable=wrong-import-position
from gi.repository import Adw, Gio, GLib, Gtk from gi.repository import Adw, Gio, GLib, Gtk
from .bottles_parser import bottles_parser from . import shared
from .create_details_window import create_details_window from .bottles_importer import bottles_importer
from .get_games import get_games from .details_window import DetailsWindow
from .heroic_parser import heroic_parser from .heroic_importer import heroic_importer
from .importer import Importer
from .itch_importer import itch_importer
from .lutris_importer import lutris_importer
from .preferences import PreferencesWindow from .preferences import PreferencesWindow
from .save_games import save_games from .steam_importer import steam_importer
from .steam_parser import steam_parser
from .window import CartridgesWindow from .window import CartridgesWindow
class CartridgesApplication(Adw.Application): class CartridgesApplication(Adw.Application):
win = None
def __init__(self): def __init__(self):
super().__init__( super().__init__(
application_id="hu.kramo.Cartridges", flags=Gio.ApplicationFlags.FLAGS_NONE application_id=shared.APP_ID, flags=Gio.ApplicationFlags.FLAGS_NONE
) )
self.create_action("quit", self.on_quit_action, ["<primary>q"])
self.create_action("about", self.on_about_action)
self.create_action(
"preferences", self.on_preferences_action, ["<primary>comma"]
)
self.create_action("steam_import", self.on_steam_import_action)
self.create_action("heroic_import", self.on_heroic_import_action)
self.create_action("bottles_import", self.on_bottles_import_action)
self.create_action("launch_game", self.on_launch_game_action)
self.create_action("hide_game", self.on_hide_game_action)
self.create_action("edit_details", self.on_edit_details_action)
self.create_action("add_game", self.on_add_game_action, ["<primary>n"])
self.create_action("remove_game", self.on_remove_game_action)
if os.name == "nt":
self.lookup_action("bottles_import").set_enabled(False)
self.win = None
def do_activate(self): # pylint: disable=arguments-differ def do_activate(self): # pylint: disable=arguments-differ
# Set fallback icon-name
Gtk.Window.set_default_icon_name(shared.APP_ID)
# Create the main window # Create the main window
self.win = self.props.active_window # pylint: disable=no-member self.win = self.props.active_window # pylint: disable=no-member
@@ -71,57 +57,71 @@ class CartridgesApplication(Adw.Application):
self.win = CartridgesWindow(application=self) self.win = CartridgesWindow(application=self)
# Save window geometry # Save window geometry
state_settings = Gio.Settings(schema_id="hu.kramo.Cartridge.State") shared.state_schema.bind(
state_settings.bind(
"width", self.win, "default-width", Gio.SettingsBindFlags.DEFAULT "width", self.win, "default-width", Gio.SettingsBindFlags.DEFAULT
) )
state_settings.bind( shared.state_schema.bind(
"height", self.win, "default-height", Gio.SettingsBindFlags.DEFAULT "height", self.win, "default-height", Gio.SettingsBindFlags.DEFAULT
) )
state_settings.bind( shared.state_schema.bind(
"is-maximized", self.win, "maximized", Gio.SettingsBindFlags.DEFAULT "is-maximized", self.win, "maximized", Gio.SettingsBindFlags.DEFAULT
) )
self.win.present() # Create actions
self.create_actions(
{
("quit", ("<primary>q",)),
("about",),
("preferences", ("<primary>comma",)),
("launch_game",),
("hide_game",),
("edit_game",),
("add_game", ("<primary>n",)),
("import", ("<primary>i",)),
("remove_game_details_view", ("Delete",)),
("remove_game",),
("igdb_search",),
("sgdb_search",),
("protondb_search",),
("lutris_search",),
("hltb_search",),
("show_hidden", ("<primary>h",), self.win),
("go_back", ("<alt>Left",), self.win),
("go_to_parent", ("<alt>Up",), self.win),
("go_home", ("<alt>Home",), self.win),
("toggle_search", ("<primary>f",), self.win),
("escape", ("Escape",), self.win),
("undo", ("<primary>z",), self.win),
("open_menu", ("F10",), self.win),
("close", ("<primary>w",), self.win),
}
)
# Create actions for the main window sort_action = Gio.SimpleAction.new_stateful(
self.create_action(
"show_hidden", self.win.on_show_hidden_action, ["<primary>h"], self.win
)
self.create_action(
"go_back", self.win.on_go_back_action, ["<alt>Left"], self.win
)
self.create_action(
"go_to_parent", self.win.on_go_to_parent_action, ["<alt>Up"], self.win
)
self.create_action(
"toggle_search", self.win.on_toggle_search_action, ["<primary>f"], self.win
)
self.create_action("escape", self.win.on_escape_action, ["Escape"], self.win)
self.create_action(
"undo_remove", self.win.on_undo_remove_action, ["<primary>z"], self.win
)
self.create_action("open_menu", self.win.on_open_menu_action, ["F10"], self.win)
self.win.sort = Gio.SimpleAction.new_stateful(
"sort_by", GLib.VariantType.new("s"), GLib.Variant("s", "a-z") "sort_by", GLib.VariantType.new("s"), GLib.Variant("s", "a-z")
) )
self.win.add_action(self.win.sort) sort_action.connect("activate", self.win.on_sort_action)
self.win.sort.connect("activate", self.win.on_sort_action) self.win.add_action(sort_action)
self.win.on_sort_action(self.win.sort, state_settings.get_value("sort-mode")) self.win.on_sort_action(sort_action, shared.state_schema.get_value("sort-mode"))
def on_about_action(self, _widget, _callback=None): self.win.present()
def on_about_action(self, *_args):
about = Adw.AboutWindow( about = Adw.AboutWindow(
transient_for=self.win, transient_for=self.win,
application_name=_("Cartridges"), application_name=_("Cartridges"),
application_icon="hu.kramo.Cartridges", application_icon=shared.APP_ID,
developer_name="kramo", developer_name="kramo",
version="1.0", version=shared.VERSION,
developers=[ developers=[
"kramo https://kramo.hu", "kramo https://kramo.hu",
"Arcitec https://github.com/Arcitec",
"Domenico https://github.com/Domefemia",
"Geoffrey Coulaud https://geoffrey-coulaud.fr",
"Paweł Lidwin https://github.com/imLinguin", "Paweł Lidwin https://github.com/imLinguin",
"Bananaman https://github.com/Bananaman", "Rafael Mardojai CM https://mardojai.com",
], ],
designers=["kramo https://kramo.hu"], designers=("kramo https://kramo.hu",),
copyright="© 2022-2023 kramo", copyright="© 2022-2023 kramo",
license_type=Gtk.License.GPL_3_0, license_type=Gtk.License.GPL_3_0,
issue_url="https://github.com/kra-mo/cartridges/issues/new", issue_url="https://github.com/kra-mo/cartridges/issues/new",
@@ -131,86 +131,96 @@ class CartridgesApplication(Adw.Application):
) )
about.present() about.present()
def on_preferences_action(self, _widget, _callback=None): def on_preferences_action(
PreferencesWindow(self.win).present() self, _action=None, _parameter=None, page_name=None, expander_row=None
):
win = PreferencesWindow()
if page_name:
win.set_visible_page_name(page_name)
if expander_row:
getattr(win, expander_row).set_expanded(True)
win.present()
def on_steam_import_action(self, _widget, _callback=None): def on_launch_game_action(self, *_args):
# Handle the updating of games inside of the module because the function is async self.win.active_game.launch()
steam_parser(self.win, self.on_steam_import_action)
def on_heroic_import_action(self, _widget, _callback=None): def on_hide_game_action(self, *_args):
games = heroic_parser(self.win, self.on_heroic_import_action) self.win.active_game.toggle_hidden()
save_games(games)
self.win.update_games(games.keys())
def on_bottles_import_action(self, _widget, _callback=None): def on_edit_game_action(self, *_args):
games = bottles_parser(self.win, self.on_bottles_import_action) DetailsWindow(self.win.active_game)
save_games(games)
self.win.update_games(games.keys())
def on_launch_game_action(self, _widget, _callback=None): def on_add_game_action(self, *_args):
# Launch the game and update the last played value DetailsWindow()
game_id = self.win.active_game_id def on_import_action(self, *_args):
shared.importer = Importer()
data = get_games([game_id])[game_id] shared.importer.blocker = True
data["last_played"] = int(time.time())
save_games({game_id: data})
self.win.games[game_id].launch() if shared.schema.get_boolean("steam"):
steam_importer()
self.win.update_games([game_id]) if shared.schema.get_boolean("lutris"):
lutris_importer()
if self.win.stack.get_visible_child() == self.win.overview: if shared.schema.get_boolean("heroic"):
self.win.show_overview(None, self.win.active_game_id) heroic_importer()
def on_hide_game_action(self, _widget, _callback=None): if shared.schema.get_boolean("bottles"):
if self.win.stack.get_visible_child() == self.win.overview: bottles_importer()
self.win.on_go_back_action(None, None)
self.win.games[self.win.active_game_id].toggle_hidden()
self.win.update_games([self.win.active_game_id])
def on_edit_details_action(self, _widget, _callback=None): if shared.schema.get_boolean("itch"):
create_details_window(self.win, self.win.active_game_id) itch_importer()
def on_add_game_action(self, _widget, _callback=None): shared.importer.blocker = False
create_details_window(self.win)
def on_remove_game_action(self, _widget, _callback=None): if shared.importer.import_dialog.is_visible and shared.importer.queue == 0:
# Add "removed=True" to the game properties so it can be deleted on next init shared.importer.queue = 1
game_id = self.win.active_game_id shared.importer.save_game()
data = get_games([game_id])[game_id] def on_remove_game_action(self, *_args):
data["removed"] = True self.win.active_game.remove_game()
save_games({game_id: data})
self.win.update_games([game_id]) def on_remove_game_details_view_action(self, *_args):
if self.win.stack.get_visible_child() == self.win.overview: if self.win.stack.get_visible_child() == self.win.details_view:
self.win.on_go_back_action(None, None) self.on_remove_game_action()
# The variable is the title of the game def search(self, uri):
title = self.win.games[game_id].name Gio.AppInfo.launch_default_for_uri(f"{uri}{self.win.active_game.name}")
toast = Adw.Toast.new(_(f"{title} removed"))
toast.set_button_label(_("Undo"))
toast.connect("button-clicked", self.win.on_undo_remove_action, game_id)
toast.set_priority(Adw.ToastPriority.HIGH)
self.win.toasts[game_id] = toast
self.win.toast_overlay.add_toast(toast)
def on_quit_action(self, _widget, _callback=None): def on_igdb_search_action(self, *_args):
self.search("https://www.igdb.com/search?type=1&q=")
def on_sgdb_search_action(self, *_args):
self.search("https://www.steamgriddb.com/search/grids?term=")
def on_protondb_search_action(self, *_args):
self.search("https://www.protondb.com/search?q=")
def on_lutris_search_action(self, *_args):
self.search("https://lutris.net/games?q=")
def on_hltb_search_action(self, *_args):
self.search("https://howlongtobeat.com/?q=")
def on_quit_action(self, *_args):
self.quit() self.quit()
def create_action(self, name, callback, shortcuts=None, win=None): def create_actions(self, actions):
action = Gio.SimpleAction.new(name, None) for action in actions:
action.connect("activate", callback) simple_action = Gio.SimpleAction.new(action[0], None)
if not win:
self.add_action(action) scope = action[2] if action[2:3] else self
if shortcuts: simple_action.connect("activate", getattr(scope, f"on_{action[0]}_action"))
self.set_accels_for_action(f"app.{name}", shortcuts)
else: if action[1:2]:
win.add_action(action) self.set_accels_for_action(
if shortcuts: f"app.{action[0]}" if scope == self else f"win.{action[0]}",
self.set_accels_for_action(f"win.{name}", shortcuts) action[1],
)
scope.add_action(simple_action)
def main(version): # pylint: disable=unused-argument def main(version): # pylint: disable=unused-argument

View File

@@ -1,13 +1,5 @@
moduledir = join_paths(pkgdatadir, 'cartridges') moduledir = join_paths(pkgdatadir, 'cartridges')
python = import('python')
conf = configuration_data()
conf.set('PYTHON', python.find_installation('python3').path())
conf.set('VERSION', meson.project_version())
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
conf.set('pkgdatadir', pkgdatadir)
configure_file( configure_file(
input: 'cartridges.in', input: 'cartridges.in',
output: 'cartridges', output: 'cartridges',
@@ -17,19 +9,28 @@ configure_file(
) )
cartridges_sources = [ cartridges_sources = [
configure_file(
input: 'shared.py.in',
output: 'shared.py',
configuration: conf
),
'__init__.py', '__init__.py',
'main.py', 'main.py',
'window.py', 'window.py',
'preferences.py', 'preferences.py',
'details_window.py',
'game.py', 'game.py',
'utils/steam_parser.py', 'game_cover.py',
'utils/heroic_parser.py', 'importers/steam_importer.py',
'utils/bottles_parser.py', 'importers/lutris_importer.py',
'utils/get_games.py', 'importers/heroic_importer.py',
'utils/save_games.py', 'importers/bottles_importer.py',
'importers/itch_importer.py',
'utils/importer.py',
'utils/steamgriddb.py',
'utils/save_cover.py', 'utils/save_cover.py',
'utils/create_dialog.py', 'utils/create_dialog.py',
'utils/create_details_window.py' 'utils/check_install.py'
] ]
install_data(cartridges_sources, install_dir: moduledir) install_data(cartridges_sources, install_dir: moduledir)

View File

@@ -18,123 +18,314 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import os import os
import re
from pathlib import Path
from gi.repository import Adw, Gio, GLib, Gtk from gi.repository import Adw, Gio, GLib, Gtk
# pylint: disable=unused-import
from . import shared
from .bottles_importer import bottles_installed
from .create_dialog import create_dialog
from .heroic_importer import heroic_installed
from .itch_importer import itch_installed
from .lutris_importer import lutris_cache_exists, lutris_installed
from .steam_importer import steam_installed
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/preferences.ui")
@Gtk.Template(resource_path=shared.PREFIX + "/gtk/preferences.ui")
class PreferencesWindow(Adw.PreferencesWindow): class PreferencesWindow(Adw.PreferencesWindow):
__gtype_name__ = "PreferencesWindow" __gtype_name__ = "PreferencesWindow"
page = Gtk.Template.Child() general_page = Gtk.Template.Child()
bottles_group = Gtk.Template.Child() import_page = Gtk.Template.Child()
sgdb_page = Gtk.Template.Child()
sources_group = Gtk.Template.Child()
exit_after_launch_switch = Gtk.Template.Child() exit_after_launch_switch = Gtk.Template.Child()
import_epic_games_switch = Gtk.Template.Child() cover_launches_game_switch = Gtk.Template.Child()
import_gog_games_switch = Gtk.Template.Child() high_quality_images_switch = Gtk.Template.Child()
import_sideload_games_switch = Gtk.Template.Child() remove_all_games_button = Gtk.Template.Child()
steam_expander_row = Gtk.Template.Child()
steam_action_row = Gtk.Template.Child()
steam_file_chooser_button = Gtk.Template.Child() steam_file_chooser_button = Gtk.Template.Child()
steam_extra_file_chooser_button = Gtk.Template.Child()
steam_clear_button = Gtk.Template.Child() lutris_expander_row = Gtk.Template.Child()
steam_clear_button_revealer = Gtk.Template.Child() lutris_action_row = Gtk.Template.Child()
lutris_file_chooser_button = Gtk.Template.Child()
lutris_cache_action_row = Gtk.Template.Child()
lutris_cache_file_chooser_button = Gtk.Template.Child()
lutris_import_steam_switch = Gtk.Template.Child()
heroic_expander_row = Gtk.Template.Child()
heroic_action_row = Gtk.Template.Child()
heroic_file_chooser_button = Gtk.Template.Child() heroic_file_chooser_button = Gtk.Template.Child()
heroic_import_epic_switch = Gtk.Template.Child()
heroic_import_gog_switch = Gtk.Template.Child()
heroic_import_sideload_switch = Gtk.Template.Child()
bottles_expander_row = Gtk.Template.Child()
bottles_action_row = Gtk.Template.Child()
bottles_file_chooser_button = Gtk.Template.Child() bottles_file_chooser_button = Gtk.Template.Child()
def __init__(self, parent_widget, **kwargs): itch_expander_row = Gtk.Template.Child()
itch_action_row = Gtk.Template.Child()
itch_file_chooser_button = Gtk.Template.Child()
sgdb_key_group = Gtk.Template.Child()
sgdb_key_entry_row = Gtk.Template.Child()
sgdb_switch = Gtk.Template.Child()
sgdb_switch_row = Gtk.Template.Child()
sgdb_prefer_switch = Gtk.Template.Child()
sgdb_animated_switch = Gtk.Template.Child()
removed_games = set()
# Whether to import after closing the window
import_changed = False
# Widgets and their properties to check whether to import after closing the window
import_changed_widgets = {}
def __init__(self, **kwargs):
super().__init__(**kwargs) super().__init__(**kwargs)
self.win = shared.win
self.file_chooser = Gtk.FileDialog()
self.set_transient_for(self.win)
self.set_transient_for(parent_widget) self.toast = Adw.Toast.new(_("All games removed"))
schema = parent_widget.schema self.toast.set_button_label(_("Undo"))
schema.bind( self.toast.connect("button-clicked", self.undo_remove_all, None)
"exit-after-launch", self.toast.set_priority(Adw.ToastPriority.HIGH)
self.exit_after_launch_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
schema.bind(
"heroic-import-epic",
self.import_epic_games_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
schema.bind(
"heroic-import-gog",
self.import_gog_games_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
schema.bind(
"heroic-import-sideload",
self.import_sideload_games_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
filechooser = Gtk.FileDialog() (shortcut_controller := Gtk.ShortcutController()).add_shortcut(
Gtk.Shortcut.new(
Gtk.ShortcutTrigger.parse_string("<primary>z"),
Gtk.CallbackAction.new(self.undo_remove_all),
)
)
self.add_controller(shortcut_controller)
# General
self.remove_all_games_button.connect("clicked", self.remove_all_games)
# Steam
self.create_preferences(self, "steam", "Steam")
# Lutris
self.create_preferences(self, "lutris", "Lutris")
def set_cache_dir(_source, result, *_args):
try:
path = Path(self.file_chooser.select_folder_finish(result).get_path())
except GLib.GError:
return
def response(widget, response):
if response == "choose_folder":
self.choose_folder(widget, set_cache_dir)
if lutris_cache_exists(path):
self.import_changed = True
self.set_subtitle(self, "lutris-cache")
def update_revealer():
if schema.get_strv("steam-extra-dirs"):
self.steam_clear_button_revealer.set_reveal_child(True)
else: else:
self.steam_clear_button_revealer.set_reveal_child(False) create_dialog(
self.win,
_("Cache Not Found"),
_("Select the Lutris cache directory."),
"choose_folder",
_("Set Location"),
).connect("response", response)
def set_steam_dir(_source, result, _unused): self.set_subtitle(self, "lutris-cache")
try:
schema.set_string(
"steam-location",
filechooser.select_folder_finish(result).get_path(),
)
except GLib.GError:
pass
def add_steam_dir(_source, result, _unused): self.lutris_cache_file_chooser_button.connect(
try: "clicked", self.choose_folder, set_cache_dir
value = schema.get_strv("steam-extra-dirs")
value.append(filechooser.select_folder_finish(result).get_path())
schema.set_strv("steam-extra-dirs", value)
except GLib.GError:
pass
update_revealer()
def clear_steam_dirs(*_unused):
schema.set_strv("steam-extra-dirs", [])
update_revealer()
def set_heroic_dir(_source, result, _unused):
try:
schema.set_string(
"heroic-location",
filechooser.select_folder_finish(result).get_path(),
)
except GLib.GError:
pass
def set_bottles_dir(_source, result, _unused):
try:
schema.set_string(
"bottles-location",
filechooser.select_folder_finish(result).get_path(),
)
except GLib.GError:
pass
def choose_folder(_widget, function):
filechooser.select_folder(parent_widget, None, function, None)
update_revealer()
self.steam_file_chooser_button.connect("clicked", choose_folder, set_steam_dir)
self.steam_extra_file_chooser_button.connect(
"clicked", choose_folder, add_steam_dir
)
self.steam_clear_button.connect("clicked", clear_steam_dirs)
self.heroic_file_chooser_button.connect(
"clicked", choose_folder, set_heroic_dir
)
self.bottles_file_chooser_button.connect(
"clicked", choose_folder, set_bottles_dir
) )
# Heroic
self.create_preferences(self, "heroic", "Heroic", True)
# Bottles
self.create_preferences(self, "bottles", "Bottles")
# itch
self.create_preferences(self, "itch", "itch", True)
# SteamGridDB
def sgdb_key_changed(*_args):
shared.schema.set_string("sgdb-key", self.sgdb_key_entry_row.get_text())
self.sgdb_key_entry_row.set_text(shared.schema.get_string("sgdb-key"))
self.sgdb_key_entry_row.connect("changed", sgdb_key_changed)
self.sgdb_key_group.set_description(
_(
"An API key is required to use SteamGridDB. You can generate one {}here{}."
).format(
'<a href="https://www.steamgriddb.com/profile/preferences/api">', "</a>"
)
)
def set_sgdb_sensitive(widget):
if not widget.get_text():
shared.schema.set_boolean("sgdb", False)
self.sgdb_switch_row.set_sensitive(widget.get_text())
self.sgdb_key_entry_row.connect("changed", set_sgdb_sensitive)
set_sgdb_sensitive(self.sgdb_key_entry_row)
# Switches
self.bind_switches(
(
"exit-after-launch",
"cover-launches-game",
"high-quality-images",
"lutris-import-steam",
"heroic-import-epic",
"heroic-import-gog",
"heroic-import-sideload",
"sgdb",
"sgdb-prefer",
"sgdb-animated",
)
)
# Connect the switches that change the behavior of importing to set_import_changed
self.connect_import_switches(
(
"lutris-import-steam",
"heroic-import-epic",
"heroic-import-gog",
"heroic-import-sideload",
)
)
# Windows
if os.name == "nt": if os.name == "nt":
self.page.remove(self.bottles_group) self.sources_group.remove(self.lutris_expander_row)
self.sources_group.remove(self.bottles_expander_row)
# When the user interacts with a widget that changes the behavior of importing,
# Cartridges should automatically import upon closing the preferences window
self.connect("close-request", self.check_import)
def get_switch(self, setting):
return getattr(self, f'{setting.replace("-", "_")}_switch')
def bind_switches(self, settings):
for setting in settings:
shared.schema.bind(
setting,
self.get_switch(setting),
"active",
Gio.SettingsBindFlags.DEFAULT,
)
def connect_import_switches(self, settings):
for setting in settings:
self.get_switch(setting).connect("notify::active", self.set_import_changed)
def choose_folder(self, _widget, function):
self.file_chooser.select_folder(self.win, None, function, None)
def undo_remove_all(self, *_args):
for game in self.removed_games:
game.removed = False
game.save()
self.removed_games = set()
self.toast.dismiss()
def remove_all_games(self, *_args):
for game in self.win.games.values():
if not game.removed:
self.removed_games.add(game)
game.removed = True
game.save()
if self.win.stack.get_visible_child() == self.win.details_view:
self.win.on_go_back_action()
self.add_toast(self.toast)
def set_subtitle(self, win, source_id):
getattr(win, f'{source_id.replace("-", "_")}_action_row').set_subtitle(
# Remove the path if the dir is picked via the Flatpak portal
re.sub(
"/run/user/\\d*/doc/.*/",
"",
str(
Path(shared.schema.get_string(f"{source_id}-location")).expanduser()
),
)
)
def create_preferences(self, win, source_id, name, config=False):
def set_dir(_source, result, *_args):
try:
path = Path(win.file_chooser.select_folder_finish(result).get_path())
except GLib.GError:
return
def response(widget, response):
if response == "choose_folder":
win.choose_folder(widget, set_dir)
if globals()[f"{source_id}_installed"](path):
self.import_changed = True
self.set_subtitle(win, source_id)
else:
create_dialog(
win,
_("Installation Not Found"),
# The variable is the name of the game launcher
_("Select the {} configuration directory.").format(name) if config
# The variable is the name of the game launcher
else _("Select the {} data directory.").format(name),
"choose_folder",
_("Set Location"),
).connect("response", response)
self.set_subtitle(win, source_id)
shared.schema.bind(
source_id,
getattr(win, f"{source_id}_expander_row"),
"enable-expansion",
Gio.SettingsBindFlags.DEFAULT,
)
getattr(win, f"{source_id}_file_chooser_button").connect(
"clicked", win.choose_folder, set_dir
)
getattr(win, f"{source_id}_expander_row").connect(
"notify::enable-expansion", self.set_import_changed
)
def set_import_changed(self, widget, param):
if widget not in self.import_changed_widgets:
self.import_changed = True
self.import_changed_widgets[widget] = (
param.name,
not widget.get_property(param.name),
)
def check_import(self, *_args):
# This checks whether any of the switches that did actually change their state
# would have an effect on the outcome of the import action
# and if they would, it initiates it.
if self.import_changed and any(
(value := widget.get_property(prop[0])) and value != prop[1]
for widget, prop in self.import_changed_widgets.items()
):
# The timeout is a hack to circumvent a GTK bug that I'm too lazy to report:
# The window would stay darkened because of the import dialog for some reason
GLib.timeout_add(1, self.win.get_application().on_import_action)

59
src/shared.py.in Normal file
View File

@@ -0,0 +1,59 @@
# shared.py.in
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
import os
from pathlib import Path
from gi.repository import Gdk, Gio
APP_ID = "@APP_ID@"
VERSION = "@VERSION@"
PREFIX = "@PREFIX@"
SPEC_VERSION = 1.5 # The version of the game_id.json spec
schema = Gio.Settings.new(APP_ID)
state_schema = Gio.Settings.new(APP_ID + ".State")
data_dir = (
Path(os.getenv("XDG_DATA_HOME"))
if "XDG_DATA_HOME" in os.environ
else Path.home() / ".local" / "share"
)
config_dir = (
Path(os.getenv("XDG_CONFIG_HOME"))
if "XDG_CONFIG_HOME" in os.environ
else Path.home() / ".config"
)
cache_dir = (
Path(os.getenv("XDG_CACHE_HOME"))
if "XDG_CACHE_HOME" in os.environ
else Path.home() / ".cache"
)
games_dir = data_dir / "cartridges" / "games"
covers_dir = data_dir / "cartridges" / "covers"
scale_factor = max(
monitor.get_scale_factor() for monitor in Gdk.Display.get_default().get_monitors()
)
image_size = (200 * scale_factor, 300 * scale_factor)
# pylint: disable=invalid-name
win = None
importer = None

View File

@@ -1,157 +0,0 @@
# bottles_parser.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
import os
import time
import yaml
from gi.repository import GLib, Gtk
from .create_dialog import create_dialog
from .save_cover import save_cover
def bottles_parser(parent_widget, action):
schema = parent_widget.schema
bottles_dir = os.path.expanduser(schema.get_string("bottles-location"))
def bottles_not_found():
if os.path.exists(
os.path.expanduser("~/.var/app/com.usebottles.bottles/data/bottles/")
):
schema.set_string(
"bottles-location", "~/.var/app/com.usebottles.bottles/data/bottles/"
)
action(None, None)
elif os.path.exists(
os.path.join(
os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")),
"bottles",
)
):
schema.set_string(
"bottles-location",
os.path.join(
os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")),
"bottles",
),
)
action(None, None)
else:
filechooser = Gtk.FileDialog.new()
def set_bottles_dir(_source, result, _unused):
try:
schema.set_string(
"bottles-location",
filechooser.select_folder_finish(result).get_path(),
)
action(None, None)
except GLib.GError:
return
def choose_folder(_widget):
filechooser.select_folder(parent_widget, None, set_bottles_dir, None)
def response(widget, response):
if response == "choose_folder":
choose_folder(widget)
create_dialog(
parent_widget,
_("Couldn't Import Games"),
_("The Bottles directory cannot be found."),
"choose_folder",
_("Set Bottles Location"),
).connect("response", response)
if not os.path.isfile(os.path.join(bottles_dir, "library.yml")):
bottles_not_found()
return {}
bottles_dir = os.path.expanduser(schema.get_string("bottles-location"))
bottles_games = {}
current_time = int(time.time())
with open(os.path.join(bottles_dir, "library.yml"), "r") as open_file:
data = open_file.read()
library = yaml.load(data, Loader=yaml.Loader)
for game in library:
game = library[game]
values = {}
values["game_id"] = f'bottles_{game["id"]}'
if (
values["game_id"] in parent_widget.games
and not parent_widget.games[values["game_id"]].removed
):
continue
values["name"] = game["name"]
values["executable"] = [
"xdg-open",
f'bottles:run/{game["bottle"]["name"]}/{game["name"]}',
]
values["hidden"] = False
values["source"] = "bottles"
values["added"] = current_time
values["last_played"] = 0
if game["thumbnail"]:
save_cover(
values,
parent_widget,
os.path.join(
bottles_dir,
"bottles",
game["bottle"]["path"],
"grids",
game["thumbnail"].split(":")[1],
),
)
bottles_games[values["game_id"]] = values
if not bottles_games:
create_dialog(
parent_widget,
_("No Games Found"),
_("No new games were found in the Bottles library."),
)
elif len(bottles_games) == 1:
create_dialog(
parent_widget,
_("Bottles Games Imported"),
_("Successfully imported 1 game."),
)
elif len(bottles_games) > 1:
games_no = str(len(bottles_games))
create_dialog(
parent_widget,
_("Bottles Games Imported"),
# The variable is the number of games
_(f"Successfully imported {games_no} games."),
)
return bottles_games

View File

@@ -1,37 +1,31 @@
# save_games.py # check_install.py
# #
# Copyright 2022-2023 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# This program is distributed in the hope that it will be useful, # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import json from pathlib import Path
import os
def check_install(check, locations, setting=None, subdirs=(Path(),)):
def save_games(games): for location in locations:
games_dir = os.path.join( for subdir in (Path(),) + subdirs:
os.getenv("XDG_DATA_HOME") if (location / subdir / check).exists():
or os.path.expanduser(os.path.join("~", ".local", "share")), if setting:
"cartridges", setting[0].set_string(setting[1], str(location / subdir))
"games", return location / subdir
)
return False
if not os.path.exists(games_dir):
os.makedirs(games_dir)
for game in games:
with open(os.path.join(games_dir, f"{game}.json"), "w") as open_file:
open_file.write(json.dumps(games[game], indent=4, sort_keys=True))

View File

@@ -1,315 +0,0 @@
# create_details_window.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
import json
import os
import shlex
import time
from gi.repository import Adw, GdkPixbuf, Gio, GLib, GObject, Gtk
from .create_dialog import create_dialog
from .save_cover import save_cover
from .save_games import save_games
def create_details_window(parent_widget, game_id=None):
window = Adw.Window(
modal=True, default_width=500, default_height=750, transient_for=parent_widget
)
games = parent_widget.games
pixbuf = None
if game_id is None:
window.set_title(_("Add New Game"))
cover = Gtk.Picture.new_for_pixbuf(parent_widget.placeholder_pixbuf)
name = Gtk.Entry()
developer = Gtk.Entry()
executable = Gtk.Entry()
apply_button = Gtk.Button.new_with_label(_("Confirm"))
else:
window.set_title(_("Edit Game Details"))
cover = Gtk.Picture.new_for_pixbuf(parent_widget.games[game_id].pixbuf)
developer = Gtk.Entry.new_with_buffer(
Gtk.EntryBuffer.new(games[game_id].developer, -1)
)
name = Gtk.Entry.new_with_buffer(Gtk.EntryBuffer.new(games[game_id].name, -1))
executable = Gtk.Entry.new_with_buffer(
Gtk.EntryBuffer.new(shlex.join(games[game_id].executable), -1)
)
apply_button = Gtk.Button.new_with_label(_("Apply"))
image_filter = Gtk.FileFilter(name=_("Images"))
image_filter.add_pixbuf_formats()
file_filters = Gio.ListStore.new(Gtk.FileFilter)
file_filters.append(image_filter)
filechooser = Gtk.FileDialog()
filechooser.set_filters(file_filters)
cover.add_css_class("card")
cover.set_size_request(200, 300)
cover_button = Gtk.Button(
icon_name="document-edit-symbolic",
halign=Gtk.Align.END,
valign=Gtk.Align.END,
margin_bottom=6,
margin_end=6,
css_classes=["circular", "osd"],
)
cover_overlay = Gtk.Overlay(
child=cover,
halign=Gtk.Align.CENTER,
valign=Gtk.Align.CENTER,
)
cover_overlay.add_overlay(cover_button)
cover_clamp = Adw.Clamp(
maximum_size=200,
child=cover_overlay,
)
cover_group = Adw.PreferencesGroup()
cover_group.add(cover_clamp)
title_group = Adw.PreferencesGroup(
title=_("Title"),
description=_("The title of the game"),
)
title_group.add(name)
developer_group = Adw.PreferencesGroup(
title=_("Developer"),
description=_("The developer or publisher (optional)"),
)
developer_group.add(developer)
exec_info_button = Gtk.ToggleButton(
icon_name="dialog-information-symbolic",
valign=Gtk.Align.CENTER,
css_classes=["flat", "circular"],
)
file_name = _("file.txt")
# As in software
exe_name = _("program")
if os.name == "nt":
exe_name += ".exe"
exe_path = _(f"C:\\path\\to\\{exe_name}")
file_path = _(f"C:\\path\\to\\{file_name}")
command = "start"
else:
exe_path = _(f"/path/to/{exe_name}")
file_path = _(f"/path/to/{file_name}")
command = "xdg-open"
exec_info_text = _(
f'To launch the executable "{exe_name}", use the command:\n\n<tt>"{exe_path}"</tt>\n\nTo open the file "{file_name}" with the default application, use:\n\n<tt>{command} "{file_path}"</tt>\n\nIf the path contains spaces, make sure to wrap it in double quotes!'
)
exec_info_label = Gtk.Label(
label=exec_info_text,
use_markup=True,
wrap=True,
max_width_chars=30,
margin_top=6,
margin_bottom=12,
margin_start=6,
margin_end=6,
)
exec_info_popover = Gtk.Popover(
position=Gtk.PositionType.TOP, child=exec_info_label
)
exec_info_popover.bind_property(
"visible", exec_info_button, "active", GObject.BindingFlags.BIDIRECTIONAL
)
exec_group = Adw.PreferencesGroup(
title=_("Executable"),
description=_("File to open or command to run when launching the game"),
header_suffix=exec_info_button,
)
exec_info_popover.set_parent(exec_group.get_header_suffix())
exec_group.add(executable)
general_page = Adw.PreferencesPage()
general_page.add(cover_group)
general_page.add(title_group)
general_page.add(developer_group)
general_page.add(exec_group)
cancel_button = Gtk.Button.new_with_label(_("Cancel"))
apply_button.add_css_class("suggested-action")
header_bar = Adw.HeaderBar(
show_start_title_buttons=False,
show_end_title_buttons=False,
)
header_bar.pack_start(cancel_button)
header_bar.pack_end(apply_button)
main_box = Gtk.Box.new(Gtk.Orientation.VERTICAL, 0)
main_box.append(header_bar)
main_box.append(general_page)
window.set_content(main_box)
def choose_cover(_widget):
filechooser.open(window, None, set_cover, None)
def set_cover(_source, result, _unused):
nonlocal pixbuf
try:
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
filechooser.open_finish(result).get_path(), 200, 300, False
)
cover.set_pixbuf(pixbuf)
except GLib.GError:
return
def close_window(_widget, _callback=None):
window.close()
def apply_preferences(_widget, _callback=None):
nonlocal pixbuf
nonlocal game_id
values = {}
final_name = name.get_buffer().get_text()
final_developer = developer.get_buffer().get_text()
final_executable = executable.get_buffer().get_text()
try:
# Attempt to parse using shell parsing rules (doesn't verify executable existence).
final_executable_split = shlex.split(
final_executable, comments=False, posix=True
)
except ValueError as exception:
create_dialog(
window,
_("Couldn't Add Game")
if game_id is None
else _("Couldn't Apply Preferences"),
f'{_("Executable")}: {exception}.',
)
return
if game_id is None:
if final_name == "":
create_dialog(
window, _("Couldn't Add Game"), _("Game title cannot be empty.")
)
return
if final_executable == "":
create_dialog(
window, _("Couldn't Add Game"), _("Executable cannot be empty.")
)
return
# Increment the number after the game id (eg. imported_1, imported_2)
numbers = [0]
for game in games:
if "imported_" in game:
numbers.append(int(game.replace("imported_", "")))
game_id = f"imported_{str(max(numbers) + 1)}"
values["game_id"] = game_id
values["hidden"] = False
values["source"] = "imported"
values["added"] = int(time.time())
values["last_played"] = 0
else:
if final_name == "":
create_dialog(
window,
_("Couldn't Apply Preferences"),
_("Game title cannot be empty."),
)
return
if final_executable == "":
create_dialog(
window,
_("Couldn't Apply Preferences"),
_("Executable cannot be empty."),
)
return
if pixbuf is not None:
save_cover(None, parent_widget, None, pixbuf, game_id)
values["name"] = final_name
values["developer"] = final_developer or None
values["executable"] = final_executable_split
path = os.path.join(
os.path.join(
os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges",
"games",
f"{game_id}.json",
)
)
if os.path.exists(path):
with open(path, "r") as open_file:
data = json.loads(open_file.read())
data.update(values)
save_games({game_id: data})
else:
save_games({game_id: values})
parent_widget.update_games([game_id])
if parent_widget.stack.get_visible_child() == parent_widget.overview:
parent_widget.show_overview(None, game_id)
window.close()
parent_widget.show_overview(None, game_id)
def focus_executable(_widget):
window.set_focus(executable)
cover_button.connect("clicked", choose_cover)
cancel_button.connect("clicked", close_window)
apply_button.connect("clicked", apply_preferences)
name.connect("activate", focus_executable)
executable.connect("activate", apply_preferences)
shortcut_controller = Gtk.ShortcutController()
shortcut_controller.add_shortcut(
Gtk.Shortcut.new(
Gtk.ShortcutTrigger.parse_string("Escape"),
Gtk.CallbackAction.new(close_window),
)
)
window.add_controller(shortcut_controller)
window.set_focus(name)
window.present()

View File

@@ -17,15 +17,15 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
from gi.repository import Adw, Gtk from gi.repository import Adw
def create_dialog(parent_widget, heading, body, extra_option=None, extra_label=None): def create_dialog(win, heading, body, extra_option=None, extra_label=None):
dialog = Adw.MessageDialog.new(parent_widget, _(heading), body) dialog = Adw.MessageDialog.new(win, heading, body)
dialog.add_response("dismiss", _("Dismiss")) dialog.add_response("dismiss", _("Dismiss"))
if extra_option: if extra_option:
dialog.add_response(extra_option, _(extra_label)) dialog.add_response(extra_option, _(extra_label))
Gtk.Window.present(dialog) dialog.present()
return dialog return dialog

View File

@@ -1,46 +0,0 @@
# get_games.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
import json
import os
def get_games(game_ids=None):
games_dir = os.path.join(
os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges",
"games",
)
games = {}
if not os.path.exists(games_dir):
return {}
if game_ids:
game_files = [f"{game_id}.json" for game_id in game_ids]
else:
game_files = os.listdir(games_dir)
for game in game_files:
with open(os.path.join(games_dir, game), "r") as open_file:
data = json.loads(open_file.read())
games[data["game_id"]] = data
return games

View File

@@ -1,267 +0,0 @@
# heroic_parser.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
import hashlib
import json
import os
import time
from gi.repository import GLib, Gtk
from .create_dialog import create_dialog
from .save_cover import save_cover
def heroic_parser(parent_widget, action):
schema = parent_widget.schema
heroic_dir = os.path.expanduser(schema.get_string("heroic-location"))
def heroic_not_found():
if os.path.exists(
os.path.expanduser("~/.var/app/com.heroicgameslauncher.hgl/config/heroic/")
):
schema.set_string(
"heroic-location",
"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/",
)
action(None, None)
elif os.path.exists(
os.path.join(
os.getenv("XDG_CONFIG_HOME")
or os.path.expanduser(os.path.join("~", ".config")),
"heroic",
)
):
schema.set_string(
"heroic-location",
os.path.join(
os.getenv("XDG_CONFIG_HOME")
or os.path.expanduser(os.path.join("~", ".config")),
"heroic",
),
)
action(None, None)
elif os.path.exists(os.path.join(os.getenv("appdata"), "heroic")):
schema.set_string(
"heroic-location", os.path.join(os.getenv("appdata"), "heroic")
)
action(None, None)
else:
filechooser = Gtk.FileDialog.new()
def set_heroic_dir(_source, result, _unused):
try:
schema.set_string(
"heroic-location",
filechooser.select_folder_finish(result).get_path(),
)
action(None, None)
except GLib.GError:
return
def choose_folder(_widget):
filechooser.select_folder(parent_widget, None, set_heroic_dir, None)
def response(widget, response):
if response == "choose_folder":
choose_folder(widget)
create_dialog(
parent_widget,
_("Couldn't Import Games"),
_("The Heroic directory cannot be found."),
"choose_folder",
_("Set Heroic Location"),
).connect("response", response)
if not os.path.exists(os.path.join(heroic_dir, "config.json")):
heroic_not_found()
return {}
heroic_dir = os.path.expanduser(schema.get_string("heroic-location"))
heroic_games = {}
current_time = int(time.time())
# Import Epic games
if not schema.get_boolean("heroic-import-epic"):
pass
elif os.path.exists(os.path.join(heroic_dir, "lib-cache", "library.json")):
with open(
os.path.join(heroic_dir, "lib-cache", "library.json"), "r"
) as open_file:
data = open_file.read()
library = json.loads(data)
try:
for game in library["library"]:
if not game["is_installed"]:
continue
values = {}
app_name = game["app_name"]
values["game_id"] = f"heroic_epic_{app_name}"
if (
values["game_id"] in parent_widget.games
and not parent_widget.games[values["game_id"]].removed
):
continue
values["name"] = game["title"]
values["developer"] = game["developer"]
values["executable"] = (
["start", f"heroic://launch/{app_name}"]
if os.name == "nt"
else ["xdg-open", f"heroic://launch/{app_name}"]
)
values["hidden"] = False
values["source"] = "heroic_epic"
values["added"] = current_time
values["last_played"] = 0
image_path = os.path.join(
heroic_dir,
"images-cache",
hashlib.sha256(
(f'{game["art_square"]}?h=400&resize=1&w=300').encode()
).hexdigest(),
)
if os.path.exists(image_path):
save_cover(values, parent_widget, image_path)
heroic_games[values["game_id"]] = values
except KeyError:
pass
# Import GOG games
if not schema.get_boolean("heroic-import-gog"):
pass
elif os.path.exists(os.path.join(heroic_dir, "gog_store", "installed.json")):
with open(
os.path.join(heroic_dir, "gog_store", "installed.json"), "r"
) as open_file:
data = open_file.read()
installed = json.loads(data)
for item in installed["installed"]:
values = {}
app_name = item["appName"]
values["game_id"] = f"heroic_gog_{app_name}"
if (
values["game_id"] in parent_widget.games
and not parent_widget.games[values["game_id"]].removed
):
continue
# Get game title and developer from library.json as they are not present in installed.json
with open(
os.path.join(heroic_dir, "gog_store", "library.json"), "r"
) as open_file:
data = open_file.read()
library = json.loads(data)
for game in library["games"]:
if game["app_name"] == app_name:
values["developer"] = game["developer"]
values["name"] = game["title"]
image_path = os.path.join(
heroic_dir,
"images-cache",
hashlib.sha256(game["art_square"].encode()).hexdigest(),
)
if os.path.exists(image_path):
save_cover(values, parent_widget, image_path)
break
values["executable"] = (
["start", f"heroic://launch/{app_name}"]
if os.name == "nt"
else ["xdg-open", f"heroic://launch/{app_name}"]
)
values["hidden"] = False
values["source"] = "heroic_gog"
values["added"] = current_time
values["last_played"] = 0
heroic_games[values["game_id"]] = values
# Import sideloaded games
if not schema.get_boolean("heroic-import-sideload"):
pass
elif os.path.exists(os.path.join(heroic_dir, "sideload_apps", "library.json")):
with open(
os.path.join(heroic_dir, "sideload_apps", "library.json"), "r"
) as open_file:
data = open_file.read()
library = json.loads(data)
for item in library["games"]:
values = {}
app_name = item["app_name"]
values["game_id"] = f"heroic_sideload_{app_name}"
if (
values["game_id"] in parent_widget.games
and not parent_widget.games[values["game_id"]].removed
):
continue
values["name"] = item["title"]
values["executable"] = (
["start", f"heroic://launch/{app_name}"]
if os.name == "nt"
else ["xdg-open", f"heroic://launch/{app_name}"]
)
values["hidden"] = False
values["source"] = "heroic_sideload"
values["added"] = current_time
values["last_played"] = 0
image_path = os.path.join(
heroic_dir,
"images-cache",
hashlib.sha256(item["art_square"].encode()).hexdigest(),
)
if os.path.exists(image_path):
save_cover(values, parent_widget, image_path)
heroic_games[values["game_id"]] = values
if not heroic_games:
create_dialog(
parent_widget,
_("No Games Found"),
_("No new games were found in the Heroic library."),
)
elif len(heroic_games) == 1:
create_dialog(
parent_widget,
_("Heroic Games Imported"),
_("Successfully imported 1 game."),
)
elif len(heroic_games) > 1:
games_no = str(len(heroic_games))
create_dialog(
parent_widget,
_("Heroic Games Imported"),
# The variable is the number of games
_(f"Successfully imported {games_no} games."),
)
return heroic_games

132
src/utils/importer.py Normal file
View File

@@ -0,0 +1,132 @@
# importer.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
from gi.repository import Adw, GLib, Gtk
from . import shared
from .create_dialog import create_dialog
from .game import Game
from .save_cover import resize_cover, save_cover
from .steamgriddb import SGDBSave
class Importer:
def __init__(self):
self.win = shared.win
self.total_queue = 0
self.queue = 0
self.games_no = 0
self.blocker = False
self.games = set()
self.sgdb_exception = None
self.progressbar = Gtk.ProgressBar(margin_start=12, margin_end=12)
self.import_statuspage = Adw.StatusPage(
title=_("Importing Games…"),
child=self.progressbar,
)
self.import_dialog = Adw.Window(
content=self.import_statuspage,
modal=True,
default_width=350,
default_height=-1,
transient_for=self.win,
deletable=False,
)
self.import_dialog.present()
def save_game(self, values=None, cover_path=None):
if values:
game = Game(values)
if save_cover:
save_cover(game.game_id, resize_cover(cover_path))
self.games.add(game)
self.games_no += 1
if game.blacklisted:
self.games_no -= 1
self.queue -= 1
self.update_progressbar()
if self.queue == 0 and not self.blocker:
if self.games:
self.total_queue = len(self.games)
self.queue = len(self.games)
self.import_statuspage.set_title(_("Importing Covers…"))
self.update_progressbar()
SGDBSave(self.games, self)
else:
self.done()
def done(self):
self.update_progressbar()
if self.queue == 0:
self.import_dialog.close()
toast = Adw.Toast()
toast.set_priority(Adw.ToastPriority.HIGH)
if self.games_no == 0:
toast.set_title(_("No new games found"))
toast.set_button_label(_("Preferences"))
toast.connect(
"button-clicked", self.response, "open_preferences", "import"
)
elif self.games_no == 1:
toast.set_title(_("1 game imported"))
elif self.games_no > 1:
games_no = self.games_no
toast.set_title(
# The variable is the number of games
_("{} games imported").format(games_no)
)
self.win.toast_overlay.add_toast(toast)
# Add timeout to make it the last thing to happen
GLib.timeout_add(0, self.warning, None, None)
def response(self, _widget, response, page_name=None, expander_row=None):
if response == "open_preferences":
self.win.get_application().on_preferences_action(
None, page_name=page_name, expander_row=expander_row
)
def warning(self, *_args):
if self.sgdb_exception:
create_dialog(
self.win,
_("Couldn't Connect to SteamGridDB"),
self.sgdb_exception,
"open_preferences",
_("Preferences"),
).connect("response", self.response, "sgdb")
self.sgdb_exception = None
def update_progressbar(self):
try:
self.progressbar.set_fraction(1 - (self.queue / self.total_queue))
except ZeroDivisionError:
self.progressbar.set_fraction(1)

View File

@@ -17,37 +17,73 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import os
from gi.repository import GdkPixbuf, Gio from pathlib import Path
from shutil import copyfile
from gi.repository import Gio
from PIL import Image, ImageSequence
from . import shared
def save_cover(game, parent_widget, file_path, pixbuf=None, game_id=None): def resize_cover(cover_path=None, pixbuf=None):
covers_dir = os.path.join( if not cover_path and not pixbuf:
os.getenv("XDG_DATA_HOME") return None
or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges", if pixbuf:
"covers", cover_path = Path(Gio.File.new_tmp("XXXXXX.tiff")[0].get_path())
pixbuf.savev(str(cover_path), "tiff", ["compression"], ["1"])
with Image.open(cover_path) as image:
if getattr(image, "is_animated", False):
frames = tuple(
frame.resize((200, 300)) for frame in ImageSequence.Iterator(image)
)
tmp_path = Path(Gio.File.new_tmp("XXXXXX.gif")[0].get_path())
frames[0].save(
tmp_path,
save_all=True,
append_images=frames[1:],
)
else:
# This might not be necessary in the future
# https://github.com/python-pillow/Pillow/issues/2663
if image.mode not in ("RGB", "RGBA"):
image = image.convert("RGBA")
tmp_path = Path(Gio.File.new_tmp("XXXXXX.tiff")[0].get_path())
image.resize(shared.image_size).save(
tmp_path,
compression="tiff_adobe_deflate"
if shared.schema.get_boolean("high-quality-images")
else "webp",
)
return tmp_path
def save_cover(game_id, cover_path):
shared.covers_dir.mkdir(parents=True, exist_ok=True)
animated_path = shared.covers_dir / f"{game_id}.gif"
static_path = shared.covers_dir / f"{game_id}.tiff"
# Remove previous covers
animated_path.unlink(missing_ok=True)
static_path.unlink(missing_ok=True)
if not cover_path:
return
copyfile(
cover_path,
animated_path if cover_path.suffix == ".gif" else static_path,
) )
if game_id is None: if game_id in shared.win.game_covers:
game_id = game["game_id"] shared.win.game_covers[game_id].new_cover(
animated_path if cover_path.suffix == ".gif" else static_path
if pixbuf is None: )
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(file_path, 600, 900, False)
def cover_callback(*_unused):
pass
if not os.path.exists(covers_dir):
os.makedirs(covers_dir)
open_file = Gio.File.new_for_path(os.path.join(covers_dir, f"{game_id}.tiff"))
parent_widget.pixbufs[game_id] = pixbuf
pixbuf.save_to_streamv_async(
open_file.replace(None, False, Gio.FileCreateFlags.NONE),
"tiff",
["compression"],
["7"],
callback=cover_callback,
)

View File

@@ -1,296 +0,0 @@
# steam_parser.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
import json
import os
import re
import time
import urllib.request
from gi.repository import Adw, Gio, GLib, Gtk
from .create_dialog import create_dialog
from .save_cover import save_cover
from .save_games import save_games
def upadte_values_from_data(content, values):
basic_data = json.loads(content)[values["appid"]]
if not basic_data["success"]:
values["blacklisted"] = True
else:
data = basic_data["data"]
values["developer"] = ", ".join(data["developers"])
if data["type"] != "game":
values["blacklisted"] = True
return values
def get_game(task, datatypes, current_time, parent_widget, appmanifest, steam_dir):
values = {}
with open(appmanifest, "r") as open_file:
data = open_file.read()
for datatype in datatypes:
value = re.findall(f'"{datatype}"\t\t"(.*)"\n', data)
values[datatype] = value[0]
values["game_id"] = f'steam_{values["appid"]}'
if (
values["game_id"] in parent_widget.games
and not parent_widget.games[values["game_id"]].removed
):
task.return_value(None)
return
values["executable"] = (
["start", f'steam://rungameid/{values["appid"]}']
if os.name == "nt"
else ["xdg-open", f'steam://rungameid/{values["appid"]}']
)
values["hidden"] = False
values["source"] = "steam"
values["added"] = current_time
values["last_played"] = 0
url = f'https://store.steampowered.com/api/appdetails?appids={values["appid"]}'
# On Linux the request is made through gvfs so the app can run without network permissions
if os.name == "nt":
try:
with urllib.request.urlopen(url, timeout=10) as open_file:
content = open_file.read().decode("utf-8")
except urllib.error.URLError:
content = None
else:
open_file = Gio.File.new_for_uri(url)
try:
content = open_file.load_contents()[1]
except GLib.GError:
content = None
if content:
values = upadte_values_from_data(content, values)
if os.path.isfile(
os.path.join(
steam_dir,
"appcache",
"librarycache",
f'{values["appid"]}_library_600x900.jpg',
)
):
save_cover(
values,
parent_widget,
os.path.join(
steam_dir,
"appcache",
"librarycache",
f'{values["appid"]}_library_600x900.jpg',
),
)
task.return_value(values)
return
def get_games_async(parent_widget, appmanifests, steam_dir, import_dialog, progressbar):
datatypes = ["appid", "name"]
current_time = int(time.time())
steam_games = {}
queue = 0
# Wrap the function in another one as Gio.Task.run_in_thread does not allow for passing args
def create_func(datatypes, current_time, parent_widget, appmanifest, steam_dir):
def wrapper(task, *_unused):
get_game(
task, datatypes, current_time, parent_widget, appmanifest, steam_dir
)
return wrapper
def update_games(_task, result, parent_widget):
nonlocal queue
nonlocal total_queue
nonlocal import_dialog
nonlocal progressbar
queue -= 1
progressbar.set_fraction(1 - (queue / total_queue))
try:
final_values = result.propagate_value()[1]
steam_games[final_values["game_id"]] = final_values
except (TypeError, GLib.GError):
pass
if queue == 0:
save_games(steam_games)
parent_widget.update_games(steam_games)
import_dialog.close()
games_no = len(
{
game_id: final_values
for game_id, final_values in steam_games.items()
if "blacklisted" not in final_values.keys()
}
)
def response(_widget, response):
if response == "open_preferences":
parent_widget.get_application().on_preferences_action(None)
if games_no == 0:
create_dialog(
parent_widget,
_("No Games Found"),
_("No new games were found in the Steam library."),
"open_preferences",
_("Preferences"),
).connect("response", response)
elif games_no == 1:
create_dialog(
parent_widget,
_("Steam Games Imported"),
_("Successfully imported 1 game."),
)
elif games_no > 1:
games_no = str(games_no)
create_dialog(
parent_widget,
_("Steam Games Imported"),
# The variable is the number of games
_(f"Successfully imported {games_no} games."),
)
total_queue = 0
for appmanifest in appmanifests:
queue += 1
total_queue += 1
cancellable = Gio.Cancellable.new()
GLib.timeout_add_seconds(5, cancellable.cancel)
task = Gio.Task.new(None, cancellable, update_games, parent_widget)
task.set_return_on_cancel(True)
task.run_in_thread(
create_func(datatypes, current_time, parent_widget, appmanifest, steam_dir)
)
def steam_parser(parent_widget, action):
schema = parent_widget.schema
steam_dir = os.path.expanduser(schema.get_string("steam-location"))
def steam_not_found():
if os.path.exists(
os.path.expanduser("~/.var/app/com.valvesoftware.Steam/data/Steam/")
):
schema.set_string(
"steam-location", "~/.var/app/com.valvesoftware.Steam/data/Steam/"
)
action(None, None)
elif os.path.exists(os.path.expanduser("~/.steam/steam/")):
schema.set_string("steam-location", "~/.steam/steam/")
action(None, None)
elif os.path.exists(os.path.join(os.getenv("programfiles(x86)"), "Steam")):
schema.set_string(
"steam-location", os.path.join(os.getenv("programfiles(x86)"), "Steam")
)
action(None, None)
else:
filechooser = Gtk.FileDialog.new()
def set_steam_dir(_source, result, _unused):
try:
schema.set_string(
"steam-location",
filechooser.select_folder_finish(result).get_path(),
)
action(None, None)
except GLib.GError:
return
def choose_folder(_widget):
filechooser.select_folder(parent_widget, None, set_steam_dir, None)
def response(widget, response):
if response == "choose_folder":
choose_folder(widget)
create_dialog(
parent_widget,
_("Couldn't Import Games"),
_("The Steam directory cannot be found."),
"choose_folder",
_("Set Steam Location"),
).connect("response", response)
if os.path.exists(os.path.join(steam_dir, "steamapps")):
pass
elif os.path.exists(os.path.join(steam_dir, "steam", "steamapps")):
schema.set_string("steam-location", os.path.join(steam_dir, "steam"))
elif os.path.exists(os.path.join(steam_dir, "Steam", "steamapps")):
schema.set_string("steam-location", os.path.join(steam_dir, "Steam"))
else:
steam_not_found()
return {}
steam_dir = os.path.expanduser(schema.get_string("steam-location"))
progressbar = Gtk.ProgressBar(margin_start=12, margin_end=12)
import_statuspage = Adw.StatusPage(
title=_("Importing Games…"),
description=_("Talking to Steam"),
child=progressbar,
)
import_dialog = Adw.Window(
content=import_statuspage,
modal=True,
default_width=350,
default_height=-1,
transient_for=parent_widget,
deletable=False,
)
import_dialog.present()
appmanifests = []
steam_dirs = schema.get_strv("steam-extra-dirs")
steam_dirs.append(steam_dir)
for directory in steam_dirs:
if not os.path.exists(os.path.join(directory, "steamapps")):
steam_dirs.remove(directory)
for directory in steam_dirs:
for open_file in os.listdir(os.path.join(directory, "steamapps")):
path = os.path.join(directory, "steamapps", open_file)
if os.path.isfile(path) and "appmanifest" in open_file:
appmanifests.append(path)
get_games_async(parent_widget, appmanifests, directory, import_dialog, progressbar)

128
src/utils/steamgriddb.py Normal file
View File

@@ -0,0 +1,128 @@
from pathlib import Path
import requests
from gi.repository import Gio
from . import shared
from .create_dialog import create_dialog
from .save_cover import save_cover, resize_cover
class SGDBSave:
def __init__(self, games, importer=None):
self.win = shared.win
self.importer = importer
self.exception = None
# Wrap the function in another one as Gio.Task.run_in_thread does not allow for passing args
def create_func(game):
def wrapper(task, *_args):
self.update_cover(
task,
game,
)
return wrapper
for game in games:
Gio.Task.new(None, None, self.task_done).run_in_thread(create_func(game))
def update_cover(self, task, game):
game.set_loading(1)
if (
not (
shared.schema.get_boolean("sgdb")
and (
(shared.schema.get_boolean("sgdb-prefer"))
or not (
(shared.covers_dir / f"{game.game_id}.gif").is_file()
or (shared.covers_dir / f"{game.game_id}.tiff").is_file()
)
)
)
or game.blacklisted
):
task.return_value(game)
return
url = "https://www.steamgriddb.com/api/v2/"
headers = {"Authorization": f'Bearer {shared.schema.get_string("sgdb-key")}'}
try:
search_result = requests.get(
f"{url}search/autocomplete/{game.name}",
headers=headers,
timeout=5,
)
if search_result.status_code != 200:
self.exception = str(
search_result.json()["errors"][0]
if "errors" in tuple(search_result.json())
else search_result.status_code
)
search_result.raise_for_status()
except requests.exceptions.RequestException:
task.return_value(game)
return
response = None
try:
if shared.schema.get_boolean("sgdb-animated"):
try:
grid = requests.get(
f'{url}grids/game/{search_result.json()["data"][0]["id"]}?dimensions=600x900&types=animated',
headers=headers,
timeout=5,
)
response = requests.get(grid.json()["data"][0]["url"], timeout=5)
except IndexError:
pass
if not response:
grid = requests.get(
f'{url}grids/game/{search_result.json()["data"][0]["id"]}?dimensions=600x900',
headers=headers,
timeout=5,
)
response = requests.get(grid.json()["data"][0]["url"], timeout=5)
except (requests.exceptions.RequestException, IndexError):
task.return_value(game)
return
tmp_file = Gio.File.new_tmp()[0]
Path(tmp_file.get_path()).write_bytes(response.content)
save_cover(
game.game_id,
resize_cover(tmp_file.get_path()),
)
task.return_value(game)
def task_done(self, _task, result):
if self.importer:
self.importer.queue -= 1
self.importer.done()
self.importer.sgdb_exception = self.exception
if self.exception and not self.importer:
create_dialog(
self.win,
_("Couldn't Connect to SteamGridDB"),
self.exception,
"open_preferences",
_("Preferences"),
).connect("response", self.response)
game = result.propagate_value()[1]
game.set_loading(-1)
if self.importer:
game.save()
else:
game.update()
def response(self, _widget, response):
if response == "open_preferences":
self.win.get_application().on_preferences_action(page_name="sgdb")

View File

@@ -17,24 +17,23 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import datetime import json
import os from datetime import datetime
from gi.repository import Adw, GdkPixbuf, Gio, GLib, Gtk from gi.repository import Adw, GLib, Gtk
from .game import game from . import shared
from .get_games import get_games from .game import Game
from .save_games import save_games
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/window.ui") @Gtk.Template(resource_path=shared.PREFIX + "/gtk/window.ui")
class CartridgesWindow(Adw.ApplicationWindow): class CartridgesWindow(Adw.ApplicationWindow):
__gtype_name__ = "CartridgesWindow" __gtype_name__ = "CartridgesWindow"
toast_overlay = Gtk.Template.Child() toast_overlay = Gtk.Template.Child()
primary_menu_button = Gtk.Template.Child() primary_menu_button = Gtk.Template.Child()
stack = Gtk.Template.Child() stack = Gtk.Template.Child()
overview = Gtk.Template.Child() details_view = Gtk.Template.Child()
library_view = Gtk.Template.Child() library_view = Gtk.Template.Child()
library = Gtk.Template.Child() library = Gtk.Template.Child()
scrolledwindow = Gtk.Template.Child() scrolledwindow = Gtk.Template.Child()
@@ -45,391 +44,336 @@ class CartridgesWindow(Adw.ApplicationWindow):
search_entry = Gtk.Template.Child() search_entry = Gtk.Template.Child()
search_button = Gtk.Template.Child() search_button = Gtk.Template.Child()
overview_box = Gtk.Template.Child() details_view_box = Gtk.Template.Child()
overview_cover = Gtk.Template.Child() details_view_cover = Gtk.Template.Child()
overview_title = Gtk.Template.Child() details_view_spinner = Gtk.Template.Child()
overview_header_bar_title = Gtk.Template.Child() details_view_title = Gtk.Template.Child()
overview_launch = Gtk.Template.Child() details_view_header_bar_title = Gtk.Template.Child()
overview_blurred_cover = Gtk.Template.Child() details_view_blurred_cover = Gtk.Template.Child()
overview_menu_button = Gtk.Template.Child() details_view_play_button = Gtk.Template.Child()
overview_developer = Gtk.Template.Child() details_view_developer = Gtk.Template.Child()
overview_added = Gtk.Template.Child() details_view_added = Gtk.Template.Child()
overview_last_played = Gtk.Template.Child() details_view_last_played = Gtk.Template.Child()
details_view_hide_button = Gtk.Template.Child()
hidden_primary_menu_button = Gtk.Template.Child()
hidden_library = Gtk.Template.Child() hidden_library = Gtk.Template.Child()
hidden_library_view = Gtk.Template.Child() hidden_library_view = Gtk.Template.Child()
hidden_scrolledwindow = Gtk.Template.Child() hidden_scrolledwindow = Gtk.Template.Child()
hidden_library_bin = Gtk.Template.Child() hidden_library_bin = Gtk.Template.Child()
hidden_notice_empty = Gtk.Template.Child() hidden_notice_empty = Gtk.Template.Child()
hidden_notice_no_results = Gtk.Template.Child()
hidden_search_bar = Gtk.Template.Child() hidden_search_bar = Gtk.Template.Child()
hidden_search_entry = Gtk.Template.Child() hidden_search_entry = Gtk.Template.Child()
hidden_search_button = Gtk.Template.Child() hidden_search_button = Gtk.Template.Child()
games = {}
game_covers = {}
toasts = {}
active_game = None
details_view_game_cover = None
sort_state = "a-z"
def __init__(self, **kwargs): def __init__(self, **kwargs):
super().__init__(**kwargs) super().__init__(**kwargs)
self.games = {} shared.win = self
self.visible_widgets = {}
self.hidden_widgets = {}
self.filtered = {}
self.hidden_filtered = {}
self.previous_page = self.library_view self.previous_page = self.library_view
self.toasts = {}
self.pixbufs = {}
self.active_game_id = None
self.overview.set_measure_overlay(self.overview_box, True) self.details_view.set_measure_overlay(self.details_view_box, True)
self.overview.set_clip_overlay(self.overview_box, False) self.details_view.set_clip_overlay(self.details_view_box, False)
self.schema = Gio.Settings.new("hu.kramo.Cartridges") self.library.set_filter_func(self.filter_func)
self.placeholder_pixbuf = GdkPixbuf.Pixbuf.new_from_resource_at_scale( self.hidden_library.set_filter_func(self.filter_func)
"/hu/kramo/Cartridges/library_placeholder.svg", 200, 300, False
)
current_games = get_games()
for current_game in current_games:
if "removed" in current_games[current_game].keys():
os.remove(
os.path.join(
os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges",
"games",
f"{current_game}.json",
)
)
try:
os.remove(
os.path.join(
os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges",
"covers",
f"{current_game}.dat",
)
)
except FileNotFoundError:
pass
self.library.set_filter_func(self.search_filter) self.library.set_sort_func(self.sort_func)
self.hidden_library.set_filter_func(self.hidden_search_filter) self.hidden_library.set_sort_func(self.sort_func)
self.update_games(get_games()) self.set_library_child()
self.notice_empty.set_icon_name(shared.APP_ID + "-symbolic")
if "Devel" in shared.APP_ID:
self.add_css_class("devel")
games = {}
if shared.games_dir.is_dir():
for open_file in shared.games_dir.iterdir():
data = json.load(open_file.open())
games[data["game_id"]] = data
for game_id, game in games.items():
if (version := game.get("version")) and version > shared.SPEC_VERSION:
continue
if game.get("removed"):
for path in (
shared.games_dir / f"{game_id}.json",
shared.covers_dir / f"{game_id}.tiff",
shared.covers_dir / f"{game_id}.gif",
):
path.unlink(missing_ok=True)
else:
Game(game).update()
# Connect search entries
self.search_bar.connect_entry(self.search_entry)
self.hidden_search_bar.connect_entry(self.hidden_search_entry)
# Connect signals # Connect signals
self.search_entry.connect("search-changed", self.search_changed, False) self.search_entry.connect("search-changed", self.search_changed, False)
self.hidden_search_entry.connect("search-changed", self.search_changed, True) self.hidden_search_entry.connect("search-changed", self.search_changed, True)
back_mouse_button = Gtk.GestureClick(button=8) back_mouse_button = Gtk.GestureClick(button=8)
back_mouse_button.connect("pressed", self.on_go_back_action) (back_mouse_button).connect("pressed", self.on_go_back_action)
self.add_controller(back_mouse_button) self.add_controller(back_mouse_button)
def update_games(self, games): style_manager = Adw.StyleManager.get_default()
current_games = get_games() style_manager.connect("notify::dark", self.set_details_view_opacity)
style_manager.connect("notify::high-contrast", self.set_details_view_opacity)
for game_id in games:
if game_id in self.visible_widgets:
self.library.remove(self.visible_widgets[game_id])
self.filtered.pop(self.visible_widgets[game_id])
self.visible_widgets.pop(game_id)
elif game_id in self.hidden_widgets:
self.hidden_library.remove(self.hidden_widgets[game_id])
self.hidden_filtered.pop(self.hidden_widgets[game_id])
self.hidden_widgets.pop(game_id)
current_game = current_games[game_id]
entry = game(self, current_game)
self.games[current_game["game_id"]] = entry
if entry.removed:
continue
if entry.blacklisted:
continue
if not self.games[game_id].hidden:
self.visible_widgets[game_id] = entry
self.library.append(entry)
else:
self.hidden_widgets[game_id] = entry
self.hidden_library.append(entry)
entry.cover_button.connect("clicked", self.show_overview, game_id)
entry.menu_button.get_popover().connect(
"notify::visible", self.set_active_game, game_id
)
entry.get_parent().set_focusable(False)
if not self.visible_widgets:
self.library_bin.set_child(self.notice_empty)
else:
self.library_bin.set_child(self.scrolledwindow)
if not self.hidden_widgets:
self.hidden_library_bin.set_child(self.hidden_notice_empty)
else:
self.hidden_library_bin.set_child(self.hidden_scrolledwindow)
self.library.invalidate_filter()
self.hidden_library.invalidate_filter()
def search_changed(self, _widget, hidden): def search_changed(self, _widget, hidden):
# Refresh search filter on keystroke in search box # Refresh search filter on keystroke in search box
if not hidden: (self.hidden_library if hidden else self.library).invalidate_filter()
self.library.invalidate_filter()
else:
self.hidden_library.invalidate_filter()
def search_filter(self, child): def set_library_child(self):
# Only show games matching the contents of the search box child, hidden_child = self.notice_empty, self.hidden_notice_empty
text = self.search_entry.get_text().lower()
if text == "":
filtered = True
elif (
text in child.get_first_child().name.lower()
or text in child.get_first_child().developer.lower()
if child.get_first_child().developer
else None
):
filtered = True
else:
filtered = False
# Add filtered entry to dict of filtered widgets for game in self.games.values():
self.filtered[child.get_first_child()] = filtered if game.removed or game.blacklisted:
continue
if game.hidden:
if game.filtered and hidden_child != self.hidden_scrolledwindow:
hidden_child = self.hidden_notice_no_results
continue
hidden_child = self.hidden_scrolledwindow
else:
if game.filtered and child != self.scrolledwindow:
child = self.notice_no_results
continue
child = self.scrolledwindow
if True not in self.filtered.values(): self.library_bin.set_child(child)
self.library_bin.set_child(self.notice_no_results) self.hidden_library_bin.set_child(hidden_child)
else:
self.library_bin.set_child(self.scrolledwindow)
return filtered
def hidden_search_filter(self, child): def filter_func(self, child):
text = self.hidden_search_entry.get_text().lower() game = child.get_child()
if text == "": text = (
filtered = True (
elif ( self.hidden_search_entry
text in child.get_first_child().name.lower() if self.stack.get_visible_child() == self.hidden_library_view
or text in child.get_first_child().developer.lower() else self.search_entry
if child.get_first_child().developer )
else None .get_text()
): .lower()
filtered = True )
else:
filtered = False
self.hidden_filtered[child.get_first_child()] = filtered filtered = text != "" and not (
text in game.name.lower()
or (text in game.developer.lower() if game.developer else False)
)
if True not in self.hidden_filtered.values(): game.filtered = filtered
self.hidden_library_bin.set_child(self.notice_no_results) self.set_library_child()
else:
self.hidden_library_bin.set_child(self.hidden_scrolledwindow)
return filtered
def set_active_game(self, _widget, _unused, game_id): return not filtered
self.active_game_id = game_id
def set_active_game(self, _widget, _pspec, game):
self.active_game = game
def get_time(self, timestamp): def get_time(self, timestamp):
date = datetime.datetime.fromtimestamp(timestamp) days_no = (datetime.today() - datetime.fromtimestamp(timestamp)).days
if (datetime.datetime.today() - date).days == 0: if days_no == 0:
return _("Today") return _("Today")
if (datetime.datetime.today() - date).days == 1: if days_no == 1:
return _("Yesterday") return _("Yesterday")
if (datetime.datetime.today() - date).days < 8: if days_no < 8:
return GLib.DateTime.new_from_unix_utc(timestamp).format("%A") return GLib.DateTime.new_from_unix_utc(timestamp).format("%A")
return GLib.DateTime.new_from_unix_utc(timestamp).format("%x") if days_no < 335:
return GLib.DateTime.new_from_unix_utc(timestamp).format("%B")
return GLib.DateTime.new_from_unix_utc(timestamp).format("%Y")
def show_overview(self, _widget, game_id): def show_details_view(self, game):
current_game = self.games[game_id] self.active_game = game
if current_game.developer: self.details_view_cover.set_opacity(int(not game.loading))
self.overview_developer.set_label(current_game.developer) self.details_view_spinner.set_spinning(game.loading)
self.overview_developer.set_visible(True)
else:
self.overview_developer.set_visible(False)
self.overview_menu_button.set_menu_model( self.details_view_developer.set_label(game.developer or "")
current_game.menu_button.get_menu_model() self.details_view_developer.set_visible(bool(game.developer))
icon, text = "view-conceal-symbolic", _("Hide")
if game.hidden:
icon, text = "view-reveal-symbolic", _("Unhide")
self.details_view_hide_button.set_icon_name(icon)
self.details_view_hide_button.set_tooltip_text(text)
if self.details_view_game_cover:
self.details_view_game_cover.pictures.remove(self.details_view_cover)
self.details_view_game_cover = game.game_cover
self.details_view_game_cover.add_picture(self.details_view_cover)
self.details_view_blurred_cover.set_pixbuf(
self.details_view_game_cover.get_blurred()
) )
if self.stack.get_visible_child() != self.overview: self.details_view_title.set_label(game.name)
self.stack.set_transition_type(Gtk.StackTransitionType.OVER_LEFT) self.details_view_header_bar_title.set_title(game.name)
self.stack.set_visible_child(self.overview)
self.active_game_id = game_id date = self.get_time(game.added)
self.details_view_added.set_label(
pixbuf = current_game.pixbuf
self.overview_cover.set_pixbuf(pixbuf)
self.overview_blurred_cover.set_pixbuf(
pixbuf.scale_simple(2, 3, GdkPixbuf.InterpType.BILINEAR)
)
self.overview_title.set_label(current_game.name)
self.overview_header_bar_title.set_title(current_game.name)
date = self.get_time(current_game.added)
self.overview_added.set_label(
# The variable is the date when the game was added # The variable is the date when the game was added
_(f"Added: {date}") _("Added: {}").format(date)
) )
last_played_date = ( last_played_date = (
self.get_time(current_game.last_played) self.get_time(game.last_played) if game.last_played != 0 else _("Never")
if current_game.last_played != 0
else _("Never")
) )
self.overview_last_played.set_label( self.details_view_last_played.set_label(
# The variable is the date when the game was last played # The variable is the date when the game was last played
_(f"Last played: {last_played_date}") _("Last played: {}").format(last_played_date)
) )
def a_z_sort(self, child1, child2): if self.stack.get_visible_child() != self.details_view:
name1 = child1.get_first_child().name.lower() self.navigate(self.details_view)
name2 = child2.get_first_child().name.lower() self.set_focus(self.details_view_play_button)
if name1 > name2:
return 1
if name1 < name2:
return -1
if child1.get_first_child().game_id > child2.get_first_child().game_id:
return 1
return -1
def z_a_sort(self, child1, child2): self.set_details_view_opacity()
name1 = child1.get_first_child().name.lower()
name2 = child2.get_first_child().name.lower()
if name1 > name2:
return -1
return 1 if name1 < name2 else self.a_z_sort(child1, child2)
def newest_sort(self, child1, child2): def set_details_view_opacity(self, *_args):
time1 = self.games[child1.get_first_child().game_id].added if self.stack.get_visible_child() != self.details_view:
time2 = self.games[child2.get_first_child().game_id].added return
if time1 > time2:
return -1
return 1 if time1 < time2 else self.a_z_sort(child1, child2)
def oldest_sort(self, child1, child2): if (
time1 = self.games[child1.get_first_child().game_id].added style_manager := Adw.StyleManager.get_default()
time2 = self.games[child2.get_first_child().game_id].added ).get_high_contrast() or not style_manager.get_system_supports_color_schemes():
if time1 > time2: self.details_view_blurred_cover.set_opacity(0.3)
return 1 return
return -1 if time1 < time2 else self.a_z_sort(child1, child2)
def last_played_sort(self, child1, child2): self.details_view_blurred_cover.set_opacity(
time1 = self.games[child1.get_first_child().game_id].last_played 1 - self.details_view_game_cover.luminance[0]
time2 = self.games[child2.get_first_child().game_id].last_played if style_manager.get_dark()
if time1 > time2: else self.details_view_game_cover.luminance[1]
return -1 )
return 1 if time1 < time2 else self.a_z_sort(child1, child2)
def on_go_back_action(self, _widget, _unused, _x=None, _y=None): def sort_func(self, child1, child2):
var, order = "name", True
if self.sort_state in ("newest", "oldest"):
var, order = "added", self.sort_state == "newest"
elif self.sort_state == "last_played":
var = "last_played"
elif self.sort_state == "a-z":
order = False
def get_value(index):
return str(
getattr((child1.get_child(), child2.get_child())[index], var)
).lower()
if var != "name" and get_value(0) == get_value(1):
var, order = "name", True
return ((get_value(0) > get_value(1)) ^ order) * 2 - 1
def navigate(self, next_page):
levels = (self.library_view, self.hidden_library_view, self.details_view)
self.stack.set_transition_type(
Gtk.StackTransitionType.UNDER_RIGHT
if levels.index(self.stack.get_visible_child()) - levels.index(next_page)
> 0
else Gtk.StackTransitionType.OVER_LEFT
)
if next_page in (self.library_view, self.hidden_library_view):
self.previous_page = next_page
self.lookup_action("show_hidden").set_enabled(
next_page == self.library_view
)
self.stack.set_visible_child(next_page)
def on_go_back_action(self, *_args):
if self.stack.get_visible_child() == self.hidden_library_view: if self.stack.get_visible_child() == self.hidden_library_view:
self.on_show_library_action(None, None) self.navigate(self.library_view)
elif self.stack.get_visible_child() == self.overview: elif self.stack.get_visible_child() == self.details_view:
self.on_go_to_parent_action(None, None) self.on_go_to_parent_action()
def on_go_to_parent_action(self, _widget, _unused): def on_go_to_parent_action(self, *_args):
if self.stack.get_visible_child() == self.overview: if self.stack.get_visible_child() == self.details_view:
if self.previous_page == self.library_view: self.navigate(
self.on_show_library_action(None, None) self.hidden_library_view
else: if self.previous_page == self.hidden_library_view
self.on_show_hidden_action(None, None) else self.library_view
)
def on_show_library_action(self, _widget, _unused): def on_go_home_action(self, *_args):
self.stack.set_transition_type(Gtk.StackTransitionType.UNDER_RIGHT) self.navigate(self.library_view)
self.stack.set_visible_child(self.library_view)
self.lookup_action("show_hidden").set_enabled(True)
self.previous_page = self.library_view
def on_show_hidden_action(self, _widget, _unused): def on_show_hidden_action(self, *_args):
if self.stack.get_visible_child() == self.library_view: self.navigate(self.hidden_library_view)
self.stack.set_transition_type(Gtk.StackTransitionType.OVER_LEFT)
else:
self.stack.set_transition_type(Gtk.StackTransitionType.UNDER_RIGHT)
self.lookup_action("show_hidden").set_enabled(False)
self.stack.set_visible_child(self.hidden_library_view)
self.previous_page = self.hidden_library_view
def on_sort_action(self, action, state): def on_sort_action(self, action, state):
action.set_state(state) action.set_state(state)
state = str(state).strip("'") self.sort_state = str(state).strip("'")
self.library.invalidate_sort()
if state == "a-z": shared.state_schema.set_string("sort-mode", self.sort_state)
sort_func = self.a_z_sort
elif state == "z-a": def on_toggle_search_action(self, *_args):
sort_func = self.z_a_sort
elif state == "newest":
sort_func = self.newest_sort
elif state == "oldest":
sort_func = self.oldest_sort
else:
sort_func = self.last_played_sort
Gio.Settings(schema_id="hu.kramo.Cartridge.State").set_string(
"sort-mode", state
)
self.library.set_sort_func(sort_func)
self.hidden_library.set_sort_func(sort_func)
def on_toggle_search_action(self, _widget, _unused):
if self.stack.get_visible_child() == self.library_view: if self.stack.get_visible_child() == self.library_view:
search_bar = self.search_bar search_bar = self.search_bar
search_entry = self.search_entry search_entry = self.search_entry
search_button = self.search_button
elif self.stack.get_visible_child() == self.hidden_library_view: elif self.stack.get_visible_child() == self.hidden_library_view:
search_bar = self.hidden_search_bar search_bar = self.hidden_search_bar
search_entry = self.hidden_search_entry search_entry = self.hidden_search_entry
search_button = self.hidden_search_button
else: else:
return return
search_mode = search_bar.get_search_mode() search_bar.set_search_mode(not (search_mode := search_bar.get_search_mode()))
search_bar.set_search_mode(not search_mode)
search_button.set_active(not search_button.get_active())
if not search_mode: if not search_mode:
self.set_focus(search_entry) self.set_focus(search_entry)
else:
search_entry.set_text("")
def on_escape_action(self, _widget, _unused): search_entry.set_text("")
if self.stack.get_visible_child() == self.overview:
self.on_go_back_action(None, None)
return
if self.stack.get_visible_child() == self.library_view:
search_bar = self.search_bar
search_entry = self.search_entry
search_button = self.search_button
elif self.stack.get_visible_child() == self.hidden_library_view:
search_bar = self.hidden_search_bar
search_entry = self.hidden_search_entry
search_button = self.hidden_search_button
else:
return
if self.get_focus() == search_entry.get_focus_child(): def on_escape_action(self, *_args):
search_bar.set_search_mode(False) if self.stack.get_visible_child() == self.details_view:
search_button.set_active(False) self.on_go_back_action()
search_entry.set_text("") elif (
self.get_focus() == self.search_entry.get_focus_child()
or self.hidden_search_entry.get_focus_child()
):
self.on_toggle_search_action()
def on_undo_remove_action(self, _widget, game_id=None): def on_undo_action(self, _widget, game=None, undo=None):
# Remove the "removed=True" property from the game and dismiss the toast if not game: # If the action was activated via Ctrl + Z
if not game_id:
try: try:
game_id = list(self.toasts)[-1] game = tuple(self.toasts.keys())[-1][0]
undo = tuple(self.toasts.keys())[-1][1]
except IndexError: except IndexError:
return return
data = get_games([game_id])[game_id]
data.pop("removed")
save_games({game_id: data})
self.update_games([game_id])
self.toasts[game_id].dismiss()
self.toasts.pop(game_id)
def on_open_menu_action(self, _widget, _unused): if undo == "hide":
if self.stack.get_visible_child() != self.overview: game.toggle_hidden(False)
self.primary_menu_button.set_active(True)
else: elif undo == "remove":
self.overview_menu_button.set_active(True) game.removed = False
game.save()
self.toasts[(game, undo)].dismiss()
self.toasts.pop((game, undo))
def on_open_menu_action(self, *_args):
if self.stack.get_visible_child() == self.library_view:
self.primary_menu_button.popup()
elif self.stack.get_visible_child() == self.hidden_library_view:
self.hidden_primary_menu_button.popup()
def on_close_action(self, *_args):
self.close()

View File

@@ -1,7 +1,7 @@
[wrap-git] [wrap-git]
directory = blueprint-compiler directory = blueprint-compiler
url = https://gitlab.gnome.org/jwestman/blueprint-compiler.git url = https://gitlab.gnome.org/jwestman/blueprint-compiler.git
revision = v0.4.0 revision = v0.8.1
depth = 1 depth = 1
[provide] [provide]

View File

@@ -1,5 +1,5 @@
#define MyAppName "Cartridges" #define MyAppName "Cartridges"
#define MyAppVersion "1.0" #define MyAppVersion "1.5.4"
#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"
@@ -13,7 +13,7 @@ AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL} AppPublisherURL={#MyAppURL}
AppSupportURL=https://github.com/kra-mo/cartridges/issues AppSupportURL=https://github.com/kra-mo/cartridges/issues
AppUpdatesURL={#MyAppURL} AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf}\{#MyAppName} DefaultDirName={autopf64}\{#MyAppName}
DisableProgramGroupPage=yes DisableProgramGroupPage=yes
LicenseFile=..\LICENSE LicenseFile=..\LICENSE
PrivilegesRequiredOverridesAllowed=dialog PrivilegesRequiredOverridesAllowed=dialog
@@ -34,6 +34,8 @@ Source: "D:\a\_temp\msys64\ucrt64\bin\cartridges"; DestDir: "{app}\bin"; Flags:
Source: "D:\a\_temp\msys64\ucrt64\bin\pythonw.exe"; DestDir: "{app}\bin"; Flags: ignoreversion Source: "D:\a\_temp\msys64\ucrt64\bin\pythonw.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\bin\python.exe"; DestDir: "{app}\bin"; Flags: ignoreversion Source: "D:\a\_temp\msys64\ucrt64\bin\python.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\bin\gdbus.exe"; DestDir: "{app}\bin"; Flags: ignoreversion Source: "D:\a\_temp\msys64\ucrt64\bin\gdbus.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\bin\gspawn-win64-helper.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\bin\gspawn-win64-helper-console.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\bin\*.dll"; DestDir: "{app}\bin"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\bin\*.dll"; DestDir: "{app}\bin"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\etc\ssl\*"; DestDir: "{app}\etc\ssl"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\etc\ssl\*"; DestDir: "{app}\etc\ssl"; Flags: recursesubdirs ignoreversion
@@ -43,9 +45,10 @@ Source: "D:\a\_temp\msys64\ucrt64\lib\girepository-1.0\*"; DestDir: "{app}\lib\g
Source: "D:\a\_temp\msys64\ucrt64\lib\python3.10\*"; DestDir: "{app}\lib\python3.10"; Excludes: "__pycache__"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\lib\python3.10\*"; DestDir: "{app}\lib\python3.10"; Excludes: "__pycache__"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\cartridges\*"; DestDir: "{app}\share\cartridges"; Excludes: "__pycache__"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\cartridges\*"; DestDir: "{app}\share\cartridges"; Excludes: "__pycache__"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\icons\*"; DestDir: "{app}\share\icons"; Excludes: "cursors\*"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\icons\*"; DestDir: "{app}\share\icons"; Excludes: "*.png,cursors\*"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\glib-2.0\*"; DestDir: "{app}\share\glib-2.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\glib-2.0\*"; DestDir: "{app}\share\glib-2.0"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\gtk-4.0\*"; DestDir: "{app}\share\gtk-4.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\gtk-4.0\*"; DestDir: "{app}\share\gtk-4.0"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\locale\*"; DestDir: "{app}\share\locale"; Flags: recursesubdirs ignoreversion
Source: "icon.ico"; DestDir: "{app}"; Flags: recursesubdirs ignoreversion Source: "icon.ico"; DestDir: "{app}"; Flags: recursesubdirs ignoreversion

View File

Before

Width:  |  Height:  |  Size: 169 KiB

After

Width:  |  Height:  |  Size: 169 KiB