Compare commits

..

405 Commits

Author SHA1 Message Date
kramo
8378c72250 v1.4.1 2023-05-05 14:43:43 +02:00
kramo
beef0223c3 Update Heroic GOG path 2023-05-05 14:41:06 +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
kramo
501747ee36 Update translations 2023-03-25 11:26:28 +01:00
kramo
cb6fde38ef v1.0 2023-03-25 11:24:35 +01:00
kramo
3c71974d13 Merge pull request #18 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-25 11:12:57 +01:00
Hosted Weblate
e12d70cb95 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
2023-03-25 11:09:21 +01:00
Kimmo Kujansuu
002a753289 Translated using Weblate (Finnish)
Currently translated at 100.0% (108 of 108 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
2023-03-25 11:09:21 +01:00
Kopimi
9ace39af6b Translated using Weblate (Finnish)
Currently translated at 99.0% (107 of 108 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
2023-03-25 11:09:21 +01:00
Kimmo Kujansuu
af2b51779b Translated using Weblate (Finnish)
Currently translated at 99.0% (107 of 108 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
2023-03-25 11:09:21 +01:00
rene-coty
5c748993c8 Translated using Weblate (French)
Currently translated at 93.5% (101 of 108 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
2023-03-25 11:09:21 +01:00
Kimmo Kujansuu
4c740036cd Translated using Weblate (Finnish)
Currently translated at 65.7% (71 of 108 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
2023-03-25 11:09:21 +01:00
LINUX-SAUNA
923aee6f1b Translated using Weblate (Finnish)
Currently translated at 54.6% (59 of 108 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
2023-03-25 11:09:21 +01:00
Kimmo Kujansuu
f91c278dd0 Translated using Weblate (Finnish)
Currently translated at 54.6% (59 of 108 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
2023-03-25 11:09:21 +01:00
LINUX-SAUNA
5345fa48bc Translated using Weblate (Finnish)
Currently translated at 27.7% (30 of 108 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
2023-03-25 11:09:21 +01:00
Kimmo Kujansuu
a9ba84440d Translated using Weblate (Finnish)
Currently translated at 27.7% (30 of 108 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
2023-03-25 11:09:21 +01:00
Kimmo Kujansuu
c528e559a3 Translated using Weblate (Finnish)
Currently translated at 21.2% (23 of 108 strings)

Co-authored-by: Kimmo Kujansuu <mrkujansuu@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
Translation: Cartridges/Cartridges
2023-03-25 11:09:21 +01:00
LINUX-SAUNA
f52764d437 Translated using Weblate (Finnish)
Currently translated at 21.2% (23 of 108 strings)

Translated using Weblate (Finnish)

Currently translated at 6.4% (7 of 108 strings)

Added translation using Weblate (Finnish)

Co-authored-by: LINUX-SAUNA <linuxsauna@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
Translation: Cartridges/Cartridges
2023-03-25 11:09:21 +01:00
Óscar Fernández Díaz
95b3893b70 Translated using Weblate (Spanish)
Currently translated at 100.0% (108 of 108 strings)

Translated using Weblate (Spanish)

Currently translated at 25.9% (28 of 108 strings)

Added translation using Weblate (Spanish)

Co-authored-by: Óscar Fernández Díaz <oscfdezdz@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/es/
Translation: Cartridges/Cartridges
2023-03-25 11:09:21 +01:00
kramo
716051d826 Fix games not launching on Windows 2023-03-25 11:09:12 +01:00
kramo
e3b24eafc0 Prepare for Flathub submission 2023-03-25 10:28:44 +01:00
kramo
f172385b6c Update screenshots 2023-03-25 09:29:47 +01:00
kramo
9dccb8f369 Add screenshots to metainfo.xml 2023-03-25 09:16:59 +01:00
kramo
2b7dfed1e3 Add screenshots 2023-03-25 09:01:00 +01:00
kramo
65357bdc41 UX improvements 2023-03-25 08:36:13 +01:00
kramo
69dfc9a717 Update translations 2023-03-25 00:51:34 +01:00
kramo
030c220d7e Cleanups 2023-03-25 00:50:17 +01:00
kramo
41c97e1af7 Move menu models to the game class 2023-03-25 00:14:37 +01:00
kramo
2f869a91ea Add Bananaman to credits 2023-03-24 23:36:47 +01:00
kramo
b65bab3528 Move toggle_hidden into the game class 2023-03-24 23:26:36 +01:00
kramo
ecceaabff1 Move run_command into the game class 2023-03-24 23:21:50 +01:00
kramo
6b103c996b Remove redundant get_cover function 2023-03-24 23:09:56 +01:00
kramo
fc2932f7dd Cleanups 2023-03-24 22:56:12 +01:00
kramo
bfa7cbfe08 Merge pull request #20 from Bananaman/launch_rework
Improved game executable launcher, and added argument validation
2023-03-24 22:42:09 +01:00
Bananaman
973ec01b38 Cleanup: Remove pointless calls to close()
Since "with open()" automatically closes the files anyway.
2023-03-24 22:37:01 +01:00
Bananaman
214687c9ce Cleanup: Remove backwards-compatible code
Since we aren't interested in backwards compatibility this early in development, let's remove those code chunks to keep the code shorter.
2023-03-24 22:35:55 +01:00
Bananaman
703c65395c Improved game executable launcher, and added argument validation
Now uses proper shell escaping and parsing for all executable arguments, for more robust game launching. All existing game JSON files with the old string values will automatically be converted to the new format on app launch. The executable parsing uses the "shlex" library, which guarantees accurate parsing.

We now also use direct process launching (without any intermediary shell) by default, but the old "shell"-based launch method still exists in the code via an alternative flag in `run_command.py` (if we ever need to restore it for some reason).

Furthermore, if the user attempts to manually write an improperly escaped argument into the game's details (such as missing closing quotation marks), the GUI will now alert the user that their executable argument is invalid, along with telling them the exact reason why it's invalid.
2023-03-24 22:03:39 +01:00
Bananaman
eda22c7ea7 Move game data JSON formatter to re-usable location 2023-03-24 22:03:39 +01:00
Bananaman
4e7e21ff6c Ignore flatpak-builder cache 2023-03-24 22:03:39 +01:00
kramo
bbf3703229 Cleanups 2023-03-24 21:53:55 +01:00
kramo
06550c0138 Fix heroic image string 2023-03-24 21:17:07 +01:00
kramo
4401378ce3 Use fstrings consistently 2023-03-24 21:07:08 +01:00
kramo
a665241d76 Disable some pylint warnings 2023-03-24 20:29:36 +01:00
Domenico
053d5791a4 Refactory of the code (#19)
* Refactory of the code

* Autoformatting with black

---------

Co-authored-by: Domefemia <domefemia@hotmail.com>
2023-03-24 20:26:55 +01:00
K.B.Dharun Krishna
df45ef411a Merge pull request #17 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-24 22:57:26 +05:30
kramo
8ddf609815 Use shlex for escaping quotes 2023-03-24 17:54:14 +01:00
Óscar Fernández Díaz
20e7cbf8b6 Added translation using Weblate (Spanish)
Co-authored-by: Óscar Fernández Díaz <oscfdezdz@users.noreply.hosted.weblate.org>
2023-03-24 17:49:07 +01:00
Ali Aljishi
ba6379f83a Translated using Weblate (Arabic)
Currently translated at 100.0% (108 of 108 strings)

Translated using Weblate (Arabic)

Currently translated at 92.5% (100 of 108 strings)

Added translation using Weblate (Arabic)

Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ar/
Translation: Cartridges/Cartridges
2023-03-24 17:49:06 +01:00
Alessandro Iepure
7f8c22df9e Translated using Weblate (Italian)
Currently translated at 100.0% (108 of 108 strings)

Added translation using Weblate (Italian)

Co-authored-by: Alessandro Iepure <alessandro.iepure@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/it/
Translation: Cartridges/Cartridges
2023-03-24 17:49:06 +01:00
Philip Goto
8c1ed2a254 Translated using Weblate (Dutch)
Currently translated at 100.0% (108 of 108 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (108 of 108 strings)

Added translation using Weblate (Dutch)

Co-authored-by: Philip Goto <philip.goto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nl/
Translation: Cartridges/Cartridges
2023-03-24 17:49:05 +01:00
kramo
51c500a7aa Proper escapes for Bottles executables 2023-03-24 17:31:08 +01:00
kramo
6cdc09cca9 Add links to metainfo.xml 2023-03-24 17:28:08 +01:00
kramo
863a5e6eb5 Fix import from Heroic if no Epic games 2023-03-24 17:02:46 +01:00
kramo
7ee4ae878b Merge pull request #16 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-24 14:36:51 +01:00
kramo
7c963d3abd Remove shadow from game covers - @flipflop97 2023-03-24 14:34:42 +01:00
kramo
d5a640bd0b Add progress bar + fix race condition 2023-03-24 14:07:16 +01:00
Philip Goto
6b777894ea Added translation using Weblate (Dutch)
Co-authored-by: Philip Goto <philip.goto@gmail.com>
2023-03-24 13:16:34 +01:00
kramo
5b839c9f6f Update README.md 2023-03-22 19:04:00 +01:00
K.B.Dharun Krishna
c93a47a27f README: add chatroom link 2023-03-22 23:21:55 +05:30
kramo
67c1b25429 v0.1.4 2023-03-22 17:35:56 +01:00
kramo
7503d207c8 Update README info 2023-03-22 17:32:06 +01:00
kramo
6176982d1c Exclude Adwaita cursors from Windows 2023-03-22 10:43:04 +01:00
kramo
aa8145a605 Exclude __pycache__ on Windows 2023-03-22 10:29:01 +01:00
kramo
ea52f8cf09 Merge pull request #14 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-22 08:37:56 +01:00
kramo
26636557ee Translated using Weblate (Hungarian)
Currently translated at 100.0% (108 of 108 strings)

Co-authored-by: kramo <login@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges
2023-03-22 08:36:44 +01:00
kramo
b281a4bd0d Cleanups 2023-03-22 08:36:37 +01:00
kramo
8d820d8426 Update Flatpak repo 2023-03-22 07:57:43 +01:00
kramo
d86593962b Update Platform to 44 2023-03-22 07:53:27 +01:00
kramo
a3935e24e9 README: Update badges 2023-03-21 18:40:07 +01:00
kramo
0f9aeb3e1d Create CODE_OF_CONDUCT.md 2023-03-21 16:31:56 +01:00
kramo
d045d51082 Update README.md 2023-03-21 16:17:21 +01:00
kramo
9724cae884 Create CONTRIBUTING.md 2023-03-21 16:15:43 +01:00
kramo
6b0d4593b7 Update issue templates 2023-03-21 16:05:42 +01:00
kramo
a21b3e0171 Update translations 2023-03-21 15:48:37 +01:00
kramo
86dae1f972 Add support for multiple Steam library directories 2023-03-21 15:40:21 +01:00
kramo
a7a1573569 README: Update Weblate link
Signed-off-by: kramo <93832451+kra-mo@users.noreply.github.com>
2023-03-21 14:28:56 +01:00
kramo
9214400cca Minor string changes 2023-03-21 14:16:03 +01:00
kramo
18f381c377 Merge pull request #12 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-21 14:14:16 +01:00
Dan
08f63ceeb6 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (101 of 101 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
2023-03-21 14:12:48 +01:00
kramo
0a2e51355a Translated using Weblate (French)
Currently translated at 91.0% (92 of 101 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
2023-03-21 12:05:54 +01:00
kramo
270cb4e73a Translated using Weblate (Norwegian Bokmål)
Currently translated at 90.0% (91 of 101 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nb_NO/
2023-03-21 12:05:53 +01:00
kramo
7b080af02a Translated using Weblate (Ukrainian)
Currently translated at 100.0% (101 of 101 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
2023-03-21 12:05:53 +01:00
Dan
839a176ef8 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (101 of 101 strings)

Translation: Cartridges/Cartridges
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
2023-03-21 12:05:53 +01:00
kramo
0993adfda9 Translated using Weblate (French)
Currently translated at 90.0% (91 of 101 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (101 of 101 strings)

Co-authored-by: kramo <login@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges
2023-03-20 20:05:21 +01:00
Hosted Weblate
1c4d6e244e 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-20 20:05:21 +01:00
kramo
6ca11358e9 Update Windows icon 2023-03-20 20:05:13 +01:00
kramo
2acd0025e5 Fix "removed" string 2023-03-20 19:55:03 +01:00
kramo
64581ee607 Update Windows build commands 2023-03-20 19:40:28 +01:00
kramo
921968bec3 Properly launch games on Windows 2023-03-20 19:29:55 +01:00
kramo
149c417901 Update README.md 2023-03-19 16:40:30 +01:00
kramo
fd6bb12e82 v0.1.3 2023-03-19 16:07:40 +01:00
kramo
0814267683 Add Windows GitHub Action 2023-03-19 15:46:27 +01:00
kramo
cb267d0d26 Merge pull request #13 from kbdharun/main
flatpak-builder: Bump actions version to fix nodejs error
2023-03-19 13:28:29 +01:00
K.B.Dharun Krishna
fbe3d54c50 flatpak-builder: bump version 2023-03-19 17:51:36 +05:30
K.B.Dharun Krishna
15756f27c2 Merge branch 'kra-mo:main' into main 2023-03-19 17:49:26 +05:30
kramo
57be95137c Update translations 2023-03-19 13:12:35 +01:00
kramo
832f124969 Merge pull request #11 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-19 13:05:55 +01:00
kramo
8cc5657a0d Translated using Weblate (Hungarian)
Currently translated at 100.0% (103 of 103 strings)

Co-authored-by: kramo <login@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translation: Cartridges/Cartridges
2023-03-19 13:05:44 +01:00
Hosted Weblate
b0a0092a7d 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-19 13:05:43 +01:00
K.B.Dharun Krishna
6652d5f7c3 flatpak-builder: Bump actions checkout version 2023-03-19 17:32:05 +05:30
kramo
a4cc224aa5 Update translations 2023-03-19 12:56:00 +01:00
kramo
8a324aa3dc Merge pull request #8 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-19 12:54:39 +01:00
J. Lavoie
e3b4e1b3f7 Translated using Weblate (French)
Currently translated at 97.8% (93 of 95 strings)

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges
2023-03-19 12:53:55 +01:00
K.B.Dharun Krishna
e594a71d94 Translated using Weblate (Tamil)
Currently translated at 100.0% (95 of 95 strings)

Translated using Weblate (Tamil)

Currently translated at 100.0% (95 of 95 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-19 12:53:55 +01:00
Dan
42889d388e Translated using Weblate (Ukrainian)
Currently translated at 100.0% (95 of 95 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges
2023-03-19 12:53:55 +01:00
kramo
7ba020d1d7 Translated using Weblate (Hungarian)
Currently translated at 100.0% (95 of 95 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 97.8% (93 of 95 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (95 of 95 strings)

Co-authored-by: kramo <login@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nb_NO/
Translation: Cartridges/Cartridges
2023-03-19 12:53:55 +01:00
Hosted Weblate
37d2e341f5 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-19 12:53:55 +01:00
kramo
ba944fdaab Revert to resolve Weblate conflict 2023-03-19 12:53:49 +01:00
kramo
224890261b Use ellipsis instead of ... 2023-03-19 12:43:59 +01:00
kramo
cad5c3fd36 Update translations 2023-03-19 12:42:00 +01:00
kramo
012959c57b Add tooltip for exxecutables 2023-03-19 12:04:15 +01:00
kramo
c5b263c71e Prepare for Windows builds 2023-03-19 01:07:11 +01:00
kramo
e709617370 Merge pull request #9 from kbdharun/patch-1 2023-03-17 16:28:47 +01:00
K.B.Dharun Krishna
cef5170c51 README: remove redundant contributors badge 2023-03-17 20:55:30 +05:30
K.B.Dharun Krishna
a4e8fde34d README: make labels consistent 2023-03-17 20:49:47 +05:30
K.B.Dharun Krishna
9e06a4334e README: Update badges 2023-03-17 20:45:53 +05:30
kramo
516c020cbc Allow building as a non-flatpak app 2023-03-16 17:24:03 +01:00
kramo
bb159f6503 Use TIFF for transparency 2023-03-16 01:32:56 +01:00
kramo
fd395dfa36 Cleanups 2023-03-16 01:09:56 +01:00
kramo
c91e721824 Update README.md 2023-03-16 00:02:14 +01:00
kramo
eb3f9a8b8e Use blacklist for non-game items 2023-03-15 23:46:34 +01:00
kramo
0b3beed6d8 Add timeout for Steam import 2023-03-15 23:06:04 +01:00
kramo
62d38a8ec2 Update potfiles 2023-03-15 21:17:08 +01:00
kramo
6ab17cfb1b Title style 2023-03-15 21:15:21 +01:00
kramo
dac518aabd Update translations 2023-03-15 21:13:29 +01:00
kramo
86f707694d Use Steam API as the local cache is not reliable 2023-03-15 21:08:37 +01:00
kramo
56f5d99b89 Remove non-games from Steam import 2023-03-15 13:27:48 +01:00
kramo
c2f11ae631 Update potfiles 2023-03-15 13:15:58 +01:00
kramo
e2a2ea6da2 Add developer property 2023-03-15 13:12:48 +01:00
kramo
b702c9c28e Update potfiles 2023-03-15 02:30:08 +01:00
kramo
8a2ff2561b Cleanups 2023-03-15 02:22:11 +01:00
kramo
bd0cf7402a Code style 2023-03-15 01:57:43 +01:00
kramo
e4002fb786 Use JPEG for covers 2023-03-14 23:08:04 +01:00
kramo
f416155c2d Update code style 2023-03-14 23:05:47 +01:00
kramo
32d9f9a880 Cleanups 2023-03-14 21:20:59 +01:00
kramo
434b7a11f1 Merge pull request #6 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-03-14 18:59:50 +01:00
kramo
9bb668f6e9 Translated using Weblate (French)
Currently translated at 98.9% (90 of 91 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 70.3% (64 of 91 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (91 of 91 strings)

Translated using Weblate (Tamil)

Currently translated at 95.6% (87 of 91 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (91 of 91 strings)

Co-authored-by: kramo <login@kramo.hu>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hu/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ta/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges
2023-03-14 18:59:07 +01:00
Hosted Weblate
60c593e118 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-14 18:59:06 +01:00
J. Lavoie
c3fb5ad0b2 Translated using Weblate (French)
Currently translated at 98.9% (90 of 91 strings)

Translated using Weblate (French)

Currently translated at 98.9% (90 of 91 strings)

Translated using Weblate (French)

Currently translated at 47.2% (43 of 91 strings)

Added translation using Weblate (French)

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges
2023-03-14 18:59:06 +01:00
Hosted Weblate
6dee932339 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-14 18:59:05 +01:00
Allan Nordhøy
0ec9f9560b Translated using Weblate (Norwegian Bokmål)
Currently translated at 70.3% (64 of 91 strings)

Added translation using Weblate (Norwegian Bokmål)

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-14 18:59:05 +01:00
Dan
fdae6ce8e3 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (91 of 91 strings)

Added translation using Weblate (Ukrainian)

Co-authored-by: Dan <denqwerta@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges
2023-03-14 18:59:05 +01:00
kramo
41762648b2 Update potfile 2023-03-14 18:52:06 +01:00
kramo
24eac24c33 Better image handling 2023-03-14 18:42:05 +01:00
kramo
094bfad10d Cleanups 2023-03-14 17:21:16 +01:00
kramo
a4b1b8efd9 Refactor 2023-03-14 16:48:00 +01:00
kramo
e208434711 Save deflated pixbuf data instead of .png 2023-03-14 14:32:51 +01:00
kramo
35185205e3 Async image saving 2023-03-13 23:09:51 +01:00
kramo
3af1e42548 Save covers compressed 2023-03-13 21:35:44 +01:00
kramo
f57f8d0d67 Update cover image size 2023-03-13 20:58:35 +01:00
kramo
592a2d4829 Save games in higher resolution - closes #7 2023-03-13 20:53:07 +01:00
kramo
0ee20a1a1f Update animation 2023-03-12 12:00:54 +01:00
kramo
b8141de130 Update animations 2023-03-12 11:27:50 +01:00
kramo
049c3b1dd4 Update README.md 2023-03-12 00:53:09 +01:00
kramo
115a3f7314 Update translations 2023-03-12 00:10:23 +01:00
kramo
4e081bd7ee Fix library focus issue 2023-03-11 23:52:38 +01:00
kramo
4ed6ab2bab Fix overlay layering 2023-03-11 23:41:25 +01:00
kramo
ddf73dbc03 Update flatpak permissions 2023-03-11 23:25:53 +01:00
kramo
4b9e3666be Make menu button only appear on hover 2023-03-11 23:22:36 +01:00
kramo
aa77fc8bf3 Show play button on hover - closes #4 2023-03-11 22:07:56 +01:00
kramo
2e1acc4a2e Change accent color to purple 2023-02-24 22:21:32 +01:00
kramo
6ba86451c7 Cleanups 2023-02-19 20:19:31 +01:00
kramo
a07bafdf18 Update potfiles 2023-02-19 20:12:29 +01:00
kramo
a0a67fd2ca Update project structure 2023-02-19 20:06:45 +01:00
kramo
e87e96f3c6 Add keyboard shortcuts 2023-02-19 19:30:07 +01:00
kramo
49be6d76c2 Update translations 2023-02-19 12:52:17 +01:00
kramo
0d7134ce69 Update Hungarian translation 2023-02-19 12:19:47 +01:00
kramo
90a6c16f07 Merge pull request #3 from kbdharun/main
Update POTFILES, fix strings, regenerate PO and POT file, Update ta.po
2023-02-19 12:10:20 +01:00
K.B.Dharun Krishna
f4edff95cf Update pot, po file header 2023-02-19 16:34:56 +05:30
K.B.Dharun Krishna
0537a9efb1 Update POTFILES, fix strings, regenerate PO and POT file, Update ta.po 2023-02-19 16:30:08 +05:30
kramo
8637654ba8 Update translations 2023-02-19 11:03:35 +01:00
kramo
729d650a55 Merge pull request #2 from kbdharun/main
po: Add Tamil translation; Remove mo file
2023-02-19 09:25:11 +01:00
K.B.Dharun Krishna
910124ea1d Remove mo file as it gets automatically generated during Installation 2023-02-19 13:03:52 +05:30
K.B.Dharun Krishna
849c1b4315 Update LINGUAS 2023-02-19 13:03:09 +05:30
K.B.Dharun Krishna
ff43fc11ca po: Add Tamil translation
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-02-19 12:59:49 +05:30
kramo
8718a6a170 Save window geometry 2023-02-18 21:16:57 +01:00
kramo
1acca573e2 Leave me alone 2023-02-06 19:07:37 +01:00
kramo
5edbdff11b Leave me alone 2023-02-06 18:36:02 +01:00
kramo
2bfc58f22d Improve imports 2023-02-03 21:44:57 +01:00
kramo
79275caa15 Update Heroic import 2023-02-03 18:50:40 +01:00
kramo
01d1c486c0 Fix GitHub Actions caching 2023-02-02 21:03:23 +01:00
kramo
795d7dd322 Update translations 2023-02-02 20:49:22 +01:00
kramo
2d62eb6ebc Update README.md 2023-02-02 20:36:25 +01:00
kramo
733828cfde Add Flatpak Builder GitHub Action 2023-02-02 20:24:32 +01:00
kramo
af119706ca Add blueprint-compiler to flatpak manifest 2023-02-02 20:19:51 +01:00
kramo
b13a27a01f Sort json keys 2023-02-02 19:27:17 +01:00
kramo
8d1e98c277 Bottles import 2023-02-02 18:52:06 +01:00
kramo
24dd082681 Implement Bottles parser 2023-02-02 18:29:09 +01:00
kramo
325820758e Add mouse navigation 2023-02-02 15:21:58 +01:00
kramo
d454bcd30f Update Adw.AboutWindow 2023-02-02 14:52:24 +01:00
kramo
5e373bd63d Cleanups 2023-02-01 17:26:55 +01:00
kramo
7c0974de90 Update desktop entry 2023-02-01 17:06:09 +01:00
kramo
1b654de6c9 v0.1.2 2023-02-01 16:45:48 +01:00
kramo
9242801395 Update screenshot 2023-02-01 16:39:50 +01:00
kramo
a9a5a1d3c2 Rename to Cartridges 2023-02-01 16:34:26 +01:00
kramo
de4fd79144 Update icons 2023-01-31 18:39:43 +01:00
kramo
077bfd5c10 Merge pull request #1 from imLinguin/heroic_improvements
Improve images import from Heroic
2023-01-30 18:32:29 +01:00
Paweł Lidwin
7351d26469 Fix flatpak manifest 2023-01-30 18:19:29 +01:00
Paweł Lidwin
08729a1dba Improve images import from Heroic 2023-01-30 18:18:38 +01:00
87 changed files with 14806 additions and 1823 deletions

31
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**System (please complete the following information):**
- OS: [e.g. Fedora Linux]
- Installation method [e.g. Flatpak]
**Additional context**
Add any other context about the problem here.

View File

@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

19
.github/workflows/flatpak-builder.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
on:
push:
branches: [main]
pull_request:
name: CI
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps:
- uses: actions/checkout@v3
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: hu.kramo.Cartridges.flatpak
manifest-path: hu.kramo.Cartridges.json
cache-key: flatpak-builder-${{ github.sha }}

32
.github/workflows/windows.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
on:
push:
branches: [main]
pull_request:
name: "Build for Windows"
jobs:
windows:
name: "Build"
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: MSYS2
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
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-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
shell: msys2 {0}
run: |
meson setup _build
ninja -C _build install
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"
run: iscc ".\.windows\Cartridges.iss"
- name: "Upload Artifact"
uses: actions/upload-artifact@v3
with:
name: "Installer"
path: ".windows/Output/Cartridges Setup.exe"

4
.gitignore vendored
View File

@@ -1,2 +1,4 @@
/subprojects/blueprint-compiler
/src/__pycache__
/.flatpak
/.flatpak-builder
/.vscode

60
.windows/Cartridges.iss Normal file
View File

@@ -0,0 +1,60 @@
#define MyAppName "Cartridges"
#define MyAppVersion "1.4.1"
#define MyAppPublisher "kramo"
#define MyAppURL "https://github.com/kra-mo/cartridges"
#define MyAppExeName "pythonw.exe"
[Setup]
AppId={{BC3F8D32-4BDC-4715-B149-D79F589CD7F0}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL=https://github.com/kra-mo/cartridges/issues
AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf64}\{#MyAppName}
DisableProgramGroupPage=yes
LicenseFile=..\LICENSE
PrivilegesRequiredOverridesAllowed=dialog
OutputBaseFilename=Cartridges Setup
SetupIconFile=icon.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "D:\a\_temp\msys64\ucrt64\bin\cartridges"; 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\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\etc\ssl\*"; DestDir: "{app}\etc\ssl"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\lib\gdk-pixbuf-2.0\*"; DestDir: "{app}\lib\gdk-pixbuf-2.0"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\lib\girepository-1.0\*"; DestDir: "{app}\lib\girepository-1.0"; 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\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\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
[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; IconFilename: "{app}\icon.ico"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; IconFilename: "{app}\icon.ico"; Tasks: desktopicon
[Run]
Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall

BIN
.windows/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

128
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct
## Our Pledge
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.

35
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,35 @@
# Contributing
## Code
Fork the repository, make your changes, then create a pull request.
## Translations
### Weblate
The project can be translated on [Weblate](https://hosted.weblate.org/engage/cartridges/).
### Manually
1. Clone the repository.
2. If it isn't already there, add your language to `/po/LINGUAS`.
3. Create a new translation from the `/po/cartridges.pot` file with a translation editor such as [Poedit](https://poedit.net/).
4. Save the file as `[YOUR LANGUAGE CODE].po` to `/po/`.
5. Create a pull request with your translations.
# Building
## GNOME Builder
1. Install [GNOME Builder](https://flathub.org/apps/details/org.gnome.Builder).
2. Click "Clone Repository" with `https://github.com/kra-mo/cartridges.git` as the URL.
3. Click on the build button (hammer) at the top.
## For Windows
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).
3. Build it via Meson
## Meson
```bash
git clone https://github.com/kra-mo/cartridges.git
cd cartridges
meson setup build
ninja -C build install
```

View File

@@ -1,50 +1,72 @@
<div align="center">
<img src="data/icons/hicolor/scalable/apps/hu.kramo.GameShelf.svg" width="128" height="128">
<img src="data/icons/hicolor/scalable/apps/hu.kramo.Cartridges.svg" width="128" height="128">
# Game Shelf
A GTK4 + Libadwaita game launcher
# Cartridges
A GTK4 + Libadwaita game launcher
<img src="data/screenshot.webp">
[![Flathub][flathub-image]][flathub-url]
[![Build status][github-actions-image]][github-actions-url]
[![Translation Status][weblate-image]][weblate-url]
[![License][license-image]][license-url]
[![Code style][code-style-image]][code-style-url]
[![Discord Chatroom][discord-image]][discord-url]
[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
[license-url]: https://github.com/kra-mo/cartridges/blob/main/LICENSE
[license-image]: https://img.shields.io/github/license/kra-mo/cartridges
[code-style-url]: https://github.com/psf/black
[code-style-image]: https://img.shields.io/badge/code%20style-black-000000?style=flat
[weblate-url]: https://hosted.weblate.org/engage/cartridges/
[weblate-image]: https://hosted.weblate.org/widgets/cartridges/-/cartridges/svg-badge.svg
[discord-url]: https://discord.gg/4KSFh3AmQR
[discord-image]: https://img.shields.io/discord/1088155799299313754?color=%235865F2&label=discord&logo=discord&logoColor=%23FFFFFF
[flathub-url]: https://flathub.org/apps/details/hu.kramo.Cartridges
[flathub-image]: https://img.shields.io/flathub/v/hu.kramo.Cartridges
<img src="data/screenshots/1.png">
</div>
## The Project
Game Shelf is a simple game launcher written in Python using GTK4 + Libadwaita.
### Features
# The Project
Cartridges is a simple game launcher written in Python using GTK4 and Libadwaita.
## Features
- Manually adding and editing games
- Importing games from Steam and Heroic
- Importing games from Steam, Lutris, Heroic, Bottles and itch
- Support for multiple Steam install locations
- Hiding games
- 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
## Building
For updates and questions, join our [Discord server][discord-url]!
### GNOME Builder
# Installation
1. Download [GNOME Builder](https://flathub.org/apps/details/org.gnome.Builder).
2. Click "Clone Repository" with `https://github.com/kra-mo/game-shelf.git` as the URL.
3. Click on the build button (hammer) at the top.
4. Install `org.gnome.Platform` from the [gnome-nightly repository](https://wiki.gnome.org/Apps/Nightly) if needed.
## Linux
## Installation
### Flathub (Recommended)
<a href=https://flathub.org/apps/details/hu.kramo.Cartridges><img width='240' alt='Download on Flathub' src='https://dl.flathub.org/assets/badges/flathub-badge-en.png'/></a>
### From Releases
1. Install `org.gnome.Platform` from the [gnome-nightly repository](https://wiki.gnome.org/Apps/Nightly) if needed.
2. Download the latest release from Releases.
3. Install it via GNOME Software or `flatpak install hu.kramo.GameShelf.flatpak`.
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`.
### From GNOME Builder
Click the down arrow next to the hammer at the top of your GNOME Builder window, then click "Export". This will create a flatpak that then can be installed on your system.
## Windows
## Contributing
### From Releases
1. Download the latest release from [Releases](https://github.com/kra-mo/cartridges/releases).
2. Run the downloaded installer.
### Code
Fork the repository, make your changes, then create a pull request.
Note: Windows might present you with a warning when trying to install the app. This is expected, just ignore the warning.
### Translations
Currently, translations can be added manually with the following steps:
1. Clone the repository.
2. If it isn't already there, add your language to `/po/LINGUAS`.
3. Create a new translation from the `/po/gameshelf.pot` file with a program such as [Poedit](https://poedit.net/).
4. Save the file as `[YOUR LANGUAGE CODE].po` to `/po/`.
5. Create a pull request with your translations.
## Building manually
See [Building](https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md#building).
# Contributing
See [CONTRIBUTING](https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md).
Thanks to [Weblate](https://weblate.org/) for hosting our translations!

View File

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

122
data/gtk/game.blp Normal file
View File

@@ -0,0 +1,122 @@
using Gtk 4.0;
using Adw 1;
template Game : Box {
orientation: vertical;
halign: center;
valign: start;
Adw.Clamp {
maximum-size: 200;
Box {
orientation: vertical;
Button cover_button {
overflow: hidden;
Overlay {
[overlay]
Spinner spinner {
margin-start: 72;
margin-end: 72;
}
Picture cover {
width-request: 200;
height-request: 300;
hexpand: true;
vexpand: true;
}
}
styles [
"card",
"flat",
]
}
Overlay overlay {
[overlay]
Revealer play_revealer {
reveal-child: false;
transition-type: crossfade;
Box {
Button play_button {
halign: start;
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 [
"flat",
]
}
}
}
Revealer title_revealer {
transition-type: slide_down;
reveal-child: true;
valign: start;
Label title {
label: _("Title");
ellipsize: end;
hexpand: true;
halign: start;
margin-top: 14;
margin-bottom: 14;
margin-start: 12;
margin-end: 12;
}
}
}
}
}
styles [
"card",
]
}
menu game_options {
section {
item {
label: _("Edit");
action: "app.edit_game";
}
item {
label: _("Hide");
action: "app.hide_game";
}
item {
label: _("Remove");
action: "app.remove_game";
}
}
}
menu hidden_game_options {
section {
item {
label: _("Edit");
action: "app.edit_game";
}
item {
label: _("Unhide");
action: "app.hide_game";
}
item {
label: _("Remove");
action: "app.remove_game";
}
}
}

68
data/gtk/help-overlay.blp Normal file
View File

@@ -0,0 +1,68 @@
using Gtk 4.0;
ShortcutsWindow help_overlay {
modal: true;
ShortcutsSection {
section-name: "shortcuts";
max-height: 10;
ShortcutsGroup {
title: _("General");
ShortcutsShortcut {
title: _("Quit");
action-name: "app.quit";
}
ShortcutsShortcut {
title: _("Search");
action-name: "win.toggle_search";
}
ShortcutsShortcut {
title: _("Show preferences");
action-name: "app.preferences";
}
ShortcutsShortcut {
title: _("Shortcuts");
action-name: "win.show-help-overlay";
}
ShortcutsShortcut {
title: _("Undo");
action-name: "win.undo";
}
ShortcutsShortcut {
title: _("Open menu");
action-name: "win.open_menu";
}
}
ShortcutsGroup {
title: _("Games");
ShortcutsShortcut {
title: _("Add new game");
action-name: "app.add_game";
}
ShortcutsShortcut {
title: _("Import games");
action-name: "app.import";
}
ShortcutsShortcut {
title: _("Show hidden games");
action-name: "win.show_hidden";
}
ShortcutsShortcut {
title: _("Remove game");
action-name: "app.remove_game_details_view";
}
}
}
}

266
data/gtk/preferences.blp Normal file
View File

@@ -0,0 +1,266 @@
using Gtk 4.0;
using Adw 1;
template PreferencesWindow : Adw.PreferencesWindow {
default-height: 500;
Adw.PreferencesPage general_page {
name: "general";
title: _("General");
icon-name: "user-home-symbolic";
Adw.PreferencesGroup behavior_group {
title: _("Behavior");
Adw.ActionRow {
title: _("Exit After Launching Games");
activatable-widget: exit_after_launch_switch;
Switch exit_after_launch_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Cover Image Launches Game");
subtitle: _("Swaps the behavior of the cover image and the play button");
activatable-widget: cover_launches_game_switch;
Switch cover_launches_game_switch {
valign: center;
}
}
}
Adw.PreferencesGroup images_group {
title: _("Images");
Adw.ActionRow {
title: _("High Quality Images");
subtitle: _("Save game covers losslessly at the cost of storage");
activatable-widget: high_quality_images_switch;
Switch high_quality_images_switch {
valign: center;
}
}
}
Adw.PreferencesGroup danger_zone_group {
title: _("Danger Zone");
Adw.ActionRow {
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 {
title: _("Steam Install Location");
subtitle: _("Directory to use when importing games");
Button steam_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
Adw.ActionRow {
title: _("Extra Steam Libraries");
subtitle: _("Select other directories where you have Steam games installed");
Revealer steam_clear_button_revealer {
reveal-child: false;
transition-type: slide_left;
Button steam_clear_button {
label: _("Clear");
valign: center;
halign: end;
styles [
"destructive-action",
]
}
}
Button steam_extra_file_chooser_button {
icon-name: "folder-new-symbolic";
valign: center;
}
}
}
Adw.ExpanderRow lutris_expander_row {
title: _("Lutris");
show-enable-switch: true;
Adw.ActionRow {
title: _("Lutris Install Location");
subtitle: _("Directory to use when importing games");
Button lutris_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
Adw.ActionRow {
title: _("Lutris Cache Location");
subtitle: _("Directory to use when importing game covers");
Button lutris_cache_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
Adw.ActionRow {
title: _("Import Steam Games");
activatable-widget: lutris_steam_switch;
Switch lutris_steam_switch {
valign: center;
}
}
}
Adw.ExpanderRow heroic_expander_row {
title: _("Heroic");
show-enable-switch: true;
Adw.ActionRow {
title: _("Heroic Install Location");
subtitle: _("Directory to use when importing games");
Button heroic_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
Adw.ActionRow {
title: _("Import Epic Games");
activatable-widget: heroic_epic_switch;
Switch heroic_epic_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Import GOG Games");
activatable-widget: heroic_gog_switch;
Switch heroic_gog_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Import Sideloaded Games");
activatable-widget: heroic_sideloaded_switch;
Switch heroic_sideloaded_switch {
valign: center;
}
}
}
Adw.ExpanderRow bottles_expander_row {
title: _("Bottles");
show-enable-switch: true;
Adw.ActionRow {
title: _("Bottles Install Location");
subtitle: _("Directory to use when importing games");
Button bottles_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
}
Adw.ExpanderRow itch_expander_row {
title: _("itch");
show-enable-switch: true;
Adw.ActionRow {
title: _("itch Install Location");
subtitle: _("Directory to use when importing games");
Button itch_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
}
}
}
Adw.PreferencesPage sgdb_page {
name: "sgdb";
title: _("SteamGridDB");
icon-name: "image-x-generic-symbolic";
Adw.PreferencesGroup sgdb_key_group {
title: _("Authentication");
Adw.EntryRow sgdb_key_entry_row {
title: _("API Key");
}
}
Adw.PreferencesGroup sgdb_behavior_group {
title: _("Behavior");
Adw.ActionRow {
title: _("Use SteamGridDB");
subtitle: _("Download images when adding or importing games");
activatable-widget: sgdb_download_switch;
Switch sgdb_download_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Prefer Over Official Images");
activatable-widget: sgdb_prefer_switch;
Switch sgdb_prefer_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Prefer Animated Images");
activatable-widget: sgdb_animated_switch;
Switch sgdb_animated_switch {
valign: center;
}
}
}
}
}

11
data/gtk/style-dark.css Normal file
View File

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

12
data/gtk/style.css Normal file
View File

@@ -0,0 +1,12 @@
@define-color accent_color @purple_5;
@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

@@ -11,7 +11,7 @@ Adw.StatusPage notice_no_results {
Adw.StatusPage notice_empty {
icon-name: "applications-games-symbolic";
title: _("No Games Found");
title: _("No Games");
description: _("Use the + button to add games.");
vexpand: true;
valign: center;
@@ -25,30 +25,31 @@ Adw.StatusPage hidden_notice_empty {
valign: center;
}
template GameShelfWindow : Adw.ApplicationWindow {
title: _("Game Shelf");
default-width: 1110;
default-height: 820;
template CartridgesWindow : Adw.ApplicationWindow {
title: _("Cartridges");
Adw.ToastOverlay toast_overlay {
Stack stack {
visible-child: library_view;
transition-type: over_left;
Overlay overview {
Overlay details_view {
name: "details_view";
[overlay]
Box overview_box {
Box details_view_box {
orientation: vertical;
Adw.HeaderBar {
[start]
Button back_button {
tooltip-text: _("Back");
action-name: "win.go_back";
icon-name: "go-previous-symbolic";
}
[title]
Adw.WindowTitle overview_header_bar_title {
Adw.WindowTitle details_view_header_bar_title {
title: _("Game Details");
}
@@ -69,15 +70,26 @@ template GameShelfWindow : Adw.ApplicationWindow {
margin-top: 24;
margin-bottom: 24;
Picture overview_cover {
halign: end;
valign: start;
width-request: 200;
height-request: 300;
Adw.Clamp {
maximum-size: 200;
Overlay {
[overlay]
Spinner details_view_spinner {
margin-start: 72;
margin-end: 72;
}
styles [
"card",
]
Picture details_view_cover {
halign: end;
valign: start;
width-request: 200;
height-request: 300;
styles [
"card",
]
}
}
}
Box {
@@ -86,10 +98,11 @@ template GameShelfWindow : Adw.ApplicationWindow {
vexpand: true;
valign: center;
Label overview_title {
Label details_view_title {
label: _("Game Title");
hexpand: true;
halign: start;
max-width-chars: 24;
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
@@ -98,57 +111,104 @@ template GameShelfWindow : Adw.ApplicationWindow {
"title-1",
]
}
Label overview_added {
Label details_view_developer {
margin-top: 3;
hexpand: true;
halign: start;
max-width-chars: 36;
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
styles [
"heading"
]
}
Box {
orientation: horizontal;
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;
hexpand: true;
halign: start;
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
styles [
"dim-label",
]
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 {
hexpand: true;
vexpand: true;
valign: center;
Button overview_launch {
Button details_view_play_button {
name: "details_view_play_button";
action-name: "app.launch_game";
label: _("Play");
halign: start;
margin-top: 24;
styles [
"suggested-action",
"opaque",
"pill",
]
}
MenuButton overview_menu_button {
icon-name: "view-more-symbolic";
hexpand: true;
vexpand: true;
Box {
halign: start;
valign: center;
margin-top: 24;
margin-start: 6;
margin-start: 12;
Button {
icon-name: "document-edit-symbolic";
action-name: "app.edit_game";
tooltip-text: _("Edit");
styles [
"circular",
]
}
Button details_view_hide_button {
action-name: "app.hide_game";
styles [
"circular",
]
}
Button {
icon-name: "user-trash-symbolic";
action-name: "app.remove_game";
tooltip-text: _("Remove");
styles [
"circular",
]
}
styles [
"linked",
]
}
MenuButton {
halign: start;
valign: center;
margin-top: 24;
margin-start: 12;
icon-name: "system-search-symbolic";
menu-model: search;
tooltip-text: _("Search");
styles [
"circular",
]
}
@@ -158,16 +218,8 @@ template GameShelfWindow : Adw.ApplicationWindow {
}
}
styles [
"background",
]
Picture overview_blurred_cover {
opacity: 0.2;
can-shrink: true;
Picture details_view_blurred_cover {
keep-aspect-ratio: false;
hexpand: true;
vexpand: true;
}
}
@@ -177,18 +229,21 @@ template GameShelfWindow : Adw.ApplicationWindow {
Adw.HeaderBar header_bar {
[start]
MenuButton {
tooltip-text: _("Add Game");
icon-name: "list-add-symbolic";
menu-model: add_games;
}
[end]
MenuButton {
MenuButton primary_menu_button {
tooltip-text: _("Main Menu");
icon-name: "open-menu-symbolic";
menu-model: primary_menu;
}
[end]
ToggleButton search_button {
tooltip-text: _("Search");
icon-name: "system-search-symbolic";
action-name: "win.toggle_search";
}
@@ -232,6 +287,7 @@ template GameShelfWindow : Adw.ApplicationWindow {
Adw.HeaderBar hidden_header_bar {
[start]
Button hidden_back_button {
tooltip-text: _("Back");
action-name: "win.go_back";
icon-name: "go-previous-symbolic";
}
@@ -243,12 +299,14 @@ template GameShelfWindow : Adw.ApplicationWindow {
[end]
MenuButton {
tooltip-text: _("Main Menu");
icon-name: "open-menu-symbolic";
menu-model: primary_menu;
}
[end]
ToggleButton hidden_search_button {
tooltip-text: _("Search");
icon-name: "system-search-symbolic";
action-name: "win.toggle_search";
}
@@ -348,7 +406,7 @@ menu primary_menu {
}
item {
label: _("About Game Shelf");
label: _("About Cartridges");
action: "app.about";
}
}
@@ -360,53 +418,37 @@ menu add_games {
label: _("Add Game");
action: "app.add_game";
}
item {
label: _("Import From Steam");
action: "app.steam_import";
}
item {
label: _("Import From Heroic");
action: "app.heroic_import";
}
}
}
menu game_options {
section {
item {
label: _("Edit");
action: "app.edit_details";
}
item {
label: _("Hide");
action: "app.hide_game";
}
item {
label: _("Remove");
action: "app.remove_game";
label: _("Import");
action: "app.import";
}
}
}
menu hidden_game_options {
menu search {
section {
label: "Search on…";
item {
label: _("Edit");
action: "app.edit_details";
label: "IGDB";
action: "app.igdb_search";
}
item {
label: _("Unhide");
action: "app.hide_game";
label: "SteamGridDB";
action: "app.sgdb_search";
}
item {
label: _("Remove");
action: "app.remove_game";
label: "ProtonDB";
action: "app.protondb_search";
}
item {
label: "Lutris";
action: "app.lutris_search";
}
item {
label: "HowLongToBeat";
action: "app.hltb_search";
}
}
}

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Name=Cartridges
GenericName=Game Launcher
Comment=Launch all your games
Exec=cartridges
Icon=hu.kramo.Cartridges
Terminal=false
Type=Application
Categories=GNOME;GTK;Game;
StartupNotify=true

View File

@@ -0,0 +1,98 @@
<?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="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="steam-extra-dirs" type="as">
<default>[]</default>
</key>
<key name="steam-extra-dirs-hint" type="b">
<default>true</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="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"?>
<component type="desktop-application">
<id>hu.kramo.Cartridges.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<name>Cartridges</name>
<summary>Launch all your games</summary>
<description>
<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>
<url type="homepage">https://github.com/kra-mo/cartridges</url>
<url type="bugtracker">https://github.com/kra-mo/cartridges/issues</url>
<url type="translate">https://hosted.weblate.org/engage/cartridges/</url>
<url type="contact">https://www.kramo.hu/about/</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>
<developer_name translatable="no">kramo</developer_name>
<launchable type="desktop-id">hu.kramo.Cartridges.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/1.png</image>
<caption>Library</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/2.png</image>
<caption>Edit Game Details</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/3.png</image>
<caption>Game Details</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/4.png</image>
<caption>Preferences</caption>
</screenshot>
</screenshots>
<content_rating type="oars-1.1" />
<releases>
<release version="1.4.1" date="2023-05-05">
<description translatable="no">
<ul>
<li>Updates the Heroic GOG path</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">
<description translatable="no">
<p>First stable release</p>
</description>
</release>
</releases>
</component>

View File

@@ -1,8 +0,0 @@
[Desktop Entry]
Name=Game Shelf
Exec=gameshelf
Icon=hu.kramo.GameShelf
Terminal=false
Type=Application
Categories=Game;
StartupNotify=true

View File

@@ -1,33 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="gameshelf">
<schema id="hu.kramo.GameShelf" path="/hu/kramo/GameShelf/">
<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="heroic-location" type="s">
<default>"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/"</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,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>hu.kramo.GameShelf.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<name>Game Shelf</name>
<summary>Launch all your games</summary>
<description>
<p>Game Shelf is a simple game launcher. It has support for importing your games from Steam and Heroic with organizational features such as hiding and sorting by date added or last played.</p>
</description>
<launchable type="desktop-id">hu.kramo.GameShelf.desktop</launchable>
<developer_name>kramo</developer_name>
</component>

View File

@@ -0,0 +1,33 @@
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" fill="none">
<path fill="url(#a)" d="M111 29H17a8 8 0 0 0-8 8v70a8 8 0 0 0 8 8h94a8 8 0 0 0 8-8V37a8 8 0 0 0-8-8Z"/>
<path fill="#C061CB" d="M111 29H17c-4.418 0-8 3.681-8 8.222v57.556c0 4.54 3.582 8.222 8 8.222h94c4.418 0 8-3.681 8-8.222V37.222c0-4.54-3.582-8.222-8-8.222Z"/>
<path fill="#000" d="M84 42H44a4 4 0 0 0-4 4v40a4 4 0 0 0 4 4h40a4 4 0 0 0 4-4V46a4 4 0 0 0-4-4Z"/>
<path fill="url(#b)" d="M81 50H47a2 2 0 0 0-2 2v28a2 2 0 0 0 2 2h34a2 2 0 0 0 2-2V52a2 2 0 0 0-2-2Z"/>
<path fill="#000" d="M102 61v-1a5 5 0 0 0-10 0v1a5 5 0 0 0 10 0ZM114 55v-1a5 5 0 0 0-10 0v1a5 5 0 0 0 10 0Z"/>
<path fill="#3D3846" d="M97 64c2.761 0 5-2.015 5-4.5S99.761 55 97 55s-5 2.015-5 4.5 2.239 4.5 5 4.5ZM109 58c2.761 0 5-2.015 5-4.5s-2.239-4.5-5-4.5-5 2.015-5 4.5 2.239 4.5 5 4.5Z"/>
<path fill="#000" d="M29 56.5a3.5 3.5 0 1 0-7 0v13a3.5 3.5 0 1 0 7 0v-13Z"/>
<path fill="#000" d="M33 58H18a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3v-2a3 3 0 0 0-3-3Z"/>
<path fill="#3D3846" d="M29 54.5a3.5 3.5 0 1 0-7 0v13a3.5 3.5 0 1 0 7 0v-13Z"/>
<path fill="#3D3846" d="M33 58H18a3 3 0 1 0 0 6h15a3 3 0 1 0 0-6Z"/>
<path fill="#000" d="M71 109a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z"/>
<path fill="#9141AC" d="M71.063 108.5a2 2 0 0 0 3.874 0 1.999 1.999 0 0 1-2.817 2.294 1.996 1.996 0 0 1-1.057-2.294Z"/>
<path fill="#000" d="M66 107H56a2 2 0 1 0 0 4h10a2 2 0 1 0 0-4Z"/>
<path fill="#9141AC" d="M54.063 108.5A2 2 0 0 0 56 111h10a2.005 2.005 0 0 0 1.582-.775 1.996 1.996 0 0 0 .355-1.725A1.999 1.999 0 0 1 66 110H56a1.998 1.998 0 0 1-1.937-1.5Z"/>
<path fill="#613583" d="M110 74H96a1 1 0 1 0 0 2h14a1 1 0 0 0 0-2ZM110 79H96a1 1 0 1 0 0 2h14a1 1 0 0 0 0-2ZM110 84H96a1 1 0 1 0 0 2h14a1 1 0 0 0 0-2Z"/>
<path fill="#000" d="M21.5 79h-3a2.5 2.5 0 0 0 0 5h3a2.5 2.5 0 0 0 0-5ZM32.5 79h-3a2.5 2.5 0 0 0 0 5h3a2.5 2.5 0 0 0 0-5Z"/>
<path fill="#3D3846" d="M22 79h-4a2 2 0 1 0 0 4h4a2 2 0 1 0 0-4ZM33 79h-4a2 2 0 1 0 0 4h4a2 2 0 1 0 0-4Z"/>
<defs>
<linearGradient id="a" x1="9" x2="119" y1="115" y2="115" gradientUnits="userSpaceOnUse">
<stop stop-color="#613583"/>
<stop offset=".05" stop-color="#9141AC"/>
<stop offset=".22" stop-color="#613583"/>
<stop offset=".78" stop-color="#613583"/>
<stop offset=".95" stop-color="#9141AC"/>
<stop offset="1" stop-color="#613583"/>
</linearGradient>
<linearGradient id="b" x1="45" x2="45" y1="50" y2="82" gradientUnits="userSpaceOnUse">
<stop stop-color="#BDD0D5"/>
<stop offset="1" stop-color="#305749"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -1,36 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" fill="none">
<rect width="88" height="112" x="20" y="8" fill="url(#a)" rx="9" style="fill:url(#a)"/>
<rect width="88" height="95" x="20" y="8" fill="url(#b)" rx="9" style="fill:url(#b)"/>
<rect width="74" height="46" x="27" y="15" fill="#000" rx="5"/>
<rect width="50" height="34" x="39" y="21" fill="url(#c)" rx="4" style="fill:url(#c)"/>
<rect width="9" height="9" x="55" y="107" fill="#241f31" rx="4.5"/>
<rect width="5" height="5" x="57" y="109" fill="#000" rx="2.5"/>
<rect width="5" height="5" x="71" y="109" fill="#241f31" rx="2.5"/>
<rect width="7" height="21" x="40" y="72" fill="#000" rx="3.5"/>
<rect width="7" height="21" x="79" y="-54" fill="#000" rx="3.5" transform="rotate(90)"/>
<rect width="7" height="21" x="40" y="71" fill="#241f31" rx="3.5"/>
<rect width="7" height="21" x="78" y="-54" fill="#241f31" rx="3.5" transform="rotate(90)"/>
<rect width="11" height="11" x="80" y="-80" fill="#000" rx="5.5" transform="rotate(90)"/>
<rect width="11" height="11" x="73" y="-94" fill="#000" rx="5.5" transform="rotate(90)"/>
<rect width="11" height="11" x="79" y="-80" fill="#241f31" rx="5.5" transform="rotate(90)"/>
<rect width="11" height="11" x="72" y="-94" fill="#241f31" rx="5.5" transform="rotate(90)"/>
<defs>
<linearGradient id="a" x1="20" x2="108" y1="120" y2="120" gradientUnits="userSpaceOnUse">
<stop stop-color="#FF7800"/>
<stop offset=".06" stop-color="#FFA348"/>
<stop offset=".21" stop-color="#FFA348" style="stop-color:#ff7800;stop-opacity:1"/>
<stop offset=".8" stop-color="#FFA348" style="stop-color:#ff7800;stop-opacity:1"/>
<stop offset=".94" stop-color="#FFA348"/>
<stop offset="1" stop-color="#FF7800"/>
</linearGradient>
<linearGradient id="b" x1="64" x2="64" y1="8" y2="103" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#FFA348" style="stop-color:#f6d32d;stop-opacity:1"/>
<stop offset=".9" stop-color="#F6D32D"/>
<stop offset="1" stop-color="#F9F06B"/>
</linearGradient>
<linearGradient id="c" x1="39" x2="39" y1="21" y2="55" gradientUnits="userSpaceOnUse">
<stop stop-color="#53784D"/>
<stop offset="1" stop-color="#B2D18B"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 2.4 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,3 +0,0 @@
<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 1C2.44772 1 2 1.44772 2 2V14C2 14.5523 2.44772 15 3 15H13C13.5523 15 14 14.5523 14 14V2C14 1.44772 13.5523 1 13 1H3ZM5 2C4.44772 2 4 2.44772 4 3V6C4 6.55228 4.44772 7 5 7H11C11.5523 7 12 6.55228 12 6V3C12 2.44772 11.5523 2 11 2H5ZM4 10.5C4 9.67157 4.67157 9 5.5 9C6.32843 9 7 9.67157 7 10.5C7 11.3284 6.32843 12 5.5 12C4.67157 12 4 11.3284 4 10.5ZM10 9C9.44772 9 9 9.44771 9 10C9 10.5523 9.44771 11 10 11H11C11.5523 11 12 10.5523 12 10C12 9.44771 11.5523 9 11 9H10Z" fill="black"/>
</svg>

Before

Width:  |  Height:  |  Size: 637 B

View File

@@ -1,4 +1,4 @@
application_id = 'hu.kramo.GameShelf'
application_id = 'hu.kramo.Cartridges'
scalable_dir = join_paths('hicolor', 'scalable', 'apps')
install_data(

View File

@@ -0,0 +1,15 @@
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="300" fill="none">
<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>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -1,6 +1,25 @@
blueprints = custom_target('blueprints',
input: files(
'gtk/help-overlay.blp',
'gtk/window.blp',
'gtk/game.blp',
'gtk/preferences.blp'
),
output: '.',
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
)
gnome.compile_resources('cartridges',
'cartridges.gresource.xml',
gresource_bundle: true,
install: true,
install_dir: pkgdatadir,
dependencies: blueprints,
)
desktop_file = i18n.merge_file(
input: 'hu.kramo.GameShelf.desktop.in',
output: 'hu.kramo.GameShelf.desktop',
input: 'hu.kramo.Cartridges.desktop.in',
output: 'hu.kramo.Cartridges.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
@@ -13,8 +32,8 @@ if desktop_utils.found()
endif
appstream_file = i18n.merge_file(
input: 'hu.kramo.GameShelf.metainfo.xml.in',
output: 'hu.kramo.GameShelf.metainfo.xml',
input: 'hu.kramo.Cartridges.metainfo.xml.in',
output: 'hu.kramo.Cartridges.metainfo.xml',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo')
@@ -25,7 +44,7 @@ if appstream_util.found()
test('Validate appstream file', appstream_util, args: ['validate', appstream_file])
endif
install_data('hu.kramo.GameShelf.gschema.xml',
install_data('hu.kramo.Cartridges.gschema.xml',
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 878 KiB

BIN
data/screenshots/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 KiB

BIN
data/screenshots/2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

BIN
data/screenshots/3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

BIN
data/screenshots/4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

133
hu.kramo.Cartridges.json Normal file
View File

@@ -0,0 +1,133 @@
{
"id" : "hu.kramo.Cartridges",
"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=~/.steam/steam/:ro",
"--filesystem=xdg-data/lutris/:ro",
"--filesystem=xdg-cache/lutris/:ro",
"--filesystem=xdg-config/heroic/:ro",
"--filesystem=xdg-data/bottles/:ro",
"--filesystem=xdg-config/itch/: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.6.0"
}
],
"cleanup" : [
"*"
]
},
{
"name" : "cartridges",
"builddir" : true,
"buildsystem" : "meson",
"sources" : [
{
"type" : "dir",
"path" : "."
}
]
}
]
}

View File

@@ -1,41 +0,0 @@
{
"app-id" : "hu.kramo.GameShelf",
"runtime" : "org.gnome.Platform",
"runtime-version" : "master",
"sdk" : "org.gnome.Sdk",
"command" : "gameshelf",
"finish-args" : [
"--share=ipc",
"--socket=fallback-x11",
"--device=dri",
"--socket=wayland",
"--talk-name=org.freedesktop.Flatpak",
"--filesystem=xdg-run/gvfsd",
"--filesystem=~/.steam/steam/",
"--filesystem=~/.var/app/com.heroicgameslauncher.hgl/config/heroic/"
],
"cleanup" : [
"/include",
"/lib/pkgconfig",
"/man",
"/share/doc",
"/share/gtk-doc",
"/share/man",
"/share/pkgconfig",
"*.la",
"*.a"
],
"modules" : [
{
"name" : "gameshelf",
"builddir" : true,
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "file:///home/kramo/Projects"
}
]
}
]
}

View File

@@ -1,5 +1,5 @@
project('gameshelf',
version: '0.1.1',
project('cartridges',
version: '1.4.1',
meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2', 'werror=false', ],
)
@@ -7,7 +7,7 @@ project('gameshelf',
i18n = import('i18n')
gnome = import('gnome')
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
subdir('data')
subdir('src')

View File

@@ -1 +1,15 @@
hu
ta
uk
nb_NO
fr
nl
it
ar
es
fi
pt
ru
ko
de
ro

View File

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

689
po/ar.po Normal file
View File

@@ -0,0 +1,689 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# Ali Aljishi <ahj696@hotmail.com>, 2023.
# kramo <contact@kramo.hu>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n"
"Last-Translator: Ali Aljishi <ahj696@hotmail.com>\n"
"Language-Team: Arabic <https://hosted.weblate.org/projects/cartridges/"
"cartridges/ar/>\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\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:29
#: src/main.py:119
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.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:22
msgid "Library"
msgstr "المكتبة"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "حرِّر تفاصيل اللعبة"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "تفاصيل اللعبة"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "التفضيلات"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "العنوان"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "حرِّر"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "أخفِ"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "أزل"
#: data/gtk/game.blp:113 src/window.py:283
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:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
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/main.py:186 src/main.py:242
#: src/preferences.py:133
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:235
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/utils/create_details_window.py:101
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:427
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:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "المجلَّد المستخدم عند استيراد الألعاب"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "مكتبات ستيم الإضافية"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "حدِّد المجلَّدات الأخرى التي ثُبِّتت فيها ألعاب ستيم"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "أمحُ"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "لوترس"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "موضع تثبيت لوترس"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "موضع ذكرة لوترس المؤقَّتة"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr "المجلَّد المستخدم عند استيراد غُلُف الألعاب"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr "استورد ألعابًا من ستيم"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "هِرُوِك"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "موضع تثبيت هِرُوِك"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "استورد ألعاب أَبِك"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "استورد ألعاب جي‌أو‌جي"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "استورد ألعابًا مثبَّتةً بغير متجر"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "قوارير"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "موضع تثبيت قوارير"
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr "إتش"
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr "موضع تثبيت إتش"
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr "الاستيثاق"
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr "مفتاح واجهة البرمجة"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr "استخدم SteamGridDB"
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr "نزِّل الصور حينما تنزِّل أو تستورد الألعاب"
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr "فضِّلها على الصور الرسمية"
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr "فضِّل الصور المتحرِّكة"
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "لم يُعثر على ألعاب"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "جرِّب بحثًا آخر."
#: data/gtk/window.blp:14
msgid "No Games"
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:293
msgid "Back"
msgstr "عد"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "عنوان اللعبة"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "العب"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "أضف لعبةً"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "القائمة الرئيسة"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "الألعاب المخفية"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "رتِّب"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "أ-ي"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "ي-أ"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "الأجدد"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "الأقدم"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "لُعبت آخر مرَّة"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "أظهر ما أخفي"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "اختصارات لوحة المفاتيح"
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "عن «خراطيش»"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr "Ali Aljishi <ahj696@hotmail.com>"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "بُدئت {}"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "أٌخفيت {}"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "أٌظهرت {}"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "أزيلت {}"
#: src/window.py:262
msgid "Today"
msgstr "اليوم"
#: src/window.py:264
msgid "Yesterday"
msgstr "أمس"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "أضيفت في: {}"
#: src/window.py:315
msgid "Never"
msgstr "أبدًا"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "لُعبت آخر مرَّة في: {}"
#: src/game.py:156
msgid "Details"
msgstr "التفاصيل"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "لم يُعثر على التثبيت"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "حدِّد مجلَّد ضبط {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "حدِّد مجلَّد بيانات {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "عيِّن الموضع"
#: src/preferences.py:132
msgid "All games removed"
msgstr "أُزيلت كلُّ الألعاب"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "لم يُعثر على الذاكرة المؤقَّتة"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "حدِّد مجلَّد ذاكرة لوترس المؤقَّتة."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"تحتاج مفتاح واجهة برمجة حال ما أردت استخدام SteamGridDB، {}هنا تولِّده{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "أضف لعبةً جديدةً"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "أكِّد"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "طبِّق"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "عنوان اللعبة"
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "المطوِّر"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "المطوِّر أو الناشر (اختياري)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "ملف.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "البرنامج"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\المسار\\إلى\\{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/المسار/إلى/{}"
#: src/utils/create_details_window.py:166
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/utils/create_details_window.py:189
msgid "Executable"
msgstr "ملفُّ التنفيذ"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "الملفُّ المفتوح أو الأمر المشغَّل عند بدء اللعبة"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "ألغِ"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "تعذَّرت إضافة اللعبة"
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "تعذَّر تطبيق التفضيلات"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "لا يجوز كون عنوان اللعبة فارغًا."
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "لا يجوز كون ملفِّ التنفيذ فارغًا."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "تجاهل"
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr "تُستورد الألعاب…"
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr "تُستورد الغُلُف…"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "لم يُعثر على ألعاب جديدة في نظامك."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "اُستوردت اللعبة"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "اُستوردت لعبة بنجاح."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "اُستوردت الألعاب"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "اُستوردت {} لعبة بنجاح."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "تعذَّر الاتصال ب‍ SteamGridDB"
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "يبدو أن عندك أكثر من مكتبة ستيم. أتريد إضافتهم في التفضيلات؟"
#~ 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:\\path\\to\\{file_name}"
#, python-brace-format
#~ msgid "/path/to/{file_name}"
#~ msgstr "/path/to/{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 "تعذَّر العثور على مجلَّد بوتلز."
#~ msgid "Set Bottles Location"
#~ msgstr "عيِّن موضع بوتلز"
#~ msgid "No new games were found in the Bottles library."
#~ msgstr "لم يُعثر على ألعاب جديدة في مكتبة بوتلز."
#~ msgid "Bottles Games Imported"
#~ msgstr "اُستوردت ألعاب بوتلز"
#~ msgid "The Heroic directory cannot be found."
#~ msgstr "تعذَّر العثور على مجلَّد هِرُوِك."
#~ msgid "Heroic Games Imported"
#~ msgstr "اُستوردت ألعاب هِرُوِك"
#~ msgid "No new games were found in the Steam library."
#~ msgstr "لم يُعثر على ألعاب جديدة في مكتبة ستيم."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "تعذَّر العثور على مجلَّد ستيم."
#~ msgid "Talking to Steam"
#~ msgstr "يُتواصل مع ستيم"

591
po/cartridges.pot Normal file
View File

@@ -0,0 +1,591 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-11 23:33+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
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.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:22
msgid "Library"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr ""
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr ""
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr ""
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr ""
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr ""
#: data/gtk/game.blp:113 src/window.py:283
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:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
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/main.py:186 src/main.py:242
#: src/preferences.py:133
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:235
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/utils/create_details_window.py:101
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:427
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:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr ""
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr ""
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr ""
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr ""
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr ""
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr ""
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr ""
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr ""
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr ""
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr ""
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr ""
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr ""
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr ""
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr ""
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr ""
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr ""
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr ""
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr ""
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr ""
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr ""
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr ""
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr ""
#: data/gtk/window.blp:14
msgid "No Games"
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:293
msgid "Back"
msgstr ""
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr ""
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr ""
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr ""
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr ""
#: data/gtk/window.blp:360
msgid "Sort"
msgstr ""
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:375
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr ""
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr ""
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr ""
#: src/window.py:262
msgid "Today"
msgstr ""
#: src/window.py:264
msgid "Yesterday"
msgstr ""
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr ""
#: src/window.py:315
msgid "Never"
msgstr ""
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr ""
#: src/game.py:156
msgid "Details"
msgstr ""
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr ""
#: src/preferences.py:132
msgid "All games removed"
msgstr ""
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr ""
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr ""
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr ""
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr ""
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr ""
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr ""
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr ""
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr ""
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr ""
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr ""
#: src/utils/create_details_window.py:166
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/utils/create_details_window.py:189
msgid "Executable"
msgstr ""
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr ""
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr ""
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr ""
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr ""
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr ""
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr ""
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr ""
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr ""
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr ""
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr ""
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr ""
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr ""
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr ""
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr ""
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr ""
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr ""

616
po/de.po Normal file
View File

@@ -0,0 +1,616 @@
# 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.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-08 20:49+0000\n"
"Last-Translator: Jummit <jummit@web.de>\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-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
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.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:22
msgid "Library"
msgstr "Bibliothek"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "Spieldetails bearbeiten"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Spieldetails"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "Einstellungen"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "Titel"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "Bearbeiten"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "Verstecken"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "Entfernen"
#: data/gtk/game.blp:113 src/window.py:283
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:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
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/main.py:186 src/main.py:242
#: src/preferences.py:133
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:235
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/utils/create_details_window.py:101
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:427
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:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Verzeichnis, das beim Importieren von Spielen verwendet wird"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Extra Steam-Bibliotheken"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Wähle andere Verzeichnisse in denen du Steam-Spiele installiert hast"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Löchen"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "Lutris-Installationsort"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Lutris-Cacheort"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr "Verzeichnis für den Import von Spiel-Covern"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr "Steam-Spiele importieren"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "Heroic-Installationsort"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "Epic Games importieren"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "GOG-Spiele importieren"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "Sideloaded-Spiele importieren"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "Bottles-Installationsort"
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr "itch-Installationsort"
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr "Authentifizierung"
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr "API-Schlüssel"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr "SteamGridDB benutzen"
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr "Lade Bilder herunter, wenn Spiele hinzugefügt oder importiert werden"
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr "Über offizielien Images bevorzugen"
#: data/gtk/preferences.blp:257
#, fuzzy
#| msgid "Prefer Over Official Images"
msgid "Prefer Animated Images"
msgstr "Über offizielien Images bevorzugen"
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "Keine Spiele gefunden"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "Versuche eine andere Suche."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Keine Spiele"
#: data/gtk/window.blp:15
msgid "Use the + button to add games."
msgstr "Benutze denn + Knopf um Spiele hinzuzufügen."
#: data/gtk/window.blp:22
msgid "No Hidden Games"
msgstr "Keine versteckten Spiele"
#: data/gtk/window.blp:23
msgid "Games you hide will appear here."
msgstr "Ausgeblendete Spiele, werden hier angezeigt."
#: data/gtk/window.blp:44 data/gtk/window.blp:293
msgid "Back"
msgstr "Zurück"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "Spieltitel"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "Spielen"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "Spiel hinzufügen"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "Hauptmenü"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "Ausgeblendete Spiele"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "Sortierung"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "Neuestes"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "Älteste"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "Zuletzt gespielt"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "Ausgeblendete anzeigen"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "Tastaturkürzel"
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "Über Cartridges"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr "Feliks Weber"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} gestartet"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} versteckt"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} unversteckt"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} entfernt"
#: src/window.py:262
msgid "Today"
msgstr "Heute"
#: src/window.py:264
msgid "Yesterday"
msgstr "Gestern"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "Hinzugefügt: {}"
#: src/window.py:315
msgid "Never"
msgstr "Nie"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "Zuletzt gespielt: {}"
#: src/game.py:156
msgid "Details"
msgstr "Details"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Installation nicht gefunden"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Wähle das Konfigurationsverzeichnis von {} aus."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Wähle das Datenverzeichnis von {} aus."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Ort festlegen"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Alle Spiele entfernt"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Cache nicht gefunden"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Wähle das Lutris-Cache-Verzeichnis aus."
#: src/preferences.py:344
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/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Neues Spiel hinzufügen"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Bestätigen"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "Anwenden"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "Der Titel des Spiels"
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "Entwickler"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Der Entwickler oder Verlag (optional)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "datei.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "Programm"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\pfad\\zu\\{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/pfad/zu/{}"
#: src/utils/create_details_window.py:166
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/utils/create_details_window.py:189
msgid "Executable"
msgstr "Ausführbare Datei"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Datei zum Öffnen oder Befehl zum Starten des Spiels"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Abbrechen"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "Konnte Spiel nicht hinzufügen"
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Einstellungen konnten nicht angewendet werden"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "Spieltitel kann nicht leer sein."
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "Ausführbare Datei darf nicht leer sein."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Verstanden"
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr "Spiele werden importiert…"
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr "Spielecover werden importiert…"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "Keine neuen Spiele auf deinem System gefunden."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Spiel Importiert"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "Erfolgreich 1 Spiel importiert."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Spiele importiert"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "Erfolgreich {} Spiele importiert."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Verbindung zu SteamGridDB konnte nicht hergestellt werden"
#: src/utils/importer.py:145
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"

694
po/es.po Normal file
View File

@@ -0,0 +1,694 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# Óscar Fernández Díaz <oscfdezdz@users.noreply.hosted.weblate.org>, 2023.
# gallegonovato <fran-carro@hotmail.es>, 2023.
# kramo <contact@kramo.hu>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n"
"Last-Translator: gallegonovato <fran-carro@hotmail.es>\n"
"Language-Team: Spanish <https://hosted.weblate.org/projects/cartridges/"
"cartridges/es/>\n"
"Language: es\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-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
msgid "Cartridges"
msgstr "Cartuchos"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Lanzador de juegos"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Lance todos sus juegos"
#: 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 es un lanzador simple para todos tus juegos. Admite la "
"importación de tus juegos de Steam, Lutris, Heroic y más sin necesidad de "
"una cuenta. Puedes ordenar y ocultar juegos, o descargar carátulas de "
"SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22
msgid "Library"
msgstr "Biblioteca"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "Editar detalles del juego"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Detalles del juego"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "Preferencias"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "Título"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "Editar"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "Ocultar"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "Eliminar"
#: data/gtk/game.blp:113 src/window.py:283
msgid "Unhide"
msgstr "Mostrar"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "General"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Salir"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
msgid "Search"
msgstr "Buscar"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Mostrar preferencias"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Atajos"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242
#: src/preferences.py:133
msgid "Undo"
msgstr "Deshacer"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Abrir menú"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Juegos"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Añadir juego nuevo"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Importar juegos"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Mostrar juegos ocultos"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Eliminar juego"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235
msgid "Behavior"
msgstr "Conducta"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Salir después de iniciar juegos"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "La imagen de portada lanza el juego"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr ""
"Cambia el comportamiento de la imagen de portada y del botón de reproducción"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101
msgid "Images"
msgstr "Imágenes"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Imágenes de alta calidad"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr "Guarda las partidas sin pérdidas a costa del almacenamiento"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Zona peligrosa"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Quitar todos los juegos"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427
msgid "Import"
msgstr "Importar"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Fuentes"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Ubicación de la instalación de Steam"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Directorio a usar para importar juegos"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Bibliotecas Steam adicionales"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Seleccione otros directorios donde tenga instalados juegos de Steam"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Limpiar"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "Ubicación de instalación de Lutris"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Ubicación de la caché de Lutris"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr "Directorio para usar al importar las carátulas de los juegos"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr "Importar juegos de Steam"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "Ubicación de la instalación de Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "Importar juegos de Epic"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "Importar juegos de GOG"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "Importar juegos descargados"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "Ubicación de instalación de Bottles"
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr "Ubicación de la instalación de itch"
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr "Autentificación"
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr "Código API"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr "Utiliza SteamGridDB"
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr "Descargar las imágenes al añadir o importar juegos"
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr "Preferir las imágenes oficiales"
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr "Prefiero las imágenes animadas"
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "No se han encontrado juegos"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "Pruebe con otra búsqueda."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "No hay juegos"
#: data/gtk/window.blp:15
msgid "Use the + button to add games."
msgstr "Use el botón + para añadir juegos."
#: data/gtk/window.blp:22
msgid "No Hidden Games"
msgstr "No hay juegos ocultos"
#: data/gtk/window.blp:23
msgid "Games you hide will appear here."
msgstr "Los juegos que oculte aparecerán aquí."
#: data/gtk/window.blp:44 data/gtk/window.blp:293
msgid "Back"
msgstr "Volver"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "Título del juego"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "Jugar"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "Añadir juego"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "Menú principal"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "Juegos ocultos"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "Ordenar"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "Más recientes"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "Más antiguos"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "Último jugado"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "Mostrar ocultos"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "Atajos del teclado"
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "Acerca de Cartuchos"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr "Óscar Fernández Díaz <oscfdezdz@tuta.io>"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} comenzó"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} oculto"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} visible"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} eliminado"
#: src/window.py:262
msgid "Today"
msgstr "Hoy"
#: src/window.py:264
msgid "Yesterday"
msgstr "Ayer"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "Añadido: {}"
#: src/window.py:315
msgid "Never"
msgstr "Nunca"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "Último jugado: {}"
#: src/game.py:156
msgid "Details"
msgstr "Detalles"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "No se encuentra la instalación"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Selecciona el directorio de la configuración {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Selecciona el directorio de los datos {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Escoger la ubicación"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Todos los juegos eliminados"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Caché no encontrada"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Selecciona el directorio de la caché de Lutris."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Se necesita una clave API para utilizar SteamGridDB. Puedes generar una {}"
"aquí{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Añadir juego nuevo"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Confirmar"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "Aplicar"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "El título del juego"
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "Desarrollador"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "El desarrollador o editor (opcional)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "archivo.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "programa"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\ruta\\hasta\\{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/ruta/hasta/{}"
#: src/utils/create_details_window.py:166
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 lanzar el ejecutable \"{}\", use el comando:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Para abrir el archivo \"{}\" con la aplicación predeterminada, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Si la ruta contiene espacios, ¡asegúrese de entrecomillarla!"
#: src/utils/create_details_window.py:189
msgid "Executable"
msgstr "Ejecutable"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Archivo a abrir o comando a ejecutar al iniciar el juego"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Cancelar"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "No se puede añadir el juego"
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "No se pudieron aplicar las preferencias"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "El título del juego no puede estar vacío."
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "El ejecutable no puede estar vacío."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Descartar"
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr "Importando juegos…"
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr "Importando las portadas…"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "No se encontraron nuevos juegos en tú sistema."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Juego importado"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "Importado 1 juego con éxito."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Juegos importados"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "{} juegos importados con éxito."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "No se puede conectar a SteamGridDB"
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr ""
"Parece que tienes varias bibliotecas de Steam. ¿Quieres agregarlas en la "
"configuración?"
#~ msgid "Launch your games"
#~ msgstr "Lance sus juegos"
#, python-brace-format
#~ msgid "Last played: {last_played_date}"
#~ msgstr "Jugado por última vez: {last_played_date}"
#, python-brace-format
#~ msgid "Successfully imported {games_no} games."
#~ msgstr "Importados {games_no} juegos con éxito."
#, python-brace-format
#~ msgid "C:\\path\\to\\{file_name}"
#~ msgstr "C:\\ruta\\hasta\\{file_name}"
#, python-brace-format
#~ msgid "/path/to/{file_name}"
#~ msgstr "/ruta/hasta/{file_name}"
#, fuzzy
#~| msgid "General"
#~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "General"
#, fuzzy
#~| msgid "Search"
#~ msgctxt "shortcuts window"
#~ msgid "Search"
#~ msgstr "Buscar"
#, fuzzy
#~| msgid "Undo"
#~ msgctxt "shortcuts window"
#~ msgid "Undo"
#~ msgstr "Deshacer"
#~ msgid "First stable release"
#~ msgstr "Primera versión estable"
#~ msgctxt "shortcut window"
#~ msgid "General"
#~ msgstr "General"
#~ msgctxt "shortcut window"
#~ msgid "Search"
#~ msgstr "Buscar"
#~ msgctxt "shortcut window"
#~ msgid "Undo"
#~ msgstr "Deshacer"
#~ msgid "Couldn't Import Games"
#~ msgstr "No se pueden importar juegos"
#~ msgid "The Bottles directory cannot be found."
#~ msgstr "No se encuentra el directorio Bottles."
#~ msgid "Set Bottles Location"
#~ msgstr "Establecer la ubicación de Bottles"
#~ msgid "No new games were found in the Bottles library."
#~ msgstr "No se han encontrado juegos nuevos en la biblioteca de Bottles."
#~ msgid "Bottles Games Imported"
#~ msgstr "Juegos de Bottles importados"
#~ msgid "The Heroic directory cannot be found."
#~ msgstr "No se encuentra el directorio Heroic."
#~ msgid "Heroic Games Imported"
#~ msgstr "Juegos de Heroic importados"
#~ msgid "No new games were found in the Steam library."
#~ msgstr "No se han encontrado juegos nuevos en la biblioteca de Steam."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "No se encuentra el directorio de Steam."
#~ msgid "Talking to Steam"
#~ msgstr "Hablando con Steam"

717
po/fi.po Normal file
View File

@@ -0,0 +1,717 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# LINUX-SAUNA <linuxsauna@protonmail.com>, 2023.
# Kimmo Kujansuu <mrkujansuu@gmail.com>, 2023.
# Kopimi <tatuus@tutanota.com>, 2023.
# Jiri Grönroos <jiri.gronroos@iki.fi>, 2023.
# kramo <contact@kramo.hu>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-02 15:04+0000\n"
"Last-Translator: Jiri Grönroos <jiri.gronroos@iki.fi>\n"
"Language-Team: Finnish <https://hosted.weblate.org/projects/cartridges/"
"cartridges/fi/>\n"
"Language: fi\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-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
msgid "Cartridges"
msgstr "Cartridges"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Pelin käynnistin"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Käynnistä kaikki pelisi"
#: 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 on helppo pelikäynnistin. Se tukee pelien tuontia Steamista, "
"Heroicista ja Bottlesista ja tarjoaa ominaisuuden järjestelyyn, kuten "
"piilottamisen ja lajittelun lisäyspäivämäärän tai viimeisimmän pelatun pelin "
"mukaan."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22
msgid "Library"
msgstr "Kirjasto"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "Muokkaa pelin tietoja"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Pelin tiedot"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "Asetukset"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "Nimi"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "Muokkaa"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "Piilota"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "Poista"
#: data/gtk/game.blp:113 src/window.py:283
msgid "Unhide"
msgstr "Näytä"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Yleistä"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Lopeta"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
msgid "Search"
msgstr "Etsi"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Näytä asetukset"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Pikanäppäimet"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242
#: src/preferences.py:133
msgid "Undo"
msgstr "Kumoa"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Avaa valikko"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Pelit"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Lisää uusi peli"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Tuo pelejä"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Näytä piilotetut pelit"
#: data/gtk/help-overlay.blp:63
#, fuzzy
#| msgid "Remove All Games"
msgid "Remove game"
msgstr "Poista kaikki pelit"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235
msgid "Behavior"
msgstr "Toiminta"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Poistuminen pelin käynnistämisen jälkeen"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Kansikuva käynnistää pelin"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr ""
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101
msgid "Images"
msgstr "Kuvat"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Korkealaatuiset kuvat"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr "Tallenna pelien kansikuvat häviöttömästi tallennustilan kustannuksella"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Vaaravyöhyke"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Poista kaikki pelit"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427
msgid "Import"
msgstr "Tuo"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Lähteet"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Steam-asennuksen sijainti"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Hakemisto, jota käytetään pelejä tuotaessa"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Steam-lisäkirjastot"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Valitse muut hakemistot, joihin Steam-pelit on asennettu"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Tyhjennä"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "Lutris-asennuksen sijainti"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Lutris-välimuistin sijainti"
#: data/gtk/preferences.blp:129
#, fuzzy
#| msgid "Directory to use when importing games"
msgid "Directory to use when importing game covers"
msgstr "Hakemisto, jota käytetään pelejä tuotaessa"
#: data/gtk/preferences.blp:138
#, fuzzy
#| msgid "Import Sideloaded Games"
msgid "Import Steam Games"
msgstr "Tuo Sideload-pelejä"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "Heroic-asennuksen sijainti"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "Tuo Epic-pelejä"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "Tuo GOG-pelejä"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "Tuo Sideload-pelejä"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "Pullot"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "Bottles-asennuksen sijainti"
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr ""
#: data/gtk/preferences.blp:209
#, fuzzy
#| msgid "Heroic Install Location"
msgid "itch Install Location"
msgstr "Heroic-asennuksen sijainti"
#: data/gtk/preferences.blp:223
#, fuzzy
#| msgid "Steam"
msgid "SteamGridDB"
msgstr "Steam"
#: data/gtk/preferences.blp:227
#, fuzzy
#| msgid "Set Location"
msgid "Authentication"
msgstr "Aseta sijainti"
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr ""
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:239
#, fuzzy
#| msgid "Directory to use when importing games"
msgid "Download images when adding or importing games"
msgstr "Hakemisto, jota käytetään pelejä tuotaessa"
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr ""
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr ""
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "Pelejä ei löydetty"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "Kokeile eri hakua."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Ei pelejä"
#: data/gtk/window.blp:15
msgid "Use the + button to add games."
msgstr "Käytä + lisätäksesi pelejä."
#: data/gtk/window.blp:22
msgid "No Hidden Games"
msgstr "Ei piilotettuja pelejä"
#: data/gtk/window.blp:23
msgid "Games you hide will appear here."
msgstr "Piilotetut pelit näkyvät täällä."
#: data/gtk/window.blp:44 data/gtk/window.blp:293
msgid "Back"
msgstr "Takaisin"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "Pelin nimi"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "Pelaa"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "Lisää peli"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "Päävalikko"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "Piilotetut pelit"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "Lajittele"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "Uusin"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "Vanhin"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "Viimeksi pelattu"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "Näytä piilotetut"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "Pikanäppäimet"
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "Tietoja - Cartridges"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr "Linux Sauna"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/main.py:182
#, fuzzy
#| msgid "Show Hidden"
msgid "{} hidden"
msgstr "Näytä piilotetut"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} poistettu"
#: src/window.py:262
msgid "Today"
msgstr "Tänään"
#: src/window.py:264
msgid "Yesterday"
msgstr "Eilen"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "Lisätty: {}"
#: src/window.py:315
msgid "Never"
msgstr "Ei koskaan"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "Viimeksi pelattu: {}"
#: src/game.py:156
msgid "Details"
msgstr "Tiedot"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Asennusta ei löydy"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Aseta sijainti"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Kaikki pelit poistettu"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Välimuistia ei löydy"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr ""
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Lisää uusi peli"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Vahvista"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "Käytä"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "Pelin nimi"
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "Kehittäjä"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Kehittäjä tai julkaisija (valinnainen)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "file.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "ohjelma"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\polku\\kansioon\\{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/polku/kansioon/{}"
#: src/utils/create_details_window.py:166
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 ""
"Käynnistääksesi suoritettavan ohjelman \"{exe_name}\", käytä komentoa:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Avataksesi tiedoston \"{}\" oletussovelluksella, käytä komentoa:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Jos polku sisältää välilyöntejä, varmista, että se on suljettu "
"kaksinkertaisiin lainausmerkkeihin!"
#: src/utils/create_details_window.py:189
msgid "Executable"
msgstr "Suoritettava"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr ""
"Tiedosto, joka avataan tai komento, joka ajetaan pelin käynnistämisen "
"yhteydessä"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Peru"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "Peliä ei voitu lisätä"
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Asetuksia ei voitu ottaa käyttöön"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "Pelin nimi ei voi olla tyhjä."
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "Suoritettava ei voi olla tyhjä."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Hylkää"
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr "Tuodaan pelejä…"
#: src/utils/importer.py:77
#, fuzzy
#| msgid "Importing Games…"
msgid "Importing Covers…"
msgstr "Tuodaan pelejä…"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "Järjestelmästä ei löytynyt uusia pelejä."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Peli tuotu"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "Onnistuneesti tuotu 1 peli."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Pelit tuotu"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "{} peliä tuotu."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr ""
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr ""
#~ msgid "Launch your games"
#~ msgstr "Käynnistä pelit"
#, python-brace-format
#~ msgid "Last played: {last_played_date}"
#~ msgstr "Pelattu: {last_played_date}"
#, python-brace-format
#~ msgid "Successfully imported {games_no} games."
#~ msgstr "Onnistuneesti tuotu {games_no} peliä."
#, python-brace-format
#~ msgid "C:\\path\\to\\{file_name}"
#~ msgstr "C:\\polku\\kansioon\\{file_name}"
#, python-brace-format
#~ msgid "/path/to/{file_name}"
#~ msgstr "/polku/kansioon/{file_name}"
#, fuzzy
#~| msgid "General"
#~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "Yleistä"
#, fuzzy
#~| msgid "Search"
#~ msgctxt "shortcuts window"
#~ msgid "Search"
#~ msgstr "Etsi"
#, fuzzy
#~| msgid "Undo"
#~ msgctxt "shortcuts window"
#~ msgid "Undo"
#~ msgstr "Kumoa"
#~ msgid "First stable release"
#~ msgstr "Ensimmäinen vakaa julkaisu"
#~ msgctxt "shortcut window"
#~ msgid "General"
#~ msgstr "Yleistä"
#~ msgctxt "shortcut window"
#~ msgid "Search"
#~ msgstr "Etsi"
#~ msgctxt "shortcut window"
#~ msgid "Undo"
#~ msgstr "Kumoa"
#~ msgid "Couldn't Import Games"
#~ msgstr "Pelejä ei voitu tuoda"
#~ msgid "The Bottles directory cannot be found."
#~ msgstr "Bottles-hakemistoa ei löydy."
#~ msgid "Set Bottles Location"
#~ msgstr "Aseta Bottlesin sijainti"
#~ msgid "No new games were found in the Bottles library."
#~ msgstr "Bottles-kirjastosta ei löytynyt uusia pelejä."
#~ msgid "Bottles Games Imported"
#~ msgstr "Bottles-pelit on tuotu"
#~ msgid "The Heroic directory cannot be found."
#~ msgstr "Heroic-hakemistoa ei löytynyt."
#~ msgid "Heroic Games Imported"
#~ msgstr "Heroic-pelit tuotu"
#~ msgid "No new games were found in the Steam library."
#~ msgstr "Steam-kirjastosta ei löytynyt uusia pelejä."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Steam-hakemistoa ei löydy."
#~ msgid "Talking to Steam"
#~ msgstr "Yhdistetään Steam-kirjastoon"

714
po/fr.po Normal file
View File

@@ -0,0 +1,714 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# "J. Lavoie" <j.lavoie@net-c.ca>, 2023.
# kramo <contact@kramo.hu>, 2023.
# rene-coty <irenee.thirion@e.email>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-08 20:49+0000\n"
"Last-Translator: rene-coty <irenee.thirion@e.email>\n"
"Language-Team: French <https://hosted.weblate.org/projects/cartridges/"
"cartridges/fr/>\n"
"Language: fr\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-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
msgid "Cartridges"
msgstr "Cartouches"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Lanceur de jeu"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Lancez tous vos jeux"
#: 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 ""
"Cartouches est un simple lanceur pour tous vos jeux. Il prend en charge "
"limportation de vos jeux depuis Steam, Lutris, Heroic et dautres encore, "
"sans nécessiter de compte. Vous pouvez trier et masquer les jeux, ou "
"télécharger la pochette depuis SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22
msgid "Library"
msgstr "Bibliothèque"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "Modifier les détails du jeu"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Détails du jeu"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "Préférences"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "Titre"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "Modifier"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "Masquer"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "Retirer"
#: data/gtk/game.blp:113 src/window.py:283
msgid "Unhide"
msgstr "Afficher"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Général"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Quitter"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
msgid "Search"
msgstr "Rechercher"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Afficher les préférences"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Raccourcis"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242
#: src/preferences.py:133
msgid "Undo"
msgstr "Annuler"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Ouvrir le menu"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Jeux"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Ajouter un nouveau jeu"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Importer des jeux"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Afficher les jeux masqués"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Supprimer le jeu"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235
msgid "Behavior"
msgstr "Comportement"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Quitter après avoir lancé les jeux"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Cliquer sur limage de la pochette lance le jeu"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr ""
"Intervertit le comportement de limage de la pochette et du bouton de lecture"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101
msgid "Images"
msgstr "Images"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Images de haute qualité"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
"Sauvegarde les pochettes des jeux sans perte, mais prend plus de stockage"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Zone de danger"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Supprimer tous les jeux"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427
msgid "Import"
msgstr "Importer"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Sources"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Emplacement de l'installation de Steam"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Répertoire à utiliser lors de l'importation de jeux"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Bibliothèque Steam supplémentaires"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr ""
"Sélectionnez dautres répertoires où vous avez des jeux Steam installés"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Vider"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "Emplacement de linstallation Lutris"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Emplacement du cache Lutris"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr "Répertoire à utiliser lors de limportation des pochettes des jeux"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr "Importer des jeux Steam"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "Emplacement de l'installation Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "Importer Epic Games"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "Importer des jeux GOG"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "Importer des jeux Sideloaded"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "Emplacement de l'installation Bottles"
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr "Emplacement dinstallation itch"
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr "Identification"
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr "Clé API"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr "Utiliser SteamGridDB"
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr "Télécharger les images lors de lajout ou de limportation de jeux"
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr "Préférer à la place des images officielles"
#: data/gtk/preferences.blp:257
#, fuzzy
#| msgid "Prefer Over Official Images"
msgid "Prefer Animated Images"
msgstr "Préférer à la place des images officielles"
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "Aucun jeu trouvé"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "Essayez une autre recherche."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Aucun jeu"
#: data/gtk/window.blp:15
msgid "Use the + button to add games."
msgstr "Utilisez le bouton + pour ajouter des jeux."
#: data/gtk/window.blp:22
msgid "No Hidden Games"
msgstr "Pas de jeux masqués"
#: data/gtk/window.blp:23
msgid "Games you hide will appear here."
msgstr "Les jeux que vous masquez apparaîtront ici."
#: data/gtk/window.blp:44 data/gtk/window.blp:293
msgid "Back"
msgstr "Retour"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "Titre du jeu"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "Jouer"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "Ajouter un jeu"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "Menu principal"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "Jeux masqués"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "Trier"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "Le plus récent"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "Le plus ancien"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "Dernière session"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "Afficher les masqués"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "Raccourcis clavier"
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "À propos de Cartouches"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr "Irénée Thirion"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} lancé"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} masqué"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} affiché"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} retiré"
#: src/window.py:262
msgid "Today"
msgstr "Aujourd'hui"
#: src/window.py:264
msgid "Yesterday"
msgstr "Hier"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "Ajouté : {}"
#: src/window.py:315
msgid "Never"
msgstr "Jamais"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "Dernière session : {}"
#: src/game.py:156
msgid "Details"
msgstr "Détails"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Installation introuvable"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Sélectionnez le répertoire de configuration de {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Sélectionnez le répertoire de données de {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Définir lemplacement"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Tous les jeux ont été supprimés"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Cache non trouvé"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Sélectionnez le répertoire de cache de Lutris."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Une clé API est requise pour utiliser SteamGridDB. Vous pouvez en générer "
"une {}ici{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Ajouter un nouveau jeu"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Confirmer"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "Appliquer"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "Le titre du jeu"
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "Développeur"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Le développeur ou l'éditeur (facultatif)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "ficher.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "programme"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\chemin\\vers\\{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/chemin/vers/{}"
#: src/utils/create_details_window.py:166
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 ""
"Pour lancer l'exécutable « {} », utilisez la commande :\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Pour ouvrir le fichier « {} » avec l'application par défaut, utilisez la "
"commande :\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Si le chemin d'accès contient des espaces, veillez à le mettre entre "
"guillemets !"
#: src/utils/create_details_window.py:189
msgid "Executable"
msgstr "Exécutable"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Fichier à ouvrir ou commande à exécuter au lancement du jeu"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Annuler"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "Impossible d'ajouter un jeu"
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Impossible d'appliquer les préférences"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "Le titre du jeu ne peut pas être vide."
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "L'exécutable ne peut pas être vide."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Rejeter"
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr "Importation des jeux…"
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr "Importation des pochettes des jeux…"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "Aucun nouveau jeu na été trouvé sur votre système."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Jeu importé"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "Importation réussie de 1 jeu."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Jeux importés"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "Importation de {} jeux réussie."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Impossible de se connecter à SteamGridDB"
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr ""
"Il semble que vous ayez plusieurs bibliothèques Steam. Souhaitez-vous les "
"ajouter dans les préférences ?"
#~ msgid "Launch your games"
#~ msgstr "Lancez vos jeux"
#, python-brace-format
#~ msgid "Last played: {last_played_date}"
#~ msgstr "Dernière session : {last_played_date}"
#, python-brace-format
#~ msgid "Successfully imported {games_no} games."
#~ msgstr "Importation réussie de {games_no} jeux."
#, python-brace-format
#~ msgid "C:\\path\\to\\{file_name}"
#~ msgstr "C:\\chemin\\vers\\{file_name}"
#, python-brace-format
#~ msgid "/path/to/{file_name}"
#~ msgstr "/chemin/vers/{file_name}"
#, fuzzy
#~| msgid "General"
#~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "Général"
#, fuzzy
#~| msgid "Search"
#~ msgctxt "shortcuts window"
#~ msgid "Search"
#~ msgstr "Rechercher"
#, fuzzy
#~| msgid "Undo"
#~ msgctxt "shortcuts window"
#~ msgid "Undo"
#~ msgstr "Annuler"
#~ msgid "First stable release"
#~ msgstr "Première version stable"
#~ msgctxt "shortcut window"
#~ msgid "General"
#~ msgstr "Général"
#~ msgctxt "shortcut window"
#~ msgid "Search"
#~ msgstr "Recherche"
#~ msgctxt "shortcut window"
#~ msgid "Undo"
#~ msgstr "Annuler"
#~ msgid "Couldn't Import Games"
#~ msgstr "Impossible d'importer des jeux"
#~ msgid "The Bottles directory cannot be found."
#~ msgstr "Le répertoire Bottles est introuvable."
#~ msgid "Set Bottles Location"
#~ msgstr "Définir l'emplacement de Bottles"
#~ msgid "No new games were found in the Bottles library."
#~ msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Bottles."
#~ msgid "Bottles Games Imported"
#~ msgstr "Jeux Bottles importés"
#~ msgid "The Heroic directory cannot be found."
#~ msgstr "Le répertoire Heroic est introuvable."
#~ msgid "Heroic Games Imported"
#~ msgstr "Jeux Heroic importés"
#~ msgid "No new games were found in the Steam library."
#~ msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Steam."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Le répertoire Steam est introuvable."
#~ msgid "Talking to Steam"
#~ msgstr "Parler à Steam"
#, fuzzy
#~ msgid "Successfully imported {str(len(bottles_games))} games."
#~ msgstr "Importation réussie de 1 jeu."
#, fuzzy
#~ msgid "Successfully imported {str(len(heroic_games))} games."
#~ msgstr "Importation réussie de 1 jeu."
#~ msgid "Successfully imported"
#~ msgstr "Importation réussie"
#~ msgid "games."
#~ msgstr "jeux."

View File

@@ -1,302 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-29 14:12+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. Create toast for undoing the remove action
#: src/main.py:133
msgid "removed"
msgstr ""
#: src/main.py:134
msgid "Undo"
msgstr ""
#: src/window.py:195
msgid "Today"
msgstr ""
#: src/window.py:197
msgid "Yesterday"
msgstr ""
#: src/window.py:221
msgid "Added: "
msgstr ""
#: src/window.py:222
msgid "Last played: "
msgstr ""
#: src/window.py:222
msgid "Last played: Never"
msgstr ""
#: src/window.blp:6 src/window.blp:14 src/utils/steam_parser.py:98
#: src/utils/heroic_parser.py:153
msgid "No Games Found"
msgstr ""
#: src/window.blp:7
msgid "Try a different search."
msgstr ""
#: src/window.blp:15
msgid "Use the + button to add games."
msgstr ""
#: src/window.blp:22
msgid "No Hidden Games"
msgstr ""
#: src/window.blp:23
msgid "Games you hide will appear here."
msgstr ""
#: src/window.blp:29
msgid "Game Shelf"
msgstr ""
#: src/window.blp:52
msgid "Game Details"
msgstr ""
#: src/window.blp:90
msgid "Game Title"
msgstr ""
#: src/window.blp:132 src/gtk/game.blp:62 src/gtk/game.blp:88
msgid "Play"
msgstr ""
#: src/window.blp:241
msgid "Hidden Games"
msgstr ""
#: src/window.blp:299
msgid "Sort"
msgstr ""
#: src/window.blp:302
msgid "A-Z"
msgstr ""
#: src/window.blp:308
msgid "Z-A"
msgstr ""
#: src/window.blp:314
msgid "Newest"
msgstr ""
#: src/window.blp:320
msgid "Oldest"
msgstr ""
#: src/window.blp:326
msgid "Last Played"
msgstr ""
#: src/window.blp:333
msgid "Show Hidden"
msgstr ""
#: src/window.blp:341
msgid "Preferences"
msgstr ""
#: src/window.blp:346
msgid "Keyboard Shortcuts"
msgstr ""
#: src/window.blp:351
msgid "About Game Shelf"
msgstr ""
#: src/window.blp:360
msgid "Add Game"
msgstr ""
#: src/window.blp:365
msgid "Import From Steam"
msgstr ""
#: src/window.blp:370
msgid "Import From Heroic"
msgstr ""
#: src/window.blp:379 src/window.blp:398 src/gtk/game.blp:69
#: src/gtk/game.blp:95
msgid "Edit"
msgstr ""
#: src/window.blp:384 src/gtk/game.blp:74
msgid "Hide"
msgstr ""
#: src/window.blp:389 src/window.blp:408 src/gtk/game.blp:79
#: src/gtk/game.blp:105
msgid "Remove"
msgstr ""
#: src/window.blp:403 src/gtk/game.blp:100
msgid "Unhide"
msgstr ""
#: src/gtk/game.blp:32 src/utils/create_details_window.py:82
msgid "Title"
msgstr ""
#: src/gtk/preferences.blp:10
msgid "General"
msgstr ""
#: src/gtk/preferences.blp:13
msgid "Exit After Launching Games"
msgstr ""
#: src/gtk/preferences.blp:25
msgid "Steam Install Location"
msgstr ""
#: src/gtk/preferences.blp:26 src/gtk/preferences.blp:40
msgid "Directory to use when importing games"
msgstr ""
#: src/gtk/preferences.blp:39
msgid "Heroic Install Location"
msgstr ""
#: src/gtk/preferences.blp:49
msgid "Import Epic Games"
msgstr ""
#: src/gtk/preferences.blp:57
msgid "Import GOG Games"
msgstr ""
#: src/gtk/preferences.blp:65
msgid "Import Sideloaded Games"
msgstr ""
#: src/utils/create_details_window.py:38
msgid "Add New Game"
msgstr ""
#: src/utils/create_details_window.py:42
msgid "Confirm"
msgstr ""
#: src/utils/create_details_window.py:44
msgid "Edit Game Details"
msgstr ""
#: src/utils/create_details_window.py:48
msgid "Apply"
msgstr ""
#: src/utils/create_details_window.py:51
msgid "Images"
msgstr ""
#: src/utils/create_details_window.py:83
msgid "The title of the game"
msgstr ""
#: src/utils/create_details_window.py:88
msgid "Executable"
msgstr ""
#: src/utils/create_details_window.py:89
msgid "File to open or command to run when launching the game"
msgstr ""
#: src/utils/create_details_window.py:98
msgid "Cancel"
msgstr ""
#: src/utils/create_details_window.py:141
#: src/utils/create_details_window.py:145
msgid "Couldn't Add Game"
msgstr ""
#: src/utils/create_details_window.py:141
#: src/utils/create_details_window.py:166
msgid "Game title cannot be empty."
msgstr ""
#: src/utils/create_details_window.py:145
#: src/utils/create_details_window.py:170
msgid "Executable cannot be empty."
msgstr ""
#: src/utils/create_details_window.py:166
#: src/utils/create_details_window.py:170
msgid "Couldn't Apply Preferences"
msgstr ""
#: src/utils/create_dialog.py:24
msgid "Dismiss"
msgstr ""
#: src/utils/steam_parser.py:49 src/utils/heroic_parser.py:49
msgid "Couldn't Import Games"
msgstr ""
#: src/utils/steam_parser.py:49
msgid "Steam directory cannot be found."
msgstr ""
#: src/utils/steam_parser.py:49
msgid "Set Steam Location"
msgstr ""
#: src/utils/steam_parser.py:98
msgid "No new games found in Steam library."
msgstr ""
#: src/utils/steam_parser.py:100 src/utils/steam_parser.py:102
msgid "Steam Games Imported"
msgstr ""
#: src/utils/steam_parser.py:100 src/utils/heroic_parser.py:155
msgid "Successfully imported 1 game."
msgstr ""
#: src/utils/steam_parser.py:102 src/utils/heroic_parser.py:157
msgid "Successfully imported"
msgstr ""
#: src/utils/steam_parser.py:102 src/utils/heroic_parser.py:157
msgid "games."
msgstr ""
#: src/utils/heroic_parser.py:49
msgid "Heroic directory cannot be found."
msgstr ""
#: src/utils/heroic_parser.py:49
msgid "Set Heroic Location"
msgstr ""
#: src/utils/heroic_parser.py:153
msgid "No new games found in Heroic library."
msgstr ""
#: src/utils/heroic_parser.py:155 src/utils/heroic_parser.py:157
msgid "Heroic Games Imported"
msgstr ""

BIN
po/hu.mo

Binary file not shown.

877
po/hu.po
View File

@@ -1,303 +1,718 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# This file is distributed under the same license as the cartridges package.
# kramo, 2023.
#
# kramo <contact@kramo.hu>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-29 14:12+0100\n"
"PO-Revision-Date: 2023-01-29 14:19+0100\n"
"POT-Creation-Date: 2023-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-11 21:31+0000\n"
"Last-Translator: kramo <contact@kramo.hu>\n"
"Language-Team: \n"
"Language-Team: Hungarian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/hu/>\n"
"Language: hu\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: Poedit 3.2.2\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17-dev\n"
#. Create toast for undoing the remove action
#: src/main.py:133
msgid "removed"
msgstr "eltávolítva"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
msgid "Cartridges"
msgstr "Kazetták"
#: src/main.py:134
msgid "Undo"
msgstr "Visszavonás"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Játék Indító"
#: src/window.py:195
msgid "Today"
msgstr "Ma"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Indítsa el az összes játékát"
#: src/window.py:197
msgid "Yesterday"
msgstr "Tegnap"
#: 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 ""
"A Kazetták egy egyszerű játékindító. Importálhat játékokat Steam-ből, Lutris-"
"ból, Heroic-ból és több más forrásból bejelentkezés nélkül. Rendezheti és "
"elrejtheti a játékait, valamint letölthet borítóképeket a SteamGridDB-ről."
#: src/window.py:221
msgid "Added: "
msgstr "Hozzáadva: "
#: data/hu.kramo.Cartridges.metainfo.xml.in:22
msgid "Library"
msgstr "Könyvtár"
#: src/window.py:222
msgid "Last played: "
msgstr "Legutóbb játszva: "
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "Játék Szerkesztése"
#: src/window.py:222
msgid "Last played: Never"
msgstr "Legutóbb játszva: Soha"
#: src/window.blp:6 src/window.blp:14 src/utils/steam_parser.py:98
#: src/utils/heroic_parser.py:153
msgid "No Games Found"
msgstr "Nem Találhatóak Játékok"
#: src/window.blp:7
msgid "Try a different search."
msgstr "Próbálkozz más kereséssel."
#: src/window.blp:15
msgid "Use the + button to add games."
msgstr "Használd a + gombot a játékok hozzáadásához."
#: src/window.blp:22
msgid "No Hidden Games"
msgstr "Nincsenek Rejtett Játékok"
#: src/window.blp:23
msgid "Games you hide will appear here."
msgstr "A rejtett játékaid itt lesznek megtalálhatók."
#: src/window.blp:29
msgid "Game Shelf"
msgstr "Játékpolc"
#: src/window.blp:52
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Játék Részletei"
msgstr "Játék Tulajdonságai"
#: src/window.blp:90
msgid "Game Title"
msgstr "Cím"
#: src/window.blp:132 src/gtk/game.blp:62 src/gtk/game.blp:88
msgid "Play"
msgstr "Játék"
#: src/window.blp:241
msgid "Hidden Games"
msgstr "Rejtett Játékok"
#: src/window.blp:299
msgid "Sort"
msgstr "Rendezés"
#: src/window.blp:302
msgid "A-Z"
msgstr "A-Z"
#: src/window.blp:308
msgid "Z-A"
msgstr "Z-A"
#: src/window.blp:314
msgid "Newest"
msgstr "Legújabb"
#: src/window.blp:320
msgid "Oldest"
msgstr "Legrégebbi"
#: src/window.blp:326
msgid "Last Played"
msgstr "Legutóbb játszott"
#: src/window.blp:333
msgid "Show Hidden"
msgstr "Rejtett Játékok"
#: src/window.blp:341
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "Beállítások"
#: src/window.blp:346
msgid "Keyboard Shortcuts"
msgstr "Billentyűparancsok"
#: src/window.blp:351
msgid "About Game Shelf"
msgstr "A Játékpolcról"
#: src/window.blp:360
msgid "Add Game"
msgstr "Játék Hozzáadása"
#: src/window.blp:365
msgid "Import From Steam"
msgstr "Importálás Steam-ből"
#: src/window.blp:370
msgid "Import From Heroic"
msgstr "Importálás Heroic-ból"
#: src/window.blp:379 src/window.blp:398 src/gtk/game.blp:69
#: src/gtk/game.blp:95
msgid "Edit"
msgstr "Szerkeszt"
#: src/window.blp:384 src/gtk/game.blp:74
msgid "Hide"
msgstr "Elrejt"
#: src/window.blp:389 src/window.blp:408 src/gtk/game.blp:79
#: src/gtk/game.blp:105
msgid "Remove"
msgstr "Eltávolít"
#: src/window.blp:403 src/gtk/game.blp:100
msgid "Unhide"
msgstr "Mutat"
#: src/gtk/game.blp:32 src/utils/create_details_window.py:82
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "Cím"
#: src/gtk/preferences.blp:10
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "Szerkesztés"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "Elrejtés"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "Eltávolítás"
#: data/gtk/game.blp:113 src/window.py:283
msgid "Unhide"
msgstr "Elrejtés visszavonása"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Általános"
#: src/gtk/preferences.blp:13
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Kilépés"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
msgid "Search"
msgstr "Keresés"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Beállítások megjelenítése"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Gyorsbillentyűk"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242
#: src/preferences.py:133
msgid "Undo"
msgstr "Visszavonás"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Menü megnyitása"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Játékok"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Új játék hozzáadása"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Játékok importálása"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Rejtett játékok megjelenítése"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Játék eltávolítása"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235
msgid "Behavior"
msgstr "Működés"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Kilépés Játékok Indítása Után"
msgstr "Kilépés játékok indítása után"
#: src/gtk/preferences.blp:25
msgid "Steam Install Location"
msgstr "Steam Telepítés Helye"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "A borítókép indítja el a játékot"
#: src/gtk/preferences.blp:26 src/gtk/preferences.blp:40
msgid "Directory to use when importing games"
msgstr "Az importáláskor használatos mappa"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Felcseréli a \"Játék\" gomb és a borítókép funkcióját"
#: src/gtk/preferences.blp:39
msgid "Heroic Install Location"
msgstr "Heroic Telepítés Helye"
#: src/gtk/preferences.blp:49
msgid "Import Epic Games"
msgstr "Epic Games Játékok Importálása"
#: src/gtk/preferences.blp:57
msgid "Import GOG Games"
msgstr "GOG Játékok Importálása"
#: src/gtk/preferences.blp:65
msgid "Import Sideloaded Games"
msgstr "Manuálisan Hozzáadott Játékok Importálása"
#: src/utils/create_details_window.py:38
msgid "Add New Game"
msgstr "Új Játék Hozzáadása"
#: src/utils/create_details_window.py:42
msgid "Confirm"
msgstr "Megerősít"
#: src/utils/create_details_window.py:44
msgid "Edit Game Details"
msgstr "Játék Részleteinek Szerkesztése"
#: src/utils/create_details_window.py:48
msgid "Apply"
msgstr "Alkalmaz"
#: src/utils/create_details_window.py:51
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101
msgid "Images"
msgstr "Képek"
#: src/utils/create_details_window.py:83
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Jó minőségű képek"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr "Játékborítók veszteségmentes tárolása a tárhely költségére"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Veszélyzóna"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Az összes játék eltávolítása"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427
msgid "Import"
msgstr "Importálás"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Források"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Steam telepítés helye"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Az importáláshoz használt mappa"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "További Steam könyvtárak"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Válasszon ki egyéb mappákat, ahol vannak még Steam játékai"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Törlés"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "Lutris telepítés helye"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Lutris gyorsítótár helye"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr "A játékborítók importáláshoz használt mappa"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr "Steam játékok importálása"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "Heroic telepítés helye"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "Epic Games játékok importálása"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "GOG játékok importálása"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "Manuálisan hozzáadott játékok importálása"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "Palackok"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "Palackok telepítés helye"
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr "itch telepítés helye"
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr "Hitelesítés"
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr "API kulcs"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr "SteamGridDB használata"
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr "Képek letöltése játékok hozzáadásakor és importálásakor"
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr "SteamGridDB képek előnyben részesítése"
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr "Animált képek előnyben részesítése"
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "Nem találhatóak játékok"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "Próbálkozz más kereséssel."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Nincsenek játékok"
#: data/gtk/window.blp:15
msgid "Use the + button to add games."
msgstr "Használja a + gombot a játékok hozzáadásához."
#: data/gtk/window.blp:22
msgid "No Hidden Games"
msgstr "Nincsenek rejtett játékok"
#: data/gtk/window.blp:23
msgid "Games you hide will appear here."
msgstr "A rejtett játékaid itt lesznek megtalálhatóak."
#: data/gtk/window.blp:44 data/gtk/window.blp:293
msgid "Back"
msgstr "Vissza"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "Cím"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "Játék"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "Játék hozzáadása"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "Főmenü"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "Rejtett játékok"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "Rendezés"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "Legújabb"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "Legrégebbi"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "Legutóbb játszott"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "Rejtett játékok"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "Gyorsbillentyűk"
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "A Kazetták névjegye"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr "kramo https://kramo.hu"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} elindítva"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} elrejtve"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} elrejtése visszavonva"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} eltávolítva"
#: src/window.py:262
msgid "Today"
msgstr "Ma"
#: src/window.py:264
msgid "Yesterday"
msgstr "Tegnap"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "Hozzáadva: {}"
#: src/window.py:315
msgid "Never"
msgstr "Soha"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "Legutóbbi játékmenet: {}"
#: src/game.py:156
msgid "Details"
msgstr "Tulajdonságok"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Telepítés nem található"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Válassza ki {} konfigurációs mappáját."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Válassza ki {} adatainak mappáját."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Mappa kiválasztása"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Az összes játék eltávolítva"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Gyorsítótár nem található"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Válassza ki Lutris gyorsítótár mappáját."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Egy API kulcs szükséges a SteamGridDB használatához. {}Itt{} generálhat "
"egyet."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Új játék hozzáadása"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Megerősítés"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "Alkalmazás"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "A játék címe"
#: src/utils/create_details_window.py:88
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "Fejlesztő"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "A fejlesztő vagy kiadó (nem kötelező)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "fájl.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "program"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\útvonal\\ide\\{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/útvonal/ide/{}"
#: src/utils/create_details_window.py:166
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 ""
"Az \"{}\" program elindításához használja ezt a parancsot:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"A \"{}\" fájl megnyitásához az alapértelmezett programmal használja ezt a "
"parancsot:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Ha az elérési útvonalban szóközök vannak, rakja az útvonalat idézőjelek közé!"
#: src/utils/create_details_window.py:189
msgid "Executable"
msgstr "Program"
#: src/utils/create_details_window.py:89
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Fájl megnyitása vagy parancs futtatása a játék indításakor"
#: src/utils/create_details_window.py:98
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Mégse"
#: src/utils/create_details_window.py:141
#: src/utils/create_details_window.py:145
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "Nem Lehet Hozzáadni a Játékot"
msgstr "Nem lehet hozzáadni a játékot"
#: src/utils/create_details_window.py:141
#: src/utils/create_details_window.py:166
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Nem lehet menteni a beállításokat"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "A cím nem lehet üres."
#: src/utils/create_details_window.py:145
#: src/utils/create_details_window.py:170
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "A program nem lehet üres."
#: src/utils/create_details_window.py:166
#: src/utils/create_details_window.py:170
msgid "Couldn't Apply Preferences"
msgstr "Nem Lehet Menteni a Beállításokat"
#: src/utils/create_dialog.py:24
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Rendben"
#: src/utils/steam_parser.py:49 src/utils/heroic_parser.py:49
msgid "Couldn't Import Games"
msgstr "Nem Lehet Importálni a Játékot"
#: src/utils/importer.py:42
msgid "Importing Games"
msgstr "Játékok importálása folyamatban…"
#: src/utils/steam_parser.py:49
msgid "Steam directory cannot be found."
msgstr "A Steam mappa nem található."
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr "Borítóképek importálása folyamatban…"
#: src/utils/steam_parser.py:49
msgid "Set Steam Location"
msgstr "Steam Mappa Kiválasztása"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "Nem találhatóak új játékok a rendszerén."
#: src/utils/steam_parser.py:98
msgid "No new games found in Steam library."
msgstr "Nem találhatók új játékok a Steam könyvtárban."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Játékok importálva"
#: src/utils/steam_parser.py:100 src/utils/steam_parser.py:102
msgid "Steam Games Imported"
msgstr "Steam Játékok Importálva"
#: src/utils/steam_parser.py:100 src/utils/heroic_parser.py:155
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "1 játék sikeresen importálva."
#: src/utils/steam_parser.py:102 src/utils/heroic_parser.py:157
msgid "Successfully imported"
msgstr "Sikeresen importálva"
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Játékok importálva"
#: src/utils/steam_parser.py:102 src/utils/heroic_parser.py:157
msgid "games."
msgstr "játék."
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "{} játék sikeresen importálva."
#: src/utils/heroic_parser.py:49
msgid "Heroic directory cannot be found."
msgstr "A Heroic mappa nem található."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Nem lehet csatlakozni a SteamGridDB-hez"
#: src/utils/heroic_parser.py:49
msgid "Set Heroic Location"
msgstr "Heroic Mappa Kiválasztása"
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr ""
"Úgy tűnik, több Steam könyvtára van. Szeretné őket hozzáadni a "
"beállításokban?"
#: src/utils/heroic_parser.py:153
msgid "No new games found in Heroic library."
msgstr "Nem találhatók új játékok a Heroic könyvtárban."
#~ msgid "Launch your games"
#~ msgstr "Indítsa el a játékait"
#: src/utils/heroic_parser.py:155 src/utils/heroic_parser.py:157
msgid "Heroic Games Imported"
msgstr "Heroic Játékok Importálva"
#, python-brace-format
#~ msgid "Last played: {last_played_date}"
#~ msgstr "Legutóbbi játékmenet: {last_played_date}"
#, python-brace-format
#~ msgid "Successfully imported {games_no} games."
#~ msgstr "{games_no} játék sikeresen importálva."
#, python-brace-format
#~ msgid "C:\\path\\to\\{file_name}"
#~ msgstr "C:\\útvonal\\a\\fájlhoz\\{file_name}"
#, python-brace-format
#~ msgid "/path/to/{file_name}"
#~ msgstr "/útvonal/a/fájlhoz/{file_name}"
#~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "Általános"
#~ msgctxt "shortcuts window"
#~ msgid "Search"
#~ msgstr "Keresés"
#~ msgctxt "shortcuts window"
#~ msgid "Undo"
#~ msgstr "Visszavonás"
#~ msgid "First stable release"
#~ msgstr "Első stabil kiadás"
#~ msgctxt "shortcut window"
#~ msgid "General"
#~ msgstr "Általános"
#~ msgctxt "shortcut window"
#~ msgid "Search"
#~ msgstr "Keresés"
#~ msgctxt "shortcut window"
#~ msgid "Undo"
#~ msgstr "Visszavonás"
#~ msgid "Couldn't Import Games"
#~ msgstr "Nem lehet importálni a játékokat"
#~ msgid "The Bottles directory cannot be found."
#~ msgstr "A Palackok mappa nem található."
#~ msgid "Set Bottles Location"
#~ msgstr "Palackok mappa kiválasztása"
#~ msgid "No new games were found in the Bottles library."
#~ msgstr "Nem találhatók új játékok a Palackok könyvtárban."
#~ msgid "Bottles Games Imported"
#~ msgstr "Játékok importálva a Palackok-ból"
#~ msgid "The Heroic directory cannot be found."
#~ msgstr "A Heroic mappa nem található."
#~ msgid "Heroic Games Imported"
#~ msgstr "Játékok importálva a Heroic-ból"
#~ msgid "No new games were found in the Steam library."
#~ msgstr "Nem találhatóak új játékok a Steam könyvtárban."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "A Steam mappa nem található."
#~ msgid "Talking to Steam"
#~ msgstr "Adatok lekérése a Steam-ből"
#, python-brace-format
#~ msgid "{self.win.games[game_id].name} removed"
#~ msgstr "{self.win.games[game_id].name} eltávolítva"
#~ msgid "Added: {self.get_time(current_game.added)}"
#~ msgstr "Hozzáadva: {self.get_time(current_game.added)}"
#~ msgid "Successfully imported {str(len(bottles_games))} games."
#~ msgstr "{str(len(bottles_games))} játék sikeresen importálva."
#~ msgid "Successfully imported {str(len(heroic_games))} games."
#~ msgstr "{str(len(heroic_games))} játék sikeresen importálva."
#~ msgid "Successfully imported"
#~ msgstr "Sikeresen importálva"
#~ msgid "games."
#~ msgstr "játék."
#~ msgid "kramo"
#~ msgstr "kramo"
#~ msgid "Import From Heroic"
#~ msgstr "Importálás Heroic-ból"
#~ msgid "No new games were found on your device."
#~ msgstr "Nem találhatóak új játékok az eszközén."
#~ msgid "Set Steam Location"
#~ msgstr "Steam mappa kiválasztása"

695
po/it.po Normal file
View File

@@ -0,0 +1,695 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# Alessandro Iepure <alessandro.iepure@gmail.com>, 2023.
# albanobattistella <albano_battistella@hotmail.com>, 2023.
# kramo <contact@kramo.hu>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n"
"Last-Translator: Alessandro Iepure <alessandro.iepure@gmail.com>\n"
"Language-Team: Italian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/it/>\n"
"Language: it\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-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
msgid "Cartridges"
msgstr "Cartucce"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Launcher di giochi"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Avvia tutti i tuoi giochi"
#: 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 ""
"Cartucce è un semplice launcher per tutti i tuoi giochi. Supporta l'import "
"di giochi da Steam, Lutris, Heroic e altri senza bisogno di login. Puoi "
"organizzare e nascondere i giochi oppure scaricare le copertine da "
"StreamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22
msgid "Library"
msgstr "Libreria"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "Modifica dettagli del gioco"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Dettagli del gioco"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "Preferenze"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "Titolo"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "Modifica"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "Nascondi"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "Rimuovi"
#: data/gtk/game.blp:113 src/window.py:283
msgid "Unhide"
msgstr "Mostra"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Generale"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Chiudi"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
msgid "Search"
msgstr "Cerca"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Mostra preferenze"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Scorciatoie da tastiera"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242
#: src/preferences.py:133
msgid "Undo"
msgstr "Annulla"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Apri il menù"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Giochi"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Aggiungi un nuovo gioco"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Importa giochi"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Mostra giochi nascosti"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Rimuovi gioco"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235
msgid "Behavior"
msgstr "Comportamento"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Esci dopo l'avvio dei giochi"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "La copertina avvia il gioco"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Inverti il comportamento della copertina con il pulsante di avvio"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101
msgid "Images"
msgstr "Immagini"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Immagini di alta qualità"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
"Salva copertine dei giochi in formato lossless, consuma più spazio su disco"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Zona di pericolo"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Rimuovi tutti i giochi"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427
msgid "Import"
msgstr "Importa"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Fonti"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Percorso Installazione Steam"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Cartella da usare per importare i giochi"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Librerie Steam Extra"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Seleziona le altre directory in cui sono installati i giochi di Steam"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Cancella"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "Posizione di installazione di Lutris"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Posizione della cache di Lutris"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr ""
"Directory da utilizzare durante l'importazione delle copertine dei giochi"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr "Importa giochi da Steam"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "Percorso Installazione Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "Importa giochi da Epic Games"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "Importa giochi da GOG"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "Importa giochi da aggiunti manualmente"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "Percorso Installazione Bottles"
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr "itch Posizione di installazione"
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr "Autenticazione"
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr "Chiave API"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr "Usa SteamGridDB"
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr "Scarica immagini durante l'aggiunta o l'import di giochi"
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr "Preferisci alle immagini ufficiali"
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr "Preferisci immagini animate"
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "Nessun Gioco Trovato"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "Prova una ricerca diversa."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Nessun Gioco"
#: data/gtk/window.blp:15
msgid "Use the + button to add games."
msgstr "Usa il pulsante + per aggiungere giochi."
#: data/gtk/window.blp:22
msgid "No Hidden Games"
msgstr "Nessun Gioco Nascosto"
#: data/gtk/window.blp:23
msgid "Games you hide will appear here."
msgstr "I giochi nascosti appariranno qui."
#: data/gtk/window.blp:44 data/gtk/window.blp:293
msgid "Back"
msgstr "Indietro"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "Titolo del gioco"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "Gioca"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "Aggiungi Gioco"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "Menù Principale"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "Giochi Nascosti"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "Ordina per"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "Più recente"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "Più vecchio"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "Ultimo Avvio"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "Mostra Nascosti"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "Scorciatoie da Tastiera"
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "Informazioni su Cartucce"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr "Alessandro Iepure https://ale.iepure.me"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} avviato"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} nascosto"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} visibile"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} rimosso"
#: src/window.py:262
msgid "Today"
msgstr "Oggi"
#: src/window.py:264
msgid "Yesterday"
msgstr "Ieri"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "Aggiunto il: {}"
#: src/window.py:315
msgid "Never"
msgstr "Mai"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "Ultima riproduzione: {}"
#: src/game.py:156
msgid "Details"
msgstr "Dettagli"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Installazione non trovata"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Selezionare la directory di configurazione {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Selezionare la directory dei dati {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Imposta percorso"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Tutti i giochi sono stati rimossi"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Cache non trovata"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Selezionare la directory della cache di Lutris."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Per utilizzare SteamGridDB è necessaria una chiave API. Puoi generarne una {}"
"qui{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Aggiungi un Nuovo Gioco"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Conferma"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "Applica"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "Titolo del gioco"
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "Sviluppatore"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Lo sviluppatore o l'editore (opzionale)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "file.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "programma"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\path\\to{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/percorso/to/{}"
#: src/utils/create_details_window.py:166
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 ""
"Per lanciare l'eseguibile \"{}\", utilizzare il comando:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Per aprire il file \"{}\" con l'applicazione predefinita, utilizzare:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Se il percorso contiene spazi, assicurarsi di avvolgerlo in doppi apici!"
#: src/utils/create_details_window.py:189
msgid "Executable"
msgstr "Eseguibile"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "File da aprire o comando da lanciare per avviare il gioco"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Annulla"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "Impossibile aggiungere il gioco"
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Impossibile applicare le preferenze"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "Il titolo del gioco non può essere vuoto."
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "L'eseguibile non può essere vuoto."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Chiudi"
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr "Import dei giochi in corso…"
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr "Import delle copertine…"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "Nessun nuovo gioco trovato nel tuo sistema."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Gioco importato"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "Un gioco importato con successo."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Giochi importati"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "Importazione riuscita di {} giochi."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Impossibile connettersi a SteamGridDB"
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr ""
"Sembra che tu abbia più librerie Steam. Vorresti aggiungerle nelle "
"preferenze?"
#~ msgid "Launch your games"
#~ msgstr "Avvia i tuoi giochi"
#, python-brace-format
#~ msgid "Last played: {last_played_date}"
#~ msgstr "Ultimo avvio: {last_played_date}"
#, python-brace-format
#~ msgid "Successfully imported {games_no} games."
#~ msgstr "{games_no} giochi importati con successo."
#, python-brace-format
#~ msgid "C:\\path\\to\\{file_name}"
#~ msgstr "C:\\percorso\\per\\{file_name}"
#, python-brace-format
#~ msgid "/path/to/{file_name}"
#~ msgstr "/percorso/per/{file_name}"
#, fuzzy
#~| msgid "General"
#~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "Generale"
#, fuzzy
#~| msgid "Search"
#~ msgctxt "shortcuts window"
#~ msgid "Search"
#~ msgstr "Cerca"
#, fuzzy
#~| msgid "Undo"
#~ msgctxt "shortcuts window"
#~ msgid "Undo"
#~ msgstr "Annulla"
#~ msgid "First stable release"
#~ msgstr "Prima versione stabile"
#~ msgctxt "shortcut window"
#~ msgid "General"
#~ msgstr "Generale"
#~ msgctxt "shortcut window"
#~ msgid "Search"
#~ msgstr "Cerca"
#~ msgctxt "shortcut window"
#~ msgid "Undo"
#~ msgstr "Annulla"
#~ msgid "Couldn't Import Games"
#~ msgstr "Non è stato possibile importare i giochi"
#~ msgid "The Bottles directory cannot be found."
#~ msgstr "Non è possibile trovare il percorso per Bottles."
#~ msgid "Set Bottles Location"
#~ msgstr "Imposta il percorso per Bottles"
#~ msgid "No new games were found in the Bottles library."
#~ msgstr "Nessun nuovo gioco trovato nella libreria di Bottles."
#~ msgid "Bottles Games Imported"
#~ msgstr "Importati giochi da Bottles"
#~ msgid "The Heroic directory cannot be found."
#~ msgstr "Non è possibile trovare il percorso per Heroic."
#~ msgid "Heroic Games Imported"
#~ msgstr "Importati giochi da Heroic"
#~ msgid "No new games were found in the Steam library."
#~ msgstr "Nessun nuovo gioco trovato nella libreria di Steam."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Non è possibile trovare il percorso per Steam."
#~ msgid "Talking to Steam"
#~ msgstr "Parlando con Steam"

611
po/ko.po Normal file
View File

@@ -0,0 +1,611 @@
# 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-04-11 23:33+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:29
#: src/main.py:119
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.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:22
msgid "Library"
msgstr "라이브러리"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr ""
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr ""
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr ""
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr ""
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr ""
#: data/gtk/game.blp:113 src/window.py:283
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:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
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/main.py:186 src/main.py:242
#: src/preferences.py:133
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:235
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/utils/create_details_window.py:101
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:427
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:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr ""
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr ""
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr ""
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr ""
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr ""
#: data/gtk/preferences.blp:138
#, fuzzy
#| msgid "No Games"
msgid "Import Steam Games"
msgstr "게임이 없습니다"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr ""
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr ""
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr ""
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr ""
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr ""
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr ""
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr ""
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr ""
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr ""
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr ""
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr ""
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr ""
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr ""
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr ""
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr ""
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr ""
#: data/gtk/window.blp:14
msgid "No Games"
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:293
msgid "Back"
msgstr "뒤로"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr ""
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr ""
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr ""
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr ""
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "정렬"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:375
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "카트리지 정보"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr ""
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr ""
#: src/window.py:262
msgid "Today"
msgstr ""
#: src/window.py:264
msgid "Yesterday"
msgstr ""
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr ""
#: src/window.py:315
msgid "Never"
msgstr ""
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr ""
#: src/game.py:156
msgid "Details"
msgstr ""
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr ""
#: src/preferences.py:132
msgid "All games removed"
msgstr ""
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr ""
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr ""
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr ""
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr ""
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr ""
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr ""
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr ""
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr ""
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr ""
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr ""
#: src/utils/create_details_window.py:166
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/utils/create_details_window.py:189
msgid "Executable"
msgstr ""
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr ""
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr ""
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr ""
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr ""
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr ""
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr ""
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr ""
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr ""
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr ""
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr ""
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr ""
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr ""
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr ""
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr ""
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr ""
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr ""
#~ msgid "Launch your games"
#~ msgstr "게임을 실행합니다"

View File

@@ -1 +1 @@
i18n.gettext('gameshelf', preset: 'glib')
i18n.gettext('cartridges', preset: 'glib')

733
po/nb_NO.po Normal file
View File

@@ -0,0 +1,733 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# kramo <contact@kramo.hu>, 2023.
# Allan Nordhøy <epost@anotheragency.no>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-06 08:09+0000\n"
"Last-Translator: Allan Nordhøy <epost@anotheragency.no>\n"
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/"
"cartridges/cartridges/nb_NO/>\n"
"Language: nb_NO\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-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
msgid "Cartridges"
msgstr "Cartridges"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Spillutvalgstarter"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Start alle spillene dine"
#: 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 er en enkel spillutvalgsoppstarter for alle spillene dine. Den "
"har støtte for importering av spill fra Steam, Lutris, Heroic, og flere uten "
"innlogging. Du kan sortere og skjule spil eller laste ned omslagsbilder fra "
"SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22
msgid "Library"
msgstr "Bibliotek"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "Rediger spilldetaljer"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Spilldetaljer"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "Innstillinger"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "Navn"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "Rediger"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "Skjul"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "Fjern"
#: data/gtk/game.blp:113 src/window.py:283
msgid "Unhide"
msgstr "Opphev fjerning"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Generelt"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Avslutt"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
#, fuzzy
msgid "Search"
msgstr "Søk"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Vis innstillinger"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Snarveier"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242
#: src/preferences.py:133
msgid "Undo"
msgstr "Angre"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Åpne meny"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Spill"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Legg til nytt spill"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Importer spill"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Vis skjulte spill"
#: data/gtk/help-overlay.blp:63
#, fuzzy
#| msgid "Remove"
msgid "Remove game"
msgstr "Fjern spill"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235
#, fuzzy
msgid "Behavior"
msgstr "Adferd"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Avslutt etter oppstart av spill"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Omslagsbilde starter spill"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Bytter adferd for omslagsbilde og spill-knapp"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101
msgid "Images"
msgstr "Bilder"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Høykvalitetsbilder"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr "Lagre spillomslag tapsfritt på bekostning av lagringsplass"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Faresone"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Fjern alle spill"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427
msgid "Import"
msgstr "Importer"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Kilder"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Installasjonssted for Steam"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Mappe å bruke ved import av spill"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Ekstra Steam-bibliotek"
#: data/gtk/preferences.blp:90
#, fuzzy
msgid "Select other directories where you have Steam games installed"
msgstr "Velg andre mapper der du har Steam-spill installert"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Tøm"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "Installasjonssted for Lutris"
#: data/gtk/preferences.blp:128
#, fuzzy
#| msgid "Set Heroic Location"
msgid "Lutris Cache Location"
msgstr "Posisjon for Lutris-hurtiglager"
#: data/gtk/preferences.blp:129
#, fuzzy
#| msgid "Directory to use when importing games"
msgid "Directory to use when importing game covers"
msgstr "Mappe å bruke ved import av spillomslag"
#: data/gtk/preferences.blp:138
#, fuzzy
#| msgid "Import Sideloaded Games"
msgid "Import Steam Games"
msgstr "Importer sideinnlastede spill"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "Installasjonssted for Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "Importer Epic-spill"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "Importer GOG-spill"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "Importer sideinnlastede spill"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "Installasjonssted for Bottles"
#: data/gtk/preferences.blp:205
#, fuzzy
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:209
#, fuzzy
#| msgid "Heroic Install Location"
msgid "itch Install Location"
msgstr "Installasjonssted for itch"
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr "Identitetsbekreftelse"
#: data/gtk/preferences.blp:230
#, fuzzy
msgid "API Key"
msgstr "API-nøkkel"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr "Bruk SteamGridDB"
#: data/gtk/preferences.blp:239
#, fuzzy
#| msgid "Directory to use when importing games"
msgid "Download images when adding or importing games"
msgstr "Mappe å bruke ved import av spill"
#: data/gtk/preferences.blp:248
#, fuzzy
msgid "Prefer Over Official Images"
msgstr "Foretrekk over offisielle bilder"
#: data/gtk/preferences.blp:257
#, fuzzy
msgid "Prefer Animated Images"
msgstr "Foretrekk over offisielle bilder"
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "Fant ingen spill"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "Prøv et forskjellig søk."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Ingen spill"
#: data/gtk/window.blp:15
msgid "Use the + button to add games."
msgstr "Bruk «+»-knappen for å legge til spill."
#: data/gtk/window.blp:22
msgid "No Hidden Games"
msgstr "Ingen skjulte spill"
#: data/gtk/window.blp:23
msgid "Games you hide will appear here."
msgstr "Spill du skjuler vil vises her."
#: data/gtk/window.blp:44 data/gtk/window.blp:293
msgid "Back"
msgstr "Tilbake"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "Spillnavn"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "Spill"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "Legg til spill"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "Hovedmeny"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "Skjulte spill"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "Sorter"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "A-Å"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "Å-A"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "Nyeste"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "Eldste"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "Sist spilt"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "Vis skjulte"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "Tastatursnarveier"
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "Om"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr "Allan Nordhøy, <epost@anotheragency.no>"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} startet"
#. The variable is the title of the game
#: src/main.py:182
#, fuzzy
#| msgid "Show Hidden"
msgid "{} hidden"
msgstr "{} skjult"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} synlig"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} fjernet"
#: src/window.py:262
msgid "Today"
msgstr "I dag"
#: src/window.py:264
msgid "Yesterday"
msgstr "I går"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "Tillagt: {}"
#: src/window.py:315
msgid "Never"
msgstr "Aldri"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "Sist spilt: {}"
#: src/game.py:156
msgid "Details"
msgstr "Detaljer"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Fant ikke installasjonen"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Velg {}-oppsettsmappen."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Velg {}-datamappen."
#: src/preferences.py:61 src/preferences.py:240
#, fuzzy
#| msgid "Set Steam Location"
msgid "Set Location"
msgstr "Velg mappe"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Alle spill fjernet"
#: src/preferences.py:237
#, fuzzy
msgid "Cache Not Found"
msgstr "Fant ikke hurtiglager"
#: src/preferences.py:238
#, fuzzy
msgid "Select the Lutris cache directory."
msgstr "Velg {name}-datamappen."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"En API-nøkkel kreves for å bruke SteamGridDB. Du kan generere en {}her{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Legg til nytt spill"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Bekreft"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "Bruk"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "Navnet på spillet"
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "Utvikler"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Utvikler eller utgiver (valgfritt)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "fil.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "program"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\sti\\til\\{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/sti/til/{}"
#: src/utils/create_details_window.py:166
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 ""
"Start den kjørbare «{}»-filen med denne kommandoen:\n"
"\n"
"<tt>«{}»</tt>\n"
"\n"
"For å åpne filen «{}» med forvalgt program bruker du:\n"
"\n"
"<tt>{} «{}»</tt>\n"
"\n"
"Hvis stien inneholder mellomrom må du pakke den inn i doble engelske "
"sitattegn."
#: src/utils/create_details_window.py:189
msgid "Executable"
msgstr "Kjørbar"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Fil å åpne eller kommando å kjøre ved oppstart av spillet"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Avbryt"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "Kunne ikke legge til spill"
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Kunne ikke ta i bruk endringer"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "Spillnavnet kan ikke være tomt."
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "Kjørbar fil må angis."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Forkast"
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr "Importerer spill …"
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr "Importerer omslag …"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "Fant ingen nye spill på systemet ditt."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Spill importert"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "Importerte ett spill."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Spill importert"
#. The variable is the number of games
#: src/utils/importer.py:109
#, fuzzy
#| msgid "Successfully imported 1 game."
msgid "Successfully imported {} games."
msgstr "Importerte {} spill."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
#, fuzzy
msgid "Couldn't Connect to SteamGridDB"
msgstr "Kunne ikke koble til SteamGridDB"
#: src/utils/importer.py:145
#, fuzzy
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "Du har flere Steam-bibliotek. Vil du legge dem til i innstillingene?"
#~ msgid "Launch your games"
#~ msgstr "Start spillene dine"
#, python-brace-format
#~ msgid "Last played: {last_played_date}"
#~ msgstr "Sist spilt: {last_played_date}"
#, python-brace-format
#~ msgid "Successfully imported {games_no} games."
#~ msgstr "Importerte {games_no} spill."
#, python-brace-format
#~ msgid "C:\\path\\to\\{file_name}"
#~ msgstr "C:\\sti\\til\\{file_name}"
#, python-brace-format
#~ msgid "/path/to/{file_name}"
#~ msgstr "/sti/til/{file_name}"
#, fuzzy
#~| msgid "General"
#~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "Generelt"
#, fuzzy
#~ msgctxt "shortcuts window"
#~ msgid "Search"
#~ msgstr "Søk"
#, fuzzy
#~| msgid "Undo"
#~ msgctxt "shortcuts window"
#~ msgid "Undo"
#~ msgstr "Angre"
#~ msgid "First stable release"
#~ msgstr "Første ordentlige utgave"
#~ msgctxt "shortcut window"
#~ msgid "General"
#~ msgstr "Generelt"
#~ msgctxt "shortcut window"
#~ msgid "Search"
#~ msgstr "Søk"
#~ msgctxt "shortcut window"
#~ msgid "Undo"
#~ msgstr "Angre"
#~ msgid "Couldn't Import Games"
#~ msgstr "Kunne ikke importere spill"
#~ msgid "The Bottles directory cannot be found."
#~ msgstr "Finner ikke Bottles-mappen."
#~ msgid "Set Bottles Location"
#~ msgstr "Sett mappe for Bottles"
#~ msgid "No new games were found in the Bottles library."
#~ msgstr "Fant ingen nye spill i Bottles-biblioteket."
#~ msgid "Bottles Games Imported"
#~ msgstr "Bottles-spill importert"
#~ msgid "The Heroic directory cannot be found."
#~ msgstr "Finner ikke Heroic-spillmappen."
#~ msgid "Heroic Games Imported"
#~ msgstr "Heroic-spill importert"
#~ msgid "No new games were found in the Steam library."
#~ msgstr "Fant ingen nye spill i Steam-biblioteket."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Kunne ikke finne Steam-mappen."
#, fuzzy
#~ msgid "Talking to Steam"
#~ msgstr "Snakker med Steam"
#, fuzzy
#~ msgid "Successfully imported {str(len(bottles_games))} games."
#~ msgstr "Importerte ett spill."
#, fuzzy
#~ msgid "Successfully imported {str(len(heroic_games))} games."
#~ msgstr "Importerte ett spill."
#~ msgid "Successfully imported"
#~ msgstr "Importert"
#~ msgid "games."
#~ msgstr "spill."

701
po/nl.po Normal file
View File

@@ -0,0 +1,701 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# Philip Goto <philip.goto@gmail.com>, 2023.
# kramo <contact@kramo.hu>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n"
"Last-Translator: Philip Goto <philip.goto@gmail.com>\n"
"Language-Team: Dutch <https://hosted.weblate.org/projects/cartridges/"
"cartridges/nl/>\n"
"Language: nl\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-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
msgid "Cartridges"
msgstr "Cartridges"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Game-launcher"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Start al uw games op"
#: 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 is een eenvoudige launcher voor al uw games. Het biedt "
"ondersteuning voor het importeren van games van Steam, Lutris, Heroic en "
"meer, zonder in te hoeven loggen. U kunt spellen sorteren, verbergen en "
"covers van SteamGridDB downloaden."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22
msgid "Library"
msgstr "Bibliotheek"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "Game-details bewerken"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Game-details"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "Voorkeuren"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "Titel"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "Bewerken"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "Verbergen"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "Verwijderen"
#: data/gtk/game.blp:113 src/window.py:283
msgid "Unhide"
msgstr "Niet meer verbergen"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Algemeen"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Sluiten"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
msgid "Search"
msgstr "Zoeken"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Voorkeuren tonen"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Sneltoetsen"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242
#: src/preferences.py:133
msgid "Undo"
msgstr "Ongedaan maken"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Menu openen"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Games"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Nieuwe game toevoegen"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Games importeren"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Verborgen games tonen"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Game verwijderen"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235
msgid "Behavior"
msgstr "Gedrag"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Sluiten na starten van game"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Cover-afbeelding start game"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Wisselt het gedrag van de cover-afbeelding en de speelknop om"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101
msgid "Images"
msgstr "Afbeeldingen"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Afbeeldingen van hoge kwaliteit"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
"Game-covers zonder kwaliteitsverlies opslaan ten koste van opslagruimte"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Gevarenzone"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Alle games verwijderen"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427
msgid "Import"
msgstr "Importeren"
#: data/gtk/preferences.blp:73
msgid "Sources"
msgstr "Bronnen"
#: data/gtk/preferences.blp:76
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:80
msgid "Steam Install Location"
msgstr "Installatielocatie van Steam"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Map om te gebruiken bij het importeren van games"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Extra Steam-bibliotheken"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Andere mappen waar u Steam-games heeft geïnstalleerd"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Wissen"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "Installatielocatie van Lutris"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Cache-locatie van Lutris"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr "Map om te gebruiken bij het importeren van game-covers"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr "Steam-games importeren"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "Installatielocatie van Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "Epic-games importeren"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "GOG-games importeren"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "Gesideloade games importeren"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "Installatielocatie van Bottles"
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr "Installatielocatie van itch"
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr "Authenticatie"
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr "API-sleutel"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr "SteamGridDB gebruiken"
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr "Afbeeldingen downloaden bij het toevoegen of importeren van games"
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr "Voorkeur geven boven officiële afbeeldingen"
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr "Voorkeur geven aan geanimeerde afbeeldingen"
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "Geen games gevonden"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "Probeer een andere zoekopdracht"
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Geen games"
#: data/gtk/window.blp:15
msgid "Use the + button to add games."
msgstr "Gebruik de plusknop om games toe te voegen"
#: data/gtk/window.blp:22
msgid "No Hidden Games"
msgstr "Geen verborgen games"
#: data/gtk/window.blp:23
msgid "Games you hide will appear here."
msgstr "Games die u verbergt zullen hier verschijnen"
#: data/gtk/window.blp:44 data/gtk/window.blp:293
msgid "Back"
msgstr "Terug"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "Game-titel"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "Spelen"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "Game toevoegen"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "Hoofdmenu"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "Verborgen games"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "Sorteren"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "Nieuwste"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "Oudste"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "Laatst gespeeld"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "Verborgen games tonen"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "Sneltoetsen"
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "Over Cartridges"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr "Philip Goto https://flipflop97.github.io/"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} gestart"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} verborgen"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} hersteld"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} verwijderd"
#: src/window.py:262
msgid "Today"
msgstr "Vandaag"
#: src/window.py:264
msgid "Yesterday"
msgstr "Gisteren"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "Toegevoegd op {}"
#: src/window.py:315
msgid "Never"
msgstr "Nooit"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "Laatst gespeeld: {}"
#: src/game.py:156
msgid "Details"
msgstr "Details"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Installatie niet gevonden"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Selecteer de configuratiemap van {}"
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Selecteer de gegevensmap van {}"
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Locatie instellen"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Alle games verwijderd"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Cache niet gevonden"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Selecteer de cache-map van Lutris"
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Een API-sleutel is vereist om SteamGridDB te gebruiken. U kunt er {}hier{} "
"één genereren."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Nieuwe game toevoegen"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Bevestigen"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "Toepassen"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "De titel van de game"
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "Ontwikkelaar"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "De ontwikkelaar of uitgever (optioneel)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "bestand.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "programma"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\pad\\naar\\{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/pad/naar/{}"
#: src/utils/create_details_window.py:166
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 ""
"Om het programma {} te starten, gebruik de volgende opdracht:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Om het bestand {} met de standaard-app te openen, gebruik de volgende "
"opdracht:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Indien het pad spaties bevat, zorg er dan voor dat er dubbele "
"aanhalingstekens omheen staan!"
#: src/utils/create_details_window.py:189
msgid "Executable"
msgstr "Programmabestand"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr ""
"Te openen bestand of uit te voeren opdracht bij het starten van de game"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Annuleren"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "Kon game niet toevoegen"
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Kon voorkeuren niet toepassen"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "Game-titel mag niet leeg zijn"
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "Programmabestand mag niet leeg zijn"
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Sluiten"
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr "Games importeren…"
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr "Covers importeren…"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "Geen nieuwe games gevonden op uw systeem"
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Game geïmporteerd"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "1 game succesvol geïmporteerd"
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Games geïmporteerd"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "{} games succesvol geïmporteerd"
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Kan geen verbinding maken met SteamGridDB"
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr ""
"Het lijkt erop dat u meerdere Steam-bibliotheken heeft. Wilt u ze toevoegen "
"in de voorkeuren?"
#~ msgid "Launch your games"
#~ msgstr "Start uw games op"
#, python-brace-format
#~ msgid "Last played: {last_played_date}"
#~ msgstr "Laatst gespeeld op {last_played_date}"
#, python-brace-format
#~ msgid "Successfully imported {games_no} games."
#~ msgstr "{games_no} games succesvol geïmporteerd"
#, python-brace-format
#~ msgid "C:\\path\\to\\{file_name}"
#~ msgstr "C:\\pad\\naar\\{file_name}"
#, python-brace-format
#~ msgid "/path/to/{file_name}"
#~ msgstr "/pad/naar/{file_name}"
#, fuzzy
#~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "Algemeen"
#, fuzzy
#~ msgctxt "shortcuts window"
#~ msgid "Search"
#~ msgstr "Zoeken"
#, fuzzy
#~ msgctxt "shortcuts window"
#~ msgid "Undo"
#~ msgstr "Ongedaan maken"
#~ msgid "First stable release"
#~ msgstr "Eerste stabiele uitgave"
#~ msgctxt "shortcut window"
#~ msgid "General"
#~ msgstr "Algemeen"
#~ msgctxt "shortcut window"
#~ msgid "Search"
#~ msgstr "Zoeken"
#~ msgctxt "shortcut window"
#~ msgid "Undo"
#~ msgstr "Ongedaan maken"
#~ msgid "Couldn't Import Games"
#~ msgstr "Kon games niet importeren"
#~ msgid "The Bottles directory cannot be found."
#~ msgstr "De Bottles-map kan niet worden gevonden"
#~ msgid "Set Bottles Location"
#~ msgstr "Bottles-locatie instellen"
#~ msgid "No new games were found in the Bottles library."
#~ msgstr "Geen nieuwe games gevonden in de Bottles-bibliotheek"
#~ msgid "Bottles Games Imported"
#~ msgstr "Bottles-games geïmporteerd"
#~ msgid "The Heroic directory cannot be found."
#~ msgstr "De Heroic-map kan niet worden gevonden"
#~ msgid "Heroic Games Imported"
#~ msgstr "Heroic-games geïmporteerd"
#~ msgid "No new games were found in the Steam library."
#~ msgstr "Geen nieuwe games gevonden in de Steam-bibliotheek"
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Steam-map kan niet worden gevonden"
#~ msgid "Talking to Steam"
#~ msgstr "Steam-bibliotheek aan het ophalen"
#, fuzzy
#~| msgid "No new games were found in the Heroic library."
#~ msgid "No new games were found on your device."
#~ msgstr "Geen nieuwe games gevonden in de Heroic-bibliotheek"
#~ msgid "Set Steam Location"
#~ msgstr "Steam-locatie instellen"

693
po/pt.po Normal file
View File

@@ -0,0 +1,693 @@
# 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-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+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.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
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.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:22
msgid "Library"
msgstr "Biblioteca"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "Editar detalhes do jogo"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Detalhes do jogo"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "Preferências"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "Título"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "Editar"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "Ocultar"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "Remover"
#: data/gtk/game.blp:113 src/window.py:283
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:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
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/main.py:186 src/main.py:242
#: src/preferences.py:133
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:235
msgid "Behavior"
msgstr "Comportamento"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Sair depois de iniciar os jogos"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Clicar na imagem da capa inicia o jogo"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Troca o comportamento da imagem da capa e do botão de jogar"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101
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:427
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:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Diretório para usar ao importar jogos"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Bibliotecas adicionais da Steam"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Selecione outros diretórios onde você tem jogos da Steam instalados"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Limpar"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "Local de instalação do Lutris"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Local do cache do Lutris"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr "Diretório para usar ao importar imagens das capas dos jogos"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr "Importar jogos da Steam"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "Local de instalação do Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "Importar jogos da Epic Games"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "Importar jogos do GOG"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "Importar jogos adicionados manualmente"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "Local de instalação do Bottles"
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr "Local de instalação do itch"
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr "Autenticação"
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr "Chave da API"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr "Usar SteamGridDB"
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr "Baixa imagens ao adicionar ou importar jogos"
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr "Preferir mais que as imagens oficiais"
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr "Preferir imagens animadas"
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "Nenhum jogo encontrado"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "Tente outra pesquisa."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Sem jogos"
#: data/gtk/window.blp:15
msgid "Use the + button to add games."
msgstr "Use o botão + para adicionar jogos."
#: data/gtk/window.blp:22
msgid "No Hidden Games"
msgstr "Sem jogos ocultados"
#: data/gtk/window.blp:23
msgid "Games you hide will appear here."
msgstr "Jogos ocultados vão aparecer aqui."
#: data/gtk/window.blp:44 data/gtk/window.blp:293
msgid "Back"
msgstr "Voltar"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "Título do jogo"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "Jogar"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "Adicionar jogo"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "Menu principal"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "Jogos ocultados"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "Ordenar"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "Mais novo"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "Mais antigo"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "Última vez jogado"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "Mostrar ocultados"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "Atalhos de teclado"
#: data/gtk/window.blp:412
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:137
msgid "translator_credits"
msgstr "Pedro Sader Azevedo"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} iniciado"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} está oculto"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} está exposto"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} removido"
#: src/window.py:262
msgid "Today"
msgstr "Hoje"
#: src/window.py:264
msgid "Yesterday"
msgstr "Ontem"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "Adicionado: {}"
#: src/window.py:315
msgid "Never"
msgstr "Nunca"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "Última vez jogado"
#: src/game.py:156
msgid "Details"
msgstr "Detalhes"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Instalação não encontrada"
#. The variable is the name of the game launcher
#: src/preferences.py:56
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:59
msgid "Select the {} data directory."
msgstr "Selecione o diretório de informações de {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Definir local"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Todos os jogos foram removidos"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Cache não encontrado"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Selecione o diretório de cache do Lutris."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Uma chave de API é necessária para usar a SteamGridDB. Você pode gerar uma "
"chave {}aqui{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Adicionar novo jogo"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Confirmar"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "Aplicar"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "O título do jogo"
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "Desenvolvedor"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "O desenvolvedor ou publicador (opcional)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "arquivo.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "programa"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\caminho\\para\\{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/caminho/para/{}"
#: src/utils/create_details_window.py:166
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/utils/create_details_window.py:189
msgid "Executable"
msgstr "Executável"
#: src/utils/create_details_window.py:190
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"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Cancelar"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "Não foi possível adicionar o jogo"
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Não foi possível aplicar as preferências"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "O título do jogo não pode estar vazio."
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "O executável não pode estar vazio."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Dispensar"
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr "Importando jogos…"
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr "Importando capas…"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "Nenhum jogo novo foi encontrado no seu sistema."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Jogo importado"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "1 jogo foi importado com sucesso."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Jogos importados"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "{} jogos foram importados com sucesso."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Não foi possível conectar à SteamGridDB"
#: src/utils/importer.py:145
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"

604
po/ro.po Normal file
View File

@@ -0,0 +1,604 @@
# 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-04-11 23:33+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:29
#: src/main.py:119
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.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:22
msgid "Library"
msgstr "Bibliotecă"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "Editați detaliile jocului"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Detalii joc"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "Preferințe"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr ""
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr ""
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr ""
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr ""
#: data/gtk/game.blp:113 src/window.py:283
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:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
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/main.py:186 src/main.py:242
#: src/preferences.py:133
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:235
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/utils/create_details_window.py:101
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:427
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:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr ""
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr ""
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr ""
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr ""
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr ""
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr ""
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr ""
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr ""
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr ""
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr ""
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr ""
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr ""
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr ""
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr ""
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr ""
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr ""
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr ""
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr ""
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr ""
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr ""
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "Nu s-au găsit jocuri"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "Încercați o altă căutare."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Fără jocuri"
#: data/gtk/window.blp:15
msgid "Use the + button to add games."
msgstr "Folosiți butonul + pentru a adăuga jocuri."
#: data/gtk/window.blp:22
msgid "No Hidden Games"
msgstr "Fără jocuri ascunse"
#: data/gtk/window.blp:23
msgid "Games you hide will appear here."
msgstr "Jocurile pe care le ascundeți vor apărea aici."
#: data/gtk/window.blp:44 data/gtk/window.blp:293
msgid "Back"
msgstr "Înapoi"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "Titlul jocului"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "Joacă"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "Adăugați joc"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "Meniu principal"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "Jocuri ascunse"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr ""
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:375
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr ""
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr ""
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr ""
#: src/window.py:262
msgid "Today"
msgstr ""
#: src/window.py:264
msgid "Yesterday"
msgstr ""
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr ""
#: src/window.py:315
msgid "Never"
msgstr ""
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr ""
#: src/game.py:156
msgid "Details"
msgstr ""
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr ""
#: src/preferences.py:132
msgid "All games removed"
msgstr ""
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr ""
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr ""
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr ""
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr ""
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr ""
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr ""
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr ""
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr ""
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr ""
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr ""
#: src/utils/create_details_window.py:166
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/utils/create_details_window.py:189
msgid "Executable"
msgstr ""
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr ""
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr ""
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr ""
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr ""
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr ""
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr ""
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr ""
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr ""
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr ""
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr ""
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr ""
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr ""
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr ""
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr ""
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr ""
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr ""
#~ msgid "Launch your games"
#~ msgstr "Lansați-vă jocurile"

692
po/ru.po Normal file
View File

@@ -0,0 +1,692 @@
# 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-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+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.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
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.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:22
msgid "Library"
msgstr "Библиотека"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "Редактировать подробности об игре"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Подробности об игре"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "Параметры"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "Название"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "Редактировать"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "Скрыть"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "Удалить"
#: data/gtk/game.blp:113 src/window.py:283
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:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
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/main.py:186 src/main.py:242
#: src/preferences.py:133
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:235
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/utils/create_details_window.py:101
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:427
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:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Каталог для импорта игр"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Дополнительные библиотеки Steam"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Выберите другие каталоги, в которых у вас установлены игры из Steam"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Очистить"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "Место установки Lutris"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Расположение кэша Lutris"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr "Каталог для импорта обложек игр"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr "Импорт игр Steam"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "Место установки Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "Импорт игр Epic"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "Импорт игр GOG"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "Импорт сторонних игр"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "Место установки Bottles"
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr "Место установки itch"
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr "Аутентификация"
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr "API-ключ"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr "Использовать SteamGridDB"
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr "Загрузка изображений при добавлении или импорте игр"
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr "Отдавать предпочтение официальным изображениям"
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr "Отдавать предпочтение анимированным изображениям"
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "Игры не найдены"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "Попробуйте другой поиск."
#: data/gtk/window.blp:14
msgid "No Games"
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:293
msgid "Back"
msgstr "Назад"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "Название игры"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "Играть"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "Добавить игру"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "Главное меню"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "Скрытые игры"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "Сортировать"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "А-Я"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "Я-А"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "Сначала новые"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "Сначала старые"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "Последняя игра"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "Показать скрытые"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "Комбинации клавиш"
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "О приложении"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr "Ser82-png"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} - запущена"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} - скрытая"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} - не скрыта"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} удалена"
#: src/window.py:262
msgid "Today"
msgstr "Сегодня"
#: src/window.py:264
msgid "Yesterday"
msgstr "Вчера"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "Добавлено: {}"
#: src/window.py:315
msgid "Never"
msgstr "Никогда"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "Последняя игра: {}"
#: src/game.py:156
msgid "Details"
msgstr "Подробности"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Установка не найдена"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Выберите каталог конфигурации {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Выберите каталог данных {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Установить расположение"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Все игры удалены"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Кэш не найден"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Выберите каталог кэша Lutris."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Для использования SteamGridDB требуется ключ API. Вы можете сгенерировать "
"его {}здесь{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Добавить новую игру"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Подтвердить"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "Применить"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "Название игры"
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "Разработчик"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Разработчик или издатель (необязательно)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "file.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "программа"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\путь\\к\\{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/путь/к/{}"
#: src/utils/create_details_window.py:166
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/utils/create_details_window.py:189
msgid "Executable"
msgstr "Исполняемый"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Файл для открытия или команда для запуска игры"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Отменить"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "Не удалось добавить игру"
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Не удалось применить параметры"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "Название игры не может быть пустым."
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "Исполняемый файл не может быть пустым."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Отклонить"
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr "Импорт игр…"
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr "Импорт обложек…"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "В вашей системе не найдено новых игр."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Игра импортирована"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "Успешно импортирована 1 игра."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Игры импортированы"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "Успешно импортировано {} игр."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Не удалось подключиться к SteamGridDB"
#: src/utils/importer.py:145
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"

712
po/ta.po Normal file
View File

@@ -0,0 +1,712 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# K.B.Dharun Krishna <kbdharunkrishna@gmail.com>, 2023.
# kramo <contact@kramo.hu>, 2023.
# "K.B.Dharun Krishna" <kbdharunkrishna@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n"
"Last-Translator: \"K.B.Dharun Krishna\" <kbdharunkrishna@gmail.com>\n"
"Language-Team: Tamil <https://hosted.weblate.org/projects/cartridges/"
"cartridges/ta/>\n"
"Language: ta\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-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
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.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:22
msgid "Library"
msgstr "நூலகம்"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "விளையாட்டு விவரங்களைத் திருத்து"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "விளையாட்டு விவரங்கள்"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "விருப்பங்கள்"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "தலைப்பு"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "தொகு"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "மறை"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "அகற்று"
#: data/gtk/game.blp:113 src/window.py:283
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:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
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/main.py:186 src/main.py:242
#: src/preferences.py:133
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:235
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/utils/create_details_window.py:101
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:427
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:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "விளையாட்டுகளை இறக்குமதி செய்யும் போது பயன்படுத்த வேண்டிய அடைவு"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "கூடுதல் ஸ்டீம் (Steam) நூலகங்கள்"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "ஸ்டீம் (Steam) கேம்களை நிறுவிய பிற கோப்பகங்களைத் தேர்ந்தெடுக்கவும்"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "தெளிவு"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "லூட்ரிஸ்"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "லூட்ரிஸ் நிறுவல் இடம்"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "லுட்ரிஸ் தற்காலிக சேமிப்பு இடம்"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr "விளையாட்டு அட்டைகளை இறக்குமதி செய்யும் போது பயன்படுத்த வேண்டிய அடைவு"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr "ஸ்டீம் (Steam) விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "Heroic (ஹீரோயிக்)"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "Heroic (ஹீரோயிக்) நிறுவல் இடம்"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "Epic விளையாட்டுகளை இறக்குமதி செய்"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "GOG விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "பக்க ஏற்றப்பட்ட விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "Bottles (பாட்டில்கள்)"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "Bottles (பாட்டில்கள்) நிறுவும் இடம்"
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr "அரிப்பு (itch)"
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr "அரிப்பு (itch) நிறுவல் இடம்"
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB)"
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr "அங்கீகாரம்"
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr "API விசை"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB) ஐப் பயன்படுத்தவும்"
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr ""
"விளையாட்டுகளைச் சேர்க்கும் போது அல்லது இறக்குமதி செய்யும் போது படங்களைப் பதிவிறக்கவும்"
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr "அதிகாரப்பூர்வ படங்களை விட முன்னுரிமை"
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr "இயங்குபடம் செய்யப்பட்ட படங்களுக்கு முன்னுரிமை கொடுங்கள்"
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "விளையாட்டுகள் எதுவும் இல்லை"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "வேறு தேடலை முயற்சிக்கவும்."
#: data/gtk/window.blp:14
msgid "No Games"
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:293
msgid "Back"
msgstr "மீண்டும்"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "விளையாட்டு தலைப்பு"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "விளையாடு"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "விளையாட்டைச் சேர்க்கவும்"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "முதன்மை பட்டியல்"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "மறைக்கப்பட்ட விளையாட்டுகள்"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "வகைபடுத்து"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "புதியது"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "பழமையானது"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "கடைசியாக விளையாடியது"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "மறைக்கப்பட்டதைக் காட்டு"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "விசைப்பலகை குறுக்குவழிகள்"
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "கார்ட்ரிட்ஜ்கள் பற்றி"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr "K.B.Dharun Krishna <kbdharunkrishna@gmail.com>"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} தொடங்கப்பட்டது"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} மறைக்கப்பட்டுள்ளது"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} மறைக்கப்படாதது"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} அகற்றப்பட்டது"
#: src/window.py:262
msgid "Today"
msgstr "இன்று"
#: src/window.py:264
msgid "Yesterday"
msgstr "நேற்று"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "சேர்க்கப்பட்டது: {}"
#: src/window.py:315
msgid "Never"
msgstr "ஒருபோதும் இல்லை"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "கடைசியாக விளையாடியது: {}"
#: src/game.py:156
msgid "Details"
msgstr "விவரங்கள்"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "நிறுவல் கிடைக்கவில்லை"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "{} உள்ளமைவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "{} தரவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "இருப்பிடத்தை அமைக்கவும்"
#: src/preferences.py:132
msgid "All games removed"
msgstr "அனைத்து விளையாட்டுகளும் அகற்றப்பட்டன"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "தற்காலிக சேமிப்பு கிடைக்கவில்லை"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "லூட்ரிஸ் தற்காலிக சேமிப்பு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"ஸ்டீம்கிரிட் டிபி (SteamGridDB) ஐப் பயன்படுத்த API விசை தேவை. நீங்கள் ஒன்றை {}இங்கே{} "
"உருவாக்கலாம்."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "புதிய விளையாட்டைச் சேர்க்கவும்"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "உறுதிப்படுத்தவும்"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "விண்ணப்பி"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "விளையாட்டின் தலைப்பு"
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "டெவலப்பர்"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "டெவலப்பர் அல்லது வெளியீட்டாளர் (விரும்பினால்)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "கோப்பு.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "பயன்பாடு"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\பாதை\\டு \\{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/பாதை/டு/ {}"
#: src/utils/create_details_window.py:166
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/utils/create_details_window.py:189
msgid "Executable"
msgstr "செயல்படுத்தக்கூடியது"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "விளையாட்டைத் தொடங்கும் போது திறக்க கோப்பு அல்லது இயக்க கட்டளை"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "ரத்துசெய்"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "விளையாட்டைச் சேர்க்க முடியவில்லை"
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "விருப்பத்தேர்வுகளைப் பயன்படுத்த முடியவில்லை"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "விளையாட்டு தலைப்பு காலியாக இருக்கக்கூடாது."
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "இயங்கக்கூடியது காலியாக இருக்க முடியாது."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "நிராகரி"
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது…"
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr "அட்டைகளை இறக்குமதி செய்கிறது…"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "உங்கள் கணினியில் புதிய விளையாட்டுகள் எதுவும் இல்லை."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "விளையாட்டு இறக்குமதி செய்யப்பட்டது"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "{} விளையாட்டுகள் வெற்றிகரமாக இறக்குமதி செய்யப்பட்டன."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB) உடன் இணைக்க முடியவில்லை"
#: src/utils/importer.py:145
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 "பாட்டில்கள் கோப்பகத்தைக் கண்டறிய முடியவில்லை."
#~ msgid "Set Bottles Location"
#~ msgstr "பாட்டில்களின் இடத்தை அமைக்கவும்"
#~ msgid "No new games were found in the Bottles library."
#~ msgstr "பாட்டில்கள் நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை."
#~ msgid "Bottles Games Imported"
#~ msgstr "பாட்டில் விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன"
#~ 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) பேசுகிறேன்"
#, fuzzy
#~ msgid "Successfully imported {str(len(bottles_games))} games."
#~ msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது."
#, fuzzy
#~ msgid "Successfully imported {str(len(heroic_games))} games."
#~ msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது."
#~ msgid "Successfully imported"
#~ msgstr "வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது"
#~ msgid "games."
#~ msgstr "விளையாட்டுகள்."
#~ msgid "kramo"
#~ msgstr "கிராமோ"

707
po/uk.po Normal file
View File

@@ -0,0 +1,707 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package.
# kramo <contact@kramo.hu>, 2023.
# Dan <denqwerta@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-11 23:33+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n"
"Last-Translator: Dan <denqwerta@gmail.com>\n"
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/uk/>\n"
"Language: uk\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.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:119
msgid "Cartridges"
msgstr "Cartridges"
#: 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.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 - це простий лаунчер для всіх ваших ігор. Він підтримує імпорт "
"ігор з Steam, Lutris, Heroic тощо без необхідності входу в систему. Ви "
"можете сортувати та приховувати ігри або завантажувати обкладинки з "
"SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22
msgid "Library"
msgstr "Бібліотека"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:87
msgid "Edit Game Details"
msgstr "Редагувати інформацію про гру"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Подробиці гри"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148
#: src/utils/steamgriddb.py:116
msgid "Preferences"
msgstr "Параметри"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129
msgid "Title"
msgstr "Назва"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170
msgid "Edit"
msgstr "Редагувати"
#: data/gtk/game.blp:94 src/window.py:286
msgid "Hide"
msgstr "Приховати"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186
msgid "Remove"
msgstr "Видалити"
#: data/gtk/game.blp:113 src/window.py:283
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:205 data/gtk/window.blp:249
#: data/gtk/window.blp:312
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/main.py:186 src/main.py:242
#: src/preferences.py:133
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:235
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/utils/create_details_window.py:101
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:427
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:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Каталог для імпорту ігор"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Додаткові бібліотеки Steam"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Виберіть інші директорії, до яких інстальовано ігри Steam"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Очистити"
#: data/gtk/preferences.blp:114
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:118
msgid "Lutris Install Location"
msgstr "Місце встановлення Lutris"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Розташування сховища Lutris"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr "Каталог для імпорту обкладинок ігор"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr "Імпорт ігор Steam"
#: data/gtk/preferences.blp:148
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:152
msgid "Heroic Install Location"
msgstr "Місце встановлення Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games"
msgstr "Імпорт Epic Games"
#: data/gtk/preferences.blp:171
msgid "Import GOG Games"
msgstr "Імпорт ігор GOG"
#: data/gtk/preferences.blp:180
msgid "Import Sideloaded Games"
msgstr "Імпорт сторонніх ігор"
#: data/gtk/preferences.blp:190
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:194
msgid "Bottles Install Location"
msgstr "Місце встановлення Bottles"
#: data/gtk/preferences.blp:205
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:209
msgid "itch Install Location"
msgstr "Місце встановлення itch"
#: data/gtk/preferences.blp:223
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227
msgid "Authentication"
msgstr "Аутентифікація"
#: data/gtk/preferences.blp:230
msgid "API Key"
msgstr "Ключ API"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr "Використовувати SteamGridDB"
#: data/gtk/preferences.blp:239
msgid "Download images when adding or importing games"
msgstr "Завантаження зображень під час додавання або імпорту ігор"
#: data/gtk/preferences.blp:248
msgid "Prefer Over Official Images"
msgstr "Надавати перевагу офіційним зображенням"
#: data/gtk/preferences.blp:257
msgid "Prefer Animated Images"
msgstr "Надавати перевагу анімованим зображенням"
#: data/gtk/window.blp:6 src/utils/importer.py:91
msgid "No Games Found"
msgstr "Ігор не знайдено"
#: data/gtk/window.blp:7
msgid "Try a different search."
msgstr "Спробуйте інший пошук."
#: data/gtk/window.blp:14
msgid "No Games"
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:293
msgid "Back"
msgstr "Назад"
#: data/gtk/window.blp:100
msgid "Game Title"
msgstr "Назва гри"
#: data/gtk/window.blp:151 src/game.py:158
msgid "Play"
msgstr "Грати"
#: data/gtk/window.blp:235 data/gtk/window.blp:421
msgid "Add Game"
msgstr "Додати гру"
#: data/gtk/window.blp:242 data/gtk/window.blp:305
msgid "Main Menu"
msgstr "Головне меню"
#: data/gtk/window.blp:300
msgid "Hidden Games"
msgstr "Приховані ігри"
#: data/gtk/window.blp:360
msgid "Sort"
msgstr "Сортувати"
#: data/gtk/window.blp:363
msgid "A-Z"
msgstr "А-Я"
#: data/gtk/window.blp:369
msgid "Z-A"
msgstr "Я-А"
#: data/gtk/window.blp:375
msgid "Newest"
msgstr "Найновіші"
#: data/gtk/window.blp:381
msgid "Oldest"
msgstr "Найстаріші"
#: data/gtk/window.blp:387
msgid "Last Played"
msgstr "Остання гра"
#: data/gtk/window.blp:394
msgid "Show Hidden"
msgstr "Показати приховане"
#: data/gtk/window.blp:407
msgid "Keyboard Shortcuts"
msgstr "Комбінації клавіш"
#: data/gtk/window.blp:412
msgid "About Cartridges"
msgstr "Про Cartridges"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137
msgid "translator_credits"
msgstr "kefir2105"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} запущено"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} приховано"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} показано"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} видалено"
#: src/window.py:262
msgid "Today"
msgstr "Сьогодні"
#: src/window.py:264
msgid "Yesterday"
msgstr "Вчора"
#. The variable is the date when the game was added
#: src/window.py:310
msgid "Added: {}"
msgstr "Додано: {}"
#: src/window.py:315
msgid "Never"
msgstr "Ніколи"
#. The variable is the date when the game was last played
#: src/window.py:319
msgid "Last played: {}"
msgstr "Останній раз грали: {}"
#: src/game.py:156
msgid "Details"
msgstr "Деталі"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Встановлення не знайдено"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Виберіть каталог конфігурації {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Виберіть каталог даних {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Встановити місцезнаходження"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Всі ігри видалено"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Кеш не знайдено"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Виберіть каталог кешу Lutris."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Для використання SteamGridDB потрібен ключ API. Ви можете згенерувати його {}"
"тут{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Додати нову гру"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Підтвердити"
#: src/utils/create_details_window.py:96
msgid "Apply"
msgstr "Застосувати"
#: src/utils/create_details_window.py:130
msgid "The title of the game"
msgstr "Назва гри"
#: src/utils/create_details_window.py:135
msgid "Developer"
msgstr "Розробник"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Розробник або видавець (необов'язково)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147
msgid "file.txt"
msgstr "file.txt"
#. As in software
#: src/utils/create_details_window.py:149
msgid "program"
msgstr "програма"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}"
msgstr "C:\\path\\to\\{}"
#. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160
#: src/utils/create_details_window.py:162
msgid "/path/to/{}"
msgstr "/path/to/{}"
#: src/utils/create_details_window.py:166
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/utils/create_details_window.py:189
msgid "Executable"
msgstr "Виконуваний"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Файл для відкриття або команда для запуску під час запуску гри"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Скасувати"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game"
msgstr "Не вдалося додати гру"
#: src/utils/create_details_window.py:261
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Не вдалося застосувати параметри"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty."
msgstr "Назва гри не може бути порожньою."
#: src/utils/create_details_window.py:275
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty."
msgstr "Виконуваний файл не може бути порожнім."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Відхилити"
#: src/utils/importer.py:42
msgid "Importing Games…"
msgstr "Імпорт ігор…"
#: src/utils/importer.py:77
msgid "Importing Covers…"
msgstr "Імпорт обкладинок…"
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr "У вашій системі не знайдено жодної нової гри."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Ігру імпортовано"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "Успішно імпортовано 1 гру."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Ігри імпортовано"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "Успішно імпортовано {} ігор."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Не вдалося підключитися до SteamGridDB"
#: src/utils/importer.py:145
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:\\path\\to\\{file_name}"
#, python-brace-format
#~ msgid "/path/to/{file_name}"
#~ msgstr "/path/to/{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"
#, fuzzy
#~ msgid "Successfully imported {str(len(bottles_games))} games."
#~ msgstr "Успішно імпортовано 1 гру."
#, fuzzy
#~ msgid "Successfully imported {str(len(heroic_games))} games."
#~ msgstr "Успішно імпортовано 1 гру."
#~ msgid "Successfully imported"
#~ msgstr "Успішно імпортовано"
#~ msgid "games."
#~ msgstr "ігри."

View File

@@ -1,16 +0,0 @@
<svg width="200" height="300" viewBox="0 0 200 300" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="200" height="300" fill="url(#paint0_linear_1_2)"/>
<g clip-path="url(#clip0_1_2)">
<path d="M49 169.125V185.062C49 193.853 56.147 201 64.9375 201H68.125C75.1724 201 80.875 195.297 80.875 188.25C80.875 181.203 86.5776 175.5 93.625 175.5C100.672 175.5 106.375 181.203 106.375 188.25C107.247 196.169 114.394 201.872 122.312 201C131.103 201 138.25 193.878 138.25 185.062V169.125C138.25 155.03 126.845 143.625 112.75 143.625H74.5C60.4053 143.625 49 155.03 49 169.125ZM69.7188 156.375H72.9062C73.7778 156.375 74.5 157.097 74.5 157.969V162.75H79.2812C80.1528 162.75 80.875 163.472 80.875 164.344V167.531C80.875 168.428 80.1528 169.125 79.2812 169.125H74.5V173.906C74.5 174.803 73.7778 175.5 72.9062 175.5H69.7188C68.8223 175.5 68.125 174.803 68.125 173.906V169.125H63.3438C62.4473 169.125 61.75 168.428 61.75 167.531V164.344C61.75 163.472 62.4473 162.75 63.3438 162.75H68.125V157.969C68.125 157.097 68.8223 156.375 69.7188 156.375ZM109.562 161.156C112.202 161.156 114.344 163.298 114.344 165.938C114.344 168.577 112.202 170.719 109.562 170.719C106.923 170.719 104.781 168.577 104.781 165.938C104.781 163.298 106.923 161.156 109.562 161.156ZM122.312 167.531C124.952 167.531 127.094 169.673 127.094 172.312C127.094 174.952 124.952 177.094 122.312 177.094C119.673 177.094 117.531 174.952 117.531 172.312C117.531 169.673 119.673 167.531 122.312 167.531Z" fill="#241F31"/>
<path d="M61.75 118.225C61.7998 128.783 70.416 137.3 80.9746 137.25H131.775C142.384 137.25 151 128.634 151 118.025C150.95 107.467 142.334 98.9502 131.775 99H80.9746C70.3662 99 61.75 107.616 61.75 118.225ZM82.2695 105.375H85.457C86.3286 105.375 87.0508 106.097 87.0508 106.969V111.75H91.832C92.7036 111.75 93.4258 112.472 93.4258 113.344V116.531C93.4258 117.428 92.7036 118.125 91.832 118.125H87.0508V122.906C87.0508 123.803 86.3286 124.5 85.457 124.5H82.2695C81.373 124.5 80.6758 123.803 80.6758 122.906V118.125H75.8945C74.998 118.125 74.3008 117.428 74.3008 116.531V113.344C74.3008 112.472 74.998 111.75 75.8945 111.75H80.6758V106.969C80.6758 106.097 81.373 105.375 82.2695 105.375ZM122.113 110.156C124.753 110.156 126.895 112.298 126.895 114.938C126.895 117.577 124.753 119.719 122.113 119.719C119.474 119.719 117.332 117.577 117.332 114.938C117.332 112.298 119.474 110.156 122.113 110.156ZM134.863 110.355C137.503 110.355 139.645 112.497 139.645 115.137C139.645 117.776 137.503 119.918 134.863 119.918C132.224 119.918 130.082 117.776 130.082 115.137C130.082 112.497 132.224 110.355 134.863 110.355Z" fill="#241F31"/>
</g>
<defs>
<linearGradient id="paint0_linear_1_2" x1="100" y1="0" x2="100" y2="300" gradientUnits="userSpaceOnUse">
<stop stop-color="#DEDDDA"/>
<stop offset="1" stop-color="#9A9996"/>
</linearGradient>
<clipPath id="clip0_1_2">
<rect width="102" height="102" fill="white" transform="translate(49 99)"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -1,8 +1,8 @@
#!@PYTHON@
# gameshelf.in
# cartridges.in
#
# Copyright 2022 kramo
# 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
@@ -25,22 +25,36 @@ import signal
import locale
import gettext
VERSION = '@VERSION@'
pkgdatadir = '@pkgdatadir@'
localedir = '@localedir@'
VERSION = "@VERSION@"
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")
localedir = os.path.join(os.path.dirname(__file__), "..", "share", "locale")
else:
pkgdatadir = "@pkgdatadir@"
localedir = "@localedir@"
sys.path.insert(1, pkgdatadir)
signal.signal(signal.SIGINT, signal.SIG_DFL)
locale.bindtextdomain('gameshelf', localedir)
locale.textdomain('gameshelf')
gettext.install('gameshelf', localedir)
if __name__ == '__main__':
if os.name != "nt":
locale.bindtextdomain("cartridges", localedir)
locale.textdomain("cartridges")
gettext.install("cartridges", localedir)
if __name__ == "__main__":
import gi
from gi.repository import Gio
resource = Gio.Resource.load(os.path.join(pkgdatadir, 'gameshelf.gresource'))
resource = Gio.Resource.load(os.path.join(pkgdatadir, "cartridges.gresource"))
resource._register()
from gameshelf import main
from cartridges import main
sys.exit(main.main(VERSION))

View File

@@ -1,6 +1,6 @@
# game.py
#
# Copyright 2022 kramo
# 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
@@ -17,24 +17,155 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
from gi.repository import Gtk
import json
import os
import shlex # pylint: disable=unused-import
import subprocess
import sys
@Gtk.Template(resource_path='/hu/kramo/GameShelf/gtk/game.ui')
class game(Gtk.Box):
__gtype_name__ = 'game'
from gi.repository import Gio, Gtk
from .game_cover import GameCover
from .save_game import save_game
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/game.ui")
class Game(Gtk.Box):
__gtype_name__ = "Game"
overlay = Gtk.Template.Child()
title = Gtk.Template.Child()
play_button = Gtk.Template.Child()
cover = Gtk.Template.Child()
spinner = Gtk.Template.Child()
cover_button = Gtk.Template.Child()
menu_button = Gtk.Template.Child()
play_revealer = Gtk.Template.Child()
title_revealer = Gtk.Template.Child()
game_options = Gtk.Template.Child()
hidden_game_options = Gtk.Template.Child()
def __init__(self, title, pixbuf, game_id, **kwargs):
def __init__(self, win, data, **kwargs):
super().__init__(**kwargs)
self.name = title
self.pixbuf = pixbuf
self.game_id = game_id
self.win = win
self.added = data["added"]
self.executable = data["executable"]
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 else None
self.removed = "removed" in data
self.blacklisted = "blacklisted" in data
self.title.set_label(title)
self.cover.set_pixbuf(pixbuf)
self.loading = 0
self.title.set_label(self.name)
if self.game_id in self.win.game_covers:
self.win.game_covers[self.game_id].add_picture(self.cover)
else:
game_cover = GameCover({self.cover}, self.get_cover_path())
self.win.game_covers[self.game_id] = game_cover
self.event_contoller_motion = Gtk.EventControllerMotion.new()
self.add_controller(self.event_contoller_motion)
self.overlay.set_measure_overlay(self.play_revealer, True)
self.set_play_label()
self.cover_button.connect("clicked", self.cover_button_clicked)
self.play_button.connect("clicked", self.play_button_clicked)
self.event_contoller_motion.connect("enter", self.show_play)
self.event_contoller_motion.connect("leave", self.hide_play)
self.win.schema.connect("changed", self.schema_changed)
if self.hidden:
self.menu_button.set_menu_model(self.hidden_game_options)
else:
self.menu_button.set_menu_model(self.game_options)
self.menu_button.get_popover().connect("notify::visible", self.hide_play)
def launch(self):
# Generate launch arguments, either list (no shell) or a string (for shell).
args = (
["flatpak-spawn", "--host", *self.executable] # Flatpak
if os.getenv("FLATPAK_ID") == "hu.kramo.Cartridges"
else shlex.join(
self.executable
) # Windows (We need shell to support its "open" built-in).
if os.name == "nt"
else self.executable # Linux/Others
)
# The host environment vars are automatically passed through by Popen.
subprocess.Popen(
args,
shell=isinstance(args, str),
start_new_session=True,
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):
data = json.loads(
(self.win.games_dir / f"{self.game_id}.json").read_text("utf-8")
)
data["hidden"] = not data["hidden"]
save_game(self.win, data)
def get_cover_path(self):
cover_path = self.win.covers_dir / f"{self.game_id}.gif"
if cover_path.is_file():
return cover_path
cover_path = self.win.covers_dir / f"{self.game_id}.tiff"
if cover_path.is_file():
return cover_path
def show_play(self, _widget, *_unused):
self.play_revealer.set_reveal_child(True)
self.title_revealer.set_reveal_child(False)
def hide_play(self, _widget, *_unused):
if not self.menu_button.get_active():
self.play_revealer.set_reveal_child(False)
self.title_revealer.set_reveal_child(True)
def launch_game(self, _widget, *_unused):
self.win.set_active_game(None, None, self.game_id)
self.win.get_application().on_launch_game_action(None)
def cover_button_clicked(self, _widget):
if self.win.schema.get_boolean("cover-launches-game"):
self.launch_game(None)
else:
self.win.show_details_view(None, self.game_id)
def play_button_clicked(self, _widget):
if self.win.schema.get_boolean("cover-launches-game"):
self.win.show_details_view(None, self.game_id)
else:
self.launch_game(None)
def set_play_label(self):
if self.win.schema.get_boolean("cover-launches-game"):
self.play_button.set_label(_("Details"))
else:
self.play_button.set_label(_("Play"))
def schema_changed(self, _settings, key):
if key == "cover-launches-game":
self.set_play_label()
def set_loading(self, state):
self.loading += state
loading = self.loading > 0
self.cover.set_opacity(int(not loading))
self.spinner.set_spinning(loading)

100
src/game_cover.py Normal file
View File

@@ -0,0 +1,100 @@
# 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
class GameCover:
pixbuf = None
path = None
animation = None
anim_iter = None
placeholder_pixbuf = GdkPixbuf.Pixbuf.new_from_resource_at_scale(
"/hu/kramo/Cartridges/library_placeholder.svg", 400, 600, False
)
def __init__(self, pictures, path=None):
self.pictures = pictures
self.new_pixbuf(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, *_unused):
self.update_animation((task, self.animation))
return wrapper
def new_pixbuf(self, path=None):
self.animation = None
self.pixbuf = None
self.path = path
if path:
if str(path).rsplit(".", maxsplit=1)[-1] == "gif":
task = Gio.Task.new()
task.run_in_thread(self.create_func(self.path))
else:
self.pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
str(path), 200, 300, False
)
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_animation(self):
return self.path if self.animation else None
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

@@ -1,109 +0,0 @@
using Gtk 4.0;
using Adw 1;
template game : Box {
orientation: vertical;
halign: center;
valign: start;
Button cover_button {
Picture cover {
width-request: 200;
height-request: 300;
hexpand: true;
vexpand: true;
styles [
"card",
]
}
styles [
"card",
"flat",
]
}
Adw.Clamp {
maximum-size: 200;
Box {
Label title {
label: _("Title");
ellipsize: end;
hexpand: true;
halign: start;
margin-start: 12;
}
MenuButton menu_button {
icon-name: "view-more-symbolic";
margin-top: 6;
margin-bottom: 6;
margin-end: 6;
margin-start: 6;
menu-model: game_options;
styles [
"flat",
]
}
}
}
styles [
"card",
]
}
menu game_options {
section {
item {
label: _("Play");
action: "app.launch_game";
}
}
section {
item {
label: _("Edit");
action: "app.edit_details";
}
item {
label: _("Hide");
action: "app.hide_game";
}
item {
label: _("Remove");
action: "app.remove_game";
}
}
}
menu hidden_game_options {
section {
item {
label: _("Play");
action: "app.launch_game";
}
}
section {
item {
label: _("Edit");
action: "app.edit_details";
}
item {
label: _("Unhide");
action: "app.hide_game";
}
item {
label: _("Remove");
action: "app.remove_game";
}
}
}

View File

@@ -1,34 +0,0 @@
using Gtk 4.0;
ShortcutsWindow help_overlay {
modal: true;
ShortcutsSection {
section-name: "shortcuts";
max-height: 10;
ShortcutsGroup {
title: C_("shortcut window", "General");
ShortcutsShortcut {
title: C_("shortcut window", "Quit");
action-name: "app.quit";
}
ShortcutsShortcut {
title: C_("shortcut window", "Search");
action-name: "win.toggle_search";
}
ShortcutsShortcut {
title: C_("shortcut window", "Shortcuts");
action-name: "win.show-help-overlay";
}
ShortcutsShortcut {
title: C_("shortcut window", "Undo");
action-name: "win.undo_remove";
}
}
}
}

View File

@@ -1,73 +0,0 @@
using Gtk 4.0;
using Adw 1;
template PreferencesWindow : Adw.PreferencesWindow {
search-enabled: false;
default-height: 500;
Adw.PreferencesPage {
Adw.PreferencesGroup {
title: _("General");
Adw.ActionRow {
title: _("Exit After Launching Games");
Switch exit_after_launch_switch {
valign: center;
}
}
}
Adw.PreferencesGroup {
title: "Steam";
Adw.ActionRow {
title: _("Steam Install Location");
subtitle: _("Directory to use when importing games");
Button steam_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
}
Adw.PreferencesGroup {
title: "Heroic";
Adw.ActionRow {
title: _("Heroic Install Location");
subtitle: _("Directory to use when importing games");
Button heroic_file_chooser_button {
icon-name: "folder-symbolic";
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;
}
}
}
}
}

View File

@@ -0,0 +1,96 @@
# 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 .check_install import check_install
def bottles_installed(win, path=None):
location_key = "bottles-location"
bottles_dir = (
path if path else Path(win.schema.get_string(location_key)).expanduser()
)
check = "library.yml"
if not (bottles_dir / check).is_file():
locations = (
(Path(),)
if path
else (
Path.home() / ".var/app/com.usebottles.bottles/data/bottles",
win.data_dir / "bottles",
)
)
bottles_dir = check_install(check, locations, (win.schema, location_key))
return bottles_dir
def bottles_importer(win):
bottles_dir = bottles_installed(win)
if not bottles_dir:
return
current_time = int(time())
data = (bottles_dir / "library.yml").read_text("utf-8")
library = yaml.load(data, Loader=yaml.Loader)
importer = win.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 win.games and not 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,205 @@
# 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 hashlib
import json
import os
from pathlib import Path
from time import time
from .check_install import check_install
def heroic_installed(win, path=None):
location_key = "heroic-location"
heroic_dir = (
path if path else Path(win.schema.get_string(location_key)).expanduser()
)
check = "config.json"
if not (heroic_dir / check).is_file():
locations = (
(Path(),)
if path
else (
Path.home() / ".var/app/com.heroicgameslauncher.hgl/config/heroic",
win.config_dir / "heroic",
)
)
if os.name == "nt" and not path:
locations += (Path(os.getenv("appdata")) / "heroic",)
heroic_dir = check_install(check, locations, (win.schema, location_key))
return heroic_dir
def heroic_importer(win):
heroic_dir = heroic_installed(win)
if not heroic_dir:
return
current_time = int(time())
importer = win.importer
# Import Epic games
if not win.schema.get_boolean("heroic-import-epic"):
pass
elif (heroic_dir / "store_cache" / "legendary_library.json").exists():
data = (heroic_dir / "store_cache" / "legendary_library.json").read_text(
"utf-8"
)
library = json.loads(data)
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 win.games
and not 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"
/ hashlib.sha256(
(f'{game["art_square"]}?h=400&resize=1&w=300').encode()
).hexdigest()
)
importer.save_game(values, image_path if image_path.exists() else None)
except KeyError:
pass
# Import GOG games
if not win.schema.get_boolean("heroic-import-gog"):
pass
elif (heroic_dir / "gog_store" / "installed.json").exists() and (
heroic_dir / "store_cache" / "gog_library.json"
).exists():
data = (heroic_dir / "gog_store" / "installed.json").read_text("utf-8")
installed = json.loads(data)
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 win.games
and not 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
data = (heroic_dir / "store_cache" / "gog_library.json").read_text("utf-8")
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 = (
heroic_dir
/ "images-cache"
/ hashlib.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.exists() else None)
# Import sideloaded games
if not win.schema.get_boolean("heroic-import-sideload"):
pass
elif (heroic_dir / "sideload_apps" / "library.json").exists():
data = (heroic_dir / "sideload_apps" / "library.json").read_text("utf-8")
library = json.loads(data)
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 win.games
and not 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"
/ hashlib.sha256(item["art_square"].encode()).hexdigest()
)
importer.save_game(values, image_path if image_path.exists() else None)

View File

@@ -0,0 +1,182 @@
# 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 .check_install import check_install
def get_game(task, current_time, win, row):
values = {}
values["game_id"] = f"itch_{row[0]}"
if values["game_id"] in win.games and not 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(None)[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(*win.image_size, GdkPixbuf.InterpType.BILINEAR)
itch_pixbuf = GdkPixbuf.Pixbuf.new_from_stream(tmp_file.read())
itch_pixbuf = itch_pixbuf.scale_simple(
win.image_size[0],
itch_pixbuf.get_height() * (win.image_size[0] / itch_pixbuf.get_width()),
GdkPixbuf.InterpType.BILINEAR,
)
itch_pixbuf.composite(
game_cover,
0,
(win.image_size[1] - itch_pixbuf.get_height()) / 2,
itch_pixbuf.get_width(),
itch_pixbuf.get_height(),
0,
(win.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(win, 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, win, row):
def wrapper(task, *_unused):
get_game(
task,
current_time,
win,
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], pixbuf=final_values[1])
for row in rows:
task = Gio.Task.new(None, None, update_games)
task.run_in_thread(create_func(current_time, win, row))
def itch_installed(win, path=None):
location_key = "itch-location"
itch_dir = path if path else Path(win.schema.get_string(location_key)).expanduser()
check = Path("db") / "butler.db"
if not (itch_dir / check).is_file():
locations = (
(Path(),)
if path
else (
Path.home() / ".var/app/io.itch.itch/config/itch",
win.config_dir / "itch",
)
)
if os.name == "nt" and not path:
locations += (Path(os.getenv("appdata")) / "itch",)
itch_dir = check_install(check, locations, (win.schema, location_key))
return itch_dir
def itch_importer(win):
itch_dir = itch_installed(win)
if not itch_dir:
return
database_path = (itch_dir / "db").expanduser()
db_cache_dir = win.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 = win.importer
importer.total_queue += len(rows)
importer.queue += len(rows)
get_games_async(win, 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 .check_install import check_install
def lutris_installed(win, path=None):
location_key = "lutris-location"
lutris_dir = (
path if path else Path(win.schema.get_string(location_key)).expanduser()
)
check = "pga.db"
if not (lutris_dir / check).is_file():
locations = (
(Path(),)
if path
else (
Path.home() / ".var/app/net.lutris.Lutris/data/lutris",
win.data_dir / "lutris",
)
)
lutris_dir = check_install(check, locations, (win.schema, location_key))
return lutris_dir
def lutris_cache_exists(win, path=None):
cache_key = "lutris-cache-location"
cache_dir = path if path else Path(win.schema.get_string(cache_key)).expanduser()
cache_check = "coverart"
if not (cache_dir / cache_check).exists():
cache_locations = (
(Path(),)
if path
else (
Path.home() / ".var" / "app" / "net.lutris.Lutris" / "cache" / "lutris",
win.cache_dir / "lutris",
)
)
cache_dir = check_install(cache_check, cache_locations, (win.schema, cache_key))
return cache_dir
def lutris_importer(win):
lutris_dir = lutris_installed(win)
if not lutris_dir:
return
cache_dir = lutris_cache_exists(win)
if not cache_dir:
return
db_cache_dir = win.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 win.schema.get_boolean("lutris-import-steam"):
rows = [row for row in rows if not row[3] == "steam"]
current_time = int(time())
importer = win.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 win.games and not 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.exists() else None)

View File

@@ -0,0 +1,176 @@
# 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 .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"]
values["developer"] = ", ".join(data["developers"])
if data["type"] != "game":
values["blacklisted"] = True
return values
def get_game(task, datatypes, current_time, win, 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 win.games and not 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.exists() else None))
return
values = update_values_from_data(content, values)
task.return_value((values, image_path if image_path.exists() else None))
def get_games_async(win, 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, win, appmanifest, steam_dir):
def wrapper(task, *_unused):
get_game(
task,
datatypes,
current_time,
win,
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, win, appmanifest, steam_dir)
)
def steam_installed(win, path=None):
location_key = "steam-location"
steam_dir = Path(win.schema.get_string(location_key)).expanduser()
check = "steamapps"
if not (steam_dir / check).is_file():
subdirs = ("steam", "Steam")
locations = (
(path,)
if path
else (
steam_dir,
Path.home() / ".steam",
win.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, (win.schema, location_key), subdirs)
return steam_dir
def steam_importer(win):
steam_dir = steam_installed(win)
if not steam_dir:
return
appmanifests = []
steam_dirs = [
Path(directory) for directory in win.schema.get_strv("steam-extra-dirs")
]
steam_dirs.append(steam_dir)
for directory in steam_dirs:
if not (directory / "steamapps").exists():
steam_dirs.remove(directory)
for directory in steam_dirs:
for open_file in (directory / "steamapps").iterdir():
if open_file.is_file() and "appmanifest" in open_file.name:
appmanifests.append(open_file)
importer = win.importer
importer.total_queue += len(appmanifests)
importer.queue += len(appmanifests)
get_games_async(win, appmanifests, directory, importer)

View File

@@ -1,6 +1,6 @@
# main.py
#
# Copyright 2022 kramo
# 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
@@ -17,129 +17,270 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
import gi, sys, os, time, json
import sys
import time
import gi
gi.require_version("Gtk", "4.0")
gi.require_version("Adw", "1")
from gi.repository import Gtk, Gio, GLib, Adw
# pylint: disable=wrong-import-position
from gi.repository import Adw, Gio, GLib, Gtk
from .window import GameShelfWindow
from .preferences import PreferencesWindow
from .toggle_hidden import toggle_hidden
from .save_games import save_games
from .run_command import run_command
from .steam_parser import steam_parser
from .heroic_parser import heroic_parser
from .bottles_importer import bottles_importer
from .create_details_window import create_details_window
from .get_games import get_games
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 .save_game import save_game
from .steam_importer import steam_importer
from .window import CartridgesWindow
class GameShelfApplication(Adw.Application):
class CartridgesApplication(Adw.Application):
def __init__(self):
super().__init__(application_id="hu.kramo.GameShelf", flags=Gio.ApplicationFlags.FLAGS_NONE)
super().__init__(
application_id="hu.kramo.Cartridges", 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)
self.create_action("steam_import", self.on_steam_import_action)
self.create_action("heroic_import", self.on_heroic_import_action)
self.create_action(
"preferences", self.on_preferences_action, ["<primary>comma"]
)
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)
self.create_action("edit_game", self.on_edit_game_action)
self.create_action("add_game", self.on_add_game_action, ["<primary>n"])
self.create_action("import", self.on_import_action, ["<primary>i"])
self.create_action(
"remove_game_details_view",
self.on_remove_game_details_view_action,
["Delete"],
)
self.create_action("remove_game", self.on_remove_game_action)
self.create_action("igdb_search", self.on_igdb_search_action)
self.create_action("sgdb_search", self.on_sgdb_search_action)
self.create_action("protondb_search", self.on_protondb_search_action)
self.create_action("lutris_search", self.on_lutris_search_action)
self.create_action("hltb_search", self.on_hltb_search_action)
def do_activate(self):
self.win = None
def do_activate(self): # pylint: disable=arguments-differ
# Create the main window
win = self.props.active_window
if not win:
win = GameShelfWindow(application=self)
self.win = self.props.active_window # pylint: disable=no-member
if not self.win:
self.win = CartridgesWindow(application=self)
win.present()
# Save window geometry
state_settings = Gio.Settings(schema_id="hu.kramo.Cartridge.State")
state_settings.bind(
"width", self.win, "default-width", Gio.SettingsBindFlags.DEFAULT
)
state_settings.bind(
"height", self.win, "default-height", Gio.SettingsBindFlags.DEFAULT
)
state_settings.bind(
"is-maximized", self.win, "maximized", Gio.SettingsBindFlags.DEFAULT
)
self.win.present()
# Create actions for the main window
self.create_action("show_hidden", win.on_show_hidden_action, None, win)
self.create_action("go_back", win.on_go_back_action, ["<alt>Left"], win)
self.create_action("go_to_parent", win.on_go_to_parent_action, ["<alt>Up"], win)
self.create_action("toggle_search", win.on_toggle_search_action, ["<primary>f"], win)
self.create_action("escape", win.on_escape_action, ["Escape"], win)
self.create_action("undo_remove", win.on_undo_remove_action, ["<primary>z"], win)
win.sort = Gio.SimpleAction.new_stateful("sort_by", GLib.VariantType.new("s"), GLib.Variant("s", "a-z"))
win.add_action(win.sort)
win.sort.connect("activate", win.on_sort_action)
win.on_sort_action(win.sort, win.schema.get_value("sort-mode"))
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", self.win.on_undo_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")
)
self.win.add_action(self.win.sort)
self.win.sort.connect("activate", self.win.on_sort_action)
self.win.on_sort_action(self.win.sort, state_settings.get_value("sort-mode"))
def on_about_action(self, widget, callback=None):
about = Adw.AboutWindow(transient_for=self.props.active_window,
application_name="Game Shelf",
application_icon="hu.kramo.GameShelf",
developer_name="kramo",
version="0.1.1",
developers=["kramo"],
copyright="© 2022 kramo",
license_type=Gtk.License.GPL_3_0)
def on_about_action(self, _widget, _callback=None):
about = Adw.AboutWindow(
transient_for=self.win,
application_name=_("Cartridges"),
application_icon="hu.kramo.Cartridges",
developer_name="kramo",
version="1.4.1",
developers=[
"kramo https://kramo.hu",
"Paweł Lidwin https://github.com/imLinguin",
"Domenico https://github.com/Domefemia",
"Bananaman https://github.com/Bananaman",
"Geoffrey Coulaud https://geoffrey-coulaud.fr",
"Rafael Mardojai CM https://mardojai.com",
],
designers=["kramo https://kramo.hu"],
copyright="© 2022-2023 kramo",
license_type=Gtk.License.GPL_3_0,
issue_url="https://github.com/kra-mo/cartridges/issues/new",
website="https://github.com/kra-mo/cartridges",
# Translators: Replace this with your name for it to show up in the about window
translator_credits=_("translator_credits"),
)
about.present()
def on_preferences_action(self, widget, callback=None):
PreferencesWindow(self.props.active_window).present()
def on_steam_import_action(self, widget, callback=None):
games = steam_parser(self.props.active_window, self.on_steam_import_action)
save_games(games)
self.props.active_window.update_games(games.keys())
def on_heroic_import_action(self, widget, callback=None):
games = heroic_parser(self.props.active_window, self.on_heroic_import_action)
save_games(games)
self.props.active_window.update_games(games.keys())
def on_launch_game_action(self, widget, callback=None):
def on_preferences_action(
self, _widget, _callback=None, page_name=None, expander_row=None
):
win = PreferencesWindow(self.win)
if page_name:
win.set_visible_page_name(page_name)
if expander_row:
getattr(win, expander_row).set_expanded(True)
win.present()
def on_launch_game_action(self, _widget, _callback=None):
# Launch the game and update the last played value
self.props.active_window.games[self.props.active_window.active_game_id]["last_played"] = int(time.time())
save_games({self.props.active_window.active_game_id : self.props.active_window.games[self.props.active_window.active_game_id]})
self.props.active_window.update_games([self.props.active_window.active_game_id])
run_command(self.props.active_window, self.props.active_window.games[self.props.active_window.active_game_id]["executable"])
if self.props.active_window.stack.get_visible_child() == self.props.active_window.overview:
self.props.active_window.show_overview(None, self.props.active_window.active_game_id)
game_id = self.win.active_game_id
last_played = int(time.time())
def on_hide_game_action(self, widget, callback=None):
if self.props.active_window.stack.get_visible_child() == self.props.active_window.overview:
self.props.active_window.on_go_back_action(None, None)
toggle_hidden(self.props.active_window.active_game_id)
self.props.active_window.update_games([self.props.active_window.active_game_id])
data = get_games(self.win, [game_id])[game_id]
data["last_played"] = last_played
save_game(self.win, data)
def on_edit_details_action(self, widget, callback=None):
create_details_window(self.props.active_window, self.props.active_window.active_game_id)
self.win.games[game_id].launch()
def on_add_game_action(self, widget, callback=None):
create_details_window(self.props.active_window)
# Update state
self.win.games[game_id].last_played = last_played
self.win.library.invalidate_sort()
self.win.hidden_library.invalidate_sort()
if self.win.stack.get_visible_child() == self.win.details_view:
self.win.show_details_view(None, game_id)
def on_remove_game_action(self, widget, callback=None):
# Add "removed=True" to the game properties so it can be deleted on next init
game_id = self.props.active_window.active_game_id
open_file = open(os.path.join(os.path.join(os.environ.get("XDG_DATA_HOME"), "games", game_id + ".json")), "r")
data = json.loads(open_file.read())
open_file.close()
data["removed"] = True
save_games({game_id : data})
self.props.active_window.update_games([game_id])
if self.props.active_window.stack.get_visible_child() == self.props.active_window.overview:
self.props.active_window.on_go_back_action(None, None)
# Create toast for undoing the remove action
toast = Adw.Toast.new(self.props.active_window.games[game_id]["name"] + " " + (_("removed")))
toast.set_button_label(_("Undo"))
toast.connect("button-clicked", self.props.active_window.on_undo_remove_action, game_id)
title = self.win.games[game_id].name
# The variable is the title of the game
toast = Adw.Toast.new(_("{} launched").format(title))
toast.set_priority(Adw.ToastPriority.HIGH)
self.props.active_window.toasts[game_id] = toast
self.props.active_window.toast_overlay.add_toast(toast)
self.win.toast_overlay.add_toast(toast)
def on_quit_action(self, widget, callback=None):
def on_hide_game_action(self, _widget, _callback=None, game_id=None, toast=True):
if not game_id:
game_id = self.win.active_game_id
if self.win.stack.get_visible_child() == self.win.details_view:
self.win.on_go_back_action(None, None)
self.win.games[game_id].toggle_hidden()
self.win.update_games([game_id])
if not toast:
return
title = self.win.games[game_id].name
if self.win.games[game_id].hidden:
# The variable is the title of the game
toast = Adw.Toast.new(_("{} hidden").format(title))
else:
# The variable is the title of the game
toast = Adw.Toast.new(_("{} unhidden").format(title))
toast.set_button_label(_("Undo"))
toast.connect("button-clicked", self.win.on_undo_action, game_id, "hide")
toast.set_priority(Adw.ToastPriority.HIGH)
if (game_id, "hide") in self.win.toasts.keys():
# Dismiss the toast if there already is one
self.win.toasts[(game_id, "hide")].dismiss()
self.win.toasts[(game_id, "hide")] = toast
self.win.toast_overlay.add_toast(toast)
def on_edit_game_action(self, _widget, _callback=None):
create_details_window(self.win, self.win.active_game_id)
def on_add_game_action(self, _widget, _callback=None):
create_details_window(self.win)
def on_import_action(self, _widget, _callback=None):
self.win.importer = Importer(self.win)
self.win.importer.blocker = True
if self.win.schema.get_boolean("steam"):
steam_importer(self.win)
if self.win.schema.get_boolean("lutris"):
lutris_importer(self.win)
if self.win.schema.get_boolean("heroic"):
heroic_importer(self.win)
if self.win.schema.get_boolean("bottles"):
bottles_importer(self.win)
if self.win.schema.get_boolean("itch"):
itch_importer(self.win)
self.win.importer.blocker = False
if self.win.importer.import_dialog.is_visible and self.win.importer.queue == 0:
self.win.importer.queue = 1
self.win.importer.save_game()
def on_remove_game_action(self, _widget, _callback=None):
# Add "removed=True" to the game properties so it can be deleted on next init
game_id = self.win.active_game_id
data = get_games(self.win, [game_id])[game_id]
data["removed"] = True
save_game(self.win, data)
self.win.update_games([game_id])
if self.win.stack.get_visible_child() == self.win.details_view:
self.win.on_go_back_action(None, None)
title = self.win.games[game_id].name
# The variable is the title of the game
toast = Adw.Toast.new(_("{} removed").format(title))
toast.set_button_label(_("Undo"))
toast.connect("button-clicked", self.win.on_undo_action, game_id, "remove")
toast.set_priority(Adw.ToastPriority.HIGH)
self.win.toasts[(game_id, "remove")] = toast
self.win.toast_overlay.add_toast(toast)
def on_remove_game_details_view_action(self, _widget, _callback=None):
if self.win.stack.get_visible_child() == self.win.details_view:
self.on_remove_game_action(None)
def on_quit_action(self, _widget, _callback=None):
self.quit()
def search(self, uri):
Gio.AppInfo.launch_default_for_uri(
f"{uri}{self.win.games[self.win.active_game_id].name}"
)
def on_igdb_search_action(self, _widget, _callback=None):
self.search("https://www.igdb.com/search?type=1&q=")
def on_sgdb_search_action(self, _widget, _callback=None):
self.search("https://www.steamgriddb.com/search/grids?term=")
def on_protondb_search_action(self, _widget, _callback=None):
self.search("https://www.protondb.com/search?q=")
def on_lutris_search_action(self, _widget, _callback=None):
self.search("https://lutris.net/games?q=")
def on_hltb_search_action(self, _widget, _callback=None):
self.search("https://howlongtobeat.com/?q=")
def create_action(self, name, callback, shortcuts=None, win=None):
action = Gio.SimpleAction.new(name, None)
action.connect("activate", callback)
@@ -152,7 +293,7 @@ class GameShelfApplication(Adw.Application):
if shortcuts:
self.set_accels_for_action(f"win.{name}", shortcuts)
def main(version):
app = GameShelfApplication()
return app.run(sys.argv)
def main(version): # pylint: disable=unused-argument
app = CartridgesApplication()
return app.run(sys.argv)

View File

@@ -1,25 +1,4 @@
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
moduledir = join_paths(pkgdatadir, 'gameshelf')
gnome = import('gnome')
blueprints = custom_target('blueprints',
input: files(
'gtk/help-overlay.blp',
'window.blp',
'gtk/game.blp',
'gtk/preferences.blp'
),
output: '.',
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
)
gnome.compile_resources('gameshelf',
'gameshelf.gresource.xml',
gresource_bundle: true,
install: true,
install_dir: pkgdatadir,
dependencies: blueprints,
)
moduledir = join_paths(pkgdatadir, 'cartridges')
python = import('python')
@@ -30,29 +9,33 @@ conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
conf.set('pkgdatadir', pkgdatadir)
configure_file(
input: 'gameshelf.in',
output: 'gameshelf',
input: 'cartridges.in',
output: 'cartridges',
configuration: conf,
install: true,
install_dir: get_option('bindir')
)
gameshelf_sources = [
cartridges_sources = [
'__init__.py',
'main.py',
'window.py',
'preferences.py',
'game.py',
'utils/steam_parser.py',
'utils/heroic_parser.py',
'utils/run_command.py',
'game_cover.py',
'importers/steam_importer.py',
'importers/lutris_importer.py',
'importers/heroic_importer.py',
'importers/bottles_importer.py',
'importers/itch_importer.py',
'utils/importer.py',
'utils/steamgriddb.py',
'utils/get_games.py',
'utils/get_cover.py',
'utils/save_games.py',
'utils/save_game.py',
'utils/save_cover.py',
'utils/toggle_hidden.py',
'utils/create_dialog.py',
'utils/create_details_window.py'
'utils/create_details_window.py',
'utils/check_install.py'
]
install_data(gameshelf_sources, install_dir: moduledir)
install_data(cartridges_sources, install_dir: moduledir)

View File

@@ -1,6 +1,6 @@
# preferences.py
#
# Copyright 2022 kramo
# 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
@@ -17,46 +17,363 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
from gi.repository import Adw, Gtk, Gio, GLib
import os
from pathlib import Path
from shutil import move
@Gtk.Template(resource_path='/hu/kramo/GameShelf/gtk/preferences.ui')
from gi.repository import Adw, Gio, GLib, Gtk
from .bottles_importer import bottles_installed
from .create_dialog import create_dialog
from .get_games import get_games
from .heroic_importer import heroic_installed
from .itch_importer import itch_installed
from .lutris_importer import lutris_cache_exists, lutris_installed
from .save_game import save_game
from .steam_importer import steam_installed
class ImportPreferences:
def __init__(
self,
win,
source_id,
name,
check_func,
expander_row,
file_chooser_button,
config=False,
):
def set_dir(_source, result, _unused):
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 not check_func(win, path):
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)
win.schema.bind(
source_id,
expander_row,
"enable-expansion",
Gio.SettingsBindFlags.DEFAULT,
)
file_chooser_button.connect("clicked", win.choose_folder, set_dir)
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/preferences.ui")
class PreferencesWindow(Adw.PreferencesWindow):
__gtype_name__ = 'PreferencesWindow'
__gtype_name__ = "PreferencesWindow"
general_page = 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()
import_epic_games_switch = Gtk.Template.Child()
import_gog_games_switch = Gtk.Template.Child()
import_sideload_games_switch = Gtk.Template.Child()
cover_launches_game_switch = Gtk.Template.Child()
high_quality_images_switch = Gtk.Template.Child()
remove_all_games_button = Gtk.Template.Child()
steam_expander_row = Gtk.Template.Child()
steam_file_chooser_button = Gtk.Template.Child()
steam_extra_file_chooser_button = Gtk.Template.Child()
steam_clear_button_revealer = Gtk.Template.Child()
steam_clear_button = Gtk.Template.Child()
lutris_expander_row = Gtk.Template.Child()
lutris_file_chooser_button = Gtk.Template.Child()
lutris_cache_file_chooser_button = Gtk.Template.Child()
lutris_steam_switch = Gtk.Template.Child()
heroic_expander_row = Gtk.Template.Child()
heroic_file_chooser_button = Gtk.Template.Child()
heroic_epic_switch = Gtk.Template.Child()
heroic_gog_switch = Gtk.Template.Child()
heroic_sideloaded_switch = Gtk.Template.Child()
def __init__(self, parent_widget, **kwargs):
bottles_expander_row = Gtk.Template.Child()
bottles_file_chooser_button = Gtk.Template.Child()
itch_expander_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_download_switch = Gtk.Template.Child()
sgdb_prefer_switch = Gtk.Template.Child()
sgdb_animated_switch = Gtk.Template.Child()
def __init__(self, win, **kwargs):
super().__init__(**kwargs)
self.schema = win.schema
self.win = win
self.file_chooser = Gtk.FileDialog()
self.set_transient_for(win)
self.set_transient_for(parent_widget)
schema = parent_widget.schema
schema.bind("exit-after-launch", 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)
self.toast = Adw.Toast.new(_("All games removed"))
self.toast.set_button_label(_("Undo"))
self.toast.connect("button-clicked", self.undo_remove_all, None)
self.toast.set_priority(Adw.ToastPriority.HIGH)
shortcut_controller = Gtk.ShortcutController()
shortcut_controller.add_shortcut(
Gtk.Shortcut.new(
Gtk.ShortcutTrigger.parse_string("<primary>z"),
Gtk.CallbackAction.new(self.undo_remove_all),
)
)
self.add_controller(shortcut_controller)
self.removed_games = []
filechooser = Gtk.FileDialog()
# General
self.schema.bind(
"exit-after-launch",
self.exit_after_launch_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.schema.bind(
"cover-launches-game",
self.cover_launches_game_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.schema.bind(
"high-quality-images",
self.high_quality_images_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
def set_steam_dir(source, result, user_data):
self.remove_all_games_button.connect("clicked", self.remove_all_games)
# Steam
ImportPreferences(
self,
"steam",
"Steam",
steam_installed,
self.steam_expander_row,
self.steam_file_chooser_button,
)
def update_revealer():
if self.schema.get_strv("steam-extra-dirs"):
self.steam_clear_button_revealer.set_reveal_child(True)
else:
self.steam_clear_button_revealer.set_reveal_child(False)
def add_steam_dir(_source, result, _unused):
try:
schema.set_string("steam-location", filechooser.select_folder_finish(result).get_path())
value = self.schema.get_strv("steam-extra-dirs")
value.append(self.file_chooser.select_folder_finish(result).get_path())
self.schema.set_strv("steam-extra-dirs", value)
except GLib.GError:
pass
return
update_revealer()
def set_heroic_dir(source, result, user_data):
def clear_steam_dirs(*_unused):
self.schema.set_strv("steam-extra-dirs", [])
update_revealer()
update_revealer()
self.steam_extra_file_chooser_button.connect(
"clicked", self.choose_folder, add_steam_dir
)
self.steam_clear_button.connect("clicked", clear_steam_dirs)
# Lutris
ImportPreferences(
self,
"lutris",
"Lutris",
lutris_installed,
self.lutris_expander_row,
self.lutris_file_chooser_button,
)
self.schema.bind(
"lutris-import-steam",
self.lutris_steam_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
def set_cache_dir(_source, result, _unused):
try:
schema.set_string("heroic-location", filechooser.select_folder_finish(result).get_path())
path = Path(self.file_chooser.select_folder_finish(result).get_path())
except GLib.GError:
pass
return
def choose_folder(widget, function):
filechooser.select_folder(parent_widget, None, function, None)
def response(widget, response):
if response == "choose_folder":
self.choose_folder(widget, set_cache_dir)
self.steam_file_chooser_button.connect("clicked", choose_folder, set_steam_dir)
self.heroic_file_chooser_button.connect("clicked", choose_folder, set_heroic_dir)
if not lutris_cache_exists(path).exists():
create_dialog(
self.win,
_("Cache Not Found"),
_("Select the Lutris cache directory."),
"choose_folder",
_("Set Location"),
).connect("response", response)
self.lutris_cache_file_chooser_button.connect(
"clicked", self.choose_folder, set_cache_dir
)
if os.name == "nt":
self.sources_group.remove(self.lutris_expander_row)
# Heroic
ImportPreferences(
self,
"heroic",
"Heroic",
heroic_installed,
self.heroic_expander_row,
self.heroic_file_chooser_button,
True,
)
self.schema.bind(
"heroic-import-epic",
self.heroic_epic_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.schema.bind(
"heroic-import-gog",
self.heroic_gog_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.schema.bind(
"heroic-import-sideload",
self.heroic_sideloaded_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
# Bottles
ImportPreferences(
self,
"bottles",
"Bottles",
bottles_installed,
self.bottles_expander_row,
self.bottles_file_chooser_button,
)
if os.name == "nt":
self.sources_group.remove(self.bottles_expander_row)
# itch
ImportPreferences(
self,
"itch",
"itch",
itch_installed,
self.itch_expander_row,
self.itch_file_chooser_button,
True,
)
# SteamGridDB
self.schema.bind(
"sgdb",
self.sgdb_download_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.schema.bind(
"sgdb-prefer",
self.sgdb_prefer_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.schema.bind(
"sgdb-animated",
self.sgdb_animated_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
def sgdb_key_changed(_widget):
self.schema.set_string("sgdb-key", self.sgdb_key_entry_row.get_text())
self.sgdb_key_entry_row.set_text(self.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 choose_folder(self, _widget, function):
self.file_chooser.select_folder(self.win, None, function, None)
def undo_remove_all(self, _widget, _unused):
deleted_covers_dir = self.win.cache_dir / "cartridges" / "deleted_covers"
for game_id in self.removed_games:
data = get_games(self.win, [game_id])[game_id]
if "removed" in data:
data.pop("removed")
save_game(self.win, data)
cover_path = deleted_covers_dir / f"{game_id}.tiff"
if not cover_path.is_file():
cover_path = deleted_covers_dir / f"{game_id}.gif"
if not cover_path.is_file():
continue
move(cover_path, self.win.covers_dir / cover_path.name)
self.win.update_games(self.removed_games)
self.removed_games = []
self.toast.dismiss()
def remove_all_games(self, _widget):
deleted_covers_dir = self.win.cache_dir / "cartridges" / "deleted_covers"
deleted_covers_dir.mkdir(parents=True, exist_ok=True)
for game in get_games(self.win).values():
if "removed" not in game:
self.removed_games.append(game["game_id"])
game["removed"] = True
save_game(self.win, game)
cover_path = self.win.games[game["game_id"]].get_cover_path()
if not cover_path:
continue
if cover_path.is_file():
move(cover_path, deleted_covers_dir / cover_path.name)
self.win.update_games(self.win.games)
if self.win.stack.get_visible_child() == self.win.details_view:
self.win.on_go_back_action(None, None)
self.add_toast(self.toast)

View File

@@ -1,6 +1,6 @@
# toggle_hidden.py
# check_install.py
#
# Copyright 2022 kramo
# 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
@@ -17,17 +17,16 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
def toggle_hidden(game):
import os, json
games_dir = os.path.join(os.environ.get("XDG_DATA_HOME"), "games")
from pathlib import Path
if os.path.exists(games_dir) == False:
return
file = open(os.path.join(games_dir, game + ".json"), "r")
data = json.loads(file.read())
file.close()
file = open(os.path.join(games_dir, game + ".json"), "w")
data["hidden"] = not data["hidden"]
file.write(json.dumps(data, indent=4))
file.close()
def check_install(check, locations, setting=None, subdirs=(Path(),)):
for location in locations:
for subdir in (Path(),) + subdirs:
if (location / subdir / check).is_file() or (
location / subdir / check
).exists():
if setting:
setting[0].set_string(setting[1], str(location / subdir))
return location / subdir

View File

@@ -1,6 +1,6 @@
# create_details_window.py
#
# Copyright 2022 kramo
# 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
@@ -17,39 +17,88 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
def create_details_window(parent_widget, game_id = None):
import os, json, time
from gi.repository import Adw, Gtk, Gio, GLib, GdkPixbuf
from .create_dialog import create_dialog
from .save_games import save_games
from .save_cover import save_cover
import json
import os
import shlex
import time
from gi.repository import Adw, Gio, GLib, GObject, Gtk
from .create_dialog import create_dialog
from .game_cover import GameCover
from .save_cover import resize_animation, save_cover
from .save_game import save_game
from .steamgriddb import SGDBSave
def create_details_window(win, game_id=None):
window = Adw.Window(
modal = True,
default_width = 450,
default_height = 650,
transient_for = parent_widget
modal=True, default_width=500, default_height=-1, transient_for=win
)
games = parent_widget.games
pixbuf = None
games = win.games
cover_changed = False
if game_id == None:
window.set_title(_("Add New Game"))
cover = Gtk.Picture.new_for_pixbuf(parent_widget.placeholder_pixbuf)
name = Gtk.Entry()
executable = Gtk.Entry()
apply_button = Gtk.Button.new_with_label(_("Confirm"))
else:
cover_button_edit = 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_button_delete = Gtk.Button(
icon_name="user-trash-symbolic",
css_classes=["circular", "osd"],
halign=Gtk.Align.END,
valign=Gtk.Align.END,
margin_bottom=6,
margin_end=6,
)
def delete_pixbuf(_widget):
nonlocal game_cover
nonlocal cover_changed
game_cover.new_pixbuf()
cover_button_delete_revealer.set_reveal_child(False)
cover_changed = True
cover_button_delete.connect("clicked", delete_pixbuf)
cover_button_delete_revealer = Gtk.Revealer(
child=cover_button_delete,
transition_type=Gtk.RevealerTransitionType.CROSSFADE,
margin_end=40,
)
cover = Gtk.Picture.new()
game_cover = GameCover({cover})
if game_id:
window.set_title(_("Edit Game Details"))
cover = Gtk.Picture.new_for_pixbuf((parent_widget.visible_widgets | parent_widget.hidden_widgets)[game_id].pixbuf)
name = Gtk.Entry.new_with_buffer(Gtk.EntryBuffer.new(games[game_id]["name"], -1))
executable = Gtk.Entry.new_with_buffer(Gtk.EntryBuffer.new((games[game_id]["executable"]), -1))
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")
)
game_cover.new_pixbuf(win.games[game_id].get_cover_path())
if game_cover.get_pixbuf():
cover_button_delete_revealer.set_reveal_child(True)
else:
window.set_title(_("Add New Game"))
name = Gtk.Entry()
developer = Gtk.Entry()
executable = Gtk.Entry()
apply_button = Gtk.Button.new_with_label(_("Confirm"))
image_filter = Gtk.FileFilter(name=_("Images"))
image_filter.add_pixbuf_formats()
file_filters = Gio.ListStore.new(Gtk.FileFilter)
file_filters.append(image_filter)
@@ -59,40 +108,95 @@ def create_details_window(parent_widget, game_id = None):
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 = Gtk.Overlay(
child = cover,
halign = Gtk.Align.CENTER,
valign = Gtk.Align.CENTER,
cover_overlay.add_overlay(cover_button_edit)
cover_overlay.add_overlay(cover_button_delete_revealer)
cover_clamp = Adw.Clamp(
maximum_size=200,
child=cover_overlay,
)
cover_overlay.add_overlay(cover_button)
cover_group = Adw.PreferencesGroup()
cover_group.add(cover_overlay)
cover_group.add(cover_clamp)
title_group = Adw.PreferencesGroup(
title = _("Title"),
description = _("The title of the game"),
title=_("Title"),
description=_("The title of the game"),
)
title_group.add(name)
exec_group = Adw.PreferencesGroup(
title = _("Executable"),
description = _("File to open or command to run when launching the game"),
developer_group = Adw.PreferencesGroup(
title=_("Developer"),
description=_("The developer or publisher (optional)"),
)
developer_group.add(developer)
exec_info_button = Gtk.ToggleButton(
icon_name="help-about-symbolic",
valign=Gtk.Align.CENTER,
css_classes=["flat"],
)
# 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)
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 = Adw.PreferencesPage(vexpand=True)
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"))
@@ -100,8 +204,8 @@ def create_details_window(parent_widget, game_id = None):
apply_button.add_css_class("suggested-action")
header_bar = Adw.HeaderBar(
show_start_title_buttons = False,
show_end_title_buttons = False,
show_start_title_buttons=False,
show_end_title_buttons=False,
)
header_bar.pack_start(cancel_button)
header_bar.pack_end(apply_button)
@@ -111,49 +215,77 @@ def create_details_window(parent_widget, game_id = None):
main_box.append(general_page)
window.set_content(main_box)
def choose_cover(widget):
def choose_cover(_widget):
filechooser.open(window, None, set_cover, None)
def set_cover(source, result, _):
nonlocal pixbuf
def set_cover(_source, result, _unused):
nonlocal game_cover
nonlocal cover_changed
try:
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(filechooser.open_finish(result).get_path(), 200, 300, False)
cover.set_pixbuf(pixbuf)
path = filechooser.open_finish(result).get_path()
except GLib.GError:
return
def close_window(widget, callback=None):
cover_button_delete_revealer.set_reveal_child(True)
cover_changed = True
game_cover.new_pixbuf(
resize_animation(path)
if str(path).rsplit(".", maxsplit=1)[-1] == "gif"
else path
)
def close_window(_widget, _callback=None):
window.close()
def apply_preferences(widget, callback=None):
nonlocal pixbuf
def apply_preferences(_widget, _callback=None):
nonlocal cover_changed
nonlocal game_id
nonlocal cover
values = {}
games_dir = os.path.join(os.environ.get("XDG_DATA_HOME"), "games")
final_name = name.get_buffer().get_text()
final_developer = developer.get_buffer().get_text()
final_executable = executable.get_buffer().get_text()
if game_id == None:
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 not game_id
else _("Couldn't Apply Preferences"),
f'{_("Executable")}: {exception}.',
)
return
if not game_id:
if final_name == "":
create_dialog(window, _("Couldn't Add Game"), _("Game title cannot be empty."))
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."))
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 = "imported_" + str(max(numbers)+1)
games[game_id] = {}
game_id = f"imported_{str(max(numbers) + 1)}"
values["game_id"] = game_id
values["hidden"] = False
@@ -163,40 +295,73 @@ def create_details_window(parent_widget, game_id = None):
else:
if final_name == "":
create_dialog(window, _("Couldn't Apply Preferences"), _("Game title cannot be empty."))
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."))
create_dialog(
window,
_("Couldn't Apply Preferences"),
_("Executable cannot be empty."),
)
return
if pixbuf != None:
values["pixbuf_options"] = save_cover(None, parent_widget, None, pixbuf, game_id)
values["name"] = final_name
values["executable"] = final_executable
values["developer"] = final_developer or None
values["executable"] = final_executable_split
win.game_covers[game_id] = game_cover
if cover_changed:
save_cover(
win,
game_id,
None,
game_cover.get_pixbuf(),
game_cover.get_animation(),
)
path = win.games_dir / f"{game_id}.json"
if path.exists():
data = json.loads(path.read_text("utf-8"))
data.update(values)
save_game(win, data)
else:
save_game(win, values)
win.update_games([game_id])
if not game_cover.get_pixbuf():
SGDBSave(win, {(game_id, values["name"])})
win.game_covers[game_id].pictures.remove(cover)
games[game_id].update(values)
save_games(games)
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)
win.show_details_view(None, game_id)
def focus_executable(widget):
def focus_executable(_widget):
window.set_focus(executable)
cover_button.connect("clicked", choose_cover)
cover_button_edit.connect("clicked", choose_cover)
cancel_button.connect("clicked", close_window)
apply_button.connect("clicked", apply_preferences)
name.connect("activate", focus_executable)
developer.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)))
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

@@ -1,6 +1,6 @@
# create_dialog.py
#
# Copyright 2022 kramo
# 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
@@ -17,14 +17,15 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
def create_dialog(parent_widget, heading, body, extra_option=None, extra_label=None):
from gi.repository import Adw, Gtk
from gi.repository import Adw
dialog = Adw.MessageDialog.new(parent_widget, _(heading), body)
dialog.add_response("dismiss", _("Dismiss"))
def create_dialog(win, heading, body, extra_option=None, extra_label=None):
dialog = Adw.MessageDialog.new(win, heading, body)
dialog.add_response("dismiss", _("Dismiss"))
if extra_option:
dialog.add_response(extra_option, _(extra_label))
Gtk.Window.present(dialog)
dialog.present()
return dialog

View File

@@ -1,35 +0,0 @@
# get_cover.py
#
# Copyright 2022 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
def get_cover(game, parent_widget):
from gi.repository import GdkPixbuf
import os
cover_path = os.path.join(os.environ.get("XDG_DATA_HOME"), "covers", game["game_id"] + ".dat")
if os.path.isfile(cover_path) == False:
return parent_widget.placeholder_pixbuf
open_file = open((cover_path), "rb")
data = open_file.read()
open_file.close()
try:
return GdkPixbuf.Pixbuf.new_from_data(data, *parent_widget.games[game["game_id"]]["pixbuf_options"])
except KeyError:
return parent_widget.placeholder_pixbuf

View File

@@ -1,6 +1,6 @@
# get_games.py
#
# Copyright 2022 kramo
# 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
@@ -17,18 +17,22 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
def get_games():
import os, json
import json
games_dir = os.path.join(os.environ.get("XDG_DATA_HOME"), "games")
def get_games(win, game_ids=None):
games = {}
if os.path.exists(games_dir) == False:
if not win.games_dir.exists():
return {}
for game in os.listdir(games_dir):
open_file = open(os.path.join(games_dir, game), "r")
data = json.loads(open_file.read())
open_file.close()
if game_ids:
game_files = [win.games_dir / f"{game_id}.json" for game_id in game_ids]
else:
game_files = win.games_dir.iterdir()
for game in game_files:
data = json.loads(game.read_text("utf-8"))
games[data["game_id"]] = data
return games

View File

@@ -1,158 +0,0 @@
# heroic_parser.py
#
# Copyright 2022 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
def heroic_parser(parent_widget, action):
import os, json, time
from gi.repository import Gtk, GLib
from .create_dialog import create_dialog
from .save_cover import save_cover
schema = parent_widget.schema
heroic_dir = os.path.expanduser(os.path.join(schema.get_string("heroic-location")))
def heroic_not_found():
filechooser = Gtk.FileDialog.new()
def set_heroic_dir(source, result, _):
try:
schema.set_string("heroic-location", filechooser.select_folder_finish(result).get_path())
heroic_dir = heroic_dir = os.path.join(schema.get_string("heroic-location"))
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"), _("Heroic directory cannot be found."), "choose_folder", _("Set Heroic Location")).connect("response", response)
if os.path.exists(os.path.join(heroic_dir, "config.json")) == True:
pass
else:
heroic_not_found()
return {}
heroic_games = {}
current_time = int(time.time())
# Import Epic games
if schema.get_boolean("heroic-import-epic") == False:
pass
elif os.path.exists(os.path.join(heroic_dir, "lib-cache", "installInfo.json")) == True:
open_file = open(os.path.join(heroic_dir, "lib-cache", "installInfo.json"), "r")
data = open_file.read()
open_file.close()
installInfo = json.loads(data)
for item in installInfo:
if installInfo[item]["install"] != None:
values = {}
app_name = installInfo[item]["game"]["app_name"]
values["game_id"] = "heroic_epic_" + app_name
if values["game_id"] in parent_widget.games and "removed" not in parent_widget.games[values["game_id"]].keys():
continue
values["name"] = installInfo[item]["game"]["title"]
values["executable"] = "xdg-open heroic://launch/" + app_name
values["hidden"] = False
values["source"] = "heroic_epic"
values["added"] = current_time
values["last_played"] = 0
if os.path.isfile(os.path.join(heroic_dir, "icons", app_name + ".jpg")) == True:
values["pixbuf_options"] = save_cover(values, parent_widget, os.path.join(os.path.join(heroic_dir, "icons", app_name + ".jpg")))
heroic_games[values["game_id"]] = values
# Import GOG games
if schema.get_boolean("heroic-import-gog") == False:
pass
elif os.path.exists(os.path.join(heroic_dir, "gog_store", "installed.json")) == True:
open_file = open(os.path.join(heroic_dir, "gog_store", "installed.json"), "r")
data = open_file.read()
open_file.close()
installed = json.loads(data)
for item in installed["installed"]:
values = {}
app_name = item["appName"]
values["game_id"] = "heroic_gog_" + app_name
if values["game_id"] in parent_widget.games and "removed" not in parent_widget.games[values["game_id"]].keys():
continue
# Get game title from library.json as it's not present in installed.json
open_file = open(os.path.join(heroic_dir, "gog_store", "library.json"), "r")
data = open_file.read()
open_file.close()
library = json.loads(data)
for game in library["games"]:
if game["app_name"] == app_name:
values["name"] = game["title"]
break
values["executable"] = "xdg-open heroic://launch/" + app_name
values["hidden"] = False
values["source"] = "heroic_gog"
values["added"] = current_time
values["last_played"] = 0
if os.path.isfile(os.path.join(heroic_dir, "icons", app_name + ".jpg")) == True:
values["pixbuf_options"] = save_cover(values, parent_widget, os.path.join(os.path.join(heroic_dir, "icons", app_name + ".jpg")))
heroic_games[values["game_id"]] = values
# Import sideloaded games
if schema.get_boolean("heroic-import-sideload") == False:
pass
elif os.path.exists(os.path.join(heroic_dir, "sideload_apps", "library.json")) == True:
open_file = open(os.path.join(heroic_dir, "sideload_apps", "library.json"), "r")
data = open_file.read()
open_file.close()
library = json.loads(data)
for item in library["games"]:
values = {}
app_name = item["app_name"]
values["game_id"] = "heroic_sideload_" + app_name
if values["game_id"] in parent_widget.games and "removed" not in parent_widget.games[values["game_id"]].keys():
continue
values["name"] = item["title"]
values["executable"] = "xdg-open heroic://launch/" + app_name
values["hidden"] = False
values["source"] = "heroic_sideload"
values["added"] = current_time
values["last_played"] = 0
if os.path.isfile(os.path.join(heroic_dir, "icons", app_name + ".jpg")) == True:
values["pixbuf_options"] = save_cover(values, parent_widget, os.path.join(os.path.join(heroic_dir, "icons", app_name + ".jpg")))
heroic_games[values["game_id"]] = values
if len(heroic_games) == 0:
create_dialog(parent_widget, _("No Games Found"), _("No new games found in Heroic library."))
elif len(heroic_games) == 1:
create_dialog(parent_widget, _("Heroic Games Imported"), _("Successfully imported 1 game."))
elif len(heroic_games) > 1:
create_dialog(parent_widget, _("Heroic Games Imported"), _("Successfully imported") + " " + str(len(heroic_games)) + " " + _("games."))
return heroic_games

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

@@ -0,0 +1,155 @@
# 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 gi.repository import Adw, Gtk
from .create_dialog import create_dialog
from .save_cover import save_cover
from .save_game import save_game
from .steamgriddb import SGDBSave
class Importer:
def __init__(self, win):
self.win = 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=win,
deletable=False,
)
self.import_dialog.present()
def save_game(self, values=None, cover_path=None, pixbuf=None):
if values:
save_game(self.win, values)
if cover_path or pixbuf:
save_cover(self.win, values["game_id"], cover_path, pixbuf)
self.games.add((values["game_id"], values["name"]))
self.games_no += 1
if "blacklisted" in values:
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.win, self.games, self)
else:
self.done()
def done(self):
self.update_progressbar()
if self.queue == 0:
self.import_dialog.close()
if self.games_no == 0:
create_dialog(
self.win,
_("No Games Found"),
_("No new games were found on your system."),
"open_preferences",
_("Preferences"),
).connect("response", self.response, "import")
elif self.games_no == 1:
create_dialog(
self.win,
_("Game Imported"),
_("Successfully imported 1 game."),
).connect("response", self.response, "import")
elif self.games_no > 1:
games_no = self.games_no
create_dialog(
self.win,
_("Games Imported"),
# The variable is the number of games
_("Successfully imported {} games.").format(games_no),
).connect("response", self.response, "import")
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
)
elif 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
elif (
self.win.schema.get_boolean("steam")
and self.win.schema.get_boolean("steam-extra-dirs-hint")
and not self.win.schema.get_strv("steam-extra-dirs")
):
steam_library_path = (
Path(self.win.schema.get_string("steam-location"))
/ "steamapps"
/ "libraryfolders.vdf"
)
if (
steam_library_path.exists()
and steam_library_path.read_text("utf-8").count('"path"') > 1
):
self.win.schema.set_boolean("steam-extra-dirs-hint", False)
create_dialog(
self.win,
_("Extra Steam Libraries"),
_(
"Looks like you have multiple Steam libraries. Would you like to add them in preferences?"
),
"open_preferences",
_("Preferences"),
).connect("response", self.response, "import", "steam_expander_row")
def update_progressbar(self):
try:
self.progressbar.set_fraction(1 - (self.queue / self.total_queue))
except ZeroDivisionError:
self.progressbar.set_fraction(1)

View File

@@ -1,6 +1,6 @@
# save_cover.py
#
# Copyright 2022 kramo
# 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
@@ -17,23 +17,63 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
def save_cover(game, parent_widget, file_path, pixbuf = None, game_id = None):
from gi.repository import GdkPixbuf
import os
covers_dir = os.path.join(os.environ.get("XDG_DATA_HOME"), "covers")
if os.path.exists(covers_dir) == False:
os.makedirs(covers_dir)
from pathlib import Path
from shutil import copyfile
if game_id == None:
game_id = game["game_id"]
from gi.repository import GdkPixbuf, Gio
from PIL import Image, ImageSequence
cover_path = os.path.join(covers_dir, game_id + ".dat")
if pixbuf == None:
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(file_path, 200, 300, False)
def resize_animation(cover_path):
image = Image.open(cover_path)
frames = tuple(
frame.copy().resize((200, 300)) for frame in ImageSequence.Iterator(image)
)
open_file = open((cover_path), "wb")
open_file.write(bytes(pixbuf.get_pixels()))
open_file.close()
return [pixbuf.get_colorspace(), pixbuf.get_has_alpha(), pixbuf.get_bits_per_sample(), pixbuf.get_width(), pixbuf.get_height(), pixbuf.get_rowstride()]
tmp_path = Path(Gio.File.new_tmp("XXXXXX.gif")[0].get_path())
frames[0].save(
tmp_path,
format="gif",
save_all=True,
append_images=frames[1:],
)
return tmp_path
def save_cover(
win,
game_id,
cover_path=None,
pixbuf=None,
animation_path=None,
):
win.covers_dir.mkdir(parents=True, exist_ok=True)
# Remove previous covers
(win.covers_dir / f"{game_id}.tiff").unlink(missing_ok=True)
(win.covers_dir / f"{game_id}.gif").unlink(missing_ok=True)
if animation_path:
copyfile(animation_path, win.covers_dir / f"{game_id}.gif")
if game_id in win.game_covers:
win.game_covers[game_id].new_pixbuf(animation_path)
return
if not pixbuf:
if not cover_path:
return
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
str(cover_path), *win.image_size, False
)
pixbuf.savev(
str(win.covers_dir / f"{game_id}.tiff"),
"tiff",
["compression"],
["8"] if win.schema.get_boolean("high-quality-images") else ["7"],
)
if game_id in win.game_covers:
win.game_covers[game_id].new_pixbuf(win.covers_dir / f"{game_id}.tiff")

View File

@@ -1,6 +1,6 @@
# run_command.py
# save_game.py
#
# Copyright 2022 kramo
# 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
@@ -17,12 +17,12 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
def run_command(parent_widget, executable):
import subprocess, sys
import json
from gi.repository import Gio
subprocess.Popen(["flatpak-spawn --host " + executable], shell=True, start_new_session=True)
def save_game(win, game):
win.games_dir.mkdir(parents=True, exist_ok=True)
if Gio.Settings.new("hu.kramo.GameShelf").get_boolean("exit-after-launch") == True:
sys.exit()
(win.games_dir / f'{game["game_id"]}.json').write_text(
json.dumps(game, indent=4, sort_keys=True), "utf-8"
)

View File

@@ -1,31 +0,0 @@
# save_games.py
#
# Copyright 2022 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
def save_games(games):
import os, json
games_dir = os.path.join(os.environ.get("XDG_DATA_HOME"), "games")
existing = []
if os.path.exists(games_dir) == False:
os.makedirs(games_dir)
for game in games:
open_file = open(os.path.join(games_dir, game + ".json"), "w")
open_file.write(json.dumps(games[game], indent=4))
open_file.close()

View File

@@ -1,103 +0,0 @@
# steam_parser.py
#
# Copyright 2022 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
def steam_parser(parent_widget, action):
import os, re, time
from gi.repository import Gtk, GLib
from .create_dialog import create_dialog
from .save_cover import save_cover
schema = parent_widget.schema
steam_dir = os.path.expanduser(os.path.join(schema.get_string("steam-location")))
def steam_not_found():
filechooser = Gtk.FileDialog.new()
def set_steam_dir(source, result, _):
try:
schema.set_string("steam-location", filechooser.select_folder_finish(result).get_path())
steam_dir = steam_dir = os.path.join(schema.get_string("steam-location"))
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"), _("Steam directory cannot be found."), "choose_folder", _("Set Steam Location")).connect("response", response)
if os.path.exists(os.path.join(steam_dir, "steamapps")) == True:
pass
elif os.path.exists(os.path.join(steam_dir, "steam", "steamapps")) == True:
schema.set_string("steam-location", os.path.join(steam_dir, "steam"))
elif os.path.exists(os.path.join(steam_dir, "Steam", "steamapps")) == True:
schema.set_string("steam-location", os.path.join(steam_dir, "Steam"))
else:
steam_not_found()
return {}
steam_dir = schema.get_string("steam-location")
appmanifests = []
datatypes = ["appid", "name"]
steam_games = {}
current_time = int(time.time())
for open_file in os.listdir(os.path.join(steam_dir, "steamapps")):
path = os.path.join(steam_dir, "steamapps", open_file)
if os.path.isfile(path) and "appmanifest" in open_file:
appmanifests.append(path)
for appmanifest in appmanifests:
values = {}
open_file = open(appmanifest, "r")
data = open_file.read()
open_file.close()
for datatype in datatypes:
value = re.findall("\"" + datatype + "\"\t\t\"(.*)\"\n", data)
values [datatype] = value[0]
values["game_id"] = "steam_" + values["appid"]
if values["game_id"] in parent_widget.games and "removed" not in parent_widget.games[values["game_id"]].keys():
continue
values["executable"] = "xdg-open steam://rungameid/" + values["appid"]
values["hidden"] = False
values["source"] = "steam"
values["added"] = current_time
values["last_played"] = 0
if os.path.isfile(os.path.join(steam_dir, "appcache", "librarycache", values["appid"] + "_library_600x900.jpg")) == True:
values["pixbuf_options"] = save_cover(values, parent_widget, os.path.join(steam_dir, "appcache", "librarycache", values["appid"] + "_library_600x900.jpg"))
steam_games[values["game_id"]] = values
if len(steam_games) == 0:
create_dialog(parent_widget, _("No Games Found"), _("No new games found in Steam library."))
elif len(steam_games) == 1:
create_dialog(parent_widget, _("Steam Games Imported"), _("Successfully imported 1 game."))
elif len(steam_games) > 1:
create_dialog(parent_widget, _("Steam Games Imported"), _("Successfully imported") + " " + str(len(steam_games)) + " " + _("games."))
return steam_games

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

@@ -0,0 +1,124 @@
from pathlib import Path
import requests
from gi.repository import Gio
from .create_dialog import create_dialog
from .save_cover import save_cover, resize_animation
class SGDBSave:
def __init__(self, win, games, importer=None):
self.win = 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, *_unused):
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):
if self.win.schema.get_boolean("sgdb") and (
self.win.schema.get_boolean("sgdb-prefer")
or (
not (self.win.covers_dir / f"{game[0]}.gif").is_file()
and not (self.win.covers_dir / f"{game[0]}.tiff").is_file()
)
):
if not self.importer:
self.win.games[game[0]].set_loading(1)
url = "https://www.steamgriddb.com/api/v2/"
headers = {
"Authorization": f'Bearer {self.win.schema.get_string("sgdb-key")}'
}
try:
search_result = requests.get(
f"{url}search/autocomplete/{game[1]}",
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[0])
return
animated_grid = False
response = None
try:
if self.win.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
)
animated_grid = True
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[0])
return
tmp_file = Gio.File.new_tmp(None)[0]
Path(tmp_file.get_path()).write_bytes(response.content)
save_cover(
self.win,
game[0],
tmp_file.get_path(),
animation_path=resize_animation(tmp_file.get_path())
if animated_grid
else None,
)
task.return_value(game[0])
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_id = result.propagate_value()[1]
self.win.update_games([game_id])
def response(self, _widget, response):
if response == "open_preferences":
self.win.get_application().on_preferences_action(None, page_name="sgdb")

View File

@@ -1,6 +1,6 @@
# window.py
#
# Copyright 2022 kramo
# 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
@@ -17,49 +17,54 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
from gi.repository import Gio, GLib, Adw, GdkPixbuf, Gtk
import datetime
import os
import struct
from pathlib import Path
from shutil import rmtree
import os, json, time, datetime
from gi.repository import Adw, Gdk, GdkPixbuf, Gio, GLib, Gtk
from .game import game
from .get_cover import get_cover
from .game import Game
from .get_games import get_games
from .save_games import save_games
from .save_game import save_game
@Gtk.Template(resource_path="/hu/kramo/GameShelf/window.ui")
class GameShelfWindow(Adw.ApplicationWindow):
__gtype_name__ = "GameShelfWindow"
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/window.ui")
class CartridgesWindow(Adw.ApplicationWindow):
__gtype_name__ = "CartridgesWindow"
toast_overlay = Gtk.Template.Child()
primary_menu_button = Gtk.Template.Child()
stack = Gtk.Template.Child()
overview = Gtk.Template.Child()
details_view = Gtk.Template.Child()
library_view = Gtk.Template.Child()
library = Gtk.Template.Child()
scrolledwindow = Gtk.Template.Child()
library_bin = Gtk.Template.Child()
notice_empty = Gtk.Template.Child()
notice_no_results = Gtk.Template.Child()
game_options = Gtk.Template.Child()
search_bar = Gtk.Template.Child()
search_entry = Gtk.Template.Child()
search_button = Gtk.Template.Child()
overview_box = Gtk.Template.Child()
overview_cover = Gtk.Template.Child()
overview_title = Gtk.Template.Child()
overview_header_bar_title = Gtk.Template.Child()
overview_launch = Gtk.Template.Child()
overview_blurred_cover = Gtk.Template.Child()
overview_menu_button = Gtk.Template.Child()
overview_added = Gtk.Template.Child()
overview_last_played = Gtk.Template.Child()
details_view_box = Gtk.Template.Child()
details_view_cover = Gtk.Template.Child()
details_view_spinner = Gtk.Template.Child()
details_view_title = Gtk.Template.Child()
details_view_header_bar_title = Gtk.Template.Child()
details_view_play_button = Gtk.Template.Child()
details_view_blurred_cover = Gtk.Template.Child()
details_view_developer = Gtk.Template.Child()
details_view_added = Gtk.Template.Child()
details_view_last_played = Gtk.Template.Child()
details_view_hide_button = Gtk.Template.Child()
hidden_library = Gtk.Template.Child()
hidden_library_view = Gtk.Template.Child()
hidden_scrolledwindow = Gtk.Template.Child()
hidden_library_bin = Gtk.Template.Child()
hidden_notice_empty = Gtk.Template.Child()
hidden_game_options = Gtk.Template.Child()
hidden_search_bar = Gtk.Template.Child()
hidden_search_entry = Gtk.Template.Child()
hidden_search_button = Gtk.Template.Child()
@@ -67,39 +72,78 @@ class GameShelfWindow(Adw.ApplicationWindow):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.data_dir = (
Path(os.getenv("XDG_DATA_HOME"))
if "XDG_DATA_HOME" in os.environ
else Path.home() / ".local" / "share"
)
self.config_dir = (
Path(os.getenv("XDG_CONFIG_HOME"))
if "XDG_CONFIG_HOME" in os.environ
else Path.home() / ".config"
)
self.cache_dir = (
Path(os.getenv("XDG_CACHE_HOME"))
if "XDG_CACHE_HOME" in os.environ
else Path.home() / ".cache"
)
self.games_dir = self.data_dir / "cartridges" / "games"
self.covers_dir = self.data_dir / "cartridges" / "covers"
self.games = {}
self.game_covers = {}
self.visible_widgets = {}
self.hidden_widgets = {}
self.filtered = {}
self.hidden_filtered = {}
self.previous_page = self.library_view
self.toasts = {}
self.active_game_id = None
self.scaled_pixbuf = None
self.details_view_game_cover = None
self.overview.set_measure_overlay(self.overview_box, True)
self.overview.set_clip_overlay(self.overview_box, False)
self.schema = Gio.Settings.new("hu.kramo.Cartridges")
scale_factor = max(
monitor.get_scale_factor()
for monitor in Gdk.Display.get_default().get_monitors()
)
self.image_size = (200 * scale_factor, 300 * scale_factor)
self.schema = Gio.Settings.new("hu.kramo.GameShelf")
self.placeholder_pixbuf = GdkPixbuf.Pixbuf.new_from_resource_at_scale("/hu/kramo/GameShelf/assets/library_placeholder.svg", 200, 300, False)
games = get_games()
for game in games:
if "removed" in games[game].keys():
os.remove(os.path.join(os.environ.get("XDG_DATA_HOME"), "games", game + ".json"))
try:
os.remove(os.path.join(os.environ.get("XDG_DATA_HOME"), "covers", game + ".dat"))
except FileNotFoundError:
pass
games = get_games(self)
for game_id in games:
if "removed" in games[game_id]:
(self.games_dir / f"{game_id}.json").unlink(missing_ok=True)
(self.covers_dir / f"{game_id}.tiff").unlink(missing_ok=True)
(self.covers_dir / f"{game_id}.gif").unlink(missing_ok=True)
rmtree(self.cache_dir / "cartridges" / "deleted_covers", True)
self.details_view.set_measure_overlay(self.details_view_box, True)
self.details_view.set_clip_overlay(self.details_view_box, False)
self.library.set_filter_func(self.search_filter)
self.hidden_library.set_filter_func(self.hidden_search_filter)
self.update_games(get_games())
self.update_games(get_games(self))
# Connect signals
self.search_entry.connect("search-changed", self.search_changed, False)
self.hidden_search_entry.connect("search-changed", self.search_changed, True)
back_mouse_button = Gtk.GestureClick(button=8)
back_mouse_button.connect("pressed", self.on_go_back_action)
self.add_controller(back_mouse_button)
Adw.StyleManager.get_default().connect(
"notify::dark", self.set_details_view_opacity
)
Adw.StyleManager.get_default().connect(
"notify::high-contrast", self.set_details_view_opacity
)
def update_games(self, games):
# Update the displayed games and the self.games instance variable to reference later
self.games = get_games()
current_games = get_games(self)
for game_id in games:
if game_id in self.visible_widgets:
@@ -110,41 +154,48 @@ class GameShelfWindow(Adw.ApplicationWindow):
self.hidden_library.remove(self.hidden_widgets[game_id])
self.hidden_filtered.pop(self.hidden_widgets[game_id])
self.hidden_widgets.pop(game_id)
if game_id in self.games:
current_game = self.games[game_id]
if "removed" in current_game.keys():
continue
current_game = current_games[game_id]
entry = game(current_game["name"], get_cover(current_game, self), game_id)
entry = Game(self, current_game)
self.games[current_game["game_id"]] = entry
if self.games[game_id]["hidden"] == False:
self.visible_widgets[game_id] = entry
self.library.append(entry)
else:
self.hidden_widgets[game_id] = entry
entry.menu_button.set_menu_model(entry.hidden_game_options)
self.hidden_library.append(entry)
if entry.removed:
continue
if entry.blacklisted:
continue
entry.cover_button.connect("clicked", self.show_overview, game_id)
entry.menu_button.get_popover().connect("notify::visible", self.set_active_game, game_id)
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)
if self.visible_widgets == {}:
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 self.hidden_widgets == {}:
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)
if self.stack.get_visible_child() == self.details_view:
self.show_details_view(None, self.active_game_id)
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
if hidden == False:
if not hidden:
self.library.invalidate_filter()
else:
self.hidden_library.invalidate_filter()
@@ -154,7 +205,12 @@ class GameShelfWindow(Adw.ApplicationWindow):
text = self.search_entry.get_text().lower()
if text == "":
filtered = True
elif text in child.get_first_child().name.lower():
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
@@ -172,7 +228,12 @@ class GameShelfWindow(Adw.ApplicationWindow):
text = self.hidden_search_entry.get_text().lower()
if text == "":
filtered = True
elif text in child.get_first_child().name.lower():
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
@@ -185,115 +246,176 @@ class GameShelfWindow(Adw.ApplicationWindow):
self.hidden_library_bin.set_child(self.hidden_scrolledwindow)
return filtered
def set_active_game(self, widget, _, game):
self.active_game_id = game
def set_active_game(self, _widget, _unused, game_id):
self.active_game_id = game_id
def get_time(self, timestamp):
date = datetime.datetime.fromtimestamp(timestamp)
if (datetime.datetime.today() - date).days == 0:
return _("Today")
elif (datetime.datetime.today() - date).days == 1:
if (datetime.datetime.today() - date).days == 1:
return _("Yesterday")
elif (datetime.datetime.today() - date).days < 8:
if (datetime.datetime.today() - date).days < 8:
return GLib.DateTime.new_from_unix_utc(timestamp).format("%A")
if (datetime.datetime.today() - date).days < 335:
return GLib.DateTime.new_from_unix_utc(timestamp).format("%B")
return GLib.DateTime.new_from_unix_utc(timestamp).format("%Y")
def show_details_view(self, _widget, game_id):
current_game = self.games[game_id]
self.details_view_cover.set_visible(not current_game.loading)
self.details_view_spinner.set_spinning(current_game.loading)
if current_game.developer:
self.details_view_developer.set_label(current_game.developer)
self.details_view_developer.set_visible(True)
else:
return GLib.DateTime.new_from_unix_utc(timestamp).format("%x")
self.details_view_developer.set_visible(False)
def show_overview(self, widget, game_id):
game = self.games[game_id]
if game["hidden"] == False:
self.overview_menu_button.set_menu_model(self.game_options)
if current_game.hidden:
self.details_view_hide_button.set_icon_name("view-reveal-symbolic")
self.details_view_hide_button.set_tooltip_text(_("Unhide"))
else:
self.overview_menu_button.set_menu_model(self.hidden_game_options)
if self.stack.get_visible_child() != self.overview:
self.stack.set_transition_type(Gtk.StackTransitionType.OVER_LEFT)
self.stack.set_visible_child(self.overview)
self.details_view_hide_button.set_icon_name("view-conceal-symbolic")
self.details_view_hide_button.set_tooltip_text(_("Hide"))
self.active_game_id = game_id
pixbuf = (self.visible_widgets | self.hidden_widgets)[self.active_game_id].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(game["name"])
self.overview_header_bar_title.set_title(game["name"])
self.overview_added.set_label(_("Added: ") + self.get_time(game["added"]))
self.overview_last_played.set_label(_("Last played: ") + self.get_time(game["last_played"]) if game["last_played"] != 0 else _("Last played: Never"))
if self.details_view_game_cover:
self.details_view_game_cover.pictures.remove(self.details_view_cover)
self.details_view_game_cover = self.game_covers[game_id]
self.details_view_game_cover.add_picture(self.details_view_cover)
self.scaled_pixbuf = (
self.details_view_game_cover.get_pixbuf()
or self.details_view_game_cover.placeholder_pixbuf
).scale_simple(2, 3, GdkPixbuf.InterpType.BILINEAR)
self.details_view_blurred_cover.set_pixbuf(self.scaled_pixbuf)
self.details_view_title.set_label(current_game.name)
self.details_view_header_bar_title.set_title(current_game.name)
date = self.get_time(current_game.added)
self.details_view_added.set_label(
# The variable is the date when the game was added
_("Added: {}").format(date)
)
last_played_date = (
self.get_time(current_game.last_played)
if current_game.last_played != 0
else _("Never")
)
self.details_view_last_played.set_label(
# The variable is the date when the game was last played
_("Last played: {}").format(last_played_date)
)
if self.stack.get_visible_child() != self.details_view:
self.stack.set_transition_type(Gtk.StackTransitionType.OVER_LEFT)
self.stack.set_visible_child(self.details_view)
self.set_details_view_opacity()
def set_details_view_opacity(self, _widget=None, _unused=None):
if self.stack.get_visible_child() == self.details_view:
style_manager = Adw.StyleManager.get_default()
if (
style_manager.get_high_contrast()
or not style_manager.get_system_supports_color_schemes()
):
self.details_view_blurred_cover.set_opacity(0.3)
return
pixels = self.scaled_pixbuf.get_pixels()
channels = self.scaled_pixbuf.get_n_channels()
colors = set()
for index in range(6):
colors.add(struct.unpack_from("BBBB", pixels, offset=index * channels))
dark_theme = style_manager.get_dark()
luminances = []
for red, green, blue, alpha in colors:
# https://en.wikipedia.org/wiki/Relative_luminance
luminance = red * 0.2126 + green * 0.7152 + blue * 0.0722
if dark_theme:
luminances.append((luminance * alpha) / 255**2)
else:
luminances.append((alpha * (luminance - 255)) / 255**2 + 1)
if dark_theme:
self.details_view_blurred_cover.set_opacity(
1.3 - (sum(luminances) / len(luminances) + max(luminances)) / 2
)
else:
self.details_view_blurred_cover.set_opacity(
0.2 + (sum(luminances) / len(luminances) + min(luminances)) / 2
)
def a_z_sort(self, child1, child2):
name1 = child1.get_first_child().name.lower()
name2 = child2.get_first_child().name.lower()
if name1 > name2:
return 1
elif name1 < name2:
if name1 < name2:
return -1
else:
if child1.get_first_child().game_id > child2.get_first_child().game_id:
return 1
else:
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):
name1 = child1.get_first_child().name.lower()
name2 = child2.get_first_child().name.lower()
if name1 > name2:
return -1
elif name1 < name2:
return 1
else:
return self.a_z_sort(child1, child2)
return 1 if name1 < name2 else self.a_z_sort(child1, child2)
def newest_sort(self, child1, child2):
time1 = self.games[child1.get_first_child().game_id]["added"]
time2 = self.games[child2.get_first_child().game_id]["added"]
time1 = self.games[child1.get_first_child().game_id].added
time2 = self.games[child2.get_first_child().game_id].added
if time1 > time2:
return -1
elif time1 < time2:
return 1
else:
return self.a_z_sort(child1, child2)
return 1 if time1 < time2 else self.a_z_sort(child1, child2)
def oldest_sort(self, child1, child2):
time1 = self.games[child1.get_first_child().game_id]["added"]
time2 = self.games[child2.get_first_child().game_id]["added"]
time1 = self.games[child1.get_first_child().game_id].added
time2 = self.games[child2.get_first_child().game_id].added
if time1 > time2:
return 1
elif time1 < time2:
return -1
else:
return self.a_z_sort(child1, child2)
return -1 if time1 < time2 else self.a_z_sort(child1, child2)
def last_played_sort(self, child1, child2):
time1 = self.games[child1.get_first_child().game_id]["last_played"]
time2 = self.games[child2.get_first_child().game_id]["last_played"]
time1 = self.games[child1.get_first_child().game_id].last_played
time2 = self.games[child2.get_first_child().game_id].last_played
if time1 > time2:
return -1
elif time1 < time2:
return 1
else:
return self.a_z_sort(child1, child2)
return 1 if time1 < time2 else self.a_z_sort(child1, child2)
def on_go_back_action(self, widget, _):
def on_go_back_action(self, _widget, _unused, _x=None, _y=None):
if self.stack.get_visible_child() == self.hidden_library_view:
self.on_show_library_action(None, None)
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)
def on_go_to_parent_action(self, widget, _):
if self.stack.get_visible_child() == self.overview:
def on_go_to_parent_action(self, _widget, _unused):
if self.stack.get_visible_child() == self.details_view:
if self.previous_page == self.library_view:
self.on_show_library_action(None, None)
else:
self.on_show_hidden_action(None, None)
def on_show_library_action(self, widget, _):
def on_show_library_action(self, _widget, _unused):
self.stack.set_transition_type(Gtk.StackTransitionType.UNDER_RIGHT)
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, _):
def on_show_hidden_action(self, _widget, _unused):
if self.stack.get_visible_child() == self.library_view:
self.stack.set_transition_type(Gtk.StackTransitionType.OVER_LEFT)
else:
@@ -304,7 +426,7 @@ class GameShelfWindow(Adw.ApplicationWindow):
def on_sort_action(self, action, state):
action.set_state(state)
state = str(state).strip("\'")
state = str(state).strip("'")
if state == "a-z":
sort_func = self.a_z_sort
@@ -318,14 +440,16 @@ class GameShelfWindow(Adw.ApplicationWindow):
elif state == "oldest":
sort_func = self.oldest_sort
elif state == "last_played":
else:
sort_func = self.last_played_sort
self.schema.set_string("sort-mode", state)
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, _):
def on_toggle_search_action(self, _widget, _unused):
if self.stack.get_visible_child() == self.library_view:
search_bar = self.search_bar
search_entry = self.search_entry
@@ -341,16 +465,16 @@ class GameShelfWindow(Adw.ApplicationWindow):
search_bar.set_search_mode(not search_mode)
search_button.set_active(not search_button.get_active())
if search_mode == False:
if not search_mode:
self.set_focus(search_entry)
else:
search_entry.set_text("")
def on_escape_action(self, widget, _):
if self.stack.get_visible_child() == self.overview:
def on_escape_action(self, _widget, _unused):
if self.stack.get_visible_child() == self.details_view:
self.on_go_back_action(None, None)
return
elif self.stack.get_visible_child() == self.library_view:
if self.stack.get_visible_child() == self.library_view:
search_bar = self.search_bar
search_entry = self.search_entry
search_button = self.search_button
@@ -366,19 +490,28 @@ class GameShelfWindow(Adw.ApplicationWindow):
search_button.set_active(False)
search_entry.set_text("")
def on_undo_remove_action(self, widget, game_id=None):
# Remove the "removed=True" property from the game and dismiss the toast
if not game_id:
def on_undo_action(self, _widget, game_id=None, undo=None):
if not game_id: # If the action was activated via Ctrl + Z
try:
game_id = list(self.toasts)[-1]
game_id = tuple(self.toasts.keys())[-1][0]
undo = tuple(self.toasts.keys())[-1][1]
except IndexError:
return
open_file = open(os.path.join(os.path.join(os.environ.get("XDG_DATA_HOME"), "games", game_id + ".json")), "r")
data = json.loads(open_file.read())
open_file.close()
data.pop("removed")
save_games({game_id : data})
self.update_games({game_id : self.games[game_id]})
self.toasts[game_id].dismiss()
self.toasts.pop(game_id)
if undo == "hide":
self.get_application().on_hide_game_action(
None, game_id=game_id, toast=False
)
elif undo == "remove":
data = get_games(self, [game_id])[game_id]
data.pop("removed", None)
save_game(self, data)
self.update_games([game_id])
self.toasts[(game_id, undo)].dismiss()
self.toasts.pop((game_id, undo))
def on_open_menu_action(self, _widget, _unused):
if self.stack.get_visible_child() != self.details_view:
self.primary_menu_button.set_active(True)