Compare commits

...

189 Commits
v0.1.3 ... v1.2

Author SHA1 Message Date
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
60 changed files with 7875 additions and 2218 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.

View File

@@ -14,8 +14,6 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: flatpak/flatpak-github-actions/flatpak-builder@v5 - uses: flatpak/flatpak-github-actions/flatpak-builder@v5
with: with:
repository-name: gnome-nightly
repository-url: https://nightly.gnome.org/gnome-nightly.flatpakrepo
bundle: hu.kramo.Cartridges.flatpak bundle: hu.kramo.Cartridges.flatpak
manifest-path: hu.kramo.Cartridges.json manifest-path: hu.kramo.Cartridges.json
cache-key: flatpak-builder-${{ github.sha }} cache-key: flatpak-builder-${{ github.sha }}

View File

@@ -19,7 +19,7 @@ jobs:
- name: Compile - name: Compile
shell: msys2 {0} shell: msys2 {0}
run: | run: |
meson _build meson setup _build
ninja -C _build install ninja -C _build install
pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git
- name: "Inno Setup" - name: "Inno Setup"

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
/subprojects/blueprint-compiler /subprojects/blueprint-compiler
/.flatpak /.flatpak
/.flatpak-builder
/.vscode /.vscode

View File

@@ -1,5 +1,5 @@
#define MyAppName "Cartridges" #define MyAppName "Cartridges"
#define MyAppVersion "0.1.3" #define MyAppVersion "1.2"
#define MyAppPublisher "kramo" #define MyAppPublisher "kramo"
#define MyAppURL "https://github.com/kra-mo/cartridges" #define MyAppURL "https://github.com/kra-mo/cartridges"
#define MyAppExeName "pythonw.exe" #define MyAppExeName "pythonw.exe"
@@ -30,8 +30,7 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files] [Files]
Source: "cartridges"; DestDir: "{app}\bin"; Flags: ignoreversion 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\pythonw.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\bin\python.exe"; DestDir: "{app}\bin"; Flags: ignoreversion Source: "D:\a\_temp\msys64\ucrt64\bin\python.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\bin\gdbus.exe"; DestDir: "{app}\bin"; Flags: ignoreversion Source: "D:\a\_temp\msys64\ucrt64\bin\gdbus.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
@@ -41,10 +40,10 @@ Source: "D:\a\_temp\msys64\ucrt64\etc\ssl\*"; DestDir: "{app}\etc\ssl"; Flags: r
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\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\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"; 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"; 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"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\icons\*"; DestDir: "{app}\share\icons"; Excludes: "cursors\*"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\glib-2.0\*"; DestDir: "{app}\share\glib-2.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\glib-2.0\*"; DestDir: "{app}\share\glib-2.0"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\gtk-4.0\*"; DestDir: "{app}\share\gtk-4.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\gtk-4.0\*"; DestDir: "{app}\share\gtk-4.0"; Flags: recursesubdirs ignoreversion
@@ -55,5 +54,4 @@ Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Para
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; IconFilename: "{app}\icon.ico"; Tasks: desktopicon Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; IconFilename: "{app}\icon.ico"; Tasks: desktopicon
[Run] [Run]
Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait skipifsilent Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall

View File

@@ -1,41 +0,0 @@
# Cartridges
#
# 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
import os
import sys
import signal
import gettext
VERSION = '0.1.3'
pkgdatadir = os.path.join(os.path.dirname(__file__), '..', 'share', 'cartridges')
localedir = os.path.join(os.path.dirname(__file__), '..', 'share', 'locale')
sys.path.insert(1, pkgdatadir)
signal.signal(signal.SIGINT, signal.SIG_DFL)
gettext.install('cartridges', localedir)
if __name__ == '__main__':
import gi
from gi.repository import Gio
resource = Gio.Resource.load(os.path.join(pkgdatadir, 'cartridges.gresource'))
resource._register()
from cartridges import main
sys.exit(main.main(VERSION))

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

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

@@ -4,72 +4,66 @@
# Cartridges # Cartridges
A GTK4 + Libadwaita game launcher A GTK4 + Libadwaita game launcher
[![Flathub][flathub-image]][flathub-url]
[![Build status][github-actions-image]][github-actions-url] [![Build status][github-actions-image]][github-actions-url]
[![Translation Status][weblate-image]][weblate-url] [![Translation Status][weblate-image]][weblate-url]
[![Merged PRs][prs-merged-image]][prs-merged-url]
[![License][license-image]][license-url] [![License][license-image]][license-url]
[![Code style][code-style-image]][code-style-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-url]: https://github.com/kra-mo/cartridges
[github-actions-image]: https://img.shields.io/github/actions/workflow/status/kra-mo/cartridges/flatpak-builder.yml?branch=main&label=build [github-actions-image]: https://github.com/kra-mo/cartridges/actions/workflows/flatpak-builder.yml/badge.svg
[prs-merged-url]: https://github.com/kra-mo/cartridges/pulls?q=is:pr+is:merged
[prs-merged-image]: https://img.shields.io/github/issues-pr-closed-raw/kra-mo/cartridges.svg?label=merged+PRs&color=green
[license-url]: https://github.com/kra-mo/cartridges/blob/main/LICENSE [license-url]: https://github.com/kra-mo/cartridges/blob/main/LICENSE
[license-image]: https://img.shields.io/github/license/kra-mo/cartridges [license-image]: https://img.shields.io/github/license/kra-mo/cartridges
[code-style-url]: https://github.com/psf/black [code-style-url]: https://github.com/psf/black
[code-style-image]: https://img.shields.io/badge/code%20style-black-000000?style=flat [code-style-image]: https://img.shields.io/badge/code%20style-black-000000?style=flat
[weblate-url]: https://hosted.weblate.org/projects/cartridges/cartridges [weblate-url]: https://hosted.weblate.org/engage/cartridges/
[weblate-image]: https://hosted.weblate.org/widgets/cartridges/-/cartridges/svg-badge.svg [weblate-image]: https://hosted.weblate.org/widgets/cartridges/-/cartridges/svg-badge.svg
[discord-url]: https://discord.gg/4KSFh3AmQR
[discord-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/screenshot.webp"> <img src="data/screenshots/1.png">
</div> </div>
# The Project
## The Project Cartridges is a simple game launcher written in Python using GTK4 and Libadwaita.
Cartridges is a simple game launcher written in Python using GTK4 + Libadwaita. ## Features
### Features
- Manually adding and editing games - Manually adding and editing games
- Importing games from Steam, Heroic and Bottles - Importing games from Steam, Heroic and Bottles
- Support for multiple Steam install locations
- Hiding games - Hiding games
- Searching and sorting by title, date added and last played - Searching and sorting by title, date added and last played
## 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). ## Linux
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.
## Installation ### Flathub (Recommended)
### Latest Build From GitHub Actions <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>
1. Install `org.gnome.Platform` from the [gnome-nightly repository](https://wiki.gnome.org/Apps/Nightly) if needed.
2. Download the artifact from the latest workflow run.
3. Decompress the archive.
4. Install it via GNOME Software or `flatpak install hu.kramo.Cartridges.flatpak`.
### From Releases ### From Releases
1. Install `org.gnome.Platform` from the [gnome-nightly repository](https://wiki.gnome.org/Apps/Nightly) if needed. 1. Download the latest release from [Releases](https://github.com/kra-mo/cartridges/releases).
2. Download the latest release from Releases. 2. Install the downloaded file via GNOME Software or `flatpak install hu.kramo.Cartridges.flatpak`.
3. Install it via GNOME Software or `flatpak install hu.kramo.Cartridges.flatpak`.
### From GNOME Builder ## Windows
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.
## Contributing ### From Releases
1. Download the latest release from [Releases](https://github.com/kra-mo/cartridges/releases).
2. Run the downloaded installer.
### Code Note: Windows might present you with a warning when trying to install the app. This is expected, just ignore the warning.
Fork the repository, make your changes, then create a pull request.
### Translations ## Building manually
#### Weblate See [Building](https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md#building).
The project can be translated on [Weblate](https://hosted.weblate.org/projects/cartridges/).
#### Manually # Contributing
1. Clone the repository.
2. If it isn't already there, add your language to `/po/LINGUAS`. See [CONTRIBUTING](https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md).
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/`. Thanks to [Weblate](https://weblate.org/) for hosting our translations!
5. Create a pull request with your translations.

View File

@@ -11,15 +11,12 @@ template game : Box {
Box { Box {
orientation: vertical; orientation: vertical;
Button cover_button { Button cover_button {
overflow: hidden;
Picture cover { Picture cover {
width-request: 200; width-request: 200;
height-request: 300; height-request: 300;
hexpand: true; hexpand: true;
vexpand: true; vexpand: true;
styles [
"card",
]
} }
styles [ styles [
@@ -35,7 +32,6 @@ template game : Box {
Box { Box {
Button button_play { Button button_play {
halign: start; halign: start;
label: _("Play");
margin-start: 6; margin-start: 6;
margin-end: 6; margin-end: 6;
margin-top: 6; margin-top: 6;
@@ -47,7 +43,6 @@ template game : Box {
margin-bottom: 6; margin-bottom: 6;
margin-end: 6; margin-end: 6;
margin-start: 6; margin-start: 6;
menu-model: game_options;
hexpand: true; hexpand: true;
halign: end; halign: end;

View File

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

View File

@@ -2,12 +2,15 @@ using Gtk 4.0;
using Adw 1; using Adw 1;
template PreferencesWindow : Adw.PreferencesWindow { template PreferencesWindow : Adw.PreferencesWindow {
search-enabled: false;
default-height: 500; default-height: 500;
Adw.PreferencesPage page { Adw.PreferencesPage general_page {
Adw.PreferencesGroup { name: "general";
title: _("General"); title: _("General");
icon-name: "user-home-symbolic";
Adw.PreferencesGroup behavior_group {
title: _("Behavior");
Adw.ActionRow { Adw.ActionRow {
title: _("Exit After Launching Games"); title: _("Exit After Launching Games");
@@ -16,70 +19,146 @@ template PreferencesWindow : Adw.PreferencesWindow {
valign: center; valign: center;
} }
} }
}
Adw.PreferencesGroup steam_group {
title: "Steam";
Adw.ActionRow { Adw.ActionRow {
title: _("Steam Install Location"); title: _("Cover Image Launches Game");
subtitle: _("Directory to use when importing games"); subtitle: _("Swaps the behavior of the cover image and the play button");
Button steam_file_chooser_button { Switch cover_launches_game_switch {
icon-name: "folder-symbolic";
valign: center; valign: center;
} }
} }
} }
Adw.PreferencesGroup heroic_group { Adw.PreferencesGroup images_group {
title: "Heroic"; title: _("Images");
Adw.ActionRow { Adw.ActionRow {
title: _("Heroic Install Location"); title: _("High Quality Images");
subtitle: _("Directory to use when importing games"); subtitle: _("Save game covers losslessly at the cost of storage");
Button heroic_file_chooser_button { Switch high_quality_images_switch {
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; valign: center;
} }
} }
} }
Adw.PreferencesGroup bottles_group { Adw.PreferencesGroup danger_zone_group {
title: "Bottles"; title: _("Danger Zone");
Adw.ActionRow { Adw.ActionRow {
title: _("Bottles Install Location"); title: _("Remove All Games");
subtitle: _("Directory to use when importing games");
Button bottles_file_chooser_button { Button remove_all_games_button {
icon-name: "folder-symbolic"; label: _("Remove");
valign: center; 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 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");
Switch heroic_epic_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Import GOG Games");
Switch heroic_gog_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Import Sideloaded Games");
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;
}
} }
} }
} }

View File

@@ -11,7 +11,7 @@ Adw.StatusPage notice_no_results {
Adw.StatusPage notice_empty { Adw.StatusPage notice_empty {
icon-name: "applications-games-symbolic"; icon-name: "applications-games-symbolic";
title: _("No Games Found"); title: _("No Games");
description: _("Use the + button to add games."); description: _("Use the + button to add games.");
vexpand: true; vexpand: true;
valign: center; valign: center;
@@ -41,6 +41,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
Adw.HeaderBar { Adw.HeaderBar {
[start] [start]
Button back_button { Button back_button {
tooltip-text: _("Back");
action-name: "win.go_back"; action-name: "win.go_back";
icon-name: "go-previous-symbolic"; icon-name: "go-previous-symbolic";
} }
@@ -192,18 +193,21 @@ template CartridgesWindow : Adw.ApplicationWindow {
Adw.HeaderBar header_bar { Adw.HeaderBar header_bar {
[start] [start]
MenuButton { MenuButton {
tooltip-text: _("Add Game");
icon-name: "list-add-symbolic"; icon-name: "list-add-symbolic";
menu-model: add_games; menu-model: add_games;
} }
[end] [end]
MenuButton primary_menu_button { MenuButton primary_menu_button {
tooltip-text: _("Main Menu");
icon-name: "open-menu-symbolic"; icon-name: "open-menu-symbolic";
menu-model: primary_menu; menu-model: primary_menu;
} }
[end] [end]
ToggleButton search_button { ToggleButton search_button {
tooltip-text: _("Search");
icon-name: "system-search-symbolic"; icon-name: "system-search-symbolic";
action-name: "win.toggle_search"; action-name: "win.toggle_search";
} }
@@ -247,6 +251,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
Adw.HeaderBar hidden_header_bar { Adw.HeaderBar hidden_header_bar {
[start] [start]
Button hidden_back_button { Button hidden_back_button {
tooltip-text: _("Back");
action-name: "win.go_back"; action-name: "win.go_back";
icon-name: "go-previous-symbolic"; icon-name: "go-previous-symbolic";
} }
@@ -258,12 +263,14 @@ template CartridgesWindow : Adw.ApplicationWindow {
[end] [end]
MenuButton { MenuButton {
tooltip-text: _("Main Menu");
icon-name: "open-menu-symbolic"; icon-name: "open-menu-symbolic";
menu-model: primary_menu; menu-model: primary_menu;
} }
[end] [end]
ToggleButton hidden_search_button { ToggleButton hidden_search_button {
tooltip-text: _("Search");
icon-name: "system-search-symbolic"; icon-name: "system-search-symbolic";
action-name: "win.toggle_search"; action-name: "win.toggle_search";
} }
@@ -377,61 +384,9 @@ menu add_games {
} }
} }
section { section {
submenu { item {
label: _("Import from"); label: _("Import");
item { action: "app.import";
label: _("Steam");
action: "app.steam_import";
}
item {
label: _("Heroic");
action: "app.heroic_import";
}
item {
label: _("Bottles");
action: "app.bottles_import";
hidden-when: "action-disabled";
}
}
}
}
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";
}
}
}
menu hidden_game_options {
section {
item {
label: _("Edit");
action: "app.edit_details";
}
item {
label: _("Unhide");
action: "app.hide_game";
}
item {
label: _("Remove");
action: "app.remove_game";
} }
} }
} }

View File

@@ -4,6 +4,27 @@
<key name="exit-after-launch" type="b"> <key name="exit-after-launch" type="b">
<default>false</default> <default>false</default>
</key> </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="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"> <key name="heroic-import-epic" type="b">
<default>true</default> <default>true</default>
</key> </key>
@@ -13,11 +34,8 @@
<key name="heroic-import-sideload" type="b"> <key name="heroic-import-sideload" type="b">
<default>true</default> <default>true</default>
</key> </key>
<key name="steam-location" type="s"> <key name="bottles" type="b">
<default>"~/.steam/"</default> <default>true</default>
</key>
<key name="heroic-location" type="s">
<default>"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/"</default>
</key> </key>
<key name="bottles-location" type="s"> <key name="bottles-location" type="s">
<default>"~/.var/app/com.usebottles.bottles/data/bottles/"</default> <default>"~/.var/app/com.usebottles.bottles/data/bottles/"</default>

View File

@@ -8,6 +8,56 @@
<description> <description>
<p>Cartridges is a simple game launcher. It has support for importing your games from Steam, Heroic and Bottles with organizational features such as hiding and sorting by date added or last played.</p> <p>Cartridges is a simple game launcher. It has support for importing your games from Steam, Heroic and Bottles with organizational features such as hiding and sorting by date added or last played.</p>
</description> </description>
<launchable type="desktop-id">hu.kramo.Cartridges.desktop</launchable> <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> <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.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> </component>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 911 KiB

BIN
data/screenshots/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 719 KiB

BIN
data/screenshots/2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
data/screenshots/3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

BIN
data/screenshots/4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -1,7 +1,7 @@
{ {
"app-id" : "hu.kramo.Cartridges", "id" : "hu.kramo.Cartridges",
"runtime" : "org.gnome.Platform", "runtime" : "org.gnome.Platform",
"runtime-version" : "master", "runtime-version" : "44",
"sdk" : "org.gnome.Sdk", "sdk" : "org.gnome.Sdk",
"command" : "cartridges", "command" : "cartridges",
"finish-args" : [ "finish-args" : [
@@ -31,18 +31,34 @@
"*.a" "*.a"
], ],
"modules" : [ "modules" : [
"python3-modules.json",
{ {
"name": "blueprint-compiler", "name": "python3-pyyaml",
"buildsystem": "meson", "buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pyyaml\" --no-build-isolation"
],
"sources": [ "sources": [
{ {
"type": "git", "type": "file",
"url": "https://gitlab.gnome.org/jwestman/blueprint-compiler", "url": "https://files.pythonhosted.org/packages/36/2b/61d51a2c4f25ef062ae3f74576b01638bebad5e045f747ff12643df63844/PyYAML-6.0.tar.gz",
"tag": "v0.6.0" "sha256": "68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2"
} }
] ]
}, },
{
"name" : "blueprint-compiler",
"buildsystem" : "meson",
"sources" : [
{
"type" : "git",
"url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler",
"tag" : "v0.6.0"
}
],
"cleanup" : [
"*"
]
},
{ {
"name" : "cartridges", "name" : "cartridges",
"builddir" : true, "builddir" : true,

View File

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

View File

@@ -3,3 +3,11 @@ ta
uk uk
nb_NO nb_NO
fr fr
nl
it
ar
es
fi
pt
ru
ko

View File

@@ -12,6 +12,7 @@ src/window.py
src/game.py src/game.py
src/preferences.py src/preferences.py
src/utils/importer.py
src/utils/bottles_parser.py src/utils/bottles_parser.py
src/utils/create_details_window.py src/utils/create_details_window.py
src/utils/create_dialog.py src/utils/create_dialog.py

589
po/ar.po Normal file
View File

@@ -0,0 +1,589 @@
# 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.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-30 11:43+0000\n"
"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:110
msgid "Cartridges"
msgstr "عبوات"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "مشغِّل ألعاب"
#: data/hu.kramo.Cartridges.desktop.in:5
msgid "Launch your games"
msgstr "شغِّل ألعابك"
#: 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. It has support for importing your "
"games from Steam, Heroic and Bottles with organizational features such as "
"hiding and sorting by date added or last played."
msgstr ""
"«عبوَّات» هو مشغِّل ألعاب يسير، فيه دعم لاستيراد الألعاب من ستيم، وهِرُوِك، "
"وقوارير، وفيه مزايا لترتيب هذه الألعاب مثل إخفاء بعضها أو ترتيبها حسب تاريخ "
"إضافتها أو آخر تاريخ لُعبت فيه."
#: 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:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr "التفضيلات"
#: data/gtk/window.blp:6 src/utils/importer.py:78
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:254
msgid "Back"
msgstr "عد"
#: data/gtk/window.blp:92
msgid "Game Title"
msgstr "عنوان اللعبة"
#: data/gtk/window.blp:148 src/game.py:175
msgid "Play"
msgstr "العب"
#: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Add Game"
msgstr "أضف لعبةً"
#: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr "القائمة الرئيسة"
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Search"
msgstr "ابحث"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "الألعاب المخفية"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "رتِّب"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "أ-ي"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "ي-أ"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "الأجدد"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "الأقدم"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "لُعبت آخر مرَّة"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "أظهر ما أخفي"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "اختصارات لوحة المفاتيح"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "عن «عبوَّات»"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
msgid "Import"
msgstr "استورد"
#: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Title"
msgstr "العنوان"
#: data/gtk/game.blp:82 data/gtk/game.blp:101
msgid "Edit"
msgstr "حرِّر"
#: data/gtk/game.blp:87
msgid "Hide"
msgstr "أخفِ"
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr "أزل"
#: data/gtk/game.blp:106
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:24
msgid "Show preferences"
msgstr "أظهر التفضيلات"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "الاختصارات"
#: data/gtk/help-overlay.blp:34 src/main.py:198 src/preferences.py:118
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/preferences.blp:13
msgid "Behavior"
msgstr "السلوك"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "اخرج بعد بدء الألعاب"
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr "تبدأ صورة الغلاف اللعبة"
#: data/gtk/preferences.blp:25
msgid "Swaps the behavior of the cover image and the play button"
msgstr "يبدِّل سلوك صورة الغلاف وزرِّ «العب»"
#: data/gtk/preferences.blp:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr "الصور"
#: data/gtk/preferences.blp:37
msgid "High Quality Images"
msgstr "صور ذات دقَّة عالية"
#: data/gtk/preferences.blp:38
msgid "Save game covers losslessly at the cost of storage"
msgstr "احفظ غُلُف الألعاب دون فقد على حساب مساحة التخزين"
#: data/gtk/preferences.blp:47
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr "المصادر"
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "ستيم"
#: data/gtk/preferences.blp:77
msgid "Steam Install Location"
msgstr "موضع تثبيت ستيم"
#: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:156
msgid "Directory to use when importing games"
msgstr "المجلَّد المستخدم عند استيراد الألعاب"
#: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr "مكتبات ستيم الإضافية"
#: data/gtk/preferences.blp:87
msgid "Select other directories where you have Steam games installed"
msgstr "حدِّد المجلَّدات الأخرى التي ثُبِّتت فيها ألعاب ستيم"
#: data/gtk/preferences.blp:94
msgid "Clear"
msgstr "أمحُ"
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr "هِرُوِك"
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location"
msgstr "موضع تثبيت هِرُوِك"
#: data/gtk/preferences.blp:126
msgid "Import Epic Games"
msgstr "استورد ألعاب أَبِك"
#: data/gtk/preferences.blp:134
msgid "Import GOG Games"
msgstr "استورد ألعاب جي‌أو‌جي"
#: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games"
msgstr "استورد ألعابًا مثبَّتةً بغير متجر"
#: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr "قوارير"
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location"
msgstr "موضع تثبيت قوارير"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:125
msgid "translator_credits"
msgstr "Ali Aljishi <ahj696@hotmail.com>"
#. The variable is the title of the game
#: src/main.py:197
#, python-brace-format
msgid "{title} removed"
msgstr "أزيلت {title}"
#: src/window.py:234
msgid "Today"
msgstr "اليوم"
#: src/window.py:236
msgid "Yesterday"
msgstr "أمس"
#. The variable is the date when the game was added
#: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr "أضيفت في: {date}"
#: src/window.py:275
msgid "Never"
msgstr "أبدًا"
#. The variable is the date when the game was last played
#: src/window.py:279
#, python-brace-format
msgid "Last played: {last_played_date}"
msgstr "لُعبت آخر مرَّة في: {last_played_date}"
#: src/game.py:173
msgid "Details"
msgstr "التفاصيل"
#: src/preferences.py:55
msgid "Installation Not Found"
msgstr "لم يُعثر على التثبيت"
#. The variable is the name of the game launcher
#: src/preferences.py:57
#, python-brace-format
msgid "Select the {name} configuration directory."
msgstr "حدِّد مجلَّد ضبط {name}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
#, python-brace-format
msgid "Select the {name} data directory."
msgstr "حدِّد مجلَّد بيانات {name}."
#: src/preferences.py:61
msgid "Set Location"
msgstr "عيِّن الموضع"
#: src/preferences.py:117
#, fuzzy
#| msgid "{title} removed"
msgid "All games removed"
msgstr "أزيلت {title}"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "تُستورد الألعاب…"
#: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found on your device."
msgid "No new games were found on your system."
msgstr "لم يُعثر على ألعاب جديدة في جهازك."
#: src/utils/importer.py:87
msgid "Game Imported"
msgstr "اُستوردت اللعبة"
#: src/utils/importer.py:88
msgid "Successfully imported 1 game."
msgstr "اُستوردت لعبة بنجاح."
#: src/utils/importer.py:94
msgid "Games Imported"
msgstr "اُستوردت الألعاب"
#. The variable is the number of games
#: src/utils/importer.py:96
#, python-brace-format
msgid "Successfully imported {games_no} games."
msgstr "اُستوردت {games_no} لعبة بنجاح."
#: src/utils/create_details_window.py:41
msgid "Add New Game"
msgstr "أضف لعبةً جديدةً"
#: src/utils/create_details_window.py:46
msgid "Confirm"
msgstr "أكِّد"
#: src/utils/create_details_window.py:57
msgid "Apply"
msgstr "طبِّق"
#: src/utils/create_details_window.py:95
msgid "The title of the game"
msgstr "عنوان اللعبة"
#: src/utils/create_details_window.py:100
msgid "Developer"
msgstr "المطوِّر"
#: src/utils/create_details_window.py:101
msgid "The developer or publisher (optional)"
msgstr "المطوِّر أو الناشر (اختياري)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:112
msgid "file.txt"
msgstr "ملف.txt"
#. As in software
#: src/utils/create_details_window.py:114
msgid "program"
msgstr "برنامج"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format
msgid "C:\\path\\to\\{exe_name}"
msgstr "C:\\path\\to\\{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121
#, python-brace-format
msgid "C:\\path\\to\\{file_name}"
msgstr "C:\\path\\to\\{file_name}"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr "/path/to/{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format
msgid "/path/to/{file_name}"
msgstr "/path/to/{file_name}"
#: src/utils/create_details_window.py:131
#, python-brace-format
msgid ""
"To launch the executable \"{exe_name}\", use the command:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"To open the file \"{file_name}\" with the default application, use:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"إن أردت تشغيل ملفِّ التنفيذ «{exe_name}» فعليك استخدام الأمر:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"إن أردت فتح الملفِّ «{file_name}» باستخدام التطبيق المبدئيِّ فعليك استخدام:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"ولا تنسَ إحاطة المسافات في المسار بعلامتي تنصيص مزدوجتين!"
#: src/utils/create_details_window.py:154
msgid "Executable"
msgstr "ملفُّ تنفيذ"
#: src/utils/create_details_window.py:155
msgid "File to open or command to run when launching the game"
msgstr "الملفُّ المفتوح أو الأمر المشغَّل عند بدء اللعبة"
#: src/utils/create_details_window.py:167
msgid "Cancel"
msgstr "ألغِ"
#: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game"
msgstr "تعذَّرت إضافة اللعبة"
#: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr "تعذَّر تطبيق التفضيلات"
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty."
msgstr "لا يجوز كون عنوان اللعبة فارغًا."
#: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:266
msgid "Executable cannot be empty."
msgstr "لا يجوز كون ملفِّ التنفيذ فارغًا."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "تجاهل"
#, 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 "Set Heroic Location"
#~ 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 "يُتواصل مع ستيم"

View File

@@ -1,14 +1,14 @@
# SOME DESCRIPTIVE TITLE. # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) YEAR kramo
# This file is distributed under the same license as the cartridges package. # This file is distributed under the same license as the Cartridges package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: cartridges\n" "Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-19 13:11+0100\n" "POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -19,7 +19,7 @@ msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:116 #: src/main.py:110
msgid "Cartridges" msgid "Cartridges"
msgstr "" msgstr ""
@@ -42,8 +42,25 @@ msgid ""
"hiding and sorting by date added or last played." "hiding and sorting by date added or last played."
msgstr "" msgstr ""
#: data/gtk/window.blp:6 data/gtk/window.blp:14 src/utils/bottles_parser.py:142 #: data/hu.kramo.Cartridges.metainfo.xml.in:22
#: src/utils/heroic_parser.py:241 src/utils/steam_parser.py:157 msgid "Library"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr ""
#: data/gtk/window.blp:6 src/utils/importer.py:78
msgid "No Games Found" msgid "No Games Found"
msgstr "" msgstr ""
@@ -51,6 +68,10 @@ msgstr ""
msgid "Try a different search." msgid "Try a different search."
msgstr "" msgstr ""
#: data/gtk/window.blp:14
msgid "No Games"
msgstr ""
#: data/gtk/window.blp:15 #: data/gtk/window.blp:15
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "" msgstr ""
@@ -63,258 +84,312 @@ msgstr ""
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "" msgstr ""
#: data/gtk/window.blp:50 #: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Game Details" msgid "Back"
msgstr "" msgstr ""
#: data/gtk/window.blp:91 #: data/gtk/window.blp:92
msgid "Game Title" msgid "Game Title"
msgstr "" msgstr ""
#: data/gtk/window.blp:147 data/gtk/game.blp:38 #: data/gtk/window.blp:148 src/game.py:175
msgid "Play" msgid "Play"
msgstr "" msgstr ""
#: data/gtk/window.blp:256 #: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Hidden Games"
msgstr ""
#: data/gtk/window.blp:314
msgid "Sort"
msgstr ""
#: data/gtk/window.blp:317
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:323
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:329
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:335
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:341
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:348
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:356
msgid "Preferences"
msgstr ""
#: data/gtk/window.blp:361
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:366
msgid "About Cartridges"
msgstr ""
#: data/gtk/window.blp:375
msgid "Add Game" msgid "Add Game"
msgstr "" msgstr ""
#: data/gtk/window.blp:381 #: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Import from" msgid "Main Menu"
msgstr "" msgstr ""
#: data/gtk/window.blp:383 #: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Steam" msgid "Search"
msgstr "" msgstr ""
#: data/gtk/window.blp:388 #: data/gtk/window.blp:261
msgid "Heroic" msgid "Hidden Games"
msgstr "" msgstr ""
#: data/gtk/window.blp:393 #: data/gtk/window.blp:321
msgid "Bottles" msgid "Sort"
msgstr "" msgstr ""
#: data/gtk/window.blp:404 data/gtk/window.blp:423 data/gtk/game.blp:87 #: data/gtk/window.blp:324
#: data/gtk/game.blp:106 msgid "A-Z"
msgid "Edit"
msgstr "" msgstr ""
#: data/gtk/window.blp:409 data/gtk/game.blp:92 #: data/gtk/window.blp:330
msgid "Hide" msgid "Z-A"
msgstr "" msgstr ""
#: data/gtk/window.blp:414 data/gtk/window.blp:433 data/gtk/game.blp:97 #: data/gtk/window.blp:336
#: data/gtk/game.blp:116 msgid "Newest"
msgid "Remove"
msgstr "" msgstr ""
#: data/gtk/window.blp:428 data/gtk/game.blp:111 #: data/gtk/window.blp:342
msgid "Unhide" msgid "Oldest"
msgstr "" msgstr ""
#: data/gtk/game.blp:65 src/utils/create_details_window.py:94 #: data/gtk/window.blp:348
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr ""
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
msgid "Import"
msgstr ""
#: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Title" msgid "Title"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:11 #: data/gtk/game.blp:82 data/gtk/game.blp:101
msgctxt "shortcut window" msgid "Edit"
msgstr ""
#: data/gtk/game.blp:87
msgid "Hide"
msgstr ""
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr ""
#: data/gtk/game.blp:106
msgid "Unhide"
msgstr ""
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General" msgid "General"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14
msgctxt "shortcut window"
msgid "Quit" msgid "Quit"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:19
msgctxt "shortcut window"
msgid "Search"
msgstr ""
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24
msgctxt "shortcut window"
msgid "Show preferences" msgid "Show preferences"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29
msgctxt "shortcut window"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:34 #: data/gtk/help-overlay.blp:34 src/main.py:198 src/preferences.py:118
msgctxt "shortcut window"
msgid "Undo" msgid "Undo"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:39
msgctxt "shortcut window"
msgid "Open menu" msgid "Open menu"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:45
msgctxt "shortcut window"
msgid "Games" msgid "Games"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:48
msgctxt "shortcut window"
msgid "Add new game" msgid "Add new game"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:53
msgctxt "shortcut window" msgid "Import games"
msgstr ""
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games" msgid "Show hidden games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:10 #: data/gtk/preferences.blp:13
msgid "General" msgid "Behavior"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:13 #: data/gtk/preferences.blp:16
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr ""
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:25
msgid "Steam Install Location" msgid "Swaps the behavior of the cover image and the play button"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:34 src/utils/create_details_window.py:59
#: data/gtk/preferences.blp:78 msgid "Images"
msgid "Directory to use when importing games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:37
msgid "Heroic Install Location" msgid "High Quality Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:49 #: data/gtk/preferences.blp:38
msgid "Import Epic Games" msgid "Save game covers losslessly at the cost of storage"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:57 #: data/gtk/preferences.blp:47
msgid "Import GOG Games" msgid "Danger Zone"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:65 #: data/gtk/preferences.blp:50
msgid "Import Sideloaded Games" msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr ""
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:77 #: data/gtk/preferences.blp:77
msgid "Steam Install Location"
msgstr ""
#: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:156
msgid "Directory to use when importing games"
msgstr ""
#: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:87
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:94
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr ""
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location"
msgstr ""
#: data/gtk/preferences.blp:126
msgid "Import Epic Games"
msgstr ""
#: data/gtk/preferences.blp:134
msgid "Import GOG Games"
msgstr ""
#: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games"
msgstr ""
#: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr ""
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "" msgstr ""
#. Translators: Replace this with your name for it to show up in the about window #. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:130 #: src/main.py:125
msgid "translator_credits" msgid "translator_credits"
msgstr "" msgstr ""
#: src/main.py:195 #. The variable is the title of the game
#: src/main.py:197
#, python-brace-format #, python-brace-format
msgid "{title} removed" msgid "{title} removed"
msgstr "" msgstr ""
#: src/main.py:196 #: src/window.py:234
msgid "Undo"
msgstr ""
#: src/window.py:229
msgid "Today" msgid "Today"
msgstr "" msgstr ""
#: src/window.py:231 #: src/window.py:236
msgid "Yesterday" msgid "Yesterday"
msgstr "" msgstr ""
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:265 #: src/window.py:270
#, python-brace-format #, python-brace-format
msgid "Added: {date}" msgid "Added: {date}"
msgstr "" msgstr ""
#: src/window.py:270 #: src/window.py:275
msgid "Never" msgid "Never"
msgstr "" msgstr ""
#. The variable is the date when the game was last played #. The variable is the date when the game was last played
#: src/window.py:274 #: src/window.py:279
#, python-brace-format #, python-brace-format
msgid "Last played: {last_played_date}" msgid "Last played: {last_played_date}"
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/game.py:173
#: src/utils/steam_parser.py:230 msgid "Details"
msgid "Couldn't Import Games"
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:81 #: src/preferences.py:55
msgid "The Bottles directory cannot be found." msgid "Installation Not Found"
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:83 #. The variable is the name of the game launcher
msgid "Set Bottles Location" #: src/preferences.py:57
#, python-brace-format
msgid "Select the {name} configuration directory."
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:143 #. The variable is the name of the game launcher
msgid "No new games were found in the Bottles library." #: src/preferences.py:59
#, python-brace-format
msgid "Select the {name} data directory."
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:155 #: src/preferences.py:61
msgid "Bottles Games Imported" msgid "Set Location"
msgstr "" msgstr ""
#: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:248 #: src/preferences.py:117
#: src/utils/steam_parser.py:164 msgid "All games removed"
msgstr ""
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr ""
#: src/utils/importer.py:79
msgid "No new games were found on your system."
msgstr ""
#: src/utils/importer.py:87
msgid "Game Imported"
msgstr ""
#: src/utils/importer.py:88
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "" msgstr ""
#: src/utils/importer.py:94
msgid "Games Imported"
msgstr ""
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 #: src/utils/importer.py:96
#: src/utils/steam_parser.py:172
#, python-brace-format #, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {games_no} games."
msgstr "" msgstr ""
@@ -327,18 +402,10 @@ msgstr ""
msgid "Confirm" msgid "Confirm"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:48
msgid "Edit Game Details"
msgstr ""
#: src/utils/create_details_window.py:57 #: src/utils/create_details_window.py:57
msgid "Apply" msgid "Apply"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:59
msgid "Images"
msgstr ""
#: src/utils/create_details_window.py:95 #: src/utils/create_details_window.py:95
msgid "The title of the game" msgid "The title of the game"
msgstr "" msgstr ""
@@ -351,36 +418,41 @@ msgstr ""
msgid "The developer or publisher (optional)" msgid "The developer or publisher (optional)"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:111 #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:112
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr ""
#. As in software #. As in software
#: src/utils/create_details_window.py:113 #: src/utils/create_details_window.py:114
msgid "program" msgid "program"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:117 #. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format #, python-brace-format
msgid "C:\\path\\to\\{exe_name}" msgid "C:\\path\\to\\{exe_name}"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:118 #. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121
#, python-brace-format #, python-brace-format
msgid "C:\\path\\to\\{file_name}" msgid "C:\\path\\to\\{file_name}"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:121 #. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format #, python-brace-format
msgid "/path/to/{exe_name}" msgid "/path/to/{exe_name}"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:122 #. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format #, python-brace-format
msgid "/path/to/{file_name}" msgid "/path/to/{file_name}"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:126 #: src/utils/create_details_window.py:131
#, python-brace-format #, python-brace-format
msgid "" msgid ""
"To launch the executable \"{exe_name}\", use the command:\n" "To launch the executable \"{exe_name}\", use the command:\n"
@@ -394,78 +466,40 @@ msgid ""
"If the path contains spaces, make sure to wrap it in double quotes!" "If the path contains spaces, make sure to wrap it in double quotes!"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:149 #: src/utils/create_details_window.py:154
msgid "Executable" msgid "Executable"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:150 #: src/utils/create_details_window.py:155
msgid "File to open or command to run when launching the game" msgid "File to open or command to run when launching the game"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:162 #: src/utils/create_details_window.py:167
msgid "Cancel" msgid "Cancel"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:208 #: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:214 #: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:208 #: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:239 #: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr ""
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "" msgstr ""
#: src/utils/create_details_window.py:214 #: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:247 #: src/utils/create_details_window.py:266
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "" msgstr ""
#: src/utils/create_details_window.py:238
#: src/utils/create_details_window.py:246
msgid "Couldn't Apply Preferences"
msgstr ""
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "" msgstr ""
#: src/utils/heroic_parser.py:88
msgid "The Heroic directory cannot be found."
msgstr ""
#: src/utils/heroic_parser.py:90
msgid "Set Heroic Location"
msgstr ""
#: src/utils/heroic_parser.py:242
msgid "No new games were found in the Heroic library."
msgstr ""
#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254
msgid "Heroic Games Imported"
msgstr ""
#: src/utils/steam_parser.py:158
msgid "No new games were found in the Steam library."
msgstr ""
#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170
msgid "Steam Games Imported"
msgstr ""
#: src/utils/steam_parser.py:231
msgid "The Steam directory cannot be found."
msgstr ""
#: src/utils/steam_parser.py:233
msgid "Set Steam Location"
msgstr ""
#: src/utils/steam_parser.py:249
msgid "Importing Games…"
msgstr ""
#: src/utils/steam_parser.py:250
msgid "Talking to Steam"
msgstr ""

591
po/es.po Normal file
View File

@@ -0,0 +1,591 @@
# 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.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-30 14:24+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:110
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
msgid "Launch your games"
msgstr "Lance sus juegos"
#: 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. It has support for importing your "
"games from Steam, Heroic and Bottles with organizational features such as "
"hiding and sorting by date added or last played."
msgstr ""
"Cartuchos es un lanzador de juegos simple. Tiene soporte para importar sus "
"juegos de Steam, Heroic y Bottles con características de organización como "
"ocultar y ordenar por fecha añadida o última vez jugado."
#: 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:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr "Preferencias"
#: data/gtk/window.blp:6 src/utils/importer.py:78
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:254
msgid "Back"
msgstr "Volver"
#: data/gtk/window.blp:92
msgid "Game Title"
msgstr "Título del juego"
#: data/gtk/window.blp:148 src/game.py:175
msgid "Play"
msgstr "Jugar"
#: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Add Game"
msgstr "Añadir juego"
#: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr "Menú principal"
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Search"
msgstr "Buscar"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Juegos ocultos"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "Ordenar"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "Más recientes"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "Más antiguos"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Último jugado"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Mostrar ocultos"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Atajos del teclado"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "Acerca de Cartuchos"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
msgid "Import"
msgstr "Importar"
#: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Title"
msgstr "Título"
#: data/gtk/game.blp:82 data/gtk/game.blp:101
msgid "Edit"
msgstr "Editar"
#: data/gtk/game.blp:87
msgid "Hide"
msgstr "Ocultar"
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr "Eliminar"
#: data/gtk/game.blp:106
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: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:198 src/preferences.py:118
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/preferences.blp:13
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:24
msgid "Cover Image Launches Game"
msgstr "La imagen de portada lanza el juego"
#: data/gtk/preferences.blp:25
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:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr "Imágenes"
#: data/gtk/preferences.blp:37
msgid "High Quality Images"
msgstr "Imágenes de alta calidad"
#: data/gtk/preferences.blp:38
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:47
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr "Fuentes"
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:77
msgid "Steam Install Location"
msgstr "Ubicación de la instalación de Steam"
#: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:156
msgid "Directory to use when importing games"
msgstr "Directorio a usar para importar juegos"
#: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr "Bibliotecas Steam adicionales"
#: data/gtk/preferences.blp:87
msgid "Select other directories where you have Steam games installed"
msgstr "Seleccione otros directorios donde tenga instalados juegos de Steam"
#: data/gtk/preferences.blp:94
msgid "Clear"
msgstr "Limpiar"
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location"
msgstr "Ubicación de la instalación de Heroic"
#: data/gtk/preferences.blp:126
msgid "Import Epic Games"
msgstr "Importar juegos de Epic"
#: data/gtk/preferences.blp:134
msgid "Import GOG Games"
msgstr "Importar juegos de GOG"
#: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games"
msgstr "Importar juegos descargados"
#: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location"
msgstr "Ubicación de instalación de Bottles"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:125
msgid "translator_credits"
msgstr "Óscar Fernández Díaz <oscfdezdz@tuta.io>"
#. The variable is the title of the game
#: src/main.py:197
#, python-brace-format
msgid "{title} removed"
msgstr "{title} eliminado"
#: src/window.py:234
msgid "Today"
msgstr "Hoy"
#: src/window.py:236
msgid "Yesterday"
msgstr "Ayer"
#. The variable is the date when the game was added
#: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr "Añadido: {date}"
#: src/window.py:275
msgid "Never"
msgstr "Nunca"
#. The variable is the date when the game was last played
#: src/window.py:279
#, python-brace-format
msgid "Last played: {last_played_date}"
msgstr "Jugado por última vez: {last_played_date}"
#: src/game.py:173
msgid "Details"
msgstr "Detalles"
#: src/preferences.py:55
msgid "Installation Not Found"
msgstr "No se encuentra la instalación"
#. The variable is the name of the game launcher
#: src/preferences.py:57
#, python-brace-format
msgid "Select the {name} configuration directory."
msgstr "Selecciona el directorio de la configuración {name}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
#, python-brace-format
msgid "Select the {name} data directory."
msgstr "Selecciona el directorio de los datos {name}."
#: src/preferences.py:61
msgid "Set Location"
msgstr "Escoger la ubicación"
#: src/preferences.py:117
#, fuzzy
#| msgid "{title} removed"
msgid "All games removed"
msgstr "{title} eliminado"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "Importando juegos…"
#: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found on your device."
msgid "No new games were found on your system."
msgstr "No se han encontrado juegos nuevos en tu dispositivo."
#: src/utils/importer.py:87
msgid "Game Imported"
msgstr "Juego importado"
#: src/utils/importer.py:88
msgid "Successfully imported 1 game."
msgstr "Importado 1 juego con éxito."
#: src/utils/importer.py:94
msgid "Games Imported"
msgstr "Juegos importados"
#. The variable is the number of games
#: src/utils/importer.py:96
#, python-brace-format
msgid "Successfully imported {games_no} games."
msgstr "Importados {games_no} juegos con éxito."
#: src/utils/create_details_window.py:41
msgid "Add New Game"
msgstr "Añadir juego nuevo"
#: src/utils/create_details_window.py:46
msgid "Confirm"
msgstr "Confirmar"
#: src/utils/create_details_window.py:57
msgid "Apply"
msgstr "Aplicar"
#: src/utils/create_details_window.py:95
msgid "The title of the game"
msgstr "El título del juego"
#: src/utils/create_details_window.py:100
msgid "Developer"
msgstr "Desarrollador"
#: src/utils/create_details_window.py:101
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:112
msgid "file.txt"
msgstr "archivo.txt"
#. As in software
#: src/utils/create_details_window.py:114
msgid "program"
msgstr "programa"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format
msgid "C:\\path\\to\\{exe_name}"
msgstr "C:\\ruta\\hasta\\{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121
#, python-brace-format
msgid "C:\\path\\to\\{file_name}"
msgstr "C:\\ruta\\hasta\\{file_name}"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr "/ruta/hasta/{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format
msgid "/path/to/{file_name}"
msgstr "/ruta/hasta/{file_name}"
#: src/utils/create_details_window.py:131
#, python-brace-format
msgid ""
"To launch the executable \"{exe_name}\", use the command:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"To open the file \"{file_name}\" with the default application, use:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Para lanzar el ejecutable \"{exe_name}\", use el comando:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"Para abrir el archivo \"{file_name}\" con la aplicación predeterminada, "
"use:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"Si la ruta contiene espacios, ¡asegúrese de entrecomillarla!"
#: src/utils/create_details_window.py:154
msgid "Executable"
msgstr "Ejecutable"
#: src/utils/create_details_window.py:155
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:167
msgid "Cancel"
msgstr "Cancelar"
#: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game"
msgstr "No se puede añadir el juego"
#: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr "No se pudieron aplicar las preferencias"
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty."
msgstr "El título del juego no puede estar vacío."
#: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:266
msgid "Executable cannot be empty."
msgstr "El ejecutable no puede estar vacío."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Descartar"
#, 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 "Set Heroic Location"
#~ msgstr "Establecer ubicación de 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"

605
po/fi.po Normal file
View File

@@ -0,0 +1,605 @@
# 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.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-26 17:51+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:110
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
msgid "Launch your games"
msgstr "Käynnistä pelit"
#: 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
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."
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:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr "Asetukset"
#: data/gtk/window.blp:6 src/utils/importer.py:78
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:254
msgid "Back"
msgstr "Takaisin"
#: data/gtk/window.blp:92
msgid "Game Title"
msgstr "Pelin nimi"
#: data/gtk/window.blp:148 src/game.py:175
msgid "Play"
msgstr "Pelaa"
#: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Add Game"
msgstr "Lisää peli"
#: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr "Päävalikko"
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Search"
msgstr "Etsi"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Piilotetut pelit"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "Lajittele"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "Uusin"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "Vanhin"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Viimeksi pelattu"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Näytä piilotetut"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Pikanäppäimet"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "Tietoja - Cartridges"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
#, fuzzy
#| msgid "Import from"
msgid "Import"
msgstr "Tuo kohteesta"
#: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Title"
msgstr "Nimi"
#: data/gtk/game.blp:82 data/gtk/game.blp:101
msgid "Edit"
msgstr "Muokkaa"
#: data/gtk/game.blp:87
msgid "Hide"
msgstr "Piilota"
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr "Poista"
#: data/gtk/game.blp:106
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: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:198 src/preferences.py:118
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
#, fuzzy
#| msgid "Import GOG Games"
msgid "Import games"
msgstr "Tuo GOG-pelejä"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Näytä piilotetut pelit"
#: data/gtk/preferences.blp:13
msgid "Behavior"
msgstr ""
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Poistuminen pelin käynnistämisen jälkeen"
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr "Kansikuva käynnistää pelin"
#: data/gtk/preferences.blp:25
msgid "Swaps the behavior of the cover image and the play button"
msgstr ""
#: data/gtk/preferences.blp:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr "Kuvat"
#: data/gtk/preferences.blp:37
msgid "High Quality Images"
msgstr "Korkealaatuiset kuvat"
#: data/gtk/preferences.blp:38
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:47
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr ""
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:77
msgid "Steam Install Location"
msgstr "Steam-asennuksen sijainti"
#: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:156
msgid "Directory to use when importing games"
msgstr "Hakemisto, jota käytetään pelejä tuotaessa"
#: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr "Steam-lisäkirjastot"
#: data/gtk/preferences.blp:87
msgid "Select other directories where you have Steam games installed"
msgstr "Valitse muut hakemistot, joihin Steam-pelit on asennettu"
#: data/gtk/preferences.blp:94
msgid "Clear"
msgstr "Tyhjennä"
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location"
msgstr "Heroic-asennuksen sijainti"
#: data/gtk/preferences.blp:126
msgid "Import Epic Games"
msgstr "Tuo Epic-pelejä"
#: data/gtk/preferences.blp:134
msgid "Import GOG Games"
msgstr "Tuo GOG-pelejä"
#: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games"
msgstr "Tuo Sideload-pelejä"
#: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr "Pullot"
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location"
msgstr "Bottles-asennuksen sijainti"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:125
msgid "translator_credits"
msgstr "Linux Sauna"
#. The variable is the title of the game
#: src/main.py:197
#, python-brace-format
msgid "{title} removed"
msgstr "{title} poistettu"
#: src/window.py:234
msgid "Today"
msgstr "Tänään"
#: src/window.py:236
msgid "Yesterday"
msgstr "Eilen"
#. The variable is the date when the game was added
#: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr "Lisätty: {date}"
#: src/window.py:275
msgid "Never"
msgstr "Ei koskaan"
#. The variable is the date when the game was last played
#: src/window.py:279
#, python-brace-format
msgid "Last played: {last_played_date}"
msgstr "Pelattu: {last_played_date}"
#: src/game.py:173
msgid "Details"
msgstr "Tiedot"
#: src/preferences.py:55
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:57
#, python-brace-format
msgid "Select the {name} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:59
#, python-brace-format
msgid "Select the {name} data directory."
msgstr ""
#: src/preferences.py:61
#, fuzzy
#| msgid "Set Steam Location"
msgid "Set Location"
msgstr "Aseta Steamin sijainti"
#: src/preferences.py:117
#, fuzzy
#| msgid "{title} removed"
msgid "All games removed"
msgstr "{title} poistettu"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "Tuodaan pelejä…"
#: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found in the Heroic library."
msgid "No new games were found on your system."
msgstr "Heroic-kirjastosta ei löytynyt uusia pelejä."
#: src/utils/importer.py:87
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Game Imported"
msgstr "Steam-pelit tuotu"
#: src/utils/importer.py:88
msgid "Successfully imported 1 game."
msgstr "Onnistuneesti tuotu 1 peli."
#: src/utils/importer.py:94
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Games Imported"
msgstr "Steam-pelit tuotu"
#. The variable is the number of games
#: src/utils/importer.py:96
#, python-brace-format
msgid "Successfully imported {games_no} games."
msgstr "Onnistuneesti tuotu {games_no} peliä."
#: src/utils/create_details_window.py:41
msgid "Add New Game"
msgstr "Lisää uusi peli"
#: src/utils/create_details_window.py:46
msgid "Confirm"
msgstr "Vahvista"
#: src/utils/create_details_window.py:57
msgid "Apply"
msgstr "Käytä"
#: src/utils/create_details_window.py:95
msgid "The title of the game"
msgstr "Pelin nimi"
#: src/utils/create_details_window.py:100
msgid "Developer"
msgstr "Kehittäjä"
#: src/utils/create_details_window.py:101
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:112
msgid "file.txt"
msgstr "file.txt"
#. As in software
#: src/utils/create_details_window.py:114
msgid "program"
msgstr "ohjelma"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format
msgid "C:\\path\\to\\{exe_name}"
msgstr "C:\\polku\\kansioon\\{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121
#, python-brace-format
msgid "C:\\path\\to\\{file_name}"
msgstr "C:\\polku\\kansioon\\{file_name}"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr "/polku/kansioon/{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format
msgid "/path/to/{file_name}"
msgstr "/polku/kansioon/{file_name}"
#: src/utils/create_details_window.py:131
#, python-brace-format
msgid ""
"To launch the executable \"{exe_name}\", use the command:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"To open the file \"{file_name}\" with the default application, use:\n"
"\n"
"<tt>{command} \"{file_path}\"</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>\"{exe_path}\"</tt>\n"
"\n"
"Avataksesi tiedoston \"{file_name}\" oletussovelluksella, käytä komentoa:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"Jos polku sisältää välilyöntejä, varmista, että se on suljettu "
"kaksinkertaisiin lainausmerkkeihin!"
#: src/utils/create_details_window.py:154
msgid "Executable"
msgstr "Suoritettava"
#: src/utils/create_details_window.py:155
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:167
msgid "Cancel"
msgstr "Peru"
#: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game"
msgstr "Peliä ei voitu lisätä"
#: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr "Asetuksia ei voitu ottaa käyttöön"
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty."
msgstr "Pelin nimi ei voi olla tyhjä."
#: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:266
msgid "Executable cannot be empty."
msgstr "Suoritettava ei voi olla tyhjä."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Hylkää"
#, 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 "Set Heroic Location"
#~ msgstr "Aseta Heroicin sijainti"
#~ 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"

601
po/fr.po
View File

@@ -2,13 +2,14 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package. # This file is distributed under the same license as the cartridges package.
# "J. Lavoie" <j.lavoie@net-c.ca>, 2023. # "J. Lavoie" <j.lavoie@net-c.ca>, 2023.
# kramo <login@kramo.hu>, 2023. # kramo <contact@kramo.hu>, 2023.
# rene-coty <irenee.thirion@e.email>, 2023.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: cartridges\n" "Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-19 13:11+0100\n" "POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-18 23:40+0000\n" "PO-Revision-Date: 2023-03-28 22:23+0000\n"
"Last-Translator: \"J. Lavoie\" <j.lavoie@net-c.ca>\n" "Last-Translator: \"J. Lavoie\" <j.lavoie@net-c.ca>\n"
"Language-Team: French <https://hosted.weblate.org/projects/cartridges/" "Language-Team: French <https://hosted.weblate.org/projects/cartridges/"
"cartridges/fr/>\n" "cartridges/fr/>\n"
@@ -17,13 +18,13 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n" "Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.16.2-dev\n" "X-Generator: Weblate 4.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:116 #: src/main.py:110
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartouches"
#: data/hu.kramo.Cartridges.desktop.in:4 #: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher" msgid "Game Launcher"
@@ -43,13 +44,30 @@ msgid ""
"games from Steam, Heroic and Bottles with organizational features such as " "games from Steam, Heroic and Bottles with organizational features such as "
"hiding and sorting by date added or last played." "hiding and sorting by date added or last played."
msgstr "" msgstr ""
"Cartridges est un simple lanceur de jeux. Il prend en charge l'importation " "Cartouches est un simple lanceur de jeux. Il prend en charge l'importation "
"de vos jeux depuis Steam, Heroic et Bottles, avec des fonctions " "de vos jeux depuis Steam, Heroic et Bottles, avec des fonctions "
"d'organisation telles que le masquage et le tri par date d'ajout ou de " "d'organisation telles que le masquage et le tri par date d'ajout ou de "
"dernière lecture." "dernière lecture."
#: data/gtk/window.blp:6 data/gtk/window.blp:14 src/utils/bottles_parser.py:142 #: data/hu.kramo.Cartridges.metainfo.xml.in:22
#: src/utils/heroic_parser.py:241 src/utils/steam_parser.py:157 msgid "Library"
msgstr "Bibliothèque"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr "Préférences"
#: data/gtk/window.blp:6 src/utils/importer.py:78
msgid "No Games Found" msgid "No Games Found"
msgstr "Aucun jeu trouvé" msgstr "Aucun jeu trouvé"
@@ -57,6 +75,10 @@ msgstr "Aucun jeu trouvé"
msgid "Try a different search." msgid "Try a different search."
msgstr "Essayez une autre recherche." msgstr "Essayez une autre recherche."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Aucun jeu"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:15
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Utilisez le bouton + pour ajouter des jeux." msgstr "Utilisez le bouton + pour ajouter des jeux."
@@ -69,261 +91,332 @@ msgstr "Pas de jeux masqués"
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Les jeux que vous masquez apparaîtront ici." msgstr "Les jeux que vous masquez apparaîtront ici."
#: data/gtk/window.blp:50 #: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Game Details" msgid "Back"
msgstr "Détails du jeu" msgstr "Retour"
#: data/gtk/window.blp:91 #: data/gtk/window.blp:92
msgid "Game Title" msgid "Game Title"
msgstr "Titre du jeu" msgstr "Titre du jeu"
#: data/gtk/window.blp:147 data/gtk/game.blp:38 #: data/gtk/window.blp:148 src/game.py:175
msgid "Play" msgid "Play"
msgstr "Jouer" msgstr "Jouer"
#: data/gtk/window.blp:256 #: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Hidden Games"
msgstr "Jeux masqués"
#: data/gtk/window.blp:314
msgid "Sort"
msgstr "Trier"
#: data/gtk/window.blp:317
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:323
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:329
msgid "Newest"
msgstr "Le plus récent"
#: data/gtk/window.blp:335
msgid "Oldest"
msgstr "Le plus ancien"
#: data/gtk/window.blp:341
msgid "Last Played"
msgstr "Dernière session"
#: data/gtk/window.blp:348
msgid "Show Hidden"
msgstr "Afficher les masqués"
#: data/gtk/window.blp:356
msgid "Preferences"
msgstr "Préférences"
#: data/gtk/window.blp:361
msgid "Keyboard Shortcuts"
msgstr "Raccourcis clavier"
#: data/gtk/window.blp:366
msgid "About Cartridges"
msgstr "À propos de Cartridges"
#: data/gtk/window.blp:375
msgid "Add Game" msgid "Add Game"
msgstr "Ajouter un jeu" msgstr "Ajouter un jeu"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Import from" msgid "Main Menu"
msgstr "Menu principal"
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Search"
msgstr "Rechercher"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Jeux masqués"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "Trier"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "Le plus récent"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "Le plus ancien"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Dernière session"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Afficher les masqués"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Raccourcis clavier"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "À propos de Cartouches"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
#, fuzzy
#| msgid "Import from"
msgid "Import"
msgstr "Importer depuis" msgstr "Importer depuis"
#: data/gtk/window.blp:383 #: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Steam"
msgstr "Steam"
#: data/gtk/window.blp:388
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/window.blp:393
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/window.blp:404 data/gtk/window.blp:423 data/gtk/game.blp:87
#: data/gtk/game.blp:106
msgid "Edit"
msgstr "Modifier"
#: data/gtk/window.blp:409 data/gtk/game.blp:92
msgid "Hide"
msgstr "Masquer"
#: data/gtk/window.blp:414 data/gtk/window.blp:433 data/gtk/game.blp:97
#: data/gtk/game.blp:116
msgid "Remove"
msgstr "Retirer"
#: data/gtk/window.blp:428 data/gtk/game.blp:111
msgid "Unhide"
msgstr "Afficher"
#: data/gtk/game.blp:65 src/utils/create_details_window.py:94
msgid "Title" msgid "Title"
msgstr "Titre" msgstr "Titre"
#: data/gtk/help-overlay.blp:11 #: data/gtk/game.blp:82 data/gtk/game.blp:101
msgctxt "shortcut window" msgid "Edit"
msgstr "Modifier"
#: data/gtk/game.blp:87
msgid "Hide"
msgstr "Masquer"
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr "Retirer"
#: data/gtk/game.blp:106
msgid "Unhide"
msgstr "Afficher"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General" msgid "General"
msgstr "Général" msgstr "Général"
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14
msgctxt "shortcut window"
msgid "Quit" msgid "Quit"
msgstr "Quitter" msgstr "Quitter"
#: data/gtk/help-overlay.blp:19
msgctxt "shortcut window"
msgid "Search"
msgstr "Recherche"
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24
msgctxt "shortcut window"
msgid "Show preferences" msgid "Show preferences"
msgstr "Afficher les préférences" msgstr "Afficher les préférences"
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29
msgctxt "shortcut window"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Raccourcis" msgstr "Raccourcis"
#: data/gtk/help-overlay.blp:34 #: data/gtk/help-overlay.blp:34 src/main.py:198 src/preferences.py:118
msgctxt "shortcut window"
msgid "Undo" msgid "Undo"
msgstr "Annuler" msgstr "Annuler"
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:39
msgctxt "shortcut window"
msgid "Open menu" msgid "Open menu"
msgstr "Ouvrir le menu" msgstr "Ouvrir le menu"
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:45
msgctxt "shortcut window"
msgid "Games" msgid "Games"
msgstr "Jeux" msgstr "Jeux"
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:48
msgctxt "shortcut window"
msgid "Add new game" msgid "Add new game"
msgstr "Ajouter un nouveau jeu" msgstr "Ajouter un nouveau jeu"
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:53
msgctxt "shortcut window" #, fuzzy
#| msgid "Import GOG Games"
msgid "Import games"
msgstr "Importer des jeux GOG"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games" msgid "Show hidden games"
msgstr "Afficher les jeux masqués" msgstr "Afficher les jeux masqués"
#: data/gtk/preferences.blp:10
msgid "General"
msgstr "Général"
#: data/gtk/preferences.blp:13 #: data/gtk/preferences.blp:13
msgid "Behavior"
msgstr ""
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "Quitter après avoir lancé les jeux" msgstr "Quitter après avoir lancé les jeux"
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr "Cliquer sur limage de couverture lance le jeu"
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:25
msgid "Swaps the behavior of the cover image and the play button"
msgstr ""
"Intervertit le comportement de limage de couverture et du bouton de lecture"
#: data/gtk/preferences.blp:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr "Images"
#: data/gtk/preferences.blp:37
msgid "High Quality Images"
msgstr "Images de haute qualité"
#: data/gtk/preferences.blp:38
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
"Sauvegarde les couvertures de jeu sans perte, mais prend plus de stockage"
#: data/gtk/preferences.blp:47
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr ""
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:77
msgid "Steam Install Location" msgid "Steam Install Location"
msgstr "Emplacement de l'installation de Steam" msgstr "Emplacement de l'installation de Steam"
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:78 #: data/gtk/preferences.blp:156
msgid "Directory to use when importing games" msgid "Directory to use when importing games"
msgstr "Répertoire à utiliser lors de l'importation de jeux" msgstr "Répertoire à utiliser lors de l'importation de jeux"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr "Bibliothèque Steam supplémentaires"
#: data/gtk/preferences.blp:87
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:94
msgid "Clear"
msgstr "Vider"
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location" msgid "Heroic Install Location"
msgstr "Emplacement de l'installation Heroic" msgstr "Emplacement de l'installation Heroic"
#: data/gtk/preferences.blp:49 #: data/gtk/preferences.blp:126
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importer Epic Games" msgstr "Importer Epic Games"
#: data/gtk/preferences.blp:57 #: data/gtk/preferences.blp:134
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importer des jeux GOG" msgstr "Importer des jeux GOG"
#: data/gtk/preferences.blp:65 #: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importer des jeux Sideloaded" msgstr "Importer des jeux Sideloaded"
#: data/gtk/preferences.blp:77 #: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "Emplacement de l'installation Bottles" msgstr "Emplacement de l'installation Bottles"
#. Translators: Replace this with your name for it to show up in the about window #. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:130 #: src/main.py:125
msgid "translator_credits" msgid "translator_credits"
msgstr "" msgstr "Irénée Thirion"
#: src/main.py:195 #. The variable is the title of the game
#, fuzzy, python-brace-format #: src/main.py:197
#, python-brace-format
msgid "{title} removed" msgid "{title} removed"
msgstr "retiré" msgstr "{title} retiré"
#: src/main.py:196 #: src/window.py:234
msgid "Undo"
msgstr "Annuler"
#: src/window.py:229
msgid "Today" msgid "Today"
msgstr "Aujourd'hui" msgstr "Aujourd'hui"
#: src/window.py:231 #: src/window.py:236
msgid "Yesterday" msgid "Yesterday"
msgstr "Hier" msgstr "Hier"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:265
#, fuzzy, python-brace-format
msgid "Added: {date}"
msgstr "Ajouté :"
#: src/window.py:270 #: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr "Ajouté : {date}"
#: src/window.py:275
msgid "Never" msgid "Never"
msgstr "" msgstr "Jamais"
#. The variable is the date when the game was last played #. The variable is the date when the game was last played
#: src/window.py:274 #: src/window.py:279
#, fuzzy, python-brace-format #, python-brace-format
msgid "Last played: {last_played_date}" msgid "Last played: {last_played_date}"
msgstr "Dernière session : Jamais" msgstr "Dernière session : {last_played_date}"
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/game.py:173
#: src/utils/steam_parser.py:230 msgid "Details"
msgid "Couldn't Import Games" msgstr "Détails"
msgstr "Impossible d'importer des jeux"
#: src/utils/bottles_parser.py:81 #: src/preferences.py:55
msgid "The Bottles directory cannot be found." msgid "Installation Not Found"
msgstr "Le répertoire Bottles est introuvable." msgstr ""
#: src/utils/bottles_parser.py:83 #. The variable is the name of the game launcher
msgid "Set Bottles Location" #: src/preferences.py:57
msgstr "Définir l'emplacement de Bottles" #, python-brace-format
msgid "Select the {name} configuration directory."
msgstr ""
#: src/utils/bottles_parser.py:143 #. The variable is the name of the game launcher
msgid "No new games were found in the Bottles library." #: src/preferences.py:59
msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Bottles." #, python-brace-format
msgid "Select the {name} data directory."
msgstr ""
#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:155 #: src/preferences.py:61
msgid "Bottles Games Imported" #, fuzzy
msgstr "Jeux Bottles importés" #| msgid "Set Steam Location"
msgid "Set Location"
msgstr "Définir l'emplacement Steam"
#: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:248 #: src/preferences.py:117
#: src/utils/steam_parser.py:164 #, fuzzy
#| msgid "{title} removed"
msgid "All games removed"
msgstr "{title} retiré"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "Importation des jeux…"
#: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found in the Heroic library."
msgid "No new games were found on your system."
msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Heroic."
#: src/utils/importer.py:87
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Game Imported"
msgstr "Jeux Steam importés"
#: src/utils/importer.py:88
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "Importation réussie de 1 jeu." msgstr "Importation réussie de 1 jeu."
#: src/utils/importer.py:94
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Games Imported"
msgstr "Jeux Steam importés"
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 #: src/utils/importer.py:96
#: src/utils/steam_parser.py:172 #, python-brace-format
#, fuzzy, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {games_no} games."
msgstr "Importation réussie de 1 jeu." msgstr "Importation réussie de {games_no} jeux."
#: src/utils/create_details_window.py:41 #: src/utils/create_details_window.py:41
msgid "Add New Game" msgid "Add New Game"
@@ -333,18 +426,10 @@ msgstr "Ajouter un nouveau jeu"
msgid "Confirm" msgid "Confirm"
msgstr "Confirmer" msgstr "Confirmer"
#: src/utils/create_details_window.py:48
msgid "Edit Game Details"
msgstr "Modifier les détails du jeu"
#: src/utils/create_details_window.py:57 #: src/utils/create_details_window.py:57
msgid "Apply" msgid "Apply"
msgstr "Appliquer" msgstr "Appliquer"
#: src/utils/create_details_window.py:59
msgid "Images"
msgstr "Images"
#: src/utils/create_details_window.py:95 #: src/utils/create_details_window.py:95
msgid "The title of the game" msgid "The title of the game"
msgstr "Le titre du jeu" msgstr "Le titre du jeu"
@@ -357,36 +442,41 @@ msgstr "Développeur"
msgid "The developer or publisher (optional)" msgid "The developer or publisher (optional)"
msgstr "Le développeur ou l'éditeur (facultatif)" msgstr "Le développeur ou l'éditeur (facultatif)"
#: src/utils/create_details_window.py:111 #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:112
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr "ficher.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:113 #: src/utils/create_details_window.py:114
msgid "program" msgid "program"
msgstr "" msgstr "programme"
#: src/utils/create_details_window.py:117 #. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format #, python-brace-format
msgid "C:\\path\\to\\{exe_name}" msgid "C:\\path\\to\\{exe_name}"
msgstr "" msgstr "C:\\chemin\\vers\\{exe_name}"
#: src/utils/create_details_window.py:118
#, python-brace-format
msgid "C:\\path\\to\\{file_name}"
msgstr ""
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121 #: src/utils/create_details_window.py:121
#, python-brace-format #, python-brace-format
msgid "/path/to/{exe_name}" msgid "C:\\path\\to\\{file_name}"
msgstr "" msgstr "C:\\chemin\\vers\\{file_name}"
#: src/utils/create_details_window.py:122 #. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr "/chemin/vers/{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format #, python-brace-format
msgid "/path/to/{file_name}" msgid "/path/to/{file_name}"
msgstr "" msgstr "/chemin/vers/{file_name}"
#: src/utils/create_details_window.py:126 #: src/utils/create_details_window.py:131
#, python-brace-format #, python-brace-format
msgid "" msgid ""
"To launch the executable \"{exe_name}\", use the command:\n" "To launch the executable \"{exe_name}\", use the command:\n"
@@ -399,84 +489,121 @@ msgid ""
"\n" "\n"
"If the path contains spaces, make sure to wrap it in double quotes!" "If the path contains spaces, make sure to wrap it in double quotes!"
msgstr "" msgstr ""
"Pour lancer l'exécutable « {exe_name} », utilisez la commande :\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"Pour ouvrir le fichier « {file_name} » avec l'application par défaut, "
"utilisez la commande :\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"Si le chemin d'accès contient des espaces, veillez à le mettre entre "
"guillemets !"
#: src/utils/create_details_window.py:149 #: src/utils/create_details_window.py:154
msgid "Executable" msgid "Executable"
msgstr "Exécutable" msgstr "Exécutable"
#: src/utils/create_details_window.py:150 #: src/utils/create_details_window.py:155
msgid "File to open or command to run when launching the game" msgid "File to open or command to run when launching the game"
msgstr "Fichier à ouvrir ou commande à exécuter au lancement du jeu" msgstr "Fichier à ouvrir ou commande à exécuter au lancement du jeu"
#: src/utils/create_details_window.py:162 #: src/utils/create_details_window.py:167
msgid "Cancel" msgid "Cancel"
msgstr "Annuler" msgstr "Annuler"
#: src/utils/create_details_window.py:208 #: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:214 #: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Impossible d'ajouter un jeu" msgstr "Impossible d'ajouter un jeu"
#: src/utils/create_details_window.py:208 #: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:239 #: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr "Impossible d'appliquer les préférences"
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Le titre du jeu ne peut pas être vide." msgstr "Le titre du jeu ne peut pas être vide."
#: src/utils/create_details_window.py:214 #: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:247 #: src/utils/create_details_window.py:266
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "L'exécutable ne peut pas être vide." msgstr "L'exécutable ne peut pas être vide."
#: src/utils/create_details_window.py:238
#: src/utils/create_details_window.py:246
msgid "Couldn't Apply Preferences"
msgstr "Impossible d'appliquer les préférences"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Rejeter" msgstr "Rejeter"
#: src/utils/heroic_parser.py:88
msgid "The Heroic directory cannot be found."
msgstr "Le répertoire Heroic est introuvable."
#: src/utils/heroic_parser.py:90
msgid "Set Heroic Location"
msgstr "Définir l'emplacement Heroic"
#: src/utils/heroic_parser.py:242
msgid "No new games were found in the Heroic library."
msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Heroic."
#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254
msgid "Heroic Games Imported"
msgstr "Jeux Heroic importés"
#: src/utils/steam_parser.py:158
msgid "No new games were found in the Steam library."
msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Steam."
#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170
msgid "Steam Games Imported"
msgstr "Jeux Steam importés"
#: src/utils/steam_parser.py:231
msgid "The Steam directory cannot be found."
msgstr "Le répertoire Steam est introuvable."
#: src/utils/steam_parser.py:233
msgid "Set Steam Location"
msgstr "Définir l'emplacement Steam"
#: src/utils/steam_parser.py:249
#, fuzzy #, fuzzy
msgid "Importing Games…" #~| msgid "General"
msgstr "Importation de jeux…" #~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "Général"
#: src/utils/steam_parser.py:250
#, fuzzy #, fuzzy
msgid "Talking to Steam" #~| msgid "Search"
msgstr "Parler à Steam" #~ 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 "Set Heroic Location"
#~ msgstr "Définir l'emplacement Heroic"
#~ 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 #, fuzzy
#~ msgid "Successfully imported {str(len(bottles_games))} games." #~ msgid "Successfully imported {str(len(bottles_games))} games."

542
po/hu.po
View File

@@ -1,16 +1,16 @@
# Cartridges - Hungarian Translation # SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022 kramo # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package. # This file is distributed under the same license as the cartridges package.
# kramo, 2023. # kramo, 2023.
# #
# kramo <login@kramo.hu>, 2023. # kramo <contact@kramo.hu>, 2023.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-19 13:11+0100\n" "POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-19 12:05+0000\n" "PO-Revision-Date: 2023-03-30 16:17+0000\n"
"Last-Translator: kramo <login@kramo.hu>\n" "Last-Translator: kramo <contact@kramo.hu>\n"
"Language-Team: Hungarian <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Hungarian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/hu/>\n" "cartridges/hu/>\n"
"Language: hu\n" "Language: hu\n"
@@ -18,11 +18,11 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.16.2-dev\n" "X-Generator: Weblate 4.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:116 #: src/main.py:110
msgid "Cartridges" msgid "Cartridges"
msgstr "Kazetták" msgstr "Kazetták"
@@ -45,304 +45,371 @@ msgid ""
"hiding and sorting by date added or last played." "hiding and sorting by date added or last played."
msgstr "" msgstr ""
"A Kazetták egy egyszerű játékindító. Támogatja a Steam-ből, Heroic-ból és " "A Kazetták egy egyszerű játékindító. Támogatja a Steam-ből, Heroic-ból és "
"Bottles-ből való importálást, valamint a játékok elrejtését és rendezését." "Palackok-ból való importálást, valamint a játékok elrejtését és rendezését."
#: data/gtk/window.blp:6 data/gtk/window.blp:14 src/utils/bottles_parser.py:142 #: data/hu.kramo.Cartridges.metainfo.xml.in:22
#: src/utils/heroic_parser.py:241 src/utils/steam_parser.py:157 msgid "Library"
msgstr "Könyvtár"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:48
msgid "Edit Game Details"
msgstr "Játék Szerkesztése"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51
msgid "Game Details"
msgstr "Játék Tulajdonságai"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr "Beállítások"
#: data/gtk/window.blp:6 src/utils/importer.py:78
msgid "No Games Found" msgid "No Games Found"
msgstr "Nem Találhatóak Játékok" msgstr "Nem találhatóak játékok"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7
msgid "Try a different search." msgid "Try a different search."
msgstr "Próbálkozz más kereséssel." 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 #: data/gtk/window.blp:15
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Használd a + gombot a játékok hozzáadásához." msgstr "Használja a + gombot a játékok hozzáadásához."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:22
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Nincsenek Rejtett Játékok" msgstr "Nincsenek rejtett játékok"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:23
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "A rejtett játékaid itt lesznek megtalálhatók." msgstr "A rejtett játékaid itt lesznek megtalálhatóak."
#: data/gtk/window.blp:50 #: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Game Details" msgid "Back"
msgstr "Játék Részletei" msgstr "Vissza"
#: data/gtk/window.blp:91 #: data/gtk/window.blp:92
msgid "Game Title" msgid "Game Title"
msgstr "Cím" msgstr "Cím"
#: data/gtk/window.blp:147 data/gtk/game.blp:38 #: data/gtk/window.blp:148 src/game.py:175
msgid "Play" msgid "Play"
msgstr "Játék" msgstr "Játék"
#: data/gtk/window.blp:256 #: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Hidden Games" msgid "Add Game"
msgstr "Rejtett Játékok" msgstr "Játék hozzáadása"
#: data/gtk/window.blp:314 #: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr "Főmenü"
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Search"
msgstr "Keresés"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Rejtett játékok"
#: data/gtk/window.blp:321
msgid "Sort" msgid "Sort"
msgstr "Rendezés" msgstr "Rendezés"
#: data/gtk/window.blp:317 #: data/gtk/window.blp:324
msgid "A-Z" msgid "A-Z"
msgstr "A-Z" msgstr "A-Z"
#: data/gtk/window.blp:323 #: data/gtk/window.blp:330
msgid "Z-A" msgid "Z-A"
msgstr "Z-A" msgstr "Z-A"
#: data/gtk/window.blp:329 #: data/gtk/window.blp:336
msgid "Newest" msgid "Newest"
msgstr "Legújabb" msgstr "Legújabb"
#: data/gtk/window.blp:335 #: data/gtk/window.blp:342
msgid "Oldest" msgid "Oldest"
msgstr "Legrégebbi" msgstr "Legrégebbi"
#: data/gtk/window.blp:341 #: data/gtk/window.blp:348
msgid "Last Played" msgid "Last Played"
msgstr "Legutóbb játszott" msgstr "Legutóbb játszott"
#: data/gtk/window.blp:348 #: data/gtk/window.blp:355
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Rejtett Játékok" msgstr "Rejtett játékok"
#: data/gtk/window.blp:356 #: data/gtk/window.blp:368
msgid "Preferences"
msgstr "Beállítások"
#: data/gtk/window.blp:361
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "Billentyűparancsok" msgstr "Gyorsbillentyűk"
#: data/gtk/window.blp:366 #: data/gtk/window.blp:373
msgid "About Cartridges" msgid "About Cartridges"
msgstr "A Kazettákról" msgstr "A Kazetták névjegye"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:388 data/gtk/preferences.blp:66
msgid "Add Game" msgid "Import"
msgstr "Játék Hozzáadása" msgstr "Importálás"
#: data/gtk/window.blp:381 #: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Import from"
msgstr "Importálás innen"
#: data/gtk/window.blp:383
msgid "Steam"
msgstr "Steam"
#: data/gtk/window.blp:388
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/window.blp:393
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/window.blp:404 data/gtk/window.blp:423 data/gtk/game.blp:87
#: data/gtk/game.blp:106
msgid "Edit"
msgstr "Szerkeszt"
#: data/gtk/window.blp:409 data/gtk/game.blp:92
msgid "Hide"
msgstr "Elrejt"
#: data/gtk/window.blp:414 data/gtk/window.blp:433 data/gtk/game.blp:97
#: data/gtk/game.blp:116
msgid "Remove"
msgstr "Eltávolít"
#: data/gtk/window.blp:428 data/gtk/game.blp:111
msgid "Unhide"
msgstr "Mutat"
#: data/gtk/game.blp:65 src/utils/create_details_window.py:94
msgid "Title" msgid "Title"
msgstr "Cím" msgstr "Cím"
#: data/gtk/help-overlay.blp:11 #: data/gtk/game.blp:82 data/gtk/game.blp:101
msgctxt "shortcut window" msgid "Edit"
msgstr "Szerkesztés"
#: data/gtk/game.blp:87
msgid "Hide"
msgstr "Elrejtés"
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr "Eltávolítás"
#: data/gtk/game.blp:106
msgid "Unhide"
msgstr "Elrejtés visszavonása"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General" msgid "General"
msgstr "Általános" msgstr "Általános"
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14
msgctxt "shortcut window"
msgid "Quit" msgid "Quit"
msgstr "Kilépés" msgstr "Kilépés"
#: data/gtk/help-overlay.blp:19
msgctxt "shortcut window"
msgid "Search"
msgstr "Keresés"
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24
msgctxt "shortcut window"
msgid "Show preferences" msgid "Show preferences"
msgstr "Beállítások mutatása" msgstr "Beállítások megjelenítése"
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29
msgctxt "shortcut window"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Billentyűparancsok" msgstr "Gyorsbillentyűk"
#: data/gtk/help-overlay.blp:34 #: data/gtk/help-overlay.blp:34 src/main.py:198 src/preferences.py:118
msgctxt "shortcut window"
msgid "Undo" msgid "Undo"
msgstr "Visszavonás" msgstr "Visszavonás"
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:39
msgctxt "shortcut window"
msgid "Open menu" msgid "Open menu"
msgstr "Menü megnyitása" msgstr "Menü megnyitása"
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:45
msgctxt "shortcut window"
msgid "Games" msgid "Games"
msgstr "Játékok" msgstr "Játékok"
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:48
msgctxt "shortcut window"
msgid "Add new game" msgid "Add new game"
msgstr "Új játék hozzáadása" msgstr "Új játék hozzáadása"
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:53
msgctxt "shortcut window" msgid "Import games"
msgstr "Játékok importálása"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games" msgid "Show hidden games"
msgstr "Rejtett játékok megjelenítése" msgstr "Rejtett játékok megjelenítése"
#: data/gtk/preferences.blp:10
msgid "General"
msgstr "Általános"
#: data/gtk/preferences.blp:13 #: data/gtk/preferences.blp:13
msgid "Behavior"
msgstr "Működés"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games" 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"
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr "A borítókép indítja el a játékot"
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:25
msgid "Steam Install Location" msgid "Swaps the behavior of the cover image and the play button"
msgstr "Steam Telepítés Helye" msgstr "Felcseréli a \"Játék\" gomb és a borítókép funkcióját"
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:34 src/utils/create_details_window.py:59
#: data/gtk/preferences.blp:78 msgid "Images"
msgid "Directory to use when importing games" msgstr "Képek"
msgstr "Az importáláskor használatos mappa"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:37
msgid "Heroic Install Location" msgid "High Quality Images"
msgstr "Heroic Telepítés Helye" msgstr "Jó minőségű képek"
#: data/gtk/preferences.blp:49 #: data/gtk/preferences.blp:38
msgid "Import Epic Games" msgid "Save game covers losslessly at the cost of storage"
msgstr "Epic Games Játékok Importálása" msgstr "Játékborítók veszteségmentes tárolása a tárhely költségére"
#: data/gtk/preferences.blp:57 #: data/gtk/preferences.blp:47
msgid "Import GOG Games" msgid "Danger Zone"
msgstr "GOG Játékok Importálása" msgstr "Veszélyzóna"
#: data/gtk/preferences.blp:65 #: data/gtk/preferences.blp:50
msgid "Import Sideloaded Games" msgid "Remove All Games"
msgstr "Manuálisan Hozzáadott Játékok Importálása" msgstr "Az összes játék eltávolítása"
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr "Források"
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:77 #: data/gtk/preferences.blp:77
msgid "Steam Install Location"
msgstr "Steam telepítés helye"
#: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:156
msgid "Directory to use when importing games"
msgstr "Az importáláshoz használt mappa"
#: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr "További Steam könyvtárak"
#: data/gtk/preferences.blp:87
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:94
msgid "Clear"
msgstr "Törlés"
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location"
msgstr "Heroic telepítés helye"
#: data/gtk/preferences.blp:126
msgid "Import Epic Games"
msgstr "Epic Games játékok importálása"
#: data/gtk/preferences.blp:134
msgid "Import GOG Games"
msgstr "GOG játékok importálása"
#: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games"
msgstr "Manuálisan hozzáadott játékok importálása"
#: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr "Palackok"
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "Bottles Telepítés Helye" msgstr "Palackok telepítés helye"
#. Translators: Replace this with your name for it to show up in the about window #. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:130 #: src/main.py:125
msgid "translator_credits" msgid "translator_credits"
msgstr "kramo https://kramo.hu" msgstr "kramo https://kramo.hu"
#: src/main.py:195 #. The variable is the title of the game
#, fuzzy, python-brace-format #: src/main.py:197
#, python-brace-format
msgid "{title} removed" msgid "{title} removed"
msgstr "eltávolítva" msgstr "{title} eltávolítva"
#: src/main.py:196 #: src/window.py:234
msgid "Undo"
msgstr "Visszavonás"
#: src/window.py:229
msgid "Today" msgid "Today"
msgstr "Ma" msgstr "Ma"
#: src/window.py:231 #: src/window.py:236
msgid "Yesterday" msgid "Yesterday"
msgstr "Tegnap" msgstr "Tegnap"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:265
#, fuzzy, python-brace-format
msgid "Added: {date}"
msgstr "Hozzáadva:"
#: src/window.py:270 #: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr "Hozzáadva: {date}"
#: src/window.py:275
msgid "Never" msgid "Never"
msgstr "Soha" msgstr "Soha"
#. The variable is the date when the game was last played #. The variable is the date when the game was last played
#: src/window.py:274 #: src/window.py:279
#, python-brace-format #, python-brace-format
msgid "Last played: {last_played_date}" msgid "Last played: {last_played_date}"
msgstr "Legutóbbi játékmenet: {last_played_date}" msgstr "Legutóbbi játékmenet: {last_played_date}"
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/game.py:173
#: src/utils/steam_parser.py:230 msgid "Details"
msgid "Couldn't Import Games" msgstr "Tulajdonságok"
msgstr "Nem Lehet Importálni a Játékot"
#: src/utils/bottles_parser.py:81 #: src/preferences.py:55
msgid "The Bottles directory cannot be found." msgid "Installation Not Found"
msgstr "A Bottles mappa nem található." msgstr "Telepítés nem található"
#: src/utils/bottles_parser.py:83 #. The variable is the name of the game launcher
msgid "Set Bottles Location" #: src/preferences.py:57
msgstr "Bottles Mappa Kiválasztása" #, python-brace-format
msgid "Select the {name} configuration directory."
msgstr "Válassza ki {name} konfigurációs mappáját."
#: src/utils/bottles_parser.py:143 #. The variable is the name of the game launcher
msgid "No new games were found in the Bottles library." #: src/preferences.py:59
msgstr "Nem találhatók új játékok a Bottles könyvtárban." #, python-brace-format
msgid "Select the {name} data directory."
msgstr "Válassza ki {name} adatainak mappáját."
#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:155 #: src/preferences.py:61
msgid "Bottles Games Imported" msgid "Set Location"
msgstr "Bottles Játékok Importálva" msgstr "Mappa kiválasztása"
#: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:248 #: src/preferences.py:117
#: src/utils/steam_parser.py:164 msgid "All games removed"
msgstr "Az összes játék eltávolítva"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "Játékok importálása folyamatban…"
#: src/utils/importer.py:79
msgid "No new games were found on your system."
msgstr "Nem találhatóak új játékok a rendszerén."
#: src/utils/importer.py:87
msgid "Game Imported"
msgstr "Játékok importálva"
#: src/utils/importer.py:88
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "1 játék sikeresen importálva." msgstr "1 játék sikeresen importálva."
#: src/utils/importer.py:94
msgid "Games Imported"
msgstr "Játékok importálva"
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 #: src/utils/importer.py:96
#: src/utils/steam_parser.py:172 #, python-brace-format
#, fuzzy, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {games_no} games."
msgstr "{str(games_no)} játék sikeresen importálva." msgstr "{games_no} játék sikeresen importálva."
#: src/utils/create_details_window.py:41 #: src/utils/create_details_window.py:41
msgid "Add New Game" msgid "Add New Game"
msgstr "Új Játék Hozzáadása" msgstr "Új játék hozzáadása"
#: src/utils/create_details_window.py:46 #: src/utils/create_details_window.py:46
msgid "Confirm" msgid "Confirm"
msgstr "Megerősít" msgstr "Megerősítés"
#: src/utils/create_details_window.py:48
msgid "Edit Game Details"
msgstr "Játék Részleteinek Szerkesztése"
#: src/utils/create_details_window.py:57 #: src/utils/create_details_window.py:57
msgid "Apply" msgid "Apply"
msgstr "Alkalmaz" msgstr "Alkalmazás"
#: src/utils/create_details_window.py:59
msgid "Images"
msgstr "Képek"
#: src/utils/create_details_window.py:95 #: src/utils/create_details_window.py:95
msgid "The title of the game" msgid "The title of the game"
@@ -356,36 +423,41 @@ msgstr "Fejlesztő"
msgid "The developer or publisher (optional)" msgid "The developer or publisher (optional)"
msgstr "A fejlesztő vagy kiadó (nem kötelező)" msgstr "A fejlesztő vagy kiadó (nem kötelező)"
#: src/utils/create_details_window.py:111 #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:112
msgid "file.txt" msgid "file.txt"
msgstr "fájl.txt" msgstr "fájl.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:113 #: src/utils/create_details_window.py:114
msgid "program" msgid "program"
msgstr "program" msgstr "program"
#: src/utils/create_details_window.py:117 #. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format #, python-brace-format
msgid "C:\\path\\to\\{exe_name}" msgid "C:\\path\\to\\{exe_name}"
msgstr "C:\\útvonal\\a\\programhoz\\{exe_name}" msgstr "C:\\útvonal\\a\\programhoz\\{exe_name}"
#: src/utils/create_details_window.py:118 #. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121
#, python-brace-format #, python-brace-format
msgid "C:\\path\\to\\{file_name}" msgid "C:\\path\\to\\{file_name}"
msgstr "C:\\útvonal\\a\\fájlhoz\\{file_name}" msgstr "C:\\útvonal\\a\\fájlhoz\\{file_name}"
#: src/utils/create_details_window.py:121 #. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format #, python-brace-format
msgid "/path/to/{exe_name}" msgid "/path/to/{exe_name}"
msgstr "/útvonal/a/programhoz/{exe_name}" msgstr "/útvonal/a/programhoz/{exe_name}"
#: src/utils/create_details_window.py:122 #. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format #, python-brace-format
msgid "/path/to/{file_name}" msgid "/path/to/{file_name}"
msgstr "/útvonal/a/fájlhoz/{file_name}" msgstr "/útvonal/a/fájlhoz/{file_name}"
#: src/utils/create_details_window.py:126 #: src/utils/create_details_window.py:131
#, python-brace-format #, python-brace-format
msgid "" msgid ""
"To launch the executable \"{exe_name}\", use the command:\n" "To launch the executable \"{exe_name}\", use the command:\n"
@@ -398,7 +470,7 @@ msgid ""
"\n" "\n"
"If the path contains spaces, make sure to wrap it in double quotes!" "If the path contains spaces, make sure to wrap it in double quotes!"
msgstr "" msgstr ""
"Az \"{exe_name}\", program elindításához ezt a parancsot használd:\n" "Az \"{exe_name}\" program elindításához ezt a parancsot használd:\n"
"\n" "\n"
"<tt>\"{exe_path}\"</tt>\n" "<tt>\"{exe_path}\"</tt>\n"
"\n" "\n"
@@ -409,81 +481,103 @@ msgstr ""
"\n" "\n"
"Ha az elérési útvonalban szóközök vannak, rakd az útvonalat idézőjelek közé!" "Ha az elérési útvonalban szóközök vannak, rakd az útvonalat idézőjelek közé!"
#: src/utils/create_details_window.py:149 #: src/utils/create_details_window.py:154
msgid "Executable" msgid "Executable"
msgstr "Program" msgstr "Program"
#: src/utils/create_details_window.py:150 #: src/utils/create_details_window.py:155
msgid "File to open or command to run when launching the game" 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" msgstr "Fájl megnyitása vagy parancs futtatása a játék indításakor"
#: src/utils/create_details_window.py:162 #: src/utils/create_details_window.py:167
msgid "Cancel" msgid "Cancel"
msgstr "Mégse" msgstr "Mégse"
#: src/utils/create_details_window.py:208 #: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:214 #: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game" 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:208 #: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:239 #: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr "Nem lehet menteni a beállításokat"
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "A cím nem lehet üres." msgstr "A cím nem lehet üres."
#: src/utils/create_details_window.py:214 #: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:247 #: src/utils/create_details_window.py:266
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "A program nem lehet üres." msgstr "A program nem lehet üres."
#: src/utils/create_details_window.py:238
#: src/utils/create_details_window.py:246
msgid "Couldn't Apply Preferences"
msgstr "Nem Lehet Menteni a Beállításokat"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Rendben" msgstr "Rendben"
#: src/utils/heroic_parser.py:88 #~ msgctxt "shortcuts window"
msgid "The Heroic directory cannot be found." #~ msgid "General"
msgstr "A Heroic mappa nem található." #~ msgstr "Általános"
#: src/utils/heroic_parser.py:90 #~ msgctxt "shortcuts window"
msgid "Set Heroic Location" #~ msgid "Search"
msgstr "Heroic Mappa Kiválasztása" #~ msgstr "Keresés"
#: src/utils/heroic_parser.py:242 #~ msgctxt "shortcuts window"
msgid "No new games were found in the Heroic library." #~ msgid "Undo"
msgstr "Nem találhatók új játékok a Heroic könyvtárban." #~ msgstr "Visszavonás"
#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254 #~ msgid "First stable release"
msgid "Heroic Games Imported" #~ msgstr "Első stabil kiadás"
msgstr "Heroic Játékok Importálva"
#: src/utils/steam_parser.py:158 #~ msgctxt "shortcut window"
msgid "No new games were found in the Steam library." #~ msgid "General"
msgstr "Nem találhatók új játékok a Steam könyvtárban." #~ msgstr "Általános"
#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170 #~ msgctxt "shortcut window"
msgid "Steam Games Imported" #~ msgid "Search"
msgstr "Steam Játékok Importálva" #~ msgstr "Keresés"
#: src/utils/steam_parser.py:231 #~ msgctxt "shortcut window"
msgid "The Steam directory cannot be found." #~ msgid "Undo"
msgstr "A Steam mappa nem található." #~ msgstr "Visszavonás"
#: src/utils/steam_parser.py:233 #~ msgid "Couldn't Import Games"
msgid "Set Steam Location" #~ msgstr "Nem lehet importálni a játékokat"
msgstr "Steam Mappa Kiválasztása"
#: src/utils/steam_parser.py:249 #~ msgid "The Bottles directory cannot be found."
msgid "Importing Games…" #~ msgstr "A Palackok mappa nem található."
msgstr "Játékok Importálása…"
#: src/utils/steam_parser.py:250 #~ msgid "Set Bottles Location"
msgid "Talking to Steam" #~ msgstr "Palackok mappa kiválasztása"
msgstr "Beszélgetés a Steammel"
#~ 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 "Set Heroic Location"
#~ msgstr "Heroic mappa kiválasztása"
#~ 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 #, python-brace-format
#~ msgid "{self.win.games[game_id].name} removed" #~ msgid "{self.win.games[game_id].name} removed"
@@ -512,3 +606,9 @@ msgstr "Beszélgetés a Steammel"
#~ msgid "Import From Heroic" #~ msgid "Import From Heroic"
#~ msgstr "Importálás Heroic-ból" #~ 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"

600
po/it.po Normal file
View File

@@ -0,0 +1,600 @@
# 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.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-28 22:23+0000\n"
"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:110
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
msgid "Launch your games"
msgstr "Avvia i tuoi giochi"
#: 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. It has support for importing your "
"games from Steam, Heroic and Bottles with organizational features such as "
"hiding and sorting by date added or last played."
msgstr ""
"Cartridges è un semplice launcher di giochi. Supporta l'import di giochi da "
"Steam, Heroic e Bottles con funzioni organizzative come la possibilità di "
"nascondere e ordinare per data di aggiunta o di ultimo avvio."
#: 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:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr "Preferenze"
#: data/gtk/window.blp:6 src/utils/importer.py:78
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:254
msgid "Back"
msgstr "Indietro"
#: data/gtk/window.blp:92
msgid "Game Title"
msgstr "Titolo del gioco"
#: data/gtk/window.blp:148 src/game.py:175
msgid "Play"
msgstr "Gioca"
#: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Add Game"
msgstr "Aggiungi Gioco"
#: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr "Menù Principale"
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Search"
msgstr "Cerca"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Giochi Nascosti"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "Ordina per"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "Più recente"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "Più vecchio"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Ultimo Avvio"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Mostra Nascosti"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Scorciatoie da Tastiera"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "Informazioni su Cartucce"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
#, fuzzy
#| msgid "Import from"
msgid "Import"
msgstr "Importa da"
#: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Title"
msgstr "Titolo"
#: data/gtk/game.blp:82 data/gtk/game.blp:101
msgid "Edit"
msgstr "Modifica"
#: data/gtk/game.blp:87
msgid "Hide"
msgstr "Nascondi"
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr "Rimuovi"
#: data/gtk/game.blp:106
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: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:198 src/preferences.py:118
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
#, fuzzy
#| msgid "Import GOG Games"
msgid "Import games"
msgstr "Importa giochi da GOG"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Mostra giochi nascosti"
#: data/gtk/preferences.blp:13
msgid "Behavior"
msgstr ""
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Esci dopo l'avvio dei giochi"
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr "La copertina avvia il gioco"
#: data/gtk/preferences.blp:25
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:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr "Immagini"
#: data/gtk/preferences.blp:37
msgid "High Quality Images"
msgstr "Immagini di alta qualità"
#: data/gtk/preferences.blp:38
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:47
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr ""
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:77
msgid "Steam Install Location"
msgstr "Percorso Installazione Steam"
#: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:156
msgid "Directory to use when importing games"
msgstr "Cartella da usare per importare i giochi"
#: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr "Librerie Steam Extra"
#: data/gtk/preferences.blp:87
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:94
msgid "Clear"
msgstr "Cancella"
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location"
msgstr "Percorso Installazione Heroic"
#: data/gtk/preferences.blp:126
msgid "Import Epic Games"
msgstr "Importa giochi da Epic Games"
#: data/gtk/preferences.blp:134
msgid "Import GOG Games"
msgstr "Importa giochi da GOG"
#: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games"
msgstr "Importa giochi da aggiunti manualmente"
#: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location"
msgstr "Percorso Installazione Bottles"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:125
msgid "translator_credits"
msgstr "Alessandro Iepure https://ale.iepure.me"
#. The variable is the title of the game
#: src/main.py:197
#, python-brace-format
msgid "{title} removed"
msgstr "{title} rimosso"
#: src/window.py:234
msgid "Today"
msgstr "Oggi"
#: src/window.py:236
msgid "Yesterday"
msgstr "Ieri"
#. The variable is the date when the game was added
#: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr "Aggiunto il: {date}"
#: src/window.py:275
msgid "Never"
msgstr "Mai"
#. The variable is the date when the game was last played
#: src/window.py:279
#, python-brace-format
msgid "Last played: {last_played_date}"
msgstr "Ultimo avvio: {last_played_date}"
#: src/game.py:173
msgid "Details"
msgstr "Dettagli"
#: src/preferences.py:55
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:57
#, python-brace-format
msgid "Select the {name} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:59
#, python-brace-format
msgid "Select the {name} data directory."
msgstr ""
#: src/preferences.py:61
#, fuzzy
#| msgid "Set Steam Location"
msgid "Set Location"
msgstr "Imposta il percorso per Steam"
#: src/preferences.py:117
#, fuzzy
#| msgid "{title} removed"
msgid "All games removed"
msgstr "{title} rimosso"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "Import dei giochi in corso…"
#: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found in the Heroic library."
msgid "No new games were found on your system."
msgstr "Nessun nuovo gioco trovato nella libreria di Heroic."
#: src/utils/importer.py:87
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Game Imported"
msgstr "Importati giochi da Steam"
#: src/utils/importer.py:88
msgid "Successfully imported 1 game."
msgstr "Un gioco importato con successo."
#: src/utils/importer.py:94
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Games Imported"
msgstr "Importati giochi da Steam"
#. The variable is the number of games
#: src/utils/importer.py:96
#, python-brace-format
msgid "Successfully imported {games_no} games."
msgstr "{games_no} giochi importati con successo."
#: src/utils/create_details_window.py:41
msgid "Add New Game"
msgstr "Aggiungi un Nuovo Gioco"
#: src/utils/create_details_window.py:46
msgid "Confirm"
msgstr "Conferma"
#: src/utils/create_details_window.py:57
msgid "Apply"
msgstr "Applica"
#: src/utils/create_details_window.py:95
msgid "The title of the game"
msgstr "Titolo del gioco"
#: src/utils/create_details_window.py:100
msgid "Developer"
msgstr "Sviluppatore"
#: src/utils/create_details_window.py:101
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:112
msgid "file.txt"
msgstr "file.txt"
#. As in software
#: src/utils/create_details_window.py:114
msgid "program"
msgstr "programma"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format
msgid "C:\\path\\to\\{exe_name}"
msgstr "C:\\percorso\\per\\{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121
#, python-brace-format
msgid "C:\\path\\to\\{file_name}"
msgstr "C:\\percorso\\per\\{file_name}"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr "/percorso/per/{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format
msgid "/path/to/{file_name}"
msgstr "/percorso/per/{file_name}"
#: src/utils/create_details_window.py:131
#, python-brace-format
msgid ""
"To launch the executable \"{exe_name}\", use the command:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"To open the file \"{file_name}\" with the default application, use:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Per avviare l'eseguibile \"{exe_name}\", usa il comando:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"Per aprire il file \"{file_name}\" con il programma di default, usa:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"Se il comando contiene spazi, mettilo tra virgolette!"
#: src/utils/create_details_window.py:154
msgid "Executable"
msgstr "Eseguibile"
#: src/utils/create_details_window.py:155
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:167
msgid "Cancel"
msgstr "Annulla"
#: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game"
msgstr "Impossibile aggiungere il gioco"
#: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr "Impossibile applicare le preferenze"
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty."
msgstr "Il titolo del gioco non può essere vuoto."
#: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:266
msgid "Executable cannot be empty."
msgstr "L'eseguibile non può essere vuoto."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Chiudi"
#, 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 "Set Heroic Location"
#~ msgstr "Imposta 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"

513
po/ko.po Normal file
View File

@@ -0,0 +1,513 @@
# 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-03-30 16:23+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:110
msgid "Cartridges"
msgstr "카트리지"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "게임 런처"
#: data/hu.kramo.Cartridges.desktop.in:5
msgid "Launch your games"
msgstr "게임을 실행합니다"
#: 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. It has support for importing your "
"games from Steam, Heroic and Bottles with organizational features such as "
"hiding and sorting by date added or last played."
msgstr ""
"카트리지는 간단한 게임 런처입니다. 추가한 날짜 또는 마지막으로 플레이한 날짜"
"별로 게임을 숨기거나 정렬하는 등의 정리 기능을 통해 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:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr ""
#: data/gtk/window.blp:6 src/utils/importer.py:78
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:254
msgid "Back"
msgstr "뒤로"
#: data/gtk/window.blp:92
msgid "Game Title"
msgstr ""
#: data/gtk/window.blp:148 src/game.py:175
msgid "Play"
msgstr ""
#: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Add Game"
msgstr ""
#: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Search"
msgstr ""
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr ""
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "정렬"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:336
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "카트리지 정보"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
msgid "Import"
msgstr ""
#: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Title"
msgstr ""
#: data/gtk/game.blp:82 data/gtk/game.blp:101
msgid "Edit"
msgstr ""
#: data/gtk/game.blp:87
msgid "Hide"
msgstr ""
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr ""
#: data/gtk/game.blp:106
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:24
msgid "Show preferences"
msgstr ""
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr ""
#: data/gtk/help-overlay.blp:34 src/main.py:198 src/preferences.py:118
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/preferences.blp:13
msgid "Behavior"
msgstr ""
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr ""
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr ""
#: data/gtk/preferences.blp:25
msgid "Swaps the behavior of the cover image and the play button"
msgstr ""
#: data/gtk/preferences.blp:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr ""
#: data/gtk/preferences.blp:37
msgid "High Quality Images"
msgstr ""
#: data/gtk/preferences.blp:38
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
#: data/gtk/preferences.blp:47
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr ""
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr ""
#: data/gtk/preferences.blp:77
msgid "Steam Install Location"
msgstr ""
#: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:156
msgid "Directory to use when importing games"
msgstr ""
#: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:87
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:94
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr ""
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location"
msgstr ""
#: data/gtk/preferences.blp:126
msgid "Import Epic Games"
msgstr ""
#: data/gtk/preferences.blp:134
msgid "Import GOG Games"
msgstr ""
#: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games"
msgstr ""
#: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr ""
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location"
msgstr ""
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:125
msgid "translator_credits"
msgstr ""
#. The variable is the title of the game
#: src/main.py:197
#, python-brace-format
msgid "{title} removed"
msgstr ""
#: src/window.py:234
msgid "Today"
msgstr ""
#: src/window.py:236
msgid "Yesterday"
msgstr ""
#. The variable is the date when the game was added
#: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr ""
#: src/window.py:275
msgid "Never"
msgstr ""
#. The variable is the date when the game was last played
#: src/window.py:279
#, python-brace-format
msgid "Last played: {last_played_date}"
msgstr ""
#: src/game.py:173
msgid "Details"
msgstr ""
#: src/preferences.py:55
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:57
#, python-brace-format
msgid "Select the {name} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:59
#, python-brace-format
msgid "Select the {name} data directory."
msgstr ""
#: src/preferences.py:61
msgid "Set Location"
msgstr ""
#: src/preferences.py:117
msgid "All games removed"
msgstr ""
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr ""
#: src/utils/importer.py:79
msgid "No new games were found on your system."
msgstr ""
#: src/utils/importer.py:87
msgid "Game Imported"
msgstr ""
#: src/utils/importer.py:88
msgid "Successfully imported 1 game."
msgstr ""
#: src/utils/importer.py:94
msgid "Games Imported"
msgstr ""
#. The variable is the number of games
#: src/utils/importer.py:96
#, python-brace-format
msgid "Successfully imported {games_no} games."
msgstr ""
#: src/utils/create_details_window.py:41
msgid "Add New Game"
msgstr ""
#: src/utils/create_details_window.py:46
msgid "Confirm"
msgstr ""
#: src/utils/create_details_window.py:57
msgid "Apply"
msgstr ""
#: src/utils/create_details_window.py:95
msgid "The title of the game"
msgstr ""
#: src/utils/create_details_window.py:100
msgid "Developer"
msgstr ""
#: src/utils/create_details_window.py:101
msgid "The developer or publisher (optional)"
msgstr ""
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:112
msgid "file.txt"
msgstr ""
#. As in software
#: src/utils/create_details_window.py:114
msgid "program"
msgstr ""
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format
msgid "C:\\path\\to\\{exe_name}"
msgstr ""
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121
#, python-brace-format
msgid "C:\\path\\to\\{file_name}"
msgstr ""
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr ""
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format
msgid "/path/to/{file_name}"
msgstr ""
#: src/utils/create_details_window.py:131
#, python-brace-format
msgid ""
"To launch the executable \"{exe_name}\", use the command:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"To open the file \"{file_name}\" with the default application, use:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
#: src/utils/create_details_window.py:154
msgid "Executable"
msgstr ""
#: src/utils/create_details_window.py:155
msgid "File to open or command to run when launching the game"
msgstr ""
#: src/utils/create_details_window.py:167
msgid "Cancel"
msgstr ""
#: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game"
msgstr ""
#: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr ""
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty."
msgstr ""
#: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:266
msgid "Executable cannot be empty."
msgstr ""
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr ""

View File

@@ -1,14 +1,15 @@
# SOME DESCRIPTIVE TITLE. # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package. # This file is distributed under the same license as the cartridges package.
# kramo <login@kramo.hu>, 2023. # kramo <contact@kramo.hu>, 2023.
# Allan Nordhøy <epost@anotheragency.no>, 2023.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: cartridges\n" "Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-19 13:11+0100\n" "POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-15 22:46+0000\n" "PO-Revision-Date: 2023-03-30 11:43+0000\n"
"Last-Translator: kramo <login@kramo.hu>\n" "Last-Translator: Allan Nordhøy <epost@anotheragency.no>\n"
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/" "Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/"
"cartridges/cartridges/nb_NO/>\n" "cartridges/cartridges/nb_NO/>\n"
"Language: nb_NO\n" "Language: nb_NO\n"
@@ -16,11 +17,11 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.16.2-dev\n" "X-Generator: Weblate 4.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:116 #: src/main.py:110
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
@@ -47,8 +48,25 @@ msgstr ""
"organiseringsfunksjoner som skjuling og sortering etter tillagt dato eller " "organiseringsfunksjoner som skjuling og sortering etter tillagt dato eller "
"sist spilt." "sist spilt."
#: data/gtk/window.blp:6 data/gtk/window.blp:14 src/utils/bottles_parser.py:142 #: data/hu.kramo.Cartridges.metainfo.xml.in:22
#: src/utils/heroic_parser.py:241 src/utils/steam_parser.py:157 msgid "Library"
msgstr "Bibliotek"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr "Innstillinger"
#: data/gtk/window.blp:6 src/utils/importer.py:78
msgid "No Games Found" msgid "No Games Found"
msgstr "Fant ingen spill" msgstr "Fant ingen spill"
@@ -56,6 +74,10 @@ msgstr "Fant ingen spill"
msgid "Try a different search." msgid "Try a different search."
msgstr "Prøv et forskjellig søk." msgstr "Prøv et forskjellig søk."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Ingen spill"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:15
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Bruk «+»-knappen for å legge til spill." msgstr "Bruk «+»-knappen for å legge til spill."
@@ -68,261 +90,333 @@ msgstr "Ingen skjulte spill"
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Spill du skjuler vil vises her." msgstr "Spill du skjuler vil vises her."
#: data/gtk/window.blp:50 #: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Game Details" msgid "Back"
msgstr "Spilldetaljer" msgstr "Tilbake"
#: data/gtk/window.blp:91 #: data/gtk/window.blp:92
msgid "Game Title" msgid "Game Title"
msgstr "Spillnavn" msgstr "Spillnavn"
#: data/gtk/window.blp:147 data/gtk/game.blp:38 #: data/gtk/window.blp:148 src/game.py:175
msgid "Play" msgid "Play"
msgstr "Spill" msgstr "Spill"
#: data/gtk/window.blp:256 #: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Hidden Games"
msgstr "Skjulte spill"
#: data/gtk/window.blp:314
msgid "Sort"
msgstr "Sorter"
#: data/gtk/window.blp:317
msgid "A-Z"
msgstr "A-Å"
#: data/gtk/window.blp:323
msgid "Z-A"
msgstr "Å-A"
#: data/gtk/window.blp:329
msgid "Newest"
msgstr "Nyeste"
#: data/gtk/window.blp:335
msgid "Oldest"
msgstr "Eldste"
#: data/gtk/window.blp:341
msgid "Last Played"
msgstr "Sist spilt"
#: data/gtk/window.blp:348
msgid "Show Hidden"
msgstr "Vis skjulte"
#: data/gtk/window.blp:356
msgid "Preferences"
msgstr "Innstillinger"
#: data/gtk/window.blp:361
msgid "Keyboard Shortcuts"
msgstr "Tastatursnarveier"
#: data/gtk/window.blp:366
msgid "About Cartridges"
msgstr "Om"
#: data/gtk/window.blp:375
msgid "Add Game" msgid "Add Game"
msgstr "Legg til spill" msgstr "Legg til spill"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Import from" msgid "Main Menu"
msgstr "Hovedmeny"
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
#, fuzzy
msgid "Search"
msgstr "Søk"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Skjulte spill"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "Sorter"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "A-Å"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Å-A"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "Nyeste"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "Eldste"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Sist spilt"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Vis skjulte"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Tastatursnarveier"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "Om"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
#, fuzzy
#| msgid "Import from"
msgid "Import"
msgstr "Importer fra" msgstr "Importer fra"
#: data/gtk/window.blp:383 #: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Steam"
msgstr "Steam"
#: data/gtk/window.blp:388
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/window.blp:393
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/window.blp:404 data/gtk/window.blp:423 data/gtk/game.blp:87
#: data/gtk/game.blp:106
msgid "Edit"
msgstr "Rediger"
#: data/gtk/window.blp:409 data/gtk/game.blp:92
msgid "Hide"
msgstr "Skjul"
#: data/gtk/window.blp:414 data/gtk/window.blp:433 data/gtk/game.blp:97
#: data/gtk/game.blp:116
msgid "Remove"
msgstr "Fjern"
#: data/gtk/window.blp:428 data/gtk/game.blp:111
msgid "Unhide"
msgstr "Opphev fjerning"
#: data/gtk/game.blp:65 src/utils/create_details_window.py:94
msgid "Title" msgid "Title"
msgstr "Navn" msgstr "Navn"
#: data/gtk/help-overlay.blp:11 #: data/gtk/game.blp:82 data/gtk/game.blp:101
msgctxt "shortcut window" msgid "Edit"
msgstr "Rediger"
#: data/gtk/game.blp:87
msgid "Hide"
msgstr "Skjul"
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr "Fjern"
#: data/gtk/game.blp:106
msgid "Unhide"
msgstr "Opphev fjerning"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General" msgid "General"
msgstr "Generelt" msgstr "Generelt"
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14
msgctxt "shortcut window"
msgid "Quit" msgid "Quit"
msgstr "Avslutt" msgstr "Avslutt"
#: data/gtk/help-overlay.blp:19
msgctxt "shortcut window"
msgid "Search"
msgstr "Søk"
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24
msgctxt "shortcut window"
msgid "Show preferences" msgid "Show preferences"
msgstr "Vis innstillinger" msgstr "Vis innstillinger"
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29
msgctxt "shortcut window"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Snarveier" msgstr "Snarveier"
#: data/gtk/help-overlay.blp:34 #: data/gtk/help-overlay.blp:34 src/main.py:198 src/preferences.py:118
msgctxt "shortcut window"
msgid "Undo" msgid "Undo"
msgstr "Angre" msgstr "Angre"
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:39
msgctxt "shortcut window"
msgid "Open menu" msgid "Open menu"
msgstr "Åpne meny" msgstr "Åpne meny"
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:45
msgctxt "shortcut window"
msgid "Games" msgid "Games"
msgstr "Spill" msgstr "Spill"
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:48
msgctxt "shortcut window"
msgid "Add new game" msgid "Add new game"
msgstr "Legg til nytt spill" msgstr "Legg til nytt spill"
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:53
msgctxt "shortcut window" #, fuzzy
#| msgid "Import GOG Games"
msgid "Import games"
msgstr "Importer GOG-spill"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games" msgid "Show hidden games"
msgstr "Vis skjulte spill" msgstr "Vis skjulte spill"
#: data/gtk/preferences.blp:10
msgid "General"
msgstr "Generelt"
#: data/gtk/preferences.blp:13 #: data/gtk/preferences.blp:13
#, fuzzy
msgid "Behavior"
msgstr "Adferd"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "Avslutt etter oppstart av spill" msgstr "Avslutt etter oppstart av spill"
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr "Omslagsbilde starter spill"
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:25
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Bytter adferd for omslagsbilde og spill-knapp"
#: data/gtk/preferences.blp:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr "Bilder"
#: data/gtk/preferences.blp:37
msgid "High Quality Images"
msgstr "Høykvalitetsbilder"
#: data/gtk/preferences.blp:38
msgid "Save game covers losslessly at the cost of storage"
msgstr "Lagre spillomslag tapsfritt på bekostning av lagringsplass"
#: data/gtk/preferences.blp:47
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr "Kilder"
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:77
msgid "Steam Install Location" msgid "Steam Install Location"
msgstr "Installasjonssted for Steam" msgstr "Installasjonssted for Steam"
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:78 #: data/gtk/preferences.blp:156
msgid "Directory to use when importing games" msgid "Directory to use when importing games"
msgstr "Mappe å bruke ved import av spill" msgstr "Mappe å bruke ved import av spill"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr "Ekstra Steam-bibliotek"
#: data/gtk/preferences.blp:87
#, 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:94
msgid "Clear"
msgstr "Tøm"
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location" msgid "Heroic Install Location"
msgstr "Installasjonssted for Heroic" msgstr "Installasjonssted for Heroic"
#: data/gtk/preferences.blp:49 #: data/gtk/preferences.blp:126
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importer Epic-spill" msgstr "Importer Epic-spill"
#: data/gtk/preferences.blp:57 #: data/gtk/preferences.blp:134
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importer GOG-spill" msgstr "Importer GOG-spill"
#: data/gtk/preferences.blp:65 #: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importer sideinnlastede spill" msgstr "Importer sideinnlastede spill"
#: data/gtk/preferences.blp:77 #: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "Installasjonssted for Bottles" msgstr "Installasjonssted for Bottles"
#. Translators: Replace this with your name for it to show up in the about window #. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:130 #: src/main.py:125
msgid "translator_credits" msgid "translator_credits"
msgstr "Allan Nordhøy, <epost@anotheragency.no>" msgstr "Allan Nordhøy, <epost@anotheragency.no>"
#: src/main.py:195 #. The variable is the title of the game
#, fuzzy, python-brace-format #: src/main.py:197
#, python-brace-format
msgid "{title} removed" msgid "{title} removed"
msgstr "fjernet" msgstr "{title} fjernet"
#: src/main.py:196 #: src/window.py:234
msgid "Undo"
msgstr "Angre"
#: src/window.py:229
msgid "Today" msgid "Today"
msgstr "I dag" msgstr "I dag"
#: src/window.py:231 #: src/window.py:236
msgid "Yesterday" msgid "Yesterday"
msgstr "I går" msgstr "I går"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:265
#, fuzzy, python-brace-format
msgid "Added: {date}"
msgstr "Tillagt:"
#: src/window.py:270 #: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr "Tillagt: {date}"
#: src/window.py:275
msgid "Never" msgid "Never"
msgstr "" msgstr "Aldri"
#. The variable is the date when the game was last played #. The variable is the date when the game was last played
#: src/window.py:274 #: src/window.py:279
#, fuzzy, python-brace-format #, python-brace-format
msgid "Last played: {last_played_date}" msgid "Last played: {last_played_date}"
msgstr "Sist spilt: Aldri" msgstr "Sist spilt: {last_played_date}"
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/game.py:173
#: src/utils/steam_parser.py:230 #, fuzzy
msgid "Couldn't Import Games" msgid "Details"
msgstr "Kunne ikke importere spill" msgstr "Spilldetaljer"
#: src/utils/bottles_parser.py:81 #: src/preferences.py:55
msgid "The Bottles directory cannot be found." msgid "Installation Not Found"
msgstr "Finner ikke Bottles-mappen." msgstr "Fant ikke installasjonen"
#: src/utils/bottles_parser.py:83 #. The variable is the name of the game launcher
msgid "Set Bottles Location" #: src/preferences.py:57
msgstr "Sett mappe for Bottles" #, fuzzy, python-brace-format
msgid "Select the {name} configuration directory."
msgstr "Velg {name}-oppsettsmappen."
#: src/utils/bottles_parser.py:143 #. The variable is the name of the game launcher
msgid "No new games were found in the Bottles library." #: src/preferences.py:59
msgstr "Fant ingen nye spill i Bottles-biblioteket." #, fuzzy, python-brace-format
msgid "Select the {name} data directory."
msgstr "Velg {name}-datamappen."
#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:155 #: src/preferences.py:61
msgid "Bottles Games Imported" #, fuzzy
msgstr "Bottles-spill importert" #| msgid "Set Steam Location"
msgid "Set Location"
msgstr "Velg hvor Steam er å finne"
#: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:248 #: src/preferences.py:117
#: src/utils/steam_parser.py:164 #, fuzzy
#| msgid "{title} removed"
msgid "All games removed"
msgstr "{title} fjernet"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "Importerer spill …"
#: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found in the Heroic library."
msgid "No new games were found on your system."
msgstr "Fant ingen nye spill i Heroic-biblioteket."
#: src/utils/importer.py:87
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Game Imported"
msgstr "Steam-spill importert"
#: src/utils/importer.py:88
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "Importerte ett spill." msgstr "Importerte ett spill."
#: src/utils/importer.py:94
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Games Imported"
msgstr "Steam-spill importert"
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 #: src/utils/importer.py:96
#: src/utils/steam_parser.py:172 #, python-brace-format
#, fuzzy, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {games_no} games."
msgstr "Importerte ett spill." msgstr "Importerte {games_no} spill."
#: src/utils/create_details_window.py:41 #: src/utils/create_details_window.py:41
msgid "Add New Game" msgid "Add New Game"
@@ -332,18 +426,10 @@ msgstr "Legg til nytt spill"
msgid "Confirm" msgid "Confirm"
msgstr "Bekreft" msgstr "Bekreft"
#: src/utils/create_details_window.py:48
msgid "Edit Game Details"
msgstr "Rediger spilldetaljer"
#: src/utils/create_details_window.py:57 #: src/utils/create_details_window.py:57
msgid "Apply" msgid "Apply"
msgstr "Bruk" msgstr "Bruk"
#: src/utils/create_details_window.py:59
msgid "Images"
msgstr "Bilder"
#: src/utils/create_details_window.py:95 #: src/utils/create_details_window.py:95
msgid "The title of the game" msgid "The title of the game"
msgstr "Navnet på spillet" msgstr "Navnet på spillet"
@@ -356,37 +442,42 @@ msgstr "Utvikler"
msgid "The developer or publisher (optional)" msgid "The developer or publisher (optional)"
msgstr "Utvikler eller utgiver (valgfritt)" msgstr "Utvikler eller utgiver (valgfritt)"
#: src/utils/create_details_window.py:111 #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:112
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr "fil.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:113 #: src/utils/create_details_window.py:114
msgid "program" msgid "program"
msgstr "" msgstr "program"
#: src/utils/create_details_window.py:117 #. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format #, python-brace-format
msgid "C:\\path\\to\\{exe_name}" msgid "C:\\path\\to\\{exe_name}"
msgstr "" msgstr "C:\\sti\\til\\{exe_name}"
#: src/utils/create_details_window.py:118
#, python-brace-format
msgid "C:\\path\\to\\{file_name}"
msgstr ""
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121 #: src/utils/create_details_window.py:121
#, python-brace-format #, python-brace-format
msgid "/path/to/{exe_name}" msgid "C:\\path\\to\\{file_name}"
msgstr "" msgstr "C:\\sti\\til\\{file_name}"
#: src/utils/create_details_window.py:122 #. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr "/sti/til/{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format #, python-brace-format
msgid "/path/to/{file_name}" msgid "/path/to/{file_name}"
msgstr "" msgstr "/sti/til/{file_name}"
#: src/utils/create_details_window.py:126 #: src/utils/create_details_window.py:131
#, python-brace-format #, fuzzy, python-brace-format
msgid "" msgid ""
"To launch the executable \"{exe_name}\", use the command:\n" "To launch the executable \"{exe_name}\", use the command:\n"
"\n" "\n"
@@ -398,83 +489,120 @@ msgid ""
"\n" "\n"
"If the path contains spaces, make sure to wrap it in double quotes!" "If the path contains spaces, make sure to wrap it in double quotes!"
msgstr "" msgstr ""
"Start den kjørbare «{exe_name}»-filen med denne kommandoen:\n"
"\n"
"<tt>«{exe_path}»</tt>\n"
"\n"
"For å åpne filen «{file_name}» med forvalgt program bruker du:\n"
"\n"
"<tt>{command} «{file_path}»</tt>\n"
"\n"
"Hvis stien inneholder mellomrom må du pakke den inn i doble engelske "
"sitattegn."
#: src/utils/create_details_window.py:149 #: src/utils/create_details_window.py:154
msgid "Executable" msgid "Executable"
msgstr "Kjørbar" msgstr "Kjørbar"
#: src/utils/create_details_window.py:150 #: src/utils/create_details_window.py:155
msgid "File to open or command to run when launching the game" msgid "File to open or command to run when launching the game"
msgstr "Fil å åpne eller kommando å kjøre ved oppstart av spillet" msgstr "Fil å åpne eller kommando å kjøre ved oppstart av spillet"
#: src/utils/create_details_window.py:162 #: src/utils/create_details_window.py:167
msgid "Cancel" msgid "Cancel"
msgstr "Avbryt" msgstr "Avbryt"
#: src/utils/create_details_window.py:208 #: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:214 #: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Kunne ikke legge til spill" msgstr "Kunne ikke legge til spill"
#: src/utils/create_details_window.py:208 #: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:239 #: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr "Kunne ikke ta i bruk endringer"
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Spillnavnet kan ikke være tomt." msgstr "Spillnavnet kan ikke være tomt."
#: src/utils/create_details_window.py:214 #: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:247 #: src/utils/create_details_window.py:266
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Kjørbar fil må angis." msgstr "Kjørbar fil må angis."
#: src/utils/create_details_window.py:238
#: src/utils/create_details_window.py:246
msgid "Couldn't Apply Preferences"
msgstr "Kunne ikke ta i bruk endringer"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Forkast" msgstr "Forkast"
#: src/utils/heroic_parser.py:88
msgid "The Heroic directory cannot be found."
msgstr "Finner ikke Heroic-spillmappen."
#: src/utils/heroic_parser.py:90
msgid "Set Heroic Location"
msgstr "Velg hvor Heroic er å finne"
#: src/utils/heroic_parser.py:242
msgid "No new games were found in the Heroic library."
msgstr "Fant ingen nye spill i Heroic-biblioteket."
#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254
msgid "Heroic Games Imported"
msgstr "Heroic-spill importert"
#: src/utils/steam_parser.py:158
msgid "No new games were found in the Steam library."
msgstr "Fant ingen nye spill i Steam-biblioteket."
#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170
msgid "Steam Games Imported"
msgstr "Steam-spill importert"
#: src/utils/steam_parser.py:231
msgid "The Steam directory cannot be found."
msgstr "Kunne ikke finne Steam-mappen."
#: src/utils/steam_parser.py:233
msgid "Set Steam Location"
msgstr "Velg hvor Steam er å finne"
#: src/utils/steam_parser.py:249
#, fuzzy #, fuzzy
msgid "Importing Games…" #~| msgid "General"
msgstr "Kunne ikke importere spill" #~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "Generelt"
#: src/utils/steam_parser.py:250 #, fuzzy
msgid "Talking to Steam" #~ msgctxt "shortcuts window"
msgstr "" #~ 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 "Set Heroic Location"
#~ msgstr "Velg hvor Heroic er å finne"
#~ 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 #, fuzzy
#~ msgid "Successfully imported {str(len(bottles_games))} games." #~ msgid "Successfully imported {str(len(bottles_games))} games."

594
po/nl.po Normal file
View File

@@ -0,0 +1,594 @@
# 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.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-30 16:17+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:110
msgid "Cartridges"
msgstr "Cartridges"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Game-launcher"
#: data/hu.kramo.Cartridges.desktop.in:5
msgid "Launch your games"
msgstr "Start uw games op"
#: 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. It has support for importing your "
"games from Steam, Heroic and Bottles with organizational features such as "
"hiding and sorting by date added or last played."
msgstr ""
"Cartridges is een eenvoudige game-launcher. Het biedt ondersteuning voor het "
"importeren van al uw games van Steam, Heroic en Bottles. Daarnaast heeft het "
"organisatorische functies zoals verbergen en sorteren op toegevoegd of "
"laatst gespeeld."
#: 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:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr "Voorkeuren"
#: data/gtk/window.blp:6 src/utils/importer.py:78
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:254
msgid "Back"
msgstr "Terug"
#: data/gtk/window.blp:92
msgid "Game Title"
msgstr "Game-titel"
#: data/gtk/window.blp:148 src/game.py:175
msgid "Play"
msgstr "Spelen"
#: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Add Game"
msgstr "Game toevoegen"
#: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr "Hoofdmenu"
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Search"
msgstr "Zoeken"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Verborgen games"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "Sorteren"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "Nieuwste"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "Oudste"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Laatst gespeeld"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Verborgen games tonen"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Sneltoetsen"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "Over Cartridges"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
msgid "Import"
msgstr "Importeren"
#: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Title"
msgstr "Titel"
#: data/gtk/game.blp:82 data/gtk/game.blp:101
msgid "Edit"
msgstr "Bewerken"
#: data/gtk/game.blp:87
msgid "Hide"
msgstr "Verbergen"
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr "Verwijderen"
#: data/gtk/game.blp:106
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: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:198 src/preferences.py:118
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/preferences.blp:13
msgid "Behavior"
msgstr "Gedrag"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Sluiten na starten van game"
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr "Cover-afbeelding start game"
#: data/gtk/preferences.blp:25
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:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr "Afbeeldingen"
#: data/gtk/preferences.blp:37
msgid "High Quality Images"
msgstr "Afbeeldingen van hoge kwaliteit"
#: data/gtk/preferences.blp:38
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
"Game-covers zonder kwaliteitsverlies opslaan ten koste van opslagruimte"
#: data/gtk/preferences.blp:47
msgid "Danger Zone"
msgstr "Gevarenzone"
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr "Alle games verwijderen"
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr "Bronnen"
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:77
msgid "Steam Install Location"
msgstr "Installatielocatie van Steam"
#: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:156
msgid "Directory to use when importing games"
msgstr "Map om te gebruiken bij het importeren van games"
#: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr "Extra Steam-bibliotheken"
#: data/gtk/preferences.blp:87
msgid "Select other directories where you have Steam games installed"
msgstr "Andere mappen waar u Steam-games heeft geïnstalleerd"
#: data/gtk/preferences.blp:94
msgid "Clear"
msgstr "Wissen"
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location"
msgstr "Installatielocatie van Heroic"
#: data/gtk/preferences.blp:126
msgid "Import Epic Games"
msgstr "Epic-games importeren"
#: data/gtk/preferences.blp:134
msgid "Import GOG Games"
msgstr "GOG-games importeren"
#: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games"
msgstr "Gesideloade games importeren"
#: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location"
msgstr "Installatielocatie van Bottles"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:125
msgid "translator_credits"
msgstr "Philip Goto <philip.goto@gmail.com>"
#. The variable is the title of the game
#: src/main.py:197
#, python-brace-format
msgid "{title} removed"
msgstr "{title} verwijderd"
#: src/window.py:234
msgid "Today"
msgstr "Vandaag"
#: src/window.py:236
msgid "Yesterday"
msgstr "Gisteren"
#. The variable is the date when the game was added
#: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr "Toegevoegd op {date}"
#: src/window.py:275
msgid "Never"
msgstr "Nooit"
#. The variable is the date when the game was last played
#: src/window.py:279
#, python-brace-format
msgid "Last played: {last_played_date}"
msgstr "Laatst gespeeld op {last_played_date}"
#: src/game.py:173
msgid "Details"
msgstr "Details"
#: src/preferences.py:55
msgid "Installation Not Found"
msgstr "Installatie niet gevonden"
#. The variable is the name of the game launcher
#: src/preferences.py:57
#, python-brace-format
msgid "Select the {name} configuration directory."
msgstr "Selecteer de configuratiemap van {name}"
#. The variable is the name of the game launcher
#: src/preferences.py:59
#, python-brace-format
msgid "Select the {name} data directory."
msgstr "Selecteer de gegevensmap van {name}"
#: src/preferences.py:61
msgid "Set Location"
msgstr "Locatie instellen"
#: src/preferences.py:117
msgid "All games removed"
msgstr "Alle games verwijderd"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "Games importeren…"
#: src/utils/importer.py:79
msgid "No new games were found on your system."
msgstr "Geen nieuwe games gevonden op uw systeem"
#: src/utils/importer.py:87
msgid "Game Imported"
msgstr "Game geïmporteerd"
#: src/utils/importer.py:88
msgid "Successfully imported 1 game."
msgstr "1 game succesvol geïmporteerd"
#: src/utils/importer.py:94
msgid "Games Imported"
msgstr "Games geïmporteerd"
#. The variable is the number of games
#: src/utils/importer.py:96
#, python-brace-format
msgid "Successfully imported {games_no} games."
msgstr "{games_no} games succesvol geïmporteerd"
#: src/utils/create_details_window.py:41
msgid "Add New Game"
msgstr "Nieuwe game toevoegen"
#: src/utils/create_details_window.py:46
msgid "Confirm"
msgstr "Bevestigen"
#: src/utils/create_details_window.py:57
msgid "Apply"
msgstr "Toepassen"
#: src/utils/create_details_window.py:95
msgid "The title of the game"
msgstr "De titel van de game"
#: src/utils/create_details_window.py:100
msgid "Developer"
msgstr "Ontwikkelaar"
#: src/utils/create_details_window.py:101
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:112
msgid "file.txt"
msgstr "bestand.txt"
#. As in software
#: src/utils/create_details_window.py:114
msgid "program"
msgstr "programma"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format
msgid "C:\\path\\to\\{exe_name}"
msgstr "C:\\pad\\naar\\{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121
#, python-brace-format
msgid "C:\\path\\to\\{file_name}"
msgstr "C:\\pad\\naar\\{file_name}"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr "/pad/naar/{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format
msgid "/path/to/{file_name}"
msgstr "/pad/naar/{file_name}"
#: src/utils/create_details_window.py:131
#, python-brace-format
msgid ""
"To launch the executable \"{exe_name}\", use the command:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"To open the file \"{file_name}\" with the default application, use:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Om het programma {exe_name} te starten, gebruik de volgende opdracht:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"Om het bestand {file_name} met de standaard-app te openen, gebruik de "
"volgende opdracht:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"Indien het pad spaties bevat, zorg er dan voor dat er dubbele "
"aanhalingstekens omheen staan!"
#: src/utils/create_details_window.py:154
msgid "Executable"
msgstr "Programmabestand"
#: src/utils/create_details_window.py:155
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:167
msgid "Cancel"
msgstr "Annuleren"
#: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game"
msgstr "Kon game niet toevoegen"
#: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr "Kon voorkeuren niet toepassen"
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty."
msgstr "Game-titel mag niet leeg zijn"
#: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:266
msgid "Executable cannot be empty."
msgstr "Programmabestand mag niet leeg zijn"
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Sluiten"
#, 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 "Set Heroic Location"
#~ msgstr "Heroic-locatie instellen"
#~ 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"

598
po/pt.po Normal file
View File

@@ -0,0 +1,598 @@
# 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.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-26 17:51+0000\n"
"Last-Translator: Pedro Sader Azevedo <pedro.saderazevedo@protonmail.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:110
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
msgid "Launch your games"
msgstr "Inicie seus jogos"
#: 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. It has support for importing your "
"games from Steam, Heroic and Bottles with organizational features such as "
"hiding and sorting by date added or last played."
msgstr ""
"Cartuchos é um iniciador de jogos simples. Ele tem suporte para importação "
"de jogos da Steam, do Heroic, e do Bottles, com recursos de organização como "
"ocultação e ordenação por data de adição ou de última vez jogado."
#: 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:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr "Preferências"
#: data/gtk/window.blp:6 src/utils/importer.py:78
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:254
msgid "Back"
msgstr "Voltar"
#: data/gtk/window.blp:92
msgid "Game Title"
msgstr "Título do jogo"
#: data/gtk/window.blp:148 src/game.py:175
msgid "Play"
msgstr "Jogar"
#: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Add Game"
msgstr "Adicionar jogo"
#: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr "Menu principal"
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Search"
msgstr "Buscar"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Jogos ocultados"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "Ordenar"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "Mais novo"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "Mais antigo"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Última vez jogado"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Mostrar ocultados"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Atalhos de teclado"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "Sobre o Cartuchos"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
#, fuzzy
#| msgid "Import from"
msgid "Import"
msgstr "Importar de"
#: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Title"
msgstr "Título"
#: data/gtk/game.blp:82 data/gtk/game.blp:101
msgid "Edit"
msgstr "Editar"
#: data/gtk/game.blp:87
msgid "Hide"
msgstr "Ocultar"
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr "Remover"
#: data/gtk/game.blp:106
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: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:198 src/preferences.py:118
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
#, fuzzy
#| msgid "Import GOG Games"
msgid "Import games"
msgstr "Importar jogos do GOG"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Exibir jogos ocultados"
#: data/gtk/preferences.blp:13
msgid "Behavior"
msgstr ""
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Sair depois de iniciar os jogos"
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr "Imagem de capa inicia o jogo"
#: data/gtk/preferences.blp:25
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Troca o comportamento da imagem de capa e do botão de jogar"
#: data/gtk/preferences.blp:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr "Imagens"
#: data/gtk/preferences.blp:37
msgid "High Quality Images"
msgstr "Imagens de alta qualidade"
#: data/gtk/preferences.blp:38
msgid "Save game covers losslessly at the cost of storage"
msgstr "Salvar imagens de capa sem perda, consumindo mais armazenamento"
#: data/gtk/preferences.blp:47
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr ""
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:77
msgid "Steam Install Location"
msgstr "Local de instalação da Steam"
#: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:156
msgid "Directory to use when importing games"
msgstr "Diretório para usar ao importar jogos"
#: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr "Bibliotecas adicionais da Steam"
#: data/gtk/preferences.blp:87
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:94
msgid "Clear"
msgstr "Limpar"
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location"
msgstr "Local de instalação do Heroic"
#: data/gtk/preferences.blp:126
msgid "Import Epic Games"
msgstr "Importar jogos da Epic Games"
#: data/gtk/preferences.blp:134
msgid "Import GOG Games"
msgstr "Importar jogos do GOG"
#: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games"
msgstr "Importar jogos adicionados manualmente"
#: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location"
msgstr "Local de instalação do Bottles"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:125
msgid "translator_credits"
msgstr "Pedro Sader Azevedo"
#. The variable is the title of the game
#: src/main.py:197
#, python-brace-format
msgid "{title} removed"
msgstr "{title} removido"
#: src/window.py:234
msgid "Today"
msgstr "Hoje"
#: src/window.py:236
msgid "Yesterday"
msgstr "Ontem"
#. The variable is the date when the game was added
#: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr "Adicionado: {date}"
#: src/window.py:275
msgid "Never"
msgstr "Nunca"
#. The variable is the date when the game was last played
#: src/window.py:279
#, python-brace-format
msgid "Last played: {last_played_date}"
msgstr "Última vez jogado: {last_played_date}"
#: src/game.py:173
msgid "Details"
msgstr "Detalhes"
#: src/preferences.py:55
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:57
#, python-brace-format
msgid "Select the {name} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:59
#, python-brace-format
msgid "Select the {name} data directory."
msgstr ""
#: src/preferences.py:61
#, fuzzy
#| msgid "Set Steam Location"
msgid "Set Location"
msgstr "Definir local da Steam"
#: src/preferences.py:117
#, fuzzy
#| msgid "{title} removed"
msgid "All games removed"
msgstr "{title} removido"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "Importando jogos…"
#: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found in the Heroic library."
msgid "No new games were found on your system."
msgstr "Nenhum jogo novo foi encontrado na biblioteca do Heroic."
#: src/utils/importer.py:87
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Game Imported"
msgstr "Jogos da Steam importados"
#: src/utils/importer.py:88
msgid "Successfully imported 1 game."
msgstr "1 jogo foi importado com sucesso."
#: src/utils/importer.py:94
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Games Imported"
msgstr "Jogos da Steam importados"
#. The variable is the number of games
#: src/utils/importer.py:96
#, python-brace-format
msgid "Successfully imported {games_no} games."
msgstr "{games_no} jogos importados com sucesso."
#: src/utils/create_details_window.py:41
msgid "Add New Game"
msgstr "Adicionar novo jogo"
#: src/utils/create_details_window.py:46
msgid "Confirm"
msgstr "Confirmar"
#: src/utils/create_details_window.py:57
msgid "Apply"
msgstr "Aplicar"
#: src/utils/create_details_window.py:95
msgid "The title of the game"
msgstr "O título do jogo"
#: src/utils/create_details_window.py:100
msgid "Developer"
msgstr "Desenvolvedor"
#: src/utils/create_details_window.py:101
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:112
msgid "file.txt"
msgstr "arquivo.txt"
#. As in software
#: src/utils/create_details_window.py:114
msgid "program"
msgstr "programa"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format
msgid "C:\\path\\to\\{exe_name}"
msgstr "C:\\caminho\\para\\{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121
#, python-brace-format
msgid "C:\\path\\to\\{file_name}"
msgstr "C:\\caminho\\para\\{file_name}"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr "/caminho/para/{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format
msgid "/path/to/{file_name}"
msgstr "/caminho/para/{file_name}"
#: src/utils/create_details_window.py:131
#, python-brace-format
msgid ""
"To launch the executable \"{exe_name}\", use the command:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"To open the file \"{file_name}\" with the default application, use:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Para iniciar o executável \"{exe_name}\", use o comando:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"Para abrir o arquivo \"{file_name}\" com o aplicativo padrão, use:\n"
"\n"
"<tt>{command}\"{file_path}\"</tt>\n"
"\n"
"Se o caminho contiver espaços, certifique-se de colocá-lo entre aspas duplas!"
#: src/utils/create_details_window.py:154
msgid "Executable"
msgstr "Executável"
#: src/utils/create_details_window.py:155
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:167
msgid "Cancel"
msgstr "Cancelar"
#: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game"
msgstr "Não foi possível adicionar o jogo"
#: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr "Não foi possível aplicar as preferências"
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty."
msgstr "O título do jogo não pode estar vazio."
#: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:266
msgid "Executable cannot be empty."
msgstr "O executável não pode estar vazio."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Dispensar"
#, 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 "Set Heroic Location"
#~ msgstr "Definir local do Heroic"
#~ 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"

590
po/ru.po Normal file
View File

@@ -0,0 +1,590 @@
# 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.
msgid ""
msgstr ""
"Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-30 14:24+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:110
msgid "Cartridges"
msgstr "Картриджи"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Средство запуска игр"
#: data/hu.kramo.Cartridges.desktop.in:5
msgid "Launch your games"
msgstr "Запускайте свои игры"
#: 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. It has support for importing your "
"games from Steam, Heroic and Bottles with organizational features such as "
"hiding and sorting by date added or last played."
msgstr ""
"Картриджи - это простое приложение для запуска игр. Оно поддерживает импорт "
"игр из 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:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr "Параметры"
#: data/gtk/window.blp:6 src/utils/importer.py:78
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:254
msgid "Back"
msgstr "Назад"
#: data/gtk/window.blp:92
msgid "Game Title"
msgstr "Название игры"
#: data/gtk/window.blp:148 src/game.py:175
msgid "Play"
msgstr "Играть"
#: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Add Game"
msgstr "Добавить игру"
#: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Main Menu"
msgstr "Главное меню"
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Search"
msgstr "Поиск"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "Скрытые игры"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "Сортировать"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "А-Я"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Я-А"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "Сначала новые"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "Сначала старые"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Последняя игра"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Показать скрытые"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Комбинации клавиш"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "О приложении"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
msgid "Import"
msgstr "Импортировать"
#: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Title"
msgstr "Название"
#: data/gtk/game.blp:82 data/gtk/game.blp:101
msgid "Edit"
msgstr "Редактировать"
#: data/gtk/game.blp:87
msgid "Hide"
msgstr "Скрыть"
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr "Удалить"
#: data/gtk/game.blp:106
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:24
msgid "Show preferences"
msgstr "Показать параметры"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Комбинации клавиш"
#: data/gtk/help-overlay.blp:34 src/main.py:198 src/preferences.py:118
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/preferences.blp:13
msgid "Behavior"
msgstr "Поведение"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Выход после запуска игр"
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr "Запуск игры используя изображение обложки"
#: data/gtk/preferences.blp:25
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Меняет местами поведение изображения обложки и кнопки запуска"
#: data/gtk/preferences.blp:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr "Изображения"
#: data/gtk/preferences.blp:37
msgid "High Quality Images"
msgstr "Изображения высокого качества"
#: data/gtk/preferences.blp:38
msgid "Save game covers losslessly at the cost of storage"
msgstr "Сохранение обложек игр без потерь за счет хранилища"
#: data/gtk/preferences.blp:47
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr "Источники"
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:77
msgid "Steam Install Location"
msgstr "Место установки Steam"
#: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:156
msgid "Directory to use when importing games"
msgstr "Каталог для импорта игр"
#: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr "Дополнительные библиотеки Steam"
#: data/gtk/preferences.blp:87
msgid "Select other directories where you have Steam games installed"
msgstr "Выберите другие каталоги, в которых у вас установлены игры из Steam"
#: data/gtk/preferences.blp:94
msgid "Clear"
msgstr "Очистить"
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location"
msgstr "Место установки Heroic"
#: data/gtk/preferences.blp:126
msgid "Import Epic Games"
msgstr "Импорт игр Epic"
#: data/gtk/preferences.blp:134
msgid "Import GOG Games"
msgstr "Импорт игр GOG"
#: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games"
msgstr "Импорт сторонних игр"
#: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location"
msgstr "Место установки Bottles"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:125
msgid "translator_credits"
msgstr "Ser82-png"
#. The variable is the title of the game
#: src/main.py:197
#, python-brace-format
msgid "{title} removed"
msgstr "{title} удалена"
#: src/window.py:234
msgid "Today"
msgstr "Сегодня"
#: src/window.py:236
msgid "Yesterday"
msgstr "Вчера"
#. The variable is the date when the game was added
#: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr "Добавлено: {date}"
#: src/window.py:275
msgid "Never"
msgstr "Никогда"
#. The variable is the date when the game was last played
#: src/window.py:279
#, python-brace-format
msgid "Last played: {last_played_date}"
msgstr "Последняя игра: {last_played_date}"
#: src/game.py:173
msgid "Details"
msgstr "Подробности"
#: src/preferences.py:55
msgid "Installation Not Found"
msgstr "Установка не найдена"
#. The variable is the name of the game launcher
#: src/preferences.py:57
#, python-brace-format
msgid "Select the {name} configuration directory."
msgstr "Выберите каталог конфигурации {name}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
#, python-brace-format
msgid "Select the {name} data directory."
msgstr "Выберите каталог данных {name}."
#: src/preferences.py:61
msgid "Set Location"
msgstr "Установить расположение"
#: src/preferences.py:117
#, fuzzy
#| msgid "{title} removed"
msgid "All games removed"
msgstr "{title} удалена"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "Импорт игр…"
#: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found on your device."
msgid "No new games were found on your system."
msgstr "На вашем устройстве не найдено новых игр."
#: src/utils/importer.py:87
msgid "Game Imported"
msgstr "Игра импортирована"
#: src/utils/importer.py:88
msgid "Successfully imported 1 game."
msgstr "Успешно импортирована 1 игра."
#: src/utils/importer.py:94
msgid "Games Imported"
msgstr "Игры импортированы"
#. The variable is the number of games
#: src/utils/importer.py:96
#, python-brace-format
msgid "Successfully imported {games_no} games."
msgstr "Успешно импортировано {games_no} игр."
#: src/utils/create_details_window.py:41
msgid "Add New Game"
msgstr "Добавить новую игру"
#: src/utils/create_details_window.py:46
msgid "Confirm"
msgstr "Подтвердить"
#: src/utils/create_details_window.py:57
msgid "Apply"
msgstr "Применить"
#: src/utils/create_details_window.py:95
msgid "The title of the game"
msgstr "Название игры"
#: src/utils/create_details_window.py:100
msgid "Developer"
msgstr "Разработчик"
#: src/utils/create_details_window.py:101
msgid "The developer or publisher (optional)"
msgstr "Разработчик или издатель (необязательно)"
#. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:112
msgid "file.txt"
msgstr "file.txt"
#. As in software
#: src/utils/create_details_window.py:114
msgid "program"
msgstr "программа"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format
msgid "C:\\path\\to\\{exe_name}"
msgstr "C:\\путь\\к\\{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121
#, python-brace-format
msgid "C:\\path\\to\\{file_name}"
msgstr "C:\\путь\\к\\{file_name}"
#. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr "/путь/к/{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format
msgid "/path/to/{file_name}"
msgstr "/путь/к/{file_name}"
#: src/utils/create_details_window.py:131
#, python-brace-format
msgid ""
"To launch the executable \"{exe_name}\", use the command:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"To open the file \"{file_name}\" with the default application, use:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Чтобы запустить исполняемый файл \"{exe_name}\", выполните команду:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"Чтобы открыть файл \"{file_name}\" с помощью приложения по умолчанию, "
"используйте:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"Если путь содержит пробелы, обязательно заключите его в двойные кавычки!"
#: src/utils/create_details_window.py:154
msgid "Executable"
msgstr "Исполняемый"
#: src/utils/create_details_window.py:155
msgid "File to open or command to run when launching the game"
msgstr "Файл для открытия или команда для запуска игры"
#: src/utils/create_details_window.py:167
msgid "Cancel"
msgstr "Отменить"
#: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game"
msgstr "Не удалось добавить игру"
#: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr "Не удалось применить параметры"
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty."
msgstr "Название игры не может быть пустым."
#: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:266
msgid "Executable cannot be empty."
msgstr "Исполняемый файл не может быть пустым."
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Отклонить"
#, 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 "Set Heroic Location"
#~ 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"

596
po/ta.po
View File

@@ -1,15 +1,15 @@
# Cartridges - Tamil Translation # SOME DESCRIPTIVE TITLE.
# Copyright (C) 2022 kramo # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package. # This file is distributed under the same license as the cartridges package.
# K.B.Dharun Krishna <kbdharunkrishna@gmail.com>, 2023. # K.B.Dharun Krishna <kbdharunkrishna@gmail.com>, 2023.
# kramo <login@kramo.hu>, 2023. # kramo <contact@kramo.hu>, 2023.
# "K.B.Dharun Krishna" <kbdharunkrishna@gmail.com>, 2023. # "K.B.Dharun Krishna" <kbdharunkrishna@gmail.com>, 2023.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-19 13:11+0100\n" "POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-18 23:40+0000\n" "PO-Revision-Date: 2023-03-28 07:06+0000\n"
"Last-Translator: \"K.B.Dharun Krishna\" <kbdharunkrishna@gmail.com>\n" "Last-Translator: \"K.B.Dharun Krishna\" <kbdharunkrishna@gmail.com>\n"
"Language-Team: Tamil <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Tamil <https://hosted.weblate.org/projects/cartridges/"
"cartridges/ta/>\n" "cartridges/ta/>\n"
@@ -18,11 +18,11 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.16.2-dev\n" "X-Generator: Weblate 4.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:116 #: src/main.py:110
msgid "Cartridges" msgid "Cartridges"
msgstr "கார்ட்ரிட்ஜ்கள்" msgstr "கார்ட்ரிட்ஜ்கள்"
@@ -49,8 +49,25 @@ msgstr ""
"மற்றும் சேர்த்த அல்லது கடைசியாக விளையாடிய தேதியின்படி வரிசைப்படுத்துதல் போன்ற நிறுவன " "மற்றும் சேர்த்த அல்லது கடைசியாக விளையாடிய தேதியின்படி வரிசைப்படுத்துதல் போன்ற நிறுவன "
"அம்சங்களுடன்." "அம்சங்களுடன்."
#: data/gtk/window.blp:6 data/gtk/window.blp:14 src/utils/bottles_parser.py:142 #: data/hu.kramo.Cartridges.metainfo.xml.in:22
#: src/utils/heroic_parser.py:241 src/utils/steam_parser.py:157 msgid "Library"
msgstr "நூலகம்"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr "விருப்பங்கள்"
#: data/gtk/window.blp:6 src/utils/importer.py:78
msgid "No Games Found" msgid "No Games Found"
msgstr "விளையாட்டுகள் எதுவும் இல்லை" msgstr "விளையாட்டுகள் எதுவும் இல்லை"
@@ -58,6 +75,10 @@ msgstr "விளையாட்டுகள் எதுவும் இல்
msgid "Try a different search." msgid "Try a different search."
msgstr "வேறு தேடலை முயற்சிக்கவும்." msgstr "வேறு தேடலை முயற்சிக்கவும்."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "விளையாட்டுகள் இல்லை"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:15
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "விளையாட்டுகளைச் சேர்க்க + பொத்தானைப் பயன்படுத்தவும்." msgstr "விளையாட்டுகளைச் சேர்க்க + பொத்தானைப் பயன்படுத்தவும்."
@@ -70,261 +91,329 @@ msgstr "மறைக்கப்பட்ட விளையாட்டுக
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "நீங்கள் மறைக்கும் விளையாட்டுகள் இங்கே தோன்றும்." msgstr "நீங்கள் மறைக்கும் விளையாட்டுகள் இங்கே தோன்றும்."
#: data/gtk/window.blp:50 #: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Game Details" msgid "Back"
msgstr "விளையாட்டு விவரங்கள்" msgstr "மீண்டும்"
#: data/gtk/window.blp:91 #: data/gtk/window.blp:92
msgid "Game Title" msgid "Game Title"
msgstr "விளையாட்டு தலைப்பு" msgstr "விளையாட்டு தலைப்பு"
#: data/gtk/window.blp:147 data/gtk/game.blp:38 #: data/gtk/window.blp:148 src/game.py:175
msgid "Play" msgid "Play"
msgstr "விளையாடு" msgstr "விளையாடு"
#: data/gtk/window.blp:256 #: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Hidden Games"
msgstr "மறைக்கப்பட்ட விளையாட்டுகள்"
#: data/gtk/window.blp:314
msgid "Sort"
msgstr "வகைபடுத்து"
#: data/gtk/window.blp:317
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:323
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:329
msgid "Newest"
msgstr "புதியது"
#: data/gtk/window.blp:335
msgid "Oldest"
msgstr "பழமையானது"
#: data/gtk/window.blp:341
msgid "Last Played"
msgstr "கடைசியாக விளையாடியது"
#: data/gtk/window.blp:348
msgid "Show Hidden"
msgstr "மறைக்கப்பட்டதைக் காட்டு"
#: data/gtk/window.blp:356
msgid "Preferences"
msgstr "விருப்பங்கள்"
#: data/gtk/window.blp:361
msgid "Keyboard Shortcuts"
msgstr "விசைப்பலகை குறுக்குவழிகள்"
#: data/gtk/window.blp:366
msgid "About Cartridges"
msgstr "கார்ட்ரிட்ஜ்கள் பற்றி"
#: data/gtk/window.blp:375
msgid "Add Game" msgid "Add Game"
msgstr "விளையாட்டைச் சேர்க்கவும்" msgstr "விளையாட்டைச் சேர்க்கவும்"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Import from" msgid "Main Menu"
msgstr "முதன்மை பட்டியல்"
#: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Search"
msgstr "தேடு"
#: data/gtk/window.blp:261
msgid "Hidden Games"
msgstr "மறைக்கப்பட்ட விளையாட்டுகள்"
#: data/gtk/window.blp:321
msgid "Sort"
msgstr "வகைபடுத்து"
#: data/gtk/window.blp:324
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:330
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:336
msgid "Newest"
msgstr "புதியது"
#: data/gtk/window.blp:342
msgid "Oldest"
msgstr "பழமையானது"
#: data/gtk/window.blp:348
msgid "Last Played"
msgstr "கடைசியாக விளையாடியது"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "மறைக்கப்பட்டதைக் காட்டு"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "விசைப்பலகை குறுக்குவழிகள்"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "கார்ட்ரிட்ஜ்கள் பற்றி"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
#, fuzzy
#| msgid "Import from"
msgid "Import"
msgstr "இலிருந்து இறக்குமதி செய்" msgstr "இலிருந்து இறக்குமதி செய்"
#: data/gtk/window.blp:383 #: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Steam"
msgstr "Steam (ஸ்டீம்)"
#: data/gtk/window.blp:388
msgid "Heroic"
msgstr "Heroic (ஹீரோயிக்)"
#: data/gtk/window.blp:393
msgid "Bottles"
msgstr "Bottles (பாட்டில்கள்)"
#: data/gtk/window.blp:404 data/gtk/window.blp:423 data/gtk/game.blp:87
#: data/gtk/game.blp:106
msgid "Edit"
msgstr "தொகு"
#: data/gtk/window.blp:409 data/gtk/game.blp:92
msgid "Hide"
msgstr "மறை"
#: data/gtk/window.blp:414 data/gtk/window.blp:433 data/gtk/game.blp:97
#: data/gtk/game.blp:116
msgid "Remove"
msgstr "அகற்று"
#: data/gtk/window.blp:428 data/gtk/game.blp:111
msgid "Unhide"
msgstr "மறை காட்டு"
#: data/gtk/game.blp:65 src/utils/create_details_window.py:94
msgid "Title" msgid "Title"
msgstr "தலைப்பு" msgstr "தலைப்பு"
#: data/gtk/help-overlay.blp:11 #: data/gtk/game.blp:82 data/gtk/game.blp:101
msgctxt "shortcut window" msgid "Edit"
msgstr "தொகு"
#: data/gtk/game.blp:87
msgid "Hide"
msgstr "மறை"
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr "அகற்று"
#: data/gtk/game.blp:106
msgid "Unhide"
msgstr "மறை காட்டு"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General" msgid "General"
msgstr "பொது" msgstr "பொது"
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14
msgctxt "shortcut window"
msgid "Quit" msgid "Quit"
msgstr "வெளியேறு" msgstr "வெளியேறு"
#: data/gtk/help-overlay.blp:19
msgctxt "shortcut window"
msgid "Search"
msgstr "தேடு"
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24
msgctxt "shortcut window"
msgid "Show preferences" msgid "Show preferences"
msgstr "விருப்பங்களைக் காட்டு" msgstr "விருப்பங்களைக் காட்டு"
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29
msgctxt "shortcut window"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "குறுக்குவழிகள்" msgstr "குறுக்குவழிகள்"
#: data/gtk/help-overlay.blp:34 #: data/gtk/help-overlay.blp:34 src/main.py:198 src/preferences.py:118
msgctxt "shortcut window"
msgid "Undo" msgid "Undo"
msgstr "செயல்தவிர்" msgstr "செயல்தவிர்"
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:39
msgctxt "shortcut window"
msgid "Open menu" msgid "Open menu"
msgstr "பட்டியலை திறக்கவும்" msgstr "பட்டியலை திறக்கவும்"
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:45
msgctxt "shortcut window"
msgid "Games" msgid "Games"
msgstr "விளையாட்டுகள்" msgstr "விளையாட்டுகள்"
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:48
msgctxt "shortcut window"
msgid "Add new game" msgid "Add new game"
msgstr "புதிய விளையாட்டைச் சேர்க்கவும்" msgstr "புதிய விளையாட்டைச் சேர்க்கவும்"
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:53
msgctxt "shortcut window" #, fuzzy
#| msgid "Import GOG Games"
msgid "Import games"
msgstr "GOG விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games" msgid "Show hidden games"
msgstr "மறைக்கப்பட்ட விளையாட்டுகளைக் காட்டு" msgstr "மறைக்கப்பட்ட விளையாட்டுகளைக் காட்டு"
#: data/gtk/preferences.blp:10
msgid "General"
msgstr "பொது"
#: data/gtk/preferences.blp:13 #: data/gtk/preferences.blp:13
msgid "Behavior"
msgstr ""
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "விளையாட்டுகளை தொடங்கிய பிறகு வெளியேறவும்" msgstr "விளையாட்டுகளை தொடங்கிய பிறகு வெளியேறவும்"
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr "அட்டைப் படம் விளையாட்டை தொடங்குகிறது"
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:25
msgid "Swaps the behavior of the cover image and the play button"
msgstr "அட்டைப் படத்தின் நடத்தை மற்றும் பிளே பட்டனை மாற்றுகிறது"
#: data/gtk/preferences.blp:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr "படங்கள்"
#: data/gtk/preferences.blp:37
msgid "High Quality Images"
msgstr "உயர்தர படங்கள்"
#: data/gtk/preferences.blp:38
msgid "Save game covers losslessly at the cost of storage"
msgstr "சேமிப்பக செலவில் விளையாட்டுகளை இழப்பின்றி சேமிக்கவும்"
#: data/gtk/preferences.blp:47
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr ""
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "Steam (ஸ்டீம்)"
#: data/gtk/preferences.blp:77
msgid "Steam Install Location" msgid "Steam Install Location"
msgstr "Steam (ஸ்டீம்) நிறுவல் இடம்" msgstr "Steam (ஸ்டீம்) நிறுவல் இடம்"
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:78 #: data/gtk/preferences.blp:156
msgid "Directory to use when importing games" msgid "Directory to use when importing games"
msgstr "விளையாட்டுகளை இறக்குமதி செய்யும் போது பயன்படுத்த வேண்டிய அடைவு" msgstr "விளையாட்டுகளை இறக்குமதி செய்யும் போது பயன்படுத்த வேண்டிய அடைவு"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr "கூடுதல் ஸ்டீம் (Steam) நூலகங்கள்"
#: data/gtk/preferences.blp:87
msgid "Select other directories where you have Steam games installed"
msgstr "ஸ்டீம் (Steam) கேம்களை நிறுவிய பிற கோப்பகங்களைத் தேர்ந்தெடுக்கவும்"
#: data/gtk/preferences.blp:94
msgid "Clear"
msgstr "தெளிவு"
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr "Heroic (ஹீரோயிக்)"
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location" msgid "Heroic Install Location"
msgstr "Heroic (ஹீரோயிக்) நிறுவல் இடம்" msgstr "Heroic (ஹீரோயிக்) நிறுவல் இடம்"
#: data/gtk/preferences.blp:49 #: data/gtk/preferences.blp:126
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Epic விளையாட்டுகளை இறக்குமதி செய்" msgstr "Epic விளையாட்டுகளை இறக்குமதி செய்"
#: data/gtk/preferences.blp:57 #: data/gtk/preferences.blp:134
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "GOG விளையாட்டுகளை இறக்குமதி செய்யவும்" msgstr "GOG விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:65 #: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "பக்க ஏற்றப்பட்ட விளையாட்டுகளை இறக்குமதி செய்யவும்" msgstr "பக்க ஏற்றப்பட்ட விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:77 #: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr "Bottles (பாட்டில்கள்)"
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "Bottles (பாட்டில்கள்) நிறுவும் இடம்" msgstr "Bottles (பாட்டில்கள்) நிறுவும் இடம்"
#. Translators: Replace this with your name for it to show up in the about window #. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:130 #: src/main.py:125
msgid "translator_credits" msgid "translator_credits"
msgstr "K.B.Dharun Krishna <kbdharunkrishna@gmail.com>" msgstr "K.B.Dharun Krishna <kbdharunkrishna@gmail.com>"
#: src/main.py:195 #. The variable is the title of the game
#, fuzzy, python-brace-format #: src/main.py:197
#, python-brace-format
msgid "{title} removed" msgid "{title} removed"
msgstr "அகற்றப்பட்டது" msgstr "{title} அகற்றப்பட்டது"
#: src/main.py:196 #: src/window.py:234
msgid "Undo"
msgstr "செயல்தவிர்"
#: src/window.py:229
msgid "Today" msgid "Today"
msgstr "இன்று" msgstr "இன்று"
#: src/window.py:231 #: src/window.py:236
msgid "Yesterday" msgid "Yesterday"
msgstr "நேற்று" msgstr "நேற்று"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:265
#, fuzzy, python-brace-format
msgid "Added: {date}"
msgstr "சேர்க்கப்பட்டது:"
#: src/window.py:270 #: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr "சேர்க்கப்பட்டது: {date}"
#: src/window.py:275
msgid "Never" msgid "Never"
msgstr "" msgstr "ஒருபோதும் இல்லை"
#. The variable is the date when the game was last played #. The variable is the date when the game was last played
#: src/window.py:274 #: src/window.py:279
#, fuzzy, python-brace-format #, python-brace-format
msgid "Last played: {last_played_date}" msgid "Last played: {last_played_date}"
msgstr "கடைசியாக விளையாடியது: ஒருபோதும் இல்லை" msgstr "கடைசியாக விளையாடியது: {last_played_date}"
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/game.py:173
#: src/utils/steam_parser.py:230 msgid "Details"
msgid "Couldn't Import Games" msgstr "விவரங்கள்"
msgstr "கேம்களை இறக்குமதி செய்ய முடியவில்லை"
#: src/utils/bottles_parser.py:81 #: src/preferences.py:55
msgid "The Bottles directory cannot be found." msgid "Installation Not Found"
msgstr "பாட்டில்கள் கோப்பகத்தைக் கண்டறிய முடியவில்லை." msgstr ""
#: src/utils/bottles_parser.py:83 #. The variable is the name of the game launcher
msgid "Set Bottles Location" #: src/preferences.py:57
msgstr "பாட்டில்களின் இடத்தை அமைக்கவும்" #, python-brace-format
msgid "Select the {name} configuration directory."
msgstr ""
#: src/utils/bottles_parser.py:143 #. The variable is the name of the game launcher
msgid "No new games were found in the Bottles library." #: src/preferences.py:59
msgstr "பாட்டில்கள் நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை." #, python-brace-format
msgid "Select the {name} data directory."
msgstr ""
#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:155 #: src/preferences.py:61
msgid "Bottles Games Imported" #, fuzzy
msgstr "பாட்டில் விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன" #| msgid "Set Steam Location"
msgid "Set Location"
msgstr "Steam (ஸ்டீம் இடத்தை அமைக்கவும்"
#: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:248 #: src/preferences.py:117
#: src/utils/steam_parser.py:164 #, fuzzy
#| msgid "{title} removed"
msgid "All games removed"
msgstr "{title} அகற்றப்பட்டது"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது…"
#: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found in the Heroic library."
msgid "No new games were found on your system."
msgstr "Heroic (ஹீரோயிக்) நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை."
#: src/utils/importer.py:87
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Game Imported"
msgstr "Steam (ஸ்டீம்) விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன"
#: src/utils/importer.py:88
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது." msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது."
#: src/utils/importer.py:94
#, fuzzy
#| msgid "Steam Games Imported"
msgid "Games Imported"
msgstr "Steam (ஸ்டீம்) விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன"
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 #: src/utils/importer.py:96
#: src/utils/steam_parser.py:172 #, python-brace-format
#, fuzzy, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {games_no} games."
msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது." msgstr "{games_no} விளையாட்டுகள் வெற்றிகரமாக இறக்குமதி செய்யப்பட்ட."
#: src/utils/create_details_window.py:41 #: src/utils/create_details_window.py:41
msgid "Add New Game" msgid "Add New Game"
@@ -334,18 +423,10 @@ msgstr "புதிய விளையாட்டைச் சேர்க்
msgid "Confirm" msgid "Confirm"
msgstr "உறுதிப்படுத்தவும்" msgstr "உறுதிப்படுத்தவும்"
#: src/utils/create_details_window.py:48
msgid "Edit Game Details"
msgstr "விளையாட்டு விவரங்களைத் திருத்து"
#: src/utils/create_details_window.py:57 #: src/utils/create_details_window.py:57
msgid "Apply" msgid "Apply"
msgstr "விண்ணப்பி" msgstr "விண்ணப்பி"
#: src/utils/create_details_window.py:59
msgid "Images"
msgstr "படங்கள்"
#: src/utils/create_details_window.py:95 #: src/utils/create_details_window.py:95
msgid "The title of the game" msgid "The title of the game"
msgstr "விளையாட்டின் தலைப்பு" msgstr "விளையாட்டின் தலைப்பு"
@@ -358,36 +439,41 @@ msgstr "டெவலப்பர்"
msgid "The developer or publisher (optional)" msgid "The developer or publisher (optional)"
msgstr "டெவலப்பர் அல்லது வெளியீட்டாளர் (விரும்பினால்)" msgstr "டெவலப்பர் அல்லது வெளியீட்டாளர் (விரும்பினால்)"
#: src/utils/create_details_window.py:111 #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:112
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr "கோப்பு.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:113 #: src/utils/create_details_window.py:114
msgid "program" msgid "program"
msgstr "" msgstr "பயன்பாடு"
#: src/utils/create_details_window.py:117 #. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format #, python-brace-format
msgid "C:\\path\\to\\{exe_name}" msgid "C:\\path\\to\\{exe_name}"
msgstr "" msgstr "C:\\பாதை\\டு \\{exe_name}"
#: src/utils/create_details_window.py:118
#, python-brace-format
msgid "C:\\path\\to\\{file_name}"
msgstr ""
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121 #: src/utils/create_details_window.py:121
#, python-brace-format #, python-brace-format
msgid "/path/to/{exe_name}" msgid "C:\\path\\to\\{file_name}"
msgstr "" msgstr "C:\\பாதை\\டு \\{file_name}"
#: src/utils/create_details_window.py:122 #. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr "/பாதை/டு/ {exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format #, python-brace-format
msgid "/path/to/{file_name}" msgid "/path/to/{file_name}"
msgstr "" msgstr "/பாதை/டு /{file_name}"
#: src/utils/create_details_window.py:126 #: src/utils/create_details_window.py:131
#, python-brace-format #, python-brace-format
msgid "" msgid ""
"To launch the executable \"{exe_name}\", use the command:\n" "To launch the executable \"{exe_name}\", use the command:\n"
@@ -400,83 +486,119 @@ msgid ""
"\n" "\n"
"If the path contains spaces, make sure to wrap it in double quotes!" "If the path contains spaces, make sure to wrap it in double quotes!"
msgstr "" msgstr ""
"இயங்கக்கூடிய \"{exe_name}\" ஐத் தொடங்க, கட்டளையைப் பயன்படுத்தவும்:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"இயல்புநிலை பயன்பாட்டுடன் \"{file_name}\" கோப்பைத் திறக்க, பயன்படுத்தவும்:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"பாதையில் இடைவெளிகள் இருந்தால், அதை இரட்டை மேற்கோள்களில் போர்த்துவதை உறுதிசெய்யவும்!"
#: src/utils/create_details_window.py:149 #: src/utils/create_details_window.py:154
msgid "Executable" msgid "Executable"
msgstr "செயல்படுத்தக்கூடியது" msgstr "செயல்படுத்தக்கூடியது"
#: src/utils/create_details_window.py:150 #: src/utils/create_details_window.py:155
msgid "File to open or command to run when launching the game" msgid "File to open or command to run when launching the game"
msgstr "விளையாட்டைத் தொடங்கும் போது திறக்க கோப்பு அல்லது இயக்க கட்டளை" msgstr "விளையாட்டைத் தொடங்கும் போது திறக்க கோப்பு அல்லது இயக்க கட்டளை"
#: src/utils/create_details_window.py:162 #: src/utils/create_details_window.py:167
msgid "Cancel" msgid "Cancel"
msgstr "ரத்துசெய்" msgstr "ரத்துசெய்"
#: src/utils/create_details_window.py:208 #: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:214 #: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "விளையாட்டைச் சேர்க்க முடியவில்லை" msgstr "விளையாட்டைச் சேர்க்க முடியவில்லை"
#: src/utils/create_details_window.py:208 #: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:239 #: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr "விருப்பத்தேர்வுகளைப் பயன்படுத்த முடியவில்லை"
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "விளையாட்டு தலைப்பு காலியாக இருக்கக்கூடாது." msgstr "விளையாட்டு தலைப்பு காலியாக இருக்கக்கூடாது."
#: src/utils/create_details_window.py:214 #: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:247 #: src/utils/create_details_window.py:266
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "இயங்கக்கூடியது காலியாக இருக்க முடியாது." msgstr "இயங்கக்கூடியது காலியாக இருக்க முடியாது."
#: src/utils/create_details_window.py:238
#: src/utils/create_details_window.py:246
msgid "Couldn't Apply Preferences"
msgstr "விருப்பத்தேர்வுகளைப் பயன்படுத்த முடியவில்லை"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "நிராகரி" msgstr "நிராகரி"
#: src/utils/heroic_parser.py:88
msgid "The Heroic directory cannot be found."
msgstr "Heroic (ஹீரோயிக்) கோப்பகத்தைக் கண்டுபிடிக்க முடியவில்லை."
#: src/utils/heroic_parser.py:90
msgid "Set Heroic Location"
msgstr "Heroic (ஹீரோயிக்) இருப்பிடத்தை அமைக்கவும்"
#: src/utils/heroic_parser.py:242
msgid "No new games were found in the Heroic library."
msgstr "Heroic (ஹீரோயிக்) நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை."
#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254
msgid "Heroic Games Imported"
msgstr "Heroic (ஹீரோயிக்) விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன"
#: src/utils/steam_parser.py:158
msgid "No new games were found in the Steam library."
msgstr "Steam (ஸ்டீம்) நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை."
#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170
msgid "Steam Games Imported"
msgstr "Steam (ஸ்டீம்) விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன"
#: src/utils/steam_parser.py:231
msgid "The Steam directory cannot be found."
msgstr "Steam (ஸ்டீம்) கோப்பகத்தைக் கண்டறிய முடியவில்லை."
#: src/utils/steam_parser.py:233
msgid "Set Steam Location"
msgstr "Steam (ஸ்டீம் இடத்தை அமைக்கவும்"
#: src/utils/steam_parser.py:249
#, fuzzy #, fuzzy
msgid "Importing Games…" #~| msgid "General"
msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது…" #~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "பொது"
#: src/utils/steam_parser.py:250 #, fuzzy
msgid "Talking to Steam" #~| msgid "Search"
msgstr "ஸ்டிமுடன் (Steam) பேசுகிறேன்" #~ 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 "Set Heroic Location"
#~ 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 #, fuzzy
#~ msgid "Successfully imported {str(len(bottles_games))} games." #~ msgid "Successfully imported {str(len(bottles_games))} games."

573
po/uk.po
View File

@@ -1,14 +1,14 @@
# SOME DESCRIPTIVE TITLE. # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the cartridges package. # This file is distributed under the same license as the cartridges package.
# kramo <login@kramo.hu>, 2023. # kramo <contact@kramo.hu>, 2023.
# Dan <denqwerta@gmail.com>, 2023. # Dan <denqwerta@gmail.com>, 2023.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: cartridges\n" "Project-Id-Version: cartridges\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-19 13:11+0100\n" "POT-Creation-Date: 2023-03-30 16:23+0200\n"
"PO-Revision-Date: 2023-03-16 18:47+0000\n" "PO-Revision-Date: 2023-03-30 11:43+0000\n"
"Last-Translator: Dan <denqwerta@gmail.com>\n" "Last-Translator: Dan <denqwerta@gmail.com>\n"
"Language-Team: Ukrainian <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Ukrainian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/uk/>\n" "cartridges/uk/>\n"
@@ -16,13 +16,13 @@ msgstr ""
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.16.2-dev\n" "X-Generator: Weblate 4.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29
#: src/main.py:116 #: src/main.py:110
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
@@ -48,8 +48,25 @@ msgstr ""
"Steam, Heroic та Bottles із такими організаційними функціями, як " "Steam, Heroic та Bottles із такими організаційними функціями, як "
"приховування та сортування за датою додавання чи останньої гри." "приховування та сортування за датою додавання чи останньої гри."
#: data/gtk/window.blp:6 data/gtk/window.blp:14 src/utils/bottles_parser.py:142 #: data/hu.kramo.Cartridges.metainfo.xml.in:22
#: src/utils/heroic_parser.py:241 src/utils/steam_parser.py:157 msgid "Library"
msgstr "Бібліотека"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26
#: src/utils/create_details_window.py:48
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:363
#: src/utils/importer.py:81
msgid "Preferences"
msgstr "Параметри"
#: data/gtk/window.blp:6 src/utils/importer.py:78
msgid "No Games Found" msgid "No Games Found"
msgstr "Ігор не знайдено" msgstr "Ігор не знайдено"
@@ -57,6 +74,10 @@ msgstr "Ігор не знайдено"
msgid "Try a different search." msgid "Try a different search."
msgstr "Спробуйте інший пошук." msgstr "Спробуйте інший пошук."
#: data/gtk/window.blp:14
msgid "No Games"
msgstr "Ніяких ігор"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:15
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Використовуйте кнопку +, щоб додати гру." msgstr "Використовуйте кнопку +, щоб додати гру."
@@ -69,261 +90,319 @@ msgstr "Ніяких прихованих ігор"
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Ігри, які ви сховали, з'являться тут." msgstr "Ігри, які ви сховали, з'являться тут."
#: data/gtk/window.blp:50 #: data/gtk/window.blp:44 data/gtk/window.blp:254
msgid "Game Details" msgid "Back"
msgstr "Подробиці гри" msgstr "Назад"
#: data/gtk/window.blp:91 #: data/gtk/window.blp:92
msgid "Game Title" msgid "Game Title"
msgstr "Назва гри" msgstr "Назва гри"
#: data/gtk/window.blp:147 data/gtk/game.blp:38 #: data/gtk/window.blp:148 src/game.py:175
msgid "Play" msgid "Play"
msgstr "Грати" msgstr "Грати"
#: data/gtk/window.blp:256 #: data/gtk/window.blp:196 data/gtk/window.blp:382
msgid "Hidden Games"
msgstr "Приховані ігри"
#: data/gtk/window.blp:314
msgid "Sort"
msgstr "Сортувати"
#: data/gtk/window.blp:317
msgid "A-Z"
msgstr "А-Я"
#: data/gtk/window.blp:323
msgid "Z-A"
msgstr "Я-А"
#: data/gtk/window.blp:329
msgid "Newest"
msgstr "Найновіші"
#: data/gtk/window.blp:335
msgid "Oldest"
msgstr "Найстаріші"
#: data/gtk/window.blp:341
msgid "Last Played"
msgstr "Остання гра"
#: data/gtk/window.blp:348
msgid "Show Hidden"
msgstr "Показати приховане"
#: data/gtk/window.blp:356
msgid "Preferences"
msgstr "Параметри"
#: data/gtk/window.blp:361
msgid "Keyboard Shortcuts"
msgstr "Комбінації клавіш"
#: data/gtk/window.blp:366
msgid "About Cartridges"
msgstr "Про Cartridges"
#: data/gtk/window.blp:375
msgid "Add Game" msgid "Add Game"
msgstr "Додати гру" msgstr "Додати гру"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:203 data/gtk/window.blp:266
msgid "Import from" msgid "Main Menu"
msgstr "Імпорт з" msgstr "Головне меню"
#: data/gtk/window.blp:383 #: data/gtk/window.blp:210 data/gtk/window.blp:273 data/gtk/help-overlay.blp:19
msgid "Steam" msgid "Search"
msgstr "Steam" msgstr "Пошук"
#: data/gtk/window.blp:388 #: data/gtk/window.blp:261
msgid "Heroic" msgid "Hidden Games"
msgstr "Heroic" msgstr "Приховані ігри"
#: data/gtk/window.blp:393 #: data/gtk/window.blp:321
msgid "Bottles" msgid "Sort"
msgstr "Bottles" msgstr "Сортувати"
#: data/gtk/window.blp:404 data/gtk/window.blp:423 data/gtk/game.blp:87 #: data/gtk/window.blp:324
#: data/gtk/game.blp:106 msgid "A-Z"
msgid "Edit" msgstr "А"
msgstr "Редагувати"
#: data/gtk/window.blp:409 data/gtk/game.blp:92 #: data/gtk/window.blp:330
msgid "Hide" msgid "Z-A"
msgstr "Приховати" msgstr "Я-А"
#: data/gtk/window.blp:414 data/gtk/window.blp:433 data/gtk/game.blp:97 #: data/gtk/window.blp:336
#: data/gtk/game.blp:116 msgid "Newest"
msgid "Remove" msgstr "Найновіші"
msgstr "Видалити"
#: data/gtk/window.blp:428 data/gtk/game.blp:111 #: data/gtk/window.blp:342
msgid "Unhide" msgid "Oldest"
msgstr "Показати" msgstr "Найстаріші"
#: data/gtk/game.blp:65 src/utils/create_details_window.py:94 #: data/gtk/window.blp:348
msgid "Last Played"
msgstr "Остання гра"
#: data/gtk/window.blp:355
msgid "Show Hidden"
msgstr "Показати приховане"
#: data/gtk/window.blp:368
msgid "Keyboard Shortcuts"
msgstr "Комбінації клавіш"
#: data/gtk/window.blp:373
msgid "About Cartridges"
msgstr "Про Cartridges"
#: data/gtk/window.blp:388 data/gtk/preferences.blp:66
msgid "Import"
msgstr "Імпорт"
#: data/gtk/game.blp:60 src/utils/create_details_window.py:94
msgid "Title" msgid "Title"
msgstr "Назва" msgstr "Назва"
#: data/gtk/help-overlay.blp:11 #: data/gtk/game.blp:82 data/gtk/game.blp:101
msgctxt "shortcut window" msgid "Edit"
msgstr "Редагувати"
#: data/gtk/game.blp:87
msgid "Hide"
msgstr "Приховати"
#: data/gtk/game.blp:92 data/gtk/game.blp:111 data/gtk/preferences.blp:53
msgid "Remove"
msgstr "Видалити"
#: data/gtk/game.blp:106
msgid "Unhide"
msgstr "Показати"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General" msgid "General"
msgstr "Загальний" msgstr "Загальний"
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14
msgctxt "shortcut window"
msgid "Quit" msgid "Quit"
msgstr "Вийти" msgstr "Вийти"
#: data/gtk/help-overlay.blp:19
msgctxt "shortcut window"
msgid "Search"
msgstr "Пошук"
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24
msgctxt "shortcut window"
msgid "Show preferences" msgid "Show preferences"
msgstr "Показати параметри" msgstr "Показати параметри"
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29
msgctxt "shortcut window"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Ярлики" msgstr "Ярлики"
#: data/gtk/help-overlay.blp:34 #: data/gtk/help-overlay.blp:34 src/main.py:198 src/preferences.py:118
msgctxt "shortcut window"
msgid "Undo" msgid "Undo"
msgstr "Відмінити" msgstr "Відмінити"
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:39
msgctxt "shortcut window"
msgid "Open menu" msgid "Open menu"
msgstr "Відкрити меню" msgstr "Відкрити меню"
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:45
msgctxt "shortcut window"
msgid "Games" msgid "Games"
msgstr "Ігри" msgstr "Ігри"
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:48
msgctxt "shortcut window"
msgid "Add new game" msgid "Add new game"
msgstr "Додати нову гру" msgstr "Додати нову гру"
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:53
msgctxt "shortcut window" msgid "Import games"
msgstr "Імпорт ігор"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games" msgid "Show hidden games"
msgstr "Показати приховані ігри" msgstr "Показати приховані ігри"
#: data/gtk/preferences.blp:10
msgid "General"
msgstr "Загальний"
#: data/gtk/preferences.blp:13 #: data/gtk/preferences.blp:13
msgid "Behavior"
msgstr "Поведінка"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "Вихід після запуску ігор" msgstr "Вихід після запуску ігор"
#: data/gtk/preferences.blp:24
msgid "Cover Image Launches Game"
msgstr "Обкладинка запускає гру"
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:25
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Міняє місцями поведінку зображення обкладинки та кнопки відтворення"
#: data/gtk/preferences.blp:34 src/utils/create_details_window.py:59
msgid "Images"
msgstr "Зображення"
#: data/gtk/preferences.blp:37
msgid "High Quality Images"
msgstr "Зображення високої якості"
#: data/gtk/preferences.blp:38
msgid "Save game covers losslessly at the cost of storage"
msgstr "Збережена гра покривається без втрат за вартістю зберігання"
#: data/gtk/preferences.blp:47
msgid "Danger Zone"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Remove All Games"
msgstr ""
#: data/gtk/preferences.blp:70
msgid "Sources"
msgstr "Джерела"
#: data/gtk/preferences.blp:73
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:77
msgid "Steam Install Location" msgid "Steam Install Location"
msgstr "Місце встановлення Steam" msgstr "Місце встановлення Steam"
#: data/gtk/preferences.blp:26 data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:78 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:78 #: data/gtk/preferences.blp:156
msgid "Directory to use when importing games" msgid "Directory to use when importing games"
msgstr "Каталог для імпорту ігор" msgstr "Каталог для імпорту ігор"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:86
msgid "Extra Steam Libraries"
msgstr "Додаткові бібліотеки Steam"
#: data/gtk/preferences.blp:87
msgid "Select other directories where you have Steam games installed"
msgstr "Виберіть інші директорії, до яких інстальовано ігри Steam"
#: data/gtk/preferences.blp:94
msgid "Clear"
msgstr "Очистити"
#: data/gtk/preferences.blp:112
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:116
msgid "Heroic Install Location" msgid "Heroic Install Location"
msgstr "Місце встановлення Heroic" msgstr "Місце встановлення Heroic"
#: data/gtk/preferences.blp:49 #: data/gtk/preferences.blp:126
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Імпорт Epic Games" msgstr "Імпорт Epic Games"
#: data/gtk/preferences.blp:57 #: data/gtk/preferences.blp:134
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Імпорт ігор GOG" msgstr "Імпорт ігор GOG"
#: data/gtk/preferences.blp:65 #: data/gtk/preferences.blp:142
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Імпорт сторонніх ігор" msgstr "Імпорт сторонніх ігор"
#: data/gtk/preferences.blp:77 #: data/gtk/preferences.blp:151
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:155
msgid "Bottles Install Location" msgid "Bottles Install Location"
msgstr "Місце встановлення Bottles" msgstr "Місце встановлення Bottles"
#. Translators: Replace this with your name for it to show up in the about window #. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:130 #: src/main.py:125
msgid "translator_credits" msgid "translator_credits"
msgstr "kefir2105" msgstr "kefir2105"
#: src/main.py:195 #. The variable is the title of the game
#, fuzzy, python-brace-format #: src/main.py:197
#, python-brace-format
msgid "{title} removed" msgid "{title} removed"
msgstr "видалено" msgstr "{title} видалено"
#: src/main.py:196 #: src/window.py:234
msgid "Undo"
msgstr "Відмінити"
#: src/window.py:229
msgid "Today" msgid "Today"
msgstr "Сьогодні" msgstr "Сьогодні"
#: src/window.py:231 #: src/window.py:236
msgid "Yesterday" msgid "Yesterday"
msgstr "Вчора" msgstr "Вчора"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:265
#, fuzzy, python-brace-format
msgid "Added: {date}"
msgstr "Додано:"
#: src/window.py:270 #: src/window.py:270
#, python-brace-format
msgid "Added: {date}"
msgstr "Додано: {date}"
#: src/window.py:275
msgid "Never" msgid "Never"
msgstr "" msgstr "Ніколи"
#. The variable is the date when the game was last played #. The variable is the date when the game was last played
#: src/window.py:274 #: src/window.py:279
#, fuzzy, python-brace-format #, python-brace-format
msgid "Last played: {last_played_date}" msgid "Last played: {last_played_date}"
msgstr "Остання гра: Ніколи" msgstr "Останній раз грали: {last_played_date}"
#: src/utils/bottles_parser.py:80 src/utils/heroic_parser.py:87 #: src/game.py:173
#: src/utils/steam_parser.py:230 msgid "Details"
msgid "Couldn't Import Games" msgstr "Деталі"
msgstr "Не вдається імпортувати ігри"
#: src/utils/bottles_parser.py:81 #: src/preferences.py:55
msgid "The Bottles directory cannot be found." msgid "Installation Not Found"
msgstr "Каталог Bottles не знайдено." msgstr "Встановлення не знайдено"
#: src/utils/bottles_parser.py:83 #. The variable is the name of the game launcher
msgid "Set Bottles Location" #: src/preferences.py:57
msgstr "Встановити розташування Bottles" #, python-brace-format
msgid "Select the {name} configuration directory."
msgstr "Виберіть каталог конфігурації {name}."
#: src/utils/bottles_parser.py:143 #. The variable is the name of the game launcher
msgid "No new games were found in the Bottles library." #: src/preferences.py:59
msgstr "У бібліотеці Bottles нових ігор не знайдено." #, python-brace-format
msgid "Select the {name} data directory."
msgstr "Виберіть каталог даних {name}."
#: src/utils/bottles_parser.py:148 src/utils/bottles_parser.py:155 #: src/preferences.py:61
msgid "Bottles Games Imported" msgid "Set Location"
msgstr "Ігри Bottles імпортовано" msgstr "Встановити місцезнаходження"
#: src/utils/bottles_parser.py:149 src/utils/heroic_parser.py:248 #: src/preferences.py:117
#: src/utils/steam_parser.py:164 #, fuzzy
#| msgid "{title} removed"
msgid "All games removed"
msgstr "{title} видалено"
#: src/utils/importer.py:37
msgid "Importing Games…"
msgstr "Імпорт ігор…"
#: src/utils/importer.py:79
#, fuzzy
#| msgid "No new games were found on your device."
msgid "No new games were found on your system."
msgstr "На вашому пристрої не знайдено нових ігор."
#: src/utils/importer.py:87
msgid "Game Imported"
msgstr "Ігру імпортовано"
#: src/utils/importer.py:88
msgid "Successfully imported 1 game." msgid "Successfully imported 1 game."
msgstr "Успішно імпортовано 1 гру." msgstr "Успішно імпортовано 1 гру."
#: src/utils/importer.py:94
msgid "Games Imported"
msgstr "Ігри імпортовано"
#. The variable is the number of games #. The variable is the number of games
#: src/utils/bottles_parser.py:157 src/utils/heroic_parser.py:256 #: src/utils/importer.py:96
#: src/utils/steam_parser.py:172 #, python-brace-format
#, fuzzy, python-brace-format
msgid "Successfully imported {games_no} games." msgid "Successfully imported {games_no} games."
msgstr "Успішно імпортовано 1 гру." msgstr "Успішно імпортовано {games_no} ігри."
#: src/utils/create_details_window.py:41 #: src/utils/create_details_window.py:41
msgid "Add New Game" msgid "Add New Game"
@@ -333,18 +412,10 @@ msgstr "Додати нову гру"
msgid "Confirm" msgid "Confirm"
msgstr "Підтвердити" msgstr "Підтвердити"
#: src/utils/create_details_window.py:48
msgid "Edit Game Details"
msgstr "Редагувати інформацію про гру"
#: src/utils/create_details_window.py:57 #: src/utils/create_details_window.py:57
msgid "Apply" msgid "Apply"
msgstr "Застосувати" msgstr "Застосувати"
#: src/utils/create_details_window.py:59
msgid "Images"
msgstr "Зображення"
#: src/utils/create_details_window.py:95 #: src/utils/create_details_window.py:95
msgid "The title of the game" msgid "The title of the game"
msgstr "Назва гри" msgstr "Назва гри"
@@ -357,36 +428,41 @@ msgstr "Розробник"
msgid "The developer or publisher (optional)" msgid "The developer or publisher (optional)"
msgstr "Розробник або видавець (необов'язково)" msgstr "Розробник або видавець (необов'язково)"
#: src/utils/create_details_window.py:111 #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:112
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr "file.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:113 #: src/utils/create_details_window.py:114
msgid "program" msgid "program"
msgstr "" msgstr "програма"
#: src/utils/create_details_window.py:117 #. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:119
#, python-brace-format #, python-brace-format
msgid "C:\\path\\to\\{exe_name}" msgid "C:\\path\\to\\{exe_name}"
msgstr "" msgstr "C:\\path\\to\\{exe_name}"
#: src/utils/create_details_window.py:118
#, python-brace-format
msgid "C:\\path\\to\\{file_name}"
msgstr ""
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:121 #: src/utils/create_details_window.py:121
#, python-brace-format #, python-brace-format
msgid "/path/to/{exe_name}" msgid "C:\\path\\to\\{file_name}"
msgstr "" msgstr "C:\\path\\to\\{file_name}"
#: src/utils/create_details_window.py:122 #. Translate this string as you would translate "path to {exe_name}"
#: src/utils/create_details_window.py:125
#, python-brace-format
msgid "/path/to/{exe_name}"
msgstr "/path/to/{exe_name}"
#. Translate this string as you would translate "path to {file_name}"
#: src/utils/create_details_window.py:127
#, python-brace-format #, python-brace-format
msgid "/path/to/{file_name}" msgid "/path/to/{file_name}"
msgstr "" msgstr "/path/to/{file_name}"
#: src/utils/create_details_window.py:126 #: src/utils/create_details_window.py:131
#, python-brace-format #, python-brace-format
msgid "" msgid ""
"To launch the executable \"{exe_name}\", use the command:\n" "To launch the executable \"{exe_name}\", use the command:\n"
@@ -399,83 +475,120 @@ msgid ""
"\n" "\n"
"If the path contains spaces, make sure to wrap it in double quotes!" "If the path contains spaces, make sure to wrap it in double quotes!"
msgstr "" msgstr ""
"Щоб запустити виконуваний файл \"{exe_name}\", скористайтеся командою:\n"
"\n"
"<tt>\"{exe_path}\"</tt>\n"
"\n"
"Щоб відкрити файл \"{file_name}\" за допомогою застосунку за замовчуванням, "
"скористайтеся:\n"
"\n"
"<tt>{command} \"{file_path}\"</tt>\n"
"\n"
"Якщо шлях містить пробіли, обов'язково візьміть його в подвійні лапки!"
#: src/utils/create_details_window.py:149 #: src/utils/create_details_window.py:154
msgid "Executable" msgid "Executable"
msgstr "Виконуваний" msgstr "Виконуваний"
#: src/utils/create_details_window.py:150 #: src/utils/create_details_window.py:155
msgid "File to open or command to run when launching the game" msgid "File to open or command to run when launching the game"
msgstr "Файл для відкриття або команда для запуску під час запуску гри" msgstr "Файл для відкриття або команда для запуску під час запуску гри"
#: src/utils/create_details_window.py:162 #: src/utils/create_details_window.py:167
msgid "Cancel" msgid "Cancel"
msgstr "Скасувати" msgstr "Скасувати"
#: src/utils/create_details_window.py:208 #: src/utils/create_details_window.py:217
#: src/utils/create_details_window.py:214 #: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:233
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Не вдалося додати гру" msgstr "Не вдалося додати гру"
#: src/utils/create_details_window.py:208 #: src/utils/create_details_window.py:219
#: src/utils/create_details_window.py:239 #: src/utils/create_details_window.py:257
#: src/utils/create_details_window.py:265
msgid "Couldn't Apply Preferences"
msgstr "Не вдалося застосувати параметри"
#: src/utils/create_details_window.py:227
#: src/utils/create_details_window.py:258
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Назва гри не може бути порожньою." msgstr "Назва гри не може бути порожньою."
#: src/utils/create_details_window.py:214 #: src/utils/create_details_window.py:233
#: src/utils/create_details_window.py:247 #: src/utils/create_details_window.py:266
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Виконуваний файл не може бути порожнім." msgstr "Виконуваний файл не може бути порожнім."
#: src/utils/create_details_window.py:238
#: src/utils/create_details_window.py:246
msgid "Couldn't Apply Preferences"
msgstr "Не вдалося застосувати параметри"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Відхилити" msgstr "Відхилити"
#: src/utils/heroic_parser.py:88
msgid "The Heroic directory cannot be found."
msgstr "Не вдається знайти каталог Heroic."
#: src/utils/heroic_parser.py:90
msgid "Set Heroic Location"
msgstr "Встановіть розташування Heroic"
#: src/utils/heroic_parser.py:242
msgid "No new games were found in the Heroic library."
msgstr "У бібліотеці Heroic нових ігор не знайдено."
#: src/utils/heroic_parser.py:247 src/utils/heroic_parser.py:254
msgid "Heroic Games Imported"
msgstr "Ігри Heroic імпортовано"
#: src/utils/steam_parser.py:158
msgid "No new games were found in the Steam library."
msgstr "У бібліотеці Steam не знайдено жодної нової гри."
#: src/utils/steam_parser.py:163 src/utils/steam_parser.py:170
msgid "Steam Games Imported"
msgstr "Ігри Steam імпортовано"
#: src/utils/steam_parser.py:231
msgid "The Steam directory cannot be found."
msgstr "Каталог Steam знайти неможливо."
#: src/utils/steam_parser.py:233
msgid "Set Steam Location"
msgstr "Встановіть розташування Steam"
#: src/utils/steam_parser.py:249
#, fuzzy #, fuzzy
msgid "Importing Games…" #~| msgid "General"
msgstr "Імпорт ігор…" #~ msgctxt "shortcuts window"
#~ msgid "General"
#~ msgstr "Загальний"
#: src/utils/steam_parser.py:250 #, fuzzy
msgid "Talking to Steam" #~| msgid "Search"
msgstr "Спілкування зі Steam" #~ 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 "Set Heroic Location"
#~ 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 #, fuzzy
#~ msgid "Successfully imported {str(len(bottles_games))} games." #~ msgid "Successfully imported {str(len(bottles_games))} games."

View File

@@ -1,21 +0,0 @@
{
"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"
}
]
}
]
}

View File

@@ -2,7 +2,7 @@
# cartridges.in # cartridges.in
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -25,22 +25,31 @@ import signal
import locale import locale
import gettext import gettext
VERSION = '@VERSION@' VERSION = "@VERSION@"
pkgdatadir = '@pkgdatadir@' if os.name == "nt":
localedir = '@localedir@' 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) sys.path.insert(1, pkgdatadir)
signal.signal(signal.SIGINT, signal.SIG_DFL) signal.signal(signal.SIGINT, signal.SIG_DFL)
locale.bindtextdomain('cartridges', localedir)
locale.textdomain('cartridges')
gettext.install('cartridges', localedir)
if __name__ == '__main__': if os.name != "nt":
locale.bindtextdomain("cartridges", localedir)
locale.textdomain("cartridges")
gettext.install("cartridges", localedir)
if __name__ == "__main__":
import gi import gi
from gi.repository import Gio from gi.repository import Gio
resource = Gio.Resource.load(os.path.join(pkgdatadir, 'cartridges.gresource'))
resource = Gio.Resource.load(os.path.join(pkgdatadir, "cartridges.gresource"))
resource._register() resource._register()
from cartridges import main from cartridges import main
sys.exit(main.main(VERSION)) sys.exit(main.main(VERSION))

View File

@@ -1,6 +1,6 @@
# game.py # game.py
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -17,13 +17,19 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # 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
from .get_cover import get_cover from gi.repository import GdkPixbuf, Gio, Gtk
from .save_game import save_game
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/game.ui") @Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/game.ui")
class game(Gtk.Box): class game(Gtk.Box): # pylint: disable=invalid-name
__gtype_name__ = "game" __gtype_name__ = "game"
overlay = Gtk.Template.Child() overlay = Gtk.Template.Child()
@@ -32,9 +38,10 @@ class game(Gtk.Box):
cover = Gtk.Template.Child() cover = Gtk.Template.Child()
cover_button = Gtk.Template.Child() cover_button = Gtk.Template.Child()
menu_button = Gtk.Template.Child() menu_button = Gtk.Template.Child()
hidden_game_options = Gtk.Template.Child()
play_revealer = Gtk.Template.Child() play_revealer = Gtk.Template.Child()
title_revealer = Gtk.Template.Child() title_revealer = Gtk.Template.Child()
game_options = Gtk.Template.Child()
hidden_game_options = Gtk.Template.Child()
def __init__(self, parent_widget, data, **kwargs): def __init__(self, parent_widget, data, **kwargs):
super().__init__(**kwargs) super().__init__(**kwargs)
@@ -50,7 +57,7 @@ class game(Gtk.Box):
self.removed = "removed" in data.keys() self.removed = "removed" in data.keys()
self.blacklisted = "blacklisted" in data.keys() self.blacklisted = "blacklisted" in data.keys()
self.pixbuf = get_cover(self.game_id, self.parent_widget) self.pixbuf = self.get_cover()
self.cover.set_pixbuf(self.pixbuf) self.cover.set_pixbuf(self.pixbuf)
self.title.set_label(self.name) self.title.set_label(self.name)
@@ -59,11 +66,83 @@ class game(Gtk.Box):
self.add_controller(self.event_contoller_motion) self.add_controller(self.event_contoller_motion)
self.overlay.set_measure_overlay(self.play_revealer, True) self.overlay.set_measure_overlay(self.play_revealer, True)
self.button_play.connect("clicked", self.launch_game) self.set_play_label()
self.cover_button.connect("clicked", self.cover_button_clicked)
self.button_play.connect("clicked", self.button_play_clicked)
self.event_contoller_motion.connect("enter", self.show_play) self.event_contoller_motion.connect("enter", self.show_play)
self.event_contoller_motion.connect("leave", self.hide_play) self.event_contoller_motion.connect("leave", self.hide_play)
self.parent_widget.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) 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):
games_dir = os.path.join(
os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges",
"games",
)
if not os.path.exists(games_dir):
return
with open(os.path.join(games_dir, f"{self.game_id}.json"), "r") as open_file:
data = json.loads(open_file.read())
data["hidden"] = not data["hidden"]
save_game(data)
def get_cover(self):
# If the cover is already in memory, return
if self.game_id in self.parent_widget.pixbufs.keys():
return self.parent_widget.pixbufs[self.game_id]
# Create a new pixbuf
cover_path = os.path.join(
os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges",
"covers",
f"{self.game_id}.tiff",
)
if os.path.isfile(cover_path):
return GdkPixbuf.Pixbuf.new_from_file(cover_path)
# Return the placeholder pixbuf
return self.parent_widget.placeholder_pixbuf
def show_play(self, _widget, *_unused): def show_play(self, _widget, *_unused):
self.play_revealer.set_reveal_child(True) self.play_revealer.set_reveal_child(True)
self.title_revealer.set_reveal_child(False) self.title_revealer.set_reveal_child(False)
@@ -73,6 +152,28 @@ class game(Gtk.Box):
self.play_revealer.set_reveal_child(False) self.play_revealer.set_reveal_child(False)
self.title_revealer.set_reveal_child(True) self.title_revealer.set_reveal_child(True)
def launch_game(self, _widget): def launch_game(self, _widget, *_unused):
self.parent_widget.set_active_game(None, None, self.game_id) self.parent_widget.set_active_game(None, None, self.game_id)
self.parent_widget.get_application().on_launch_game_action(None) self.parent_widget.get_application().on_launch_game_action(None)
def cover_button_clicked(self, _widget):
if self.parent_widget.schema.get_boolean("cover-launches-game"):
self.launch_game(None)
else:
self.parent_widget.show_overview(None, self.game_id)
def button_play_clicked(self, _widget):
if self.parent_widget.schema.get_boolean("cover-launches-game"):
self.parent_widget.show_overview(None, self.game_id)
else:
self.launch_game(None)
def set_play_label(self):
if self.parent_widget.schema.get_boolean("cover-launches-game"):
self.button_play.set_label(_("Details"))
else:
self.button_play.set_label(_("Play"))
def schema_changed(self, _settings, key):
if key == "cover-launches-game":
self.set_play_label()

View File

@@ -1,6 +1,6 @@
# main.py # main.py
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -17,7 +17,6 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import os
import sys import sys
import time import time
@@ -26,17 +25,17 @@ import gi
gi.require_version("Gtk", "4.0") gi.require_version("Gtk", "4.0")
gi.require_version("Adw", "1") gi.require_version("Adw", "1")
# pylint: disable=wrong-import-position
from gi.repository import Adw, Gio, GLib, Gtk from gi.repository import Adw, Gio, GLib, Gtk
from .bottles_parser import bottles_parser from .bottles_parser import bottles_parser
from .create_details_window import create_details_window from .create_details_window import create_details_window
from .get_games import get_games from .get_games import get_games
from .heroic_parser import heroic_parser from .heroic_parser import heroic_parser
from .importer import Importer
from .preferences import PreferencesWindow from .preferences import PreferencesWindow
from .run_command import run_command from .save_game import save_game
from .save_games import save_games
from .steam_parser import steam_parser from .steam_parser import steam_parser
from .toggle_hidden import toggle_hidden
from .window import CartridgesWindow from .window import CartridgesWindow
@@ -50,24 +49,19 @@ class CartridgesApplication(Adw.Application):
self.create_action( self.create_action(
"preferences", self.on_preferences_action, ["<primary>comma"] "preferences", self.on_preferences_action, ["<primary>comma"]
) )
self.create_action("steam_import", self.on_steam_import_action)
self.create_action("heroic_import", self.on_heroic_import_action)
self.create_action("bottles_import", self.on_bottles_import_action)
self.create_action("launch_game", self.on_launch_game_action) self.create_action("launch_game", self.on_launch_game_action)
self.create_action("hide_game", self.on_hide_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("edit_details", self.on_edit_details_action)
self.create_action("add_game", self.on_add_game_action, ["<primary>n"]) 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", self.on_remove_game_action) self.create_action("remove_game", self.on_remove_game_action)
if os.name == "nt":
self.lookup_action("bottles_import").set_enabled(False)
self.win = None self.win = None
def do_activate(self): def do_activate(self): # pylint: disable=arguments-differ
# Create the main window # Create the main window
self.win = self.props.active_window self.win = self.props.active_window # pylint: disable=no-member
if not self.win: if not self.win:
self.win = CartridgesWindow(application=self) self.win = CartridgesWindow(application=self)
@@ -116,13 +110,14 @@ class CartridgesApplication(Adw.Application):
application_name=_("Cartridges"), application_name=_("Cartridges"),
application_icon="hu.kramo.Cartridges", application_icon="hu.kramo.Cartridges",
developer_name="kramo", developer_name="kramo",
version="0.1.3", version="1.2",
developers=[ developers=[
"kramo https://kramo.hu", "kramo https://kramo.hu",
"Paweł Lidwin https://github.com/imLinguin", "Paweł Lidwin https://github.com/imLinguin",
"Bananaman https://github.com/Bananaman",
], ],
designers=["kramo https://kramo.hu"], designers=["kramo https://kramo.hu"],
copyright="© 2022 kramo", copyright="© 2022-2023 kramo",
license_type=Gtk.License.GPL_3_0, license_type=Gtk.License.GPL_3_0,
issue_url="https://github.com/kra-mo/cartridges/issues/new", issue_url="https://github.com/kra-mo/cartridges/issues/new",
website="https://github.com/kra-mo/cartridges", website="https://github.com/kra-mo/cartridges",
@@ -131,34 +126,22 @@ class CartridgesApplication(Adw.Application):
) )
about.present() about.present()
def on_preferences_action(self, _widget, _callback=None): def on_preferences_action(self, _widget, _callback=None, page_name=None):
PreferencesWindow(self.win).present() win = PreferencesWindow(self.win)
if page_name:
def on_steam_import_action(self, _widget, _callback=None): win.set_visible_page_name(page_name)
# Handle the updating of games inside of the module because the function is async win.present()
steam_parser(self.win, self.on_steam_import_action)
def on_heroic_import_action(self, _widget, _callback=None):
games = heroic_parser(self.win, self.on_heroic_import_action)
save_games(games)
self.win.update_games(games.keys())
def on_bottles_import_action(self, _widget, _callback=None):
games = bottles_parser(self.win, self.on_bottles_import_action)
save_games(games)
self.win.update_games(games.keys())
def on_launch_game_action(self, _widget, _callback=None): def on_launch_game_action(self, _widget, _callback=None):
# Launch the game and update the last played value # Launch the game and update the last played value
game_id = self.win.active_game_id game_id = self.win.active_game_id
data = get_games([game_id])[game_id] data = get_games([game_id])[game_id]
data["last_played"] = int(time.time()) data["last_played"] = int(time.time())
save_games({game_id: data}) save_game(data)
run_command(self.win.games[self.win.active_game_id].executable) self.win.games[game_id].launch()
self.win.update_games([game_id]) self.win.update_games([game_id])
@@ -168,7 +151,7 @@ class CartridgesApplication(Adw.Application):
def on_hide_game_action(self, _widget, _callback=None): def on_hide_game_action(self, _widget, _callback=None):
if self.win.stack.get_visible_child() == self.win.overview: if self.win.stack.get_visible_child() == self.win.overview:
self.win.on_go_back_action(None, None) self.win.on_go_back_action(None, None)
toggle_hidden(self.win.active_game_id) self.win.games[self.win.active_game_id].toggle_hidden()
self.win.update_games([self.win.active_game_id]) self.win.update_games([self.win.active_game_id])
def on_edit_details_action(self, _widget, _callback=None): def on_edit_details_action(self, _widget, _callback=None):
@@ -177,21 +160,40 @@ class CartridgesApplication(Adw.Application):
def on_add_game_action(self, _widget, _callback=None): def on_add_game_action(self, _widget, _callback=None):
create_details_window(self.win) create_details_window(self.win)
def on_remove_game_action(self, _widget, _callback=None): 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_parser(self.win)
if self.win.schema.get_boolean("heroic"):
heroic_parser(self.win)
if self.win.schema.get_boolean("bottles"):
bottles_parser(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 # Add "removed=True" to the game properties so it can be deleted on next init
game_id = self.win.active_game_id game_id = self.win.active_game_id
data = get_games([game_id])[game_id] data = get_games([game_id])[game_id]
data["removed"] = True data["removed"] = True
save_games({game_id: data}) save_game(data)
self.win.update_games([game_id]) self.win.update_games([game_id])
if self.win.stack.get_visible_child() == self.win.overview: if self.win.stack.get_visible_child() == self.win.overview:
self.win.on_go_back_action(None, None) self.win.on_go_back_action(None, None)
title = self.win.games[game_id].name
# The variable is the title of the game # The variable is the title of the game
title = {self.win.games[game_id].name}
toast = Adw.Toast.new(_(f"{title} removed")) toast = Adw.Toast.new(_(f"{title} removed"))
toast.set_button_label(_("Undo")) toast.set_button_label(_("Undo"))
toast.connect("button-clicked", self.win.on_undo_remove_action, game_id) toast.connect("button-clicked", self.win.on_undo_remove_action, game_id)
@@ -215,6 +217,6 @@ class CartridgesApplication(Adw.Application):
self.set_accels_for_action(f"win.{name}", shortcuts) self.set_accels_for_action(f"win.{name}", shortcuts)
def main(version): def main(version): # pylint: disable=unused-argument
app = CartridgesApplication() app = CartridgesApplication()
return app.run(sys.argv) return app.run(sys.argv)

View File

@@ -22,15 +22,13 @@ cartridges_sources = [
'window.py', 'window.py',
'preferences.py', 'preferences.py',
'game.py', 'game.py',
'utils/importer.py',
'utils/steam_parser.py', 'utils/steam_parser.py',
'utils/heroic_parser.py', 'utils/heroic_parser.py',
'utils/bottles_parser.py', 'utils/bottles_parser.py',
'utils/run_command.py',
'utils/get_games.py', 'utils/get_games.py',
'utils/get_cover.py', 'utils/save_game.py',
'utils/save_games.py',
'utils/save_cover.py', 'utils/save_cover.py',
'utils/toggle_hidden.py',
'utils/create_dialog.py', 'utils/create_dialog.py',
'utils/create_details_window.py' 'utils/create_details_window.py'
] ]

View File

@@ -1,6 +1,6 @@
# preferences.py # preferences.py
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -21,92 +21,243 @@ import os
from gi.repository import Adw, Gio, GLib, Gtk from gi.repository import Adw, Gio, GLib, Gtk
from .create_dialog import create_dialog
from .get_games import get_games
from .save_game import save_game
class ImportPreferences:
def __init__(
self,
window,
source_id,
name,
install_key,
paths,
expander_row,
file_chooser_button,
config=False,
):
def set_dir(_source, result, _unused):
try:
path = window.file_chooser.select_folder_finish(result).get_path()
def response(widget, response):
if response == "choose_folder":
window.choose_folder(widget, set_dir)
if not any(
os.path.exists(os.path.join(path, current_path))
for current_path in paths
):
create_dialog(
window.parent_widget,
_("Installation Not Found"),
# The variable is the name of the game launcher
_(f"Select the {name} configuration directory.") if config
# The variable is the name of the game launcher
else _(f"Select the {name} data directory."),
"choose_folder",
_("Set Location"),
).connect("response", response)
else:
window.schema.set_string(
install_key,
path,
)
except GLib.GError:
pass
window.schema.bind(
source_id,
expander_row,
"enable-expansion",
Gio.SettingsBindFlags.DEFAULT,
)
file_chooser_button.connect("clicked", window.choose_folder, set_dir)
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/preferences.ui") @Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/preferences.ui")
class PreferencesWindow(Adw.PreferencesWindow): class PreferencesWindow(Adw.PreferencesWindow):
__gtype_name__ = "PreferencesWindow" __gtype_name__ = "PreferencesWindow"
page = Gtk.Template.Child() general_page = Gtk.Template.Child()
bottles_group = Gtk.Template.Child() import_page = Gtk.Template.Child()
sources_group = Gtk.Template.Child()
exit_after_launch_switch = Gtk.Template.Child() exit_after_launch_switch = Gtk.Template.Child()
import_epic_games_switch = Gtk.Template.Child() cover_launches_game_switch = Gtk.Template.Child()
import_gog_games_switch = Gtk.Template.Child() high_quality_images_switch = Gtk.Template.Child()
import_sideload_games_switch = Gtk.Template.Child() remove_all_games_button = Gtk.Template.Child()
steam_expander_row = Gtk.Template.Child()
steam_file_chooser_button = 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()
heroic_expander_row = Gtk.Template.Child()
heroic_file_chooser_button = 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()
bottles_expander_row = Gtk.Template.Child()
bottles_file_chooser_button = Gtk.Template.Child() bottles_file_chooser_button = Gtk.Template.Child()
def __init__(self, parent_widget, **kwargs): def __init__(self, parent_widget, **kwargs):
super().__init__(**kwargs) super().__init__(**kwargs)
self.schema = parent_widget.schema
self.parent_widget = parent_widget
self.file_chooser = Gtk.FileDialog()
self.set_transient_for(parent_widget) self.set_transient_for(parent_widget)
schema = parent_widget.schema
schema.bind( 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 = []
# General
self.schema.bind(
"exit-after-launch", "exit-after-launch",
self.exit_after_launch_switch, self.exit_after_launch_switch,
"active", "active",
Gio.SettingsBindFlags.DEFAULT, Gio.SettingsBindFlags.DEFAULT,
) )
schema.bind( 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,
)
self.remove_all_games_button.connect("clicked", self.remove_all_games)
# Steam
ImportPreferences(
self,
"steam",
"Steam",
"steam-location",
[
"steamapps",
os.path.join("steam", "steamapps"),
os.path.join("Steam", "steamapps"),
],
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:
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
update_revealer()
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)
# Heroic
ImportPreferences(
self,
"heroic",
"Heroic",
"heroic-location",
["config.json"],
self.heroic_expander_row,
self.heroic_file_chooser_button,
True,
)
self.schema.bind(
"heroic-import-epic", "heroic-import-epic",
self.import_epic_games_switch, self.heroic_epic_switch,
"active", "active",
Gio.SettingsBindFlags.DEFAULT, Gio.SettingsBindFlags.DEFAULT,
) )
schema.bind( self.schema.bind(
"heroic-import-gog", "heroic-import-gog",
self.import_gog_games_switch, self.heroic_gog_switch,
"active", "active",
Gio.SettingsBindFlags.DEFAULT, Gio.SettingsBindFlags.DEFAULT,
) )
schema.bind( self.schema.bind(
"heroic-import-sideload", "heroic-import-sideload",
self.import_sideload_games_switch, self.heroic_sideloaded_switch,
"active", "active",
Gio.SettingsBindFlags.DEFAULT, Gio.SettingsBindFlags.DEFAULT,
) )
filechooser = Gtk.FileDialog() # Bottles
ImportPreferences(
def set_steam_dir(_source, result, _unused): self,
try: "bottles",
schema.set_string( "Bottles",
"steam-location", "bottles-location",
filechooser.select_folder_finish(result).get_path(), ["library.yml"],
) self.bottles_expander_row,
except GLib.GError: self.bottles_file_chooser_button,
pass
def set_heroic_dir(_source, result, _unused):
try:
schema.set_string(
"heroic-location",
filechooser.select_folder_finish(result).get_path(),
)
except GLib.GError:
pass
def set_bottles_dir(_source, result, _unused):
try:
schema.set_string(
"bottles-location",
filechooser.select_folder_finish(result).get_path(),
)
except GLib.GError:
pass
def choose_folder(_widget, function):
filechooser.select_folder(parent_widget, None, function, None)
self.steam_file_chooser_button.connect("clicked", choose_folder, set_steam_dir)
self.heroic_file_chooser_button.connect(
"clicked", choose_folder, set_heroic_dir
)
self.bottles_file_chooser_button.connect(
"clicked", choose_folder, set_bottles_dir
) )
if os.name == "nt": if os.name == "nt":
self.page.remove(self.bottles_group) self.sources_group.remove(self.bottles_expander_row)
def choose_folder(self, _widget, function):
self.file_chooser.select_folder(self.parent_widget, None, function, None)
def undo_remove_all(self, _widget, _unused):
for game_id in self.removed_games:
data = get_games([game_id])[game_id]
if "removed" in data.keys():
data.pop("removed")
save_game(data)
self.parent_widget.update_games(self.removed_games)
self.removed_games = []
self.toast.dismiss()
def remove_all_games(self, _widget):
for game in get_games().values():
if not "removed" in game.keys():
self.removed_games.append(game["game_id"])
game["removed"] = True
save_game(game)
self.parent_widget.update_games(self.parent_widget.games)
if self.parent_widget.stack.get_visible_child() == self.parent_widget.overview:
self.parent_widget.on_go_back_action(None, None)
self.add_toast(self.toast)

View File

View File

@@ -1,6 +1,6 @@
# bottles_parser.py # bottles_parser.py
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -21,24 +21,19 @@ import os
import time import time
import yaml import yaml
from gi.repository import GLib, Gtk
from .create_dialog import create_dialog
from .save_cover import save_cover
def bottles_parser(parent_widget, action): def bottles_parser(parent_widget):
schema = parent_widget.schema schema = parent_widget.schema
bottles_dir = os.path.expanduser(schema.get_string("bottles-location")) bottles_dir = os.path.expanduser(schema.get_string("bottles-location"))
def bottles_not_found(): if not os.path.isfile(os.path.join(bottles_dir, "library.yml")):
if os.path.exists( if os.path.exists(
os.path.expanduser("~/.var/app/com.usebottles.bottles/data/bottles/") os.path.expanduser("~/.var/app/com.usebottles.bottles/data/bottles/")
): ):
schema.set_string( schema.set_string(
"bottles-location", "~/.var/app/com.usebottles.bottles/data/bottles/" "bottles-location", "~/.var/app/com.usebottles.bottles/data/bottles/"
) )
action(None, None)
elif os.path.exists( elif os.path.exists(
os.path.join( os.path.join(
os.getenv("XDG_DATA_HOME") os.getenv("XDG_DATA_HOME")
@@ -54,77 +49,47 @@ def bottles_parser(parent_widget, action):
"bottles", "bottles",
), ),
) )
action(None, None)
else: else:
filechooser = Gtk.FileDialog.new() return
def set_bottles_dir(_source, result, _unused):
try:
schema.set_string(
"bottles-location",
filechooser.select_folder_finish(result).get_path(),
)
action(None, None)
except GLib.GError:
return
def choose_folder(_widget):
filechooser.select_folder(parent_widget, None, set_bottles_dir, None)
def response(widget, response):
if response == "choose_folder":
choose_folder(widget)
create_dialog(
parent_widget,
_("Couldn't Import Games"),
_("The Bottles directory cannot be found."),
"choose_folder",
_("Set Bottles Location"),
).connect("response", response)
if os.path.isfile(os.path.join(bottles_dir, "library.yml")):
pass
else:
bottles_not_found()
return {}
bottles_dir = os.path.expanduser(schema.get_string("bottles-location")) bottles_dir = os.path.expanduser(schema.get_string("bottles-location"))
bottles_games = {}
current_time = int(time.time()) current_time = int(time.time())
with open(os.path.join(bottles_dir, "library.yml"), "r") as open_file: with open(os.path.join(bottles_dir, "library.yml"), "r") as open_file:
data = open_file.read() data = open_file.read()
open_file.close()
library = yaml.load(data, Loader=yaml.Loader) library = yaml.load(data, Loader=yaml.Loader)
importer = parent_widget.importer
importer.total_queue += len(library)
importer.queue += len(library)
for game in library: for game in library:
game = library[game] game = library[game]
values = {} values = {}
values["game_id"] = "bottles_" + game["id"] values["game_id"] = f'bottles_{game["id"]}'
if ( if (
values["game_id"] in parent_widget.games values["game_id"] in parent_widget.games
and not parent_widget.games[values["game_id"]].removed and not parent_widget.games[values["game_id"]].removed
): ):
importer.save_game()
continue continue
values["name"] = game["name"] values["name"] = game["name"]
values["executable"] = ( values["executable"] = [
"xdg-open bottles:run/" + game["bottle"]["name"] + "/" + game["name"] "xdg-open",
) f'bottles:run/{game["bottle"]["name"]}/{game["name"]}',
]
values["hidden"] = False values["hidden"] = False
values["source"] = "bottles" values["source"] = "bottles"
values["added"] = current_time values["added"] = current_time
values["last_played"] = 0 values["last_played"] = 0
if game["thumbnail"]: if game["thumbnail"]:
save_cover( importer.save_cover(
values, values["game_id"],
parent_widget,
os.path.join( os.path.join(
bottles_dir, bottles_dir,
"bottles", "bottles",
@@ -133,27 +98,4 @@ def bottles_parser(parent_widget, action):
game["thumbnail"].split(":")[1], game["thumbnail"].split(":")[1],
), ),
) )
importer.save_game(values)
bottles_games[values["game_id"]] = values
if len(bottles_games) == 0:
create_dialog(
parent_widget,
_("No Games Found"),
_("No new games were found in the Bottles library."),
)
elif len(bottles_games) == 1:
create_dialog(
parent_widget,
_("Bottles Games Imported"),
_("Successfully imported 1 game."),
)
elif len(bottles_games) > 1:
games_no = str(len(bottles_games))
create_dialog(
parent_widget,
_("Bottles Games Imported"),
# The variable is the number of games
_(f"Successfully imported {games_no} games."),
)
return bottles_games

View File

@@ -1,6 +1,6 @@
# create_details_window.py # create_details_window.py
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -19,14 +19,14 @@
import json import json
import os import os
import shlex
import time import time
from gi.repository import Adw, GdkPixbuf, Gio, GLib, GObject, Gtk from gi.repository import Adw, GdkPixbuf, Gio, GLib, GObject, Gtk
from .create_dialog import create_dialog from .create_dialog import create_dialog
from .get_cover import get_cover
from .save_cover import save_cover from .save_cover import save_cover
from .save_games import save_games from .save_game import save_game
def create_details_window(parent_widget, game_id=None): def create_details_window(parent_widget, game_id=None):
@@ -46,13 +46,13 @@ def create_details_window(parent_widget, game_id=None):
apply_button = Gtk.Button.new_with_label(_("Confirm")) apply_button = Gtk.Button.new_with_label(_("Confirm"))
else: else:
window.set_title(_("Edit Game Details")) window.set_title(_("Edit Game Details"))
cover = Gtk.Picture.new_for_pixbuf(get_cover(game_id, parent_widget)) cover = Gtk.Picture.new_for_pixbuf(parent_widget.games[game_id].pixbuf)
developer = Gtk.Entry.new_with_buffer( developer = Gtk.Entry.new_with_buffer(
Gtk.EntryBuffer.new(games[game_id].developer, -1) Gtk.EntryBuffer.new(games[game_id].developer, -1)
) )
name = Gtk.Entry.new_with_buffer(Gtk.EntryBuffer.new(games[game_id].name, -1)) name = Gtk.Entry.new_with_buffer(Gtk.EntryBuffer.new(games[game_id].name, -1))
executable = Gtk.Entry.new_with_buffer( executable = Gtk.Entry.new_with_buffer(
Gtk.EntryBuffer.new((games[game_id].executable), -1) Gtk.EntryBuffer.new(shlex.join(games[game_id].executable), -1)
) )
apply_button = Gtk.Button.new_with_label(_("Apply")) apply_button = Gtk.Button.new_with_label(_("Apply"))
@@ -108,17 +108,22 @@ def create_details_window(parent_widget, game_id=None):
css_classes=["flat", "circular"], css_classes=["flat", "circular"],
) )
# Translate this string as you would translate "file"
file_name = _("file.txt") file_name = _("file.txt")
# As in software # As in software
exe_name = _("program") exe_name = _("program")
if os.name == "nt": if os.name == "nt":
exe_name += ".exe" exe_name += ".exe"
# Translate this string as you would translate "path to {exe_name}"
exe_path = _(f"C:\\path\\to\\{exe_name}") exe_path = _(f"C:\\path\\to\\{exe_name}")
# Translate this string as you would translate "path to {file_name}"
file_path = _(f"C:\\path\\to\\{file_name}") file_path = _(f"C:\\path\\to\\{file_name}")
command = "start" command = "start"
else: else:
# Translate this string as you would translate "path to {exe_name}"
exe_path = _(f"/path/to/{exe_name}") exe_path = _(f"/path/to/{exe_name}")
# Translate this string as you would translate "path to {file_name}"
file_path = _(f"/path/to/{file_name}") file_path = _(f"/path/to/{file_name}")
command = "xdg-open" command = "xdg-open"
@@ -201,8 +206,22 @@ def create_details_window(parent_widget, game_id=None):
final_developer = developer.get_buffer().get_text() final_developer = developer.get_buffer().get_text()
final_executable = executable.get_buffer().get_text() final_executable = executable.get_buffer().get_text()
if game_id is 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 game_id is None
else _("Couldn't Apply Preferences"),
f'{_("Executable")}: {exception}.',
)
return
if game_id is None:
if final_name == "": if final_name == "":
create_dialog( create_dialog(
window, _("Couldn't Add Game"), _("Game title cannot be empty.") window, _("Couldn't Add Game"), _("Game title cannot be empty.")
@@ -223,7 +242,7 @@ def create_details_window(parent_widget, game_id=None):
if "imported_" in game: if "imported_" in game:
numbers.append(int(game.replace("imported_", ""))) numbers.append(int(game.replace("imported_", "")))
game_id = "imported_" + str(max(numbers) + 1) game_id = f"imported_{str(max(numbers) + 1)}"
values["game_id"] = game_id values["game_id"] = game_id
values["hidden"] = False values["hidden"] = False
@@ -249,11 +268,11 @@ def create_details_window(parent_widget, game_id=None):
return return
if pixbuf is not None: if pixbuf is not None:
save_cover(None, parent_widget, None, pixbuf, game_id) save_cover(parent_widget, game_id, None, pixbuf)
values["name"] = final_name values["name"] = final_name
values["developer"] = final_developer if final_developer else None values["developer"] = final_developer or None
values["executable"] = final_executable values["executable"] = final_executable_split
path = os.path.join( path = os.path.join(
os.path.join( os.path.join(
@@ -261,18 +280,17 @@ def create_details_window(parent_widget, game_id=None):
or os.path.expanduser(os.path.join("~", ".local", "share")), or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges", "cartridges",
"games", "games",
game_id + ".json", f"{game_id}.json",
) )
) )
if os.path.exists(path): if os.path.exists(path):
with open(path, "r") as open_file: with open(path, "r") as open_file:
data = json.loads(open_file.read()) data = json.loads(open_file.read())
open_file.close()
data.update(values) data.update(values)
save_games({game_id: data}) save_game(data)
else: else:
save_games({game_id: values}) save_game(values)
parent_widget.update_games([game_id]) parent_widget.update_games([game_id])
if parent_widget.stack.get_visible_child() == parent_widget.overview: if parent_widget.stack.get_visible_child() == parent_widget.overview:

View File

@@ -1,6 +1,6 @@
# create_dialog.py # create_dialog.py
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -17,15 +17,15 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
from gi.repository import Adw, Gtk from gi.repository import Adw
def create_dialog(parent_widget, heading, body, extra_option=None, extra_label=None): def create_dialog(parent_widget, heading, body, extra_option=None, extra_label=None):
dialog = Adw.MessageDialog.new(parent_widget, _(heading), body) dialog = Adw.MessageDialog.new(parent_widget, heading, body)
dialog.add_response("dismiss", _("Dismiss")) dialog.add_response("dismiss", _("Dismiss"))
if extra_option: if extra_option:
dialog.add_response(extra_option, _(extra_label)) dialog.add_response(extra_option, _(extra_label))
Gtk.Window.present(dialog) dialog.present()
return dialog return dialog

View File

@@ -1,40 +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
import os
from gi.repository import GdkPixbuf
def get_cover(game_id, parent_widget):
if game_id in parent_widget.pixbufs.keys():
return parent_widget.pixbufs[game_id]
cover_path = os.path.join(
os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges",
"covers",
game_id + ".tiff",
)
if not os.path.isfile(cover_path):
return parent_widget.placeholder_pixbuf
return GdkPixbuf.Pixbuf.new_from_file(cover_path)

View File

@@ -1,6 +1,6 @@
# get_games.py # get_games.py
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -33,16 +33,14 @@ def get_games(game_ids=None):
if not os.path.exists(games_dir): if not os.path.exists(games_dir):
return {} return {}
if not game_ids: if game_ids:
game_files = os.listdir(games_dir) game_files = [f"{game_id}.json" for game_id in game_ids]
else: else:
game_files = [] game_files = os.listdir(games_dir)
for game_id in game_ids:
game_files.append(game_id + ".json")
for game in game_files: for game in game_files:
with open(os.path.join(games_dir, game), "r") as open_file: with open(os.path.join(games_dir, game), "r") as open_file:
data = json.loads(open_file.read()) data = json.loads(open_file.read())
open_file.close()
games[data["game_id"]] = data games[data["game_id"]] = data
return games return games

View File

@@ -1,6 +1,6 @@
# heroic_parser.py # heroic_parser.py
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -22,17 +22,12 @@ import json
import os import os
import time import time
from gi.repository import GLib, Gtk
from .create_dialog import create_dialog def heroic_parser(parent_widget):
from .save_cover import save_cover
def heroic_parser(parent_widget, action):
schema = parent_widget.schema schema = parent_widget.schema
heroic_dir = os.path.expanduser(schema.get_string("heroic-location")) heroic_dir = os.path.expanduser(schema.get_string("heroic-location"))
def heroic_not_found(): if not os.path.exists(os.path.join(heroic_dir, "config.json")):
if os.path.exists( if os.path.exists(
os.path.expanduser("~/.var/app/com.heroicgameslauncher.hgl/config/heroic/") os.path.expanduser("~/.var/app/com.heroicgameslauncher.hgl/config/heroic/")
): ):
@@ -40,7 +35,6 @@ def heroic_parser(parent_widget, action):
"heroic-location", "heroic-location",
"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/", "~/.var/app/com.heroicgameslauncher.hgl/config/heroic/",
) )
action(None, None)
elif os.path.exists( elif os.path.exists(
os.path.join( os.path.join(
os.getenv("XDG_CONFIG_HOME") os.getenv("XDG_CONFIG_HOME")
@@ -56,51 +50,18 @@ def heroic_parser(parent_widget, action):
"heroic", "heroic",
), ),
) )
action(None, None)
elif os.path.exists(os.path.join(os.getenv("appdata"), "heroic")): elif os.path.exists(os.path.join(os.getenv("appdata"), "heroic")):
schema.set_string( schema.set_string(
"heroic-location", os.path.join(os.getenv("appdata"), "heroic") "heroic-location", os.path.join(os.getenv("appdata"), "heroic")
) )
action(None, None)
else: else:
filechooser = Gtk.FileDialog.new() return
def set_heroic_dir(_source, result, _unused):
try:
schema.set_string(
"heroic-location",
filechooser.select_folder_finish(result).get_path(),
)
action(None, None)
except GLib.GError:
return
def choose_folder(_widget):
filechooser.select_folder(parent_widget, None, set_heroic_dir, None)
def response(widget, response):
if response == "choose_folder":
choose_folder(widget)
create_dialog(
parent_widget,
_("Couldn't Import Games"),
_("The Heroic directory cannot be found."),
"choose_folder",
_("Set Heroic Location"),
).connect("response", response)
if os.path.exists(os.path.join(heroic_dir, "config.json")):
pass
else:
heroic_not_found()
return {}
heroic_dir = os.path.expanduser(schema.get_string("heroic-location")) heroic_dir = os.path.expanduser(schema.get_string("heroic-location"))
heroic_games = {}
current_time = int(time.time()) current_time = int(time.time())
importer = parent_widget.importer
# Import Epic games # Import Epic games
if not schema.get_boolean("heroic-import-epic"): if not schema.get_boolean("heroic-import-epic"):
pass pass
@@ -109,43 +70,53 @@ def heroic_parser(parent_widget, action):
os.path.join(heroic_dir, "lib-cache", "library.json"), "r" os.path.join(heroic_dir, "lib-cache", "library.json"), "r"
) as open_file: ) as open_file:
data = open_file.read() data = open_file.read()
open_file.close()
library = json.loads(data) library = json.loads(data)
for game in library["library"]: try:
if not game["is_installed"]: for game in library["library"]:
continue if not game["is_installed"]:
continue
values = {} importer.total_queue += 1
importer.queue += 1
app_name = game["app_name"] values = {}
values["game_id"] = "heroic_epic_" + app_name
if ( app_name = game["app_name"]
values["game_id"] in parent_widget.games values["game_id"] = f"heroic_epic_{app_name}"
and not parent_widget.games[values["game_id"]].removed
):
continue
values["name"] = game["title"] if (
values["developer"] = game["developer"] values["game_id"] in parent_widget.games
values["executable"] = "xdg-open heroic://launch/" + app_name and not parent_widget.games[values["game_id"]].removed
values["hidden"] = False ):
values["source"] = "heroic_epic" importer.save_game()
values["added"] = current_time continue
values["last_played"] = 0
image_path = os.path.join( values["name"] = game["title"]
heroic_dir, values["developer"] = game["developer"]
"images-cache", values["executable"] = (
hashlib.sha256( ["start", f"heroic://launch/{app_name}"]
(game["art_square"] + "?h=400&resize=1&w=300").encode() if os.name == "nt"
).hexdigest(), else ["xdg-open", f"heroic://launch/{app_name}"]
) )
if os.path.exists(image_path): values["hidden"] = False
save_cover(values, parent_widget, image_path) values["source"] = "heroic_epic"
values["added"] = current_time
values["last_played"] = 0
heroic_games[values["game_id"]] = values image_path = os.path.join(
heroic_dir,
"images-cache",
hashlib.sha256(
(f'{game["art_square"]}?h=400&resize=1&w=300').encode()
).hexdigest(),
)
if os.path.exists(image_path):
importer.save_cover(values["game_id"], image_path)
importer.save_game(values)
except KeyError:
pass
# Import GOG games # Import GOG games
if not schema.get_boolean("heroic-import-gog"): if not schema.get_boolean("heroic-import-gog"):
@@ -155,18 +126,22 @@ def heroic_parser(parent_widget, action):
os.path.join(heroic_dir, "gog_store", "installed.json"), "r" os.path.join(heroic_dir, "gog_store", "installed.json"), "r"
) as open_file: ) as open_file:
data = open_file.read() data = open_file.read()
open_file.close()
installed = json.loads(data) installed = json.loads(data)
importer.total_queue += len(installed["installed"])
importer.queue += len(installed["installed"])
for item in installed["installed"]: for item in installed["installed"]:
values = {} values = {}
app_name = item["appName"] app_name = item["appName"]
values["game_id"] = "heroic_gog_" + app_name values["game_id"] = f"heroic_gog_{app_name}"
if ( if (
values["game_id"] in parent_widget.games values["game_id"] in parent_widget.games
and not parent_widget.games[values["game_id"]].removed and not parent_widget.games[values["game_id"]].removed
): ):
importer.save_game()
continue continue
# Get game title and developer from library.json as they are not present in installed.json # Get game title and developer from library.json as they are not present in installed.json
@@ -174,7 +149,6 @@ def heroic_parser(parent_widget, action):
os.path.join(heroic_dir, "gog_store", "library.json"), "r" os.path.join(heroic_dir, "gog_store", "library.json"), "r"
) as open_file: ) as open_file:
data = open_file.read() data = open_file.read()
open_file.close()
library = json.loads(data) library = json.loads(data)
for game in library["games"]: for game in library["games"]:
if game["app_name"] == app_name: if game["app_name"] == app_name:
@@ -186,16 +160,20 @@ def heroic_parser(parent_widget, action):
hashlib.sha256(game["art_square"].encode()).hexdigest(), hashlib.sha256(game["art_square"].encode()).hexdigest(),
) )
if os.path.exists(image_path): if os.path.exists(image_path):
save_cover(values, parent_widget, image_path) importer.save_cover(values["game_id"], image_path)
break break
values["executable"] = "xdg-open heroic://launch/" + app_name values["executable"] = (
["start", f"heroic://launch/{app_name}"]
if os.name == "nt"
else ["xdg-open", f"heroic://launch/{app_name}"]
)
values["hidden"] = False values["hidden"] = False
values["source"] = "heroic_gog" values["source"] = "heroic_gog"
values["added"] = current_time values["added"] = current_time
values["last_played"] = 0 values["last_played"] = 0
heroic_games[values["game_id"]] = values importer.save_game(values)
# Import sideloaded games # Import sideloaded games
if not schema.get_boolean("heroic-import-sideload"): if not schema.get_boolean("heroic-import-sideload"):
@@ -205,22 +183,30 @@ def heroic_parser(parent_widget, action):
os.path.join(heroic_dir, "sideload_apps", "library.json"), "r" os.path.join(heroic_dir, "sideload_apps", "library.json"), "r"
) as open_file: ) as open_file:
data = open_file.read() data = open_file.read()
open_file.close()
library = json.loads(data) library = json.loads(data)
importer.total_queue += len(library["games"])
importer.queue += len(library["games"])
for item in library["games"]: for item in library["games"]:
values = {} values = {}
app_name = item["app_name"] app_name = item["app_name"]
values["game_id"] = "heroic_sideload_" + app_name values["game_id"] = f"heroic_sideload_{app_name}"
if ( if (
values["game_id"] in parent_widget.games values["game_id"] in parent_widget.games
and not parent_widget.games[values["game_id"]].removed and not parent_widget.games[values["game_id"]].removed
): ):
importer.save_game()
continue continue
values["name"] = item["title"] values["name"] = item["title"]
values["executable"] = "xdg-open heroic://launch/" + app_name values["executable"] = (
["start", f"heroic://launch/{app_name}"]
if os.name == "nt"
else ["xdg-open", f"heroic://launch/{app_name}"]
)
values["hidden"] = False values["hidden"] = False
values["source"] = "heroic_sideload" values["source"] = "heroic_sideload"
values["added"] = current_time values["added"] = current_time
@@ -231,28 +217,6 @@ def heroic_parser(parent_widget, action):
hashlib.sha256(item["art_square"].encode()).hexdigest(), hashlib.sha256(item["art_square"].encode()).hexdigest(),
) )
if os.path.exists(image_path): if os.path.exists(image_path):
save_cover(values, parent_widget, image_path) importer.save_cover(values["game_id"], image_path)
heroic_games[values["game_id"]] = values importer.save_game(values)
if len(heroic_games) == 0:
create_dialog(
parent_widget,
_("No Games Found"),
_("No new games were found in the Heroic library."),
)
elif len(heroic_games) == 1:
create_dialog(
parent_widget,
_("Heroic Games Imported"),
_("Successfully imported 1 game."),
)
elif len(heroic_games) > 1:
games_no = str(len(heroic_games))
create_dialog(
parent_widget,
_("Heroic Games Imported"),
# The variable is the number of games
_(f"Successfully imported {games_no} games."),
)
return heroic_games

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

@@ -0,0 +1,97 @@
# importer.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
from gi.repository import Adw, Gtk
from .create_dialog import create_dialog
from .save_cover import save_cover
from .save_game import save_game
class Importer:
def __init__(self, parent_widget):
self.parent_widget = parent_widget
self.total_queue = 0
self.queue = 0
self.games_no = 0
self.blocker = False
self.progressbar = Gtk.ProgressBar(margin_start=12, margin_end=12)
import_statuspage = Adw.StatusPage(
title=_("Importing Games…"),
child=self.progressbar,
)
self.import_dialog = Adw.Window(
content=import_statuspage,
modal=True,
default_width=350,
default_height=-1,
transient_for=parent_widget,
deletable=False,
)
self.import_dialog.present()
def save_cover(self, game_id, cover_path):
save_cover(self.parent_widget, game_id, cover_path)
def save_game(self, values=None):
if values:
self.games_no += 1
save_game(values)
self.parent_widget.update_games([values["game_id"]])
if "blacklisted" in values.keys():
self.games_no -= 1
self.queue -= 1
self.progressbar.set_fraction(1 - (self.queue / self.total_queue))
if self.queue == 0 and not self.blocker:
self.import_dialog.close()
def response(_widget, response):
if response == "open_preferences":
self.parent_widget.get_application().on_preferences_action(
None, page_name="import"
)
if self.games_no == 0:
create_dialog(
self.parent_widget,
_("No Games Found"),
_("No new games were found on your system."),
"open_preferences",
_("Preferences"),
).connect("response", response)
elif self.games_no == 1:
create_dialog(
self.parent_widget,
_("Game Imported"),
_("Successfully imported 1 game."),
)
elif self.games_no > 1:
games_no = self.games_no
create_dialog(
self.parent_widget,
_("Games Imported"),
# The variable is the number of games
_(f"Successfully imported {games_no} games."),
)

View File

@@ -1,37 +0,0 @@
# run_command.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
import os
import subprocess
import sys
from gi.repository import Gio
def run_command(executable):
subprocess.Popen(
["flatpak-spawn --host " + executable]
if os.getenv("FLATPAK_ID") == "hu.kramo.Cartridges"
else [executable],
shell=True,
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()

View File

@@ -1,6 +1,6 @@
# save_cover.py # save_cover.py
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -22,31 +22,29 @@ import os
from gi.repository import GdkPixbuf, Gio from gi.repository import GdkPixbuf, Gio
def save_cover(game, parent_widget, file_path, pixbuf=None, game_id=None): def save_cover(parent_widget, game_id, cover_path, pixbuf=None):
covers_dir = os.path.join( covers_dir = os.path.join(
os.getenv("XDG_DATA_HOME") os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")), or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges", "cartridges",
"covers", "covers",
) )
if not os.path.exists(covers_dir): if not os.path.exists(covers_dir):
os.makedirs(covers_dir) os.makedirs(covers_dir)
if game_id is None:
game_id = game["game_id"]
if pixbuf is None: if pixbuf is None:
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(file_path, 600, 900, False) pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(cover_path, 400, 600, False)
def cover_callback(*_unused): def cover_callback(*_unused):
pass pass
open_file = Gio.File.new_for_path(os.path.join(covers_dir, game_id + ".tiff")) open_file = Gio.File.new_for_path(os.path.join(covers_dir, f"{game_id}.tiff"))
parent_widget.pixbufs[game_id] = pixbuf parent_widget.pixbufs[game_id] = pixbuf
pixbuf.save_to_streamv_async( pixbuf.save_to_streamv_async(
open_file.replace(None, False, Gio.FileCreateFlags.NONE), open_file.replace(None, False, Gio.FileCreateFlags.NONE),
"tiff", "tiff",
["compression"], ["compression"],
["7"], ["8"] if parent_widget.schema.get_boolean("high-quality-images") else ["7"],
callback=cover_callback, callback=cover_callback,
) )

View File

@@ -1,6 +1,6 @@
# save_games.py # save_game.py
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@ import json
import os import os
def save_games(games): def save_game(game):
games_dir = os.path.join( games_dir = os.path.join(
os.getenv("XDG_DATA_HOME") os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")), or os.path.expanduser(os.path.join("~", ".local", "share")),
@@ -32,7 +32,5 @@ def save_games(games):
if not os.path.exists(games_dir): if not os.path.exists(games_dir):
os.makedirs(games_dir) os.makedirs(games_dir)
for game in games: with open(os.path.join(games_dir, f'{game["game_id"]}.json'), "w") as open_file:
with open(os.path.join(games_dir, game + ".json"), "w") as open_file: open_file.write(json.dumps(game, indent=4, sort_keys=True))
open_file.write(json.dumps(games[game], indent=4, sort_keys=True))
open_file.close()

View File

@@ -1,6 +1,6 @@
# steam_parser.py # steam_parser.py
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -23,14 +23,10 @@ import re
import time import time
import urllib.request import urllib.request
from gi.repository import Adw, Gio, GLib, Gtk from gi.repository import Gio, GLib
from .create_dialog import create_dialog
from .save_cover import save_cover
from .save_games import save_games
def upadte_values_from_data(content, values): def update_values_from_data(content, values):
basic_data = json.loads(content)[values["appid"]] basic_data = json.loads(content)[values["appid"]]
if not basic_data["success"]: if not basic_data["success"]:
values["blacklisted"] = True values["blacklisted"] = True
@@ -44,17 +40,18 @@ def upadte_values_from_data(content, values):
return values return values
def get_game(task, datatypes, current_time, parent_widget, appmanifest, steam_dir): def get_game(
task, datatypes, current_time, parent_widget, appmanifest, steam_dir, importer
):
values = {} values = {}
with open(appmanifest, "r") as open_file: with open(appmanifest, "r") as open_file:
data = open_file.read() data = open_file.read()
open_file.close()
for datatype in datatypes: for datatype in datatypes:
value = re.findall('"' + datatype + '"\t\t"(.*)"\n', data) value = re.findall(f'"{datatype}"\t\t"(.*)"\n', data)
values[datatype] = value[0] values[datatype] = value[0]
values["game_id"] = "steam_" + values["appid"] values["game_id"] = f'steam_{values["appid"]}'
if ( if (
values["game_id"] in parent_widget.games values["game_id"] in parent_widget.games
@@ -63,13 +60,17 @@ def get_game(task, datatypes, current_time, parent_widget, appmanifest, steam_di
task.return_value(None) task.return_value(None)
return return
values["executable"] = "xdg-open steam://rungameid/" + values["appid"] values["executable"] = (
["start", f'steam://rungameid/{values["appid"]}']
if os.name == "nt"
else ["xdg-open", f'steam://rungameid/{values["appid"]}']
)
values["hidden"] = False values["hidden"] = False
values["source"] = "steam" values["source"] = "steam"
values["added"] = current_time values["added"] = current_time
values["last_played"] = 0 values["last_played"] = 0
url = "https://store.steampowered.com/api/appdetails?appids=" + values["appid"] url = f'https://store.steampowered.com/api/appdetails?appids={values["appid"]}'
# On Linux the request is made through gvfs so the app can run without network permissions # On Linux the request is made through gvfs so the app can run without network permissions
if os.name == "nt": if os.name == "nt":
@@ -86,24 +87,23 @@ def get_game(task, datatypes, current_time, parent_widget, appmanifest, steam_di
content = None content = None
if content: if content:
values = upadte_values_from_data(content, values) values = update_values_from_data(content, values)
if os.path.isfile( if os.path.isfile(
os.path.join( os.path.join(
steam_dir, steam_dir,
"appcache", "appcache",
"librarycache", "librarycache",
values["appid"] + "_library_600x900.jpg", f'{values["appid"]}_library_600x900.jpg',
) )
): ):
save_cover( importer.save_cover(
values, values["game_id"],
parent_widget,
os.path.join( os.path.join(
steam_dir, steam_dir,
"appcache", "appcache",
"librarycache", "librarycache",
values["appid"] + "_library_600x900.jpg", f'{values["appid"]}_library_600x900.jpg',
), ),
) )
@@ -111,81 +111,45 @@ def get_game(task, datatypes, current_time, parent_widget, appmanifest, steam_di
return return
def get_games_async(parent_widget, appmanifests, steam_dir, import_dialog): def get_games_async(parent_widget, appmanifests, steam_dir, importer):
datatypes = ["appid", "name"] datatypes = ["appid", "name"]
current_time = int(time.time()) current_time = int(time.time())
steam_games = {}
queue = 0
# Wrap the function in another one as Gio.Task.run_in_thread does not allow for passing args # Wrap the function in another one as Gio.Task.run_in_thread does not allow for passing args
def create_func(datatypes, current_time, parent_widget, appmanifest, steam_dir): def create_func(datatypes, current_time, parent_widget, appmanifest, steam_dir):
def wrapper(task, *_unused): def wrapper(task, *_unused):
get_game( get_game(
task, datatypes, current_time, parent_widget, appmanifest, steam_dir task,
datatypes,
current_time,
parent_widget,
appmanifest,
steam_dir,
importer,
) )
return wrapper return wrapper
def update_games(_task, result, parent_widget): def update_games(_task, result):
nonlocal queue
nonlocal import_dialog
queue -= 1
try: try:
final_values = result.propagate_value()[1] final_values = result.propagate_value()[1]
steam_games[final_values["game_id"]] = final_values # No need for an if statement as final_value would be None for games we don't want to save
except (TypeError, GLib.GError): importer.save_game(final_values)
pass except GLib.GError: # Handle the exception for the timeout
importer.save_game()
if queue == 0:
save_games(steam_games)
parent_widget.update_games(steam_games)
import_dialog.close()
games_no = len(
{
game_id: final_values
for game_id, final_values in steam_games.items()
if "blacklisted" not in final_values.keys()
}
)
if games_no == 0:
create_dialog(
parent_widget,
_("No Games Found"),
_("No new games were found in the Steam library."),
)
elif games_no == 1:
create_dialog(
parent_widget,
_("Steam Games Imported"),
_("Successfully imported 1 game."),
)
elif games_no > 1:
games_no = str(games_no)
create_dialog(
parent_widget,
_("Steam Games Imported"),
# The variable is the number of games
_(f"Successfully imported {games_no} games."),
)
for appmanifest in appmanifests: for appmanifest in appmanifests:
queue += 1
cancellable = Gio.Cancellable.new() cancellable = Gio.Cancellable.new()
GLib.timeout_add_seconds(5, cancellable.cancel) GLib.timeout_add_seconds(5, cancellable.cancel)
task = Gio.Task.new(None, cancellable, update_games, parent_widget) task = Gio.Task.new(None, cancellable, update_games)
task.set_return_on_cancel(True) task.set_return_on_cancel(True)
task.run_in_thread( task.run_in_thread(
create_func(datatypes, current_time, parent_widget, appmanifest, steam_dir) create_func(datatypes, current_time, parent_widget, appmanifest, steam_dir)
) )
def steam_parser(parent_widget, action): def steam_parser(parent_widget):
schema = parent_widget.schema schema = parent_widget.schema
steam_dir = os.path.expanduser(schema.get_string("steam-location")) steam_dir = os.path.expanduser(schema.get_string("steam-location"))
@@ -196,42 +160,12 @@ def steam_parser(parent_widget, action):
schema.set_string( schema.set_string(
"steam-location", "~/.var/app/com.valvesoftware.Steam/data/Steam/" "steam-location", "~/.var/app/com.valvesoftware.Steam/data/Steam/"
) )
action(None, None)
elif os.path.exists(os.path.expanduser("~/.steam/steam/")): elif os.path.exists(os.path.expanduser("~/.steam/steam/")):
schema.set_string("steam-location", "~/.steam/steam/") schema.set_string("steam-location", "~/.steam/steam/")
action(None, None)
elif os.path.exists(os.path.join(os.getenv("programfiles(x86)"), "Steam")): elif os.path.exists(os.path.join(os.getenv("programfiles(x86)"), "Steam")):
schema.set_string( schema.set_string(
"steam-location", os.path.join(os.getenv("programfiles(x86)"), "Steam") "steam-location", os.path.join(os.getenv("programfiles(x86)"), "Steam")
) )
action(None, None)
else:
filechooser = Gtk.FileDialog.new()
def set_steam_dir(_source, result, _unused):
try:
schema.set_string(
"steam-location",
filechooser.select_folder_finish(result).get_path(),
)
action(None, None)
except GLib.GError:
return
def choose_folder(_widget):
filechooser.select_folder(parent_widget, None, set_steam_dir, None)
def response(widget, response):
if response == "choose_folder":
choose_folder(widget)
create_dialog(
parent_widget,
_("Couldn't Import Games"),
_("The Steam directory cannot be found."),
"choose_folder",
_("Set Steam Location"),
).connect("response", response)
if os.path.exists(os.path.join(steam_dir, "steamapps")): if os.path.exists(os.path.join(steam_dir, "steamapps")):
pass pass
@@ -241,31 +175,27 @@ def steam_parser(parent_widget, action):
schema.set_string("steam-location", os.path.join(steam_dir, "Steam")) schema.set_string("steam-location", os.path.join(steam_dir, "Steam"))
else: else:
steam_not_found() steam_not_found()
return {} steam_parser(parent_widget)
return
steam_dir = os.path.expanduser(schema.get_string("steam-location")) steam_dir = os.path.expanduser(schema.get_string("steam-location"))
import_statuspage = Adw.StatusPage(
title=_("Importing Games…"),
description=_("Talking to Steam"),
)
import_dialog = Adw.Window(
content=import_statuspage,
modal=True,
default_width=350,
default_height=200,
transient_for=parent_widget,
deletable=False,
)
import_dialog.present()
appmanifests = [] appmanifests = []
for open_file in os.listdir(os.path.join(steam_dir, "steamapps")): steam_dirs = schema.get_strv("steam-extra-dirs")
path = os.path.join(steam_dir, "steamapps", open_file) steam_dirs.append(steam_dir)
if os.path.isfile(path) and "appmanifest" in open_file:
appmanifests.append(path)
get_games_async(parent_widget, appmanifests, steam_dir, import_dialog) for directory in steam_dirs:
if not os.path.exists(os.path.join(directory, "steamapps")):
steam_dirs.remove(directory)
for directory in steam_dirs:
for open_file in os.listdir(os.path.join(directory, "steamapps")):
path = os.path.join(directory, "steamapps", open_file)
if os.path.isfile(path) and "appmanifest" in open_file:
appmanifests.append(path)
importer = parent_widget.importer
importer.total_queue += len(appmanifests)
importer.queue += len(appmanifests)
get_games_async(parent_widget, appmanifests, directory, importer)

View File

@@ -1,43 +0,0 @@
# toggle_hidden.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
import json
import os
def toggle_hidden(game):
games_dir = os.path.join(
os.getenv("XDG_DATA_HOME")
or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges",
"games",
)
if not os.path.exists(games_dir):
return
with open(os.path.join(games_dir, game + ".json"), "r") as open_file:
data = json.loads(open_file.read())
open_file.close()
data["hidden"] = not data["hidden"]
with open(os.path.join(games_dir, game + ".json"), "w") as open_file:
open_file.write(json.dumps(data, indent=4))
open_file.close()

View File

@@ -1,6 +1,6 @@
# window.py # window.py
# #
# Copyright 2022 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -23,9 +23,8 @@ import os
from gi.repository import Adw, GdkPixbuf, Gio, GLib, Gtk from gi.repository import Adw, GdkPixbuf, Gio, GLib, Gtk
from .game import game from .game import game
from .get_cover import get_cover
from .get_games import get_games from .get_games import get_games
from .save_games import save_games from .save_game import save_game
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/window.ui") @Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/window.ui")
@@ -42,7 +41,6 @@ class CartridgesWindow(Adw.ApplicationWindow):
library_bin = Gtk.Template.Child() library_bin = Gtk.Template.Child()
notice_empty = Gtk.Template.Child() notice_empty = Gtk.Template.Child()
notice_no_results = Gtk.Template.Child() notice_no_results = Gtk.Template.Child()
game_options = Gtk.Template.Child()
search_bar = Gtk.Template.Child() search_bar = Gtk.Template.Child()
search_entry = Gtk.Template.Child() search_entry = Gtk.Template.Child()
search_button = Gtk.Template.Child() search_button = Gtk.Template.Child()
@@ -63,7 +61,6 @@ class CartridgesWindow(Adw.ApplicationWindow):
hidden_scrolledwindow = Gtk.Template.Child() hidden_scrolledwindow = Gtk.Template.Child()
hidden_library_bin = Gtk.Template.Child() hidden_library_bin = Gtk.Template.Child()
hidden_notice_empty = Gtk.Template.Child() hidden_notice_empty = Gtk.Template.Child()
hidden_game_options = Gtk.Template.Child()
hidden_search_bar = Gtk.Template.Child() hidden_search_bar = Gtk.Template.Child()
hidden_search_entry = Gtk.Template.Child() hidden_search_entry = Gtk.Template.Child()
hidden_search_button = Gtk.Template.Child() hidden_search_button = Gtk.Template.Child()
@@ -86,7 +83,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
self.schema = Gio.Settings.new("hu.kramo.Cartridges") self.schema = Gio.Settings.new("hu.kramo.Cartridges")
self.placeholder_pixbuf = GdkPixbuf.Pixbuf.new_from_resource_at_scale( self.placeholder_pixbuf = GdkPixbuf.Pixbuf.new_from_resource_at_scale(
"/hu/kramo/Cartridges/library_placeholder.svg", 200, 300, False "/hu/kramo/Cartridges/library_placeholder.svg", 400, 600, False
) )
current_games = get_games() current_games = get_games()
for current_game in current_games: for current_game in current_games:
@@ -97,7 +94,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
or os.path.expanduser(os.path.join("~", ".local", "share")), or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges", "cartridges",
"games", "games",
current_game + ".json", f"{current_game}.json",
) )
) )
try: try:
@@ -107,7 +104,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
or os.path.expanduser(os.path.join("~", ".local", "share")), or os.path.expanduser(os.path.join("~", ".local", "share")),
"cartridges", "cartridges",
"covers", "covers",
current_game + ".dat", f"{current_game}.tiff",
) )
) )
except FileNotFoundError: except FileNotFoundError:
@@ -154,10 +151,8 @@ class CartridgesWindow(Adw.ApplicationWindow):
self.library.append(entry) self.library.append(entry)
else: else:
self.hidden_widgets[game_id] = entry self.hidden_widgets[game_id] = entry
entry.menu_button.set_menu_model(entry.hidden_game_options)
self.hidden_library.append(entry) self.hidden_library.append(entry)
entry.cover_button.connect("clicked", self.show_overview, game_id)
entry.menu_button.get_popover().connect( entry.menu_button.get_popover().connect(
"notify::visible", self.set_active_game, game_id "notify::visible", self.set_active_game, game_id
) )
@@ -188,7 +183,12 @@ class CartridgesWindow(Adw.ApplicationWindow):
text = self.search_entry.get_text().lower() text = self.search_entry.get_text().lower()
if text == "": if text == "":
filtered = True 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 filtered = True
else: else:
filtered = False filtered = False
@@ -206,7 +206,12 @@ class CartridgesWindow(Adw.ApplicationWindow):
text = self.hidden_search_entry.get_text().lower() text = self.hidden_search_entry.get_text().lower()
if text == "": if text == "":
filtered = True 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 filtered = True
else: else:
filtered = False filtered = False
@@ -242,17 +247,17 @@ class CartridgesWindow(Adw.ApplicationWindow):
else: else:
self.overview_developer.set_visible(False) self.overview_developer.set_visible(False)
if not current_game.hidden: self.overview_menu_button.set_menu_model(
self.overview_menu_button.set_menu_model(self.game_options) current_game.menu_button.get_menu_model()
else: )
self.overview_menu_button.set_menu_model(self.hidden_game_options)
if self.stack.get_visible_child() != self.overview: if self.stack.get_visible_child() != self.overview:
self.stack.set_transition_type(Gtk.StackTransitionType.OVER_LEFT) self.stack.set_transition_type(Gtk.StackTransitionType.OVER_LEFT)
self.stack.set_visible_child(self.overview) self.stack.set_visible_child(self.overview)
self.active_game_id = game_id self.active_game_id = game_id
pixbuf = get_cover(self.active_game_id, self)
pixbuf = current_game.pixbuf
self.overview_cover.set_pixbuf(pixbuf) self.overview_cover.set_pixbuf(pixbuf)
self.overview_blurred_cover.set_pixbuf( self.overview_blurred_cover.set_pixbuf(
pixbuf.scale_simple(2, 3, GdkPixbuf.InterpType.BILINEAR) pixbuf.scale_simple(2, 3, GdkPixbuf.InterpType.BILINEAR)
@@ -290,36 +295,28 @@ class CartridgesWindow(Adw.ApplicationWindow):
name2 = child2.get_first_child().name.lower() name2 = child2.get_first_child().name.lower()
if name1 > name2: if name1 > name2:
return -1 return -1
if name1 < name2: return 1 if name1 < name2 else self.a_z_sort(child1, child2)
return 1
return self.a_z_sort(child1, child2)
def newest_sort(self, child1, child2): def newest_sort(self, child1, child2):
time1 = self.games[child1.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 time2 = self.games[child2.get_first_child().game_id].added
if time1 > time2: if time1 > time2:
return -1 return -1
if time1 < time2: return 1 if time1 < time2 else self.a_z_sort(child1, child2)
return 1
return self.a_z_sort(child1, child2)
def oldest_sort(self, child1, child2): def oldest_sort(self, child1, child2):
time1 = self.games[child1.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 time2 = self.games[child2.get_first_child().game_id].added
if time1 > time2: if time1 > time2:
return 1 return 1
if time1 < time2: return -1 if time1 < time2 else self.a_z_sort(child1, child2)
return -1
return self.a_z_sort(child1, child2)
def last_played_sort(self, child1, child2): def last_played_sort(self, child1, child2):
time1 = self.games[child1.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 time2 = self.games[child2.get_first_child().game_id].last_played
if time1 > time2: if time1 > time2:
return -1 return -1
if time1 < time2: return 1 if time1 < time2 else self.a_z_sort(child1, child2)
return 1
return self.a_z_sort(child1, child2)
def on_go_back_action(self, _widget, _unused, _x=None, _y=None): def on_go_back_action(self, _widget, _unused, _x=None, _y=None):
if self.stack.get_visible_child() == self.hidden_library_view: if self.stack.get_visible_child() == self.hidden_library_view:
@@ -425,7 +422,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
return return
data = get_games([game_id])[game_id] data = get_games([game_id])[game_id]
data.pop("removed") data.pop("removed")
save_games({game_id: data}) save_game(data)
self.update_games([game_id]) self.update_games([game_id])
self.toasts[game_id].dismiss() self.toasts[game_id].dismiss()
self.toasts.pop(game_id) self.toasts.pop(game_id)