Compare commits

..

364 Commits

Author SHA1 Message Date
GeoffreyCoulaud
755b733023 🚧 Very unfinished initial work on yuzu source 2023-07-01 03:52:52 +02:00
Geoffrey Coulaud
ad38dc6d49 Merge pull request #125 from kra-mo/remove-allow-side-effects
Various cleanups
2023-07-01 03:12:08 +02:00
GeoffreyCoulaud
a7efe0a920 Removed allow_side_effects 2023-07-01 03:01:15 +02:00
GeoffreyCoulaud
8d082ab158 Removed win.games 2023-07-01 02:56:40 +02:00
GeoffreyCoulaud
b3c2437618 fixed flatpak location preferences 2023-07-01 02:55:42 +02:00
kramo
8e7d08b3b2 Fix indentation and trailing / for Flatpak 2023-07-01 00:10:36 +02:00
kramo
d22d3820b9 Merge pull request #124 from kra-mo/flatpak-source
Flatpak source
2023-06-30 23:50:58 +02:00
kramo
721a46c5b8 Finalize Flatpak source 2023-06-30 23:49:48 +02:00
kramo
8efb1c6c5e Fix Flatpak source for .svgs 2023-06-30 22:33:21 +02:00
kramo
07960182c7 Flatpak source cleanups 2023-06-30 21:13:06 +02:00
kramo
fccf302c4b Flatpak source initial work 2023-06-30 19:51:44 +02:00
kramo
7a1e5e0968 Show details of first search entry on eneter 2023-06-30 14:34:56 +02:00
kramo
19a1c856ac Merge pull request #123 from kra-mo/fix-importer-progress
Fixed importer progressbar stuck at 100%
2023-06-30 14:01:28 +02:00
GeoffreyCoulaud
e9b8c0d01e Fixed importer progressbar stuck at 100%
- Progress is 0 by default
- 10% for the sources progress
- 90% for the pipelines progress
2023-06-30 13:57:22 +02:00
kramo
95cd65bc7a Add min and max for luminance 2023-06-30 13:56:08 +02:00
kramo
073dbdb97b Merge pull request #122 from kra-mo/fix-bad-source-location-error
Silently skip sources with bad locations
2023-06-30 13:37:01 +02:00
kramo
ad0e5b2abf Allow escape to leave the hidden library 2023-06-30 13:36:27 +02:00
GeoffreyCoulaud
9ed085e1a0 Silently skip sources with bad locations 2023-06-30 13:25:01 +02:00
kramo
f4f6d73d4a Display logs from current session in about window 2023-06-30 10:58:47 +02:00
kramo
107c1c96b5 Merge pull request #121 from kra-mo/v2-logging 2023-06-29 17:49:02 +02:00
GeoffreyCoulaud
299333c959 Added horizontal line between runs 2023-06-29 17:39:52 +02:00
GeoffreyCoulaud
e4b315f252 Added log files contents to aboutwindow debug info 2023-06-29 17:29:16 +02:00
kramo
455c6891d8 Make logs prettier 2023-06-29 15:39:29 +02:00
GeoffreyCoulaud
2311f3dff7 better compression
Compress old logs at startup
Added back the .log suffix
2023-06-29 15:26:21 +02:00
kramo
f5b527cc51 Make logs pretty 2023-06-29 15:19:57 +02:00
GeoffreyCoulaud
0a89061218 Moved log number to first suffix 2023-06-29 14:41:28 +02:00
kramo
20bfe9309c OCD 2023-06-29 13:24:00 +02:00
kramo
50e9bb7c0e Fix iscc icon path 2023-06-29 11:17:34 +02:00
kramo
3b032ffb64 Fix iscc icon path 2023-06-29 11:11:36 +02:00
kramo
09a7504c78 Test? 2023-06-29 11:02:56 +02:00
kramo
1c51da2750 Configure Cartridges.iss via meson 2023-06-29 10:53:32 +02:00
kramo
7a07553a5d Fixed colors for themeing 2023-06-28 11:26:26 +02:00
kramo
450cab9bbf Mark to-be-reviewed strings as untranslatable 2023-06-26 22:22:47 +02:00
kramo
6b46efb0b8 Spelling 2023-06-26 21:46:52 +02:00
kramo
00b3145833 oops 2023-06-26 17:38:04 +02:00
kramo
8cb1cd998c Add troubleshooting info to about window 2023-06-26 14:32:56 +02:00
Weblate (bot)
8870c20279 Translations update from Hosted Weblate (#118)
* Update translation files

Updated by "Update 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

* Update translation files

Updated by "Update 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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

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

Translated using Weblate (Hungarian)

Currently translated at 97.4% (114 of 117 strings)

Update translation files

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

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

---------

Co-authored-by: kramo <contact@kramo.hu>
2023-06-26 12:05:49 +02:00
kramo
08da6b8e3f Update error string 2023-06-26 12:01:14 +02:00
kramo
18858edcd4 Merge pull request #103 from kra-mo/gali-importer-structure
Gali importer structure
2023-06-26 11:53:16 +02:00
kramo
27829670b6 Merge branch 'main' into gali-importer-structure 2023-06-26 11:50:00 +02:00
Weblate (bot)
affdfaed27 Translated using Weblate (Russian) (#117)
Currently translated at 100.0% (126 of 126 strings)



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

Co-authored-by: Сергей <asvmail.as@gmail.com>
2023-06-26 11:43:42 +02:00
kramo
cbd0b3f287 Update translations 2023-06-26 11:37:39 +02:00
kramo
523aa8a82c Cleanups 2023-06-26 11:21:42 +02:00
kramo
4f7dc8716a Make errors properly translatable 2023-06-26 11:08:33 +02:00
kramo
92add88c5d Change error dialog margin 2023-06-26 11:00:59 +02:00
kramo
e73bc5507c Change display of errors 2023-06-26 10:56:01 +02:00
GeoffreyCoulaud
f1acb55ece Removed unused import 2023-06-24 16:14:30 +02:00
GeoffreyCoulaud
5e5a2fe746 🎨 Improved importer error dialog
- Kept simple for single errors
- Made more readable for multiple errors
2023-06-24 16:13:41 +02:00
GeoffreyCoulaud
3fa80a53c6 🎨 Work on import error handling
- Generic ErrorProducer class
- Importer and managers are error producers
- SGDB Auth friendly error
- Bad source location friendly errors (data, config, cache)
- Removed unused decorators
2023-06-24 15:13:35 +02:00
kramo
41c2a1023a Backport Bottles thumbnail fix 2023-06-22 21:13:27 +02:00
GeoffreyCoulaud
c38a73ea98 🔥 Remove old importers + rate limiter debug logs 2023-06-20 13:07:49 +02:00
GeoffreyCoulaud
6408e250ee 🐛 Fixed breaking typo in location picking code 2023-06-19 23:33:51 +02:00
GeoffreyCoulaud
e97c08a42b 🐛 Added debug info, improved messages 2023-06-19 23:33:18 +02:00
GeoffreyCoulaud
e57a2a74df 🚧 Set schema on location resolve 2023-06-19 23:11:55 +02:00
GeoffreyCoulaud
f9000be272 🚧 WIP new location system
TODO
- Locations contain the schema key
- Schema key overriden at location resolve
- No need for callable candidates,
but need to represent "this location's key"
2023-06-19 22:47:56 +02:00
kramo
882ed55cc6 Update update description 2023-06-19 19:58:10 +02:00
Weblate (bot)
7bbb9e564d Translations update from Hosted Weblate (#106)
* Translated using Weblate (Spanish)

Currently translated at 100.0% (126 of 126 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

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (126 of 126 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: João Alves <joao.2003.couto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt/
Translation: Cartridges/Cartridges

* Translated using Weblate (Russian)

Currently translated at 100.0% (126 of 126 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/ru/
Translation: Cartridges/Cartridges

* Translated using Weblate (Dutch)

Currently translated at 100.0% (126 of 126 strings)

Translated using Weblate (Dutch)

Currently translated at 95.2% (120 of 126 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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (126 of 126 strings)

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

* Translated using Weblate (Greek)

Currently translated at 100.0% (126 of 126 strings)

Added translation using Weblate (Greek)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: yiannis ioannides <sub@wai.ai>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/el/
Translation: Cartridges/Cartridges

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (126 of 126 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Vinícius Gama Santos <vinny.stalck@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt_BR/
Translation: Cartridges/Cartridges

* Translated using Weblate (Polish)

Currently translated at 96.0% (121 of 126 strings)

Co-authored-by: Kshyso <Kshysio@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pl/
Translation: Cartridges/Cartridges

* Translated using Weblate (Tamil)

Currently translated at 100.0% (126 of 126 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/ta/
Translation: Cartridges/Cartridges

* Translated using Weblate (Swedish)

Currently translated at 100.0% (126 of 126 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (126 of 126 strings)

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

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

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

---------

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: João Alves <joao.2003.couto@gmail.com>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: Вова Смірнов <vovasmirnon5895@gmail.com>
Co-authored-by: yiannis ioannides <sub@wai.ai>
Co-authored-by: Vinícius Gama Santos <vinny.stalck@protonmail.com>
Co-authored-by: Kshyso <Kshysio@protonmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: micke <micke@users.noreply.hosted.weblate.org>
Co-authored-by: rene-coty <irenee.thirion@e.email>
2023-06-19 19:56:18 +02:00
kramo
ad7084410c v1.5.6 2023-06-19 19:54:59 +02:00
kramo
ea0ecf4fb4 Fix bottles import if no thumbnail - fixes #113 2023-06-19 19:52:51 +02:00
kramo
9f582dfa3e Improve a11y and consistency for info popover 2023-06-19 19:31:27 +02:00
kramo
6ff9039064 Reset schema 2023-06-19 14:58:34 +02:00
kramo
42ba8244d0 Add "Reset" button for debugging 2023-06-19 13:58:43 +02:00
kramo
4793d50b0a Clean up strings in preferences 2023-06-19 13:58:25 +02:00
kramo
a96b989a29 Error handling 2023-06-19 12:58:52 +02:00
kramo
286b44360e Move game_cover away from GdkPixbuf 2023-06-18 13:57:09 +02:00
kramo
2aea2fb377 Move placeholders to Gdk.Texture 2023-06-18 13:46:17 +02:00
kramo
2e97edcdb5 Please pylint once and for all 2023-06-18 13:15:03 +02:00
kramo
32adc68d82 Correct directory check 2023-06-18 12:58:24 +02:00
kramo
8dcbe56e76 "Sigh..." 2023-06-17 16:33:27 +02:00
kramo
009e6f3641 "Intellisense betrayed me" 2023-06-17 16:31:14 +02:00
kramo
9d7a6d8ea4 Add copyright headers 2023-06-17 16:27:10 +02:00
GeoffreyCoulaud
cff2a4ae6c Fix adding games manually 2023-06-17 16:15:53 +02:00
kramo
eb91586216 Clean up relative dates 2023-06-17 16:11:02 +02:00
kramo
8eb203cb06 Convert executables to strings at init time 2023-06-17 15:35:43 +02:00
kramo
b2b1780374 Remove auto-import feature from settings 2023-06-17 10:07:23 +02:00
kramo
f0dda997c3 Only kill import toast after the user can click it 2023-06-16 20:46:50 +02:00
kramo
366b68cf8f Add after import error dialog 2023-06-16 16:22:12 +02:00
GeoffreyCoulaud
beba0ff1e2 🎨 Improved internal manager storage
- Stored pipeline managers in a set
- Renamed store method to enable_manager_in_pipeline
- Simplified a bit the ugly code™ in details_window
2023-06-16 15:38:05 +02:00
GeoffreyCoulaud
e694341a31 🐛 Fix game import not refreshing remove covers 2023-06-16 15:21:39 +02:00
kramo
d060acb90a Escape game titles in toasts 2023-06-16 13:16:48 +02:00
kramo
90667b0f31 Fix details_window logic 2023-06-15 17:53:48 +02:00
kramo
39bc64c136 Use signals for updating and saving games 2023-06-15 17:37:54 +02:00
kramo
e6afed6678 Cleanups 2023-06-15 15:22:08 +02:00
GeoffreyCoulaud
3bc0df3881 🎨 Change image composition logic 2023-06-14 17:23:54 +02:00
GeoffreyCoulaud
695cc88d76 🎨 Made OnlineCoverManager more general
- Does compositing of image with a blurred background
- Stretches the original image if it's not too much
- Handles images that are too wide and images that are too tall
- Removed ItchCoverManager
2023-06-14 00:05:38 +02:00
GeoffreyCoulaud
6dd8e3965f 🐛 Ported sqlite fix from main 2023-06-13 10:32:07 +02:00
GeoffreyCoulaud
dbb96a166b Added debug info to the beginning of log files 2023-06-13 09:48:18 +02:00
GeoffreyCoulaud
054089431f 🎨 Made log file rotation more robust 2023-06-13 09:05:29 +02:00
GeoffreyCoulaud
59c2d68642 Removed unnecessary prints 2023-06-13 00:25:24 +02:00
GeoffreyCoulaud
68273d9217 🎨 Improved logging
- One unlimited log file per session
- Up to 3 session logs kept at any time
- Log compressed via lzma
2023-06-12 23:11:09 +02:00
GeoffreyCoulaud
2798097623 🎨 Improved logging code
- Silenced unwanted library messages
- Logging to file with a max size of 8MB

When the file size is passed, a backup of the file is created,
and the file gets truncated.
There can only be one current file and one backup file.
2023-06-12 03:27:43 +02:00
GeoffreyCoulaud
6a099b2bdd New logging system 2023-06-11 21:11:53 +02:00
kramo
d340e007e3 Remove replaced_by_env_path decorator 2023-06-10 20:54:49 +02:00
kramo
de3ef53148 Make pylint happy 2023-06-10 19:34:00 +02:00
kramo
5a7ada1c0e Trim .pylintrc 2023-06-10 19:29:28 +02:00
kramo
0db636b375 Port bottles fix from main 2023-06-10 19:13:25 +02:00
kramo
49011c395a Merge branch 'main' into gali-importer-structure 2023-06-10 19:04:59 +02:00
kramo
893b290a1e v1.5.5 2023-06-10 18:48:39 +02:00
kramo
49769b7083 Fix import hanging if custom Bottles location 2023-06-10 18:45:56 +02:00
kramo
5fadaf8537 Add _ to Python builtins 2023-06-10 18:24:59 +02:00
GeoffreyCoulaud
dcd4357e57 🎨 No longer using SGDBSave
- Details window uses a Pipeline with SGDBTask
- Store saves managers in a type: instance dict
- Removed SGDBSave
2023-06-10 16:22:09 +02:00
GeoffreyCoulaud
3a0911e742 🐛 Fixed UI not updating on some game actions 2023-06-10 15:31:54 +02:00
GeoffreyCoulaud
8eb2a270f6 🎨 Improved manager error handling structure 2023-06-10 14:51:52 +02:00
GeoffreyCoulaud
e7fd01f509 🎨 Made manager attributes more flexible
Changed run_after, retryable_on and continue_on to be type Container.
We don't need them to be sets.

The performance gain of sets over small tuples is nonexistant
for in checks and the  syntax is more verbose.
2023-06-10 12:03:16 +02:00
GeoffreyCoulaud
c9a96f5eec 🎨 Fixed some linter warnings
Applied suggested pylint fixes and suppressed unhelpful pylint messages
2023-06-10 03:30:09 +02:00
GeoffreyCoulaud
eeb0f3e501 👷 Added .pylintrc 2023-06-10 03:06:53 +02:00
GeoffreyCoulaud
842f9fe522 🎨 Various code style / behaviour fixes
- Merged platform sources when possible
- Added URLExecutableSource class
- Moved replaced_by_schema_key to utils/decorators
- Better retryable exception handling in some managers
-  Split SteamHelper into SteamFileHelper and SteamAPIHelper
- Delegated SteamRateLimiter creation to SteamAPIManager init
- Using additional_data for appid in SteamAPIManager
- Added Windows support for Legendary
- Stylistic changed suggested by pylint
2023-06-10 02:59:41 +02:00
GeoffreyCoulaud
070d875ff8 🎨 Improved Legendary source
- Fixed wrong library iteration
- Fixed executable format
- Added toggle in the preferences
- Added legendary to on_import_action
2023-06-09 17:06:33 +02:00
GeoffreyCoulaud
51922ad4c6 🚧 Base Legendary source 2023-06-08 10:50:09 +02:00
GeoffreyCoulaud
b895c8ebe2 🎨 Made itch cover manager sync 2023-06-07 19:31:15 +02:00
GeoffreyCoulaud
9ebd7cf7ee Added Itch source
- Added call stack to unretryable errors in managers
- Added existing itch cover downloading code
- Fixed importer not closing if no source enabled

TODO
- Tidying the itch cover downloading code
- If possible, make save_cover and resize_cover work in AsyncManager-s
2023-06-07 15:33:00 +02:00
GeoffreyCoulaud
5dc6ec899a 🎨 Various changes
- Changed source additional data to dict
- Moved local cover saving into a manager
- Added stub for itch cover manager
2023-06-07 15:00:42 +02:00
GeoffreyCoulaud
98f02da36c 🎨 SourceIterator can yield addtitional data
SourceIterator-s can yield a game and a tuple of additional data.
This data will be passed to the Store, Pipeline and Managers.
2023-06-07 14:01:06 +02:00
GeoffreyCoulaud
7eef050a64 🚧 WIP Itch source (only game discovery) 2023-06-07 12:12:12 +02:00
GeoffreyCoulaud
b50a0a1a04 📝 Updated SourceIterator type hints 2023-06-05 13:29:54 +02:00
GeoffreyCoulaud
725bab5c93 🐛 Fixed new location override syntax 2023-06-05 13:21:19 +02:00
GeoffreyCoulaud
1e3e6484e4 🎨 Simplified source location user override 2023-06-05 13:11:05 +02:00
GeoffreyCoulaud
1dcfe38253 🎨 Simplified SourceIterator-s
- Using generator functions
- Common generator init and next in base class
- Explicited that error handling should happen in generator
2023-06-05 12:40:41 +02:00
GeoffreyCoulaud
e91aeddd3b Added Bottles source 2023-06-05 01:57:38 +02:00
GeoffreyCoulaud
43d4a50bf7 Added logging info to game launch 2023-06-05 01:57:25 +02:00
GeoffreyCoulaud
cf9d4059b3 📝 Consistent typing in exsiting sources 2023-06-05 00:34:47 +02:00
GeoffreyCoulaud
67a5a364f7 🐛 Fixed pick history start error when empty 2023-06-05 00:19:22 +02:00
GeoffreyCoulaud
ff0ba00733 🎨 Added delay before manager retry 2023-06-05 00:17:41 +02:00
GeoffreyCoulaud
1e4004329c New Heroic source
- Fixed wrong `installed` key, shoud be `is_installed`
- Log warnings on invalid games found in library
2023-06-04 22:51:54 +02:00
GeoffreyCoulaud
7cf4d8199c ️ Improved rate limiting
- Ensures that the target rate isn't overshot
- Aware of the requests sliding window
- Allows for a defined burst size
- Remembers the request timestamps between app restarts
2023-06-04 17:03:59 +02:00
GeoffreyCoulaud
ebd22e27da Various fixes
- Improved pipeline performance
- Improver importer progress
- Steam API slow down to not get 429-ed
(but still allow bursts on smaller steam libraries)
2023-06-04 02:45:52 +02:00
GeoffreyCoulaud
7d8a7a894f 🐛 fixed source imports 2023-06-03 21:41:04 +02:00
GeoffreyCoulaud
729ca82445 🎨 Simplified sources 2023-06-03 20:55:03 +02:00
GeoffreyCoulaud
6f77e0d30d Added Steam API rate limiter 2023-06-03 18:49:47 +02:00
GeoffreyCoulaud
216c3f5dae 🐛 Fixed deadlock in rate limiter 2023-06-03 17:50:00 +02:00
GeoffreyCoulaud
dc47c850ce 🐛 Moved Steam rate limiter init to runtime 2023-06-03 17:33:51 +02:00
GeoffreyCoulaud
b1476a744d 🐛 Fixed wrong variable in rate limiter init 2023-06-03 16:35:25 +02:00
GeoffreyCoulaud
58054f1c26 🐛 Added rate limiter for Steam 2023-06-03 16:31:15 +02:00
GeoffreyCoulaud
6d6e830cc9 🚧 Intial work on a generic rate limiter 2023-06-03 14:18:26 +02:00
GeoffreyCoulaud
10a635fc78 🚧 Thread-safe manager error reporting 2023-06-03 14:18:07 +02:00
GeoffreyCoulaud
06b6ee4593 🚧 Unfinished rate limiter 2023-06-02 22:23:36 +02:00
kramo
e804f8192e Update bug_report.md 2023-06-02 17:40:28 +02:00
GeoffreyCoulaud
2009003dea 🚧 Added todo before push 2023-06-02 10:28:43 +02:00
GeoffreyCoulaud
2b2355e2c2 🔥 Removed SteamForbiddenError 2023-06-01 14:10:59 +02:00
GeoffreyCoulaud
f05d1e702b 🚧 Removed blacklist on 403 2023-06-01 00:40:28 +02:00
GeoffreyCoulaud
aa33e79963 🐛 Blacklist on SteamAPI 403 2023-06-01 00:34:46 +02:00
GeoffreyCoulaud
f0948c422f 🐛 Fixed importer not finishing if no game found 2023-06-01 00:01:19 +02:00
GeoffreyCoulaud
97b770cbf2 🚧 Various fixes
- Platform-dependent sources
- Added heroic schema keys
- Moved location and is_installed to Source
2023-05-31 22:43:30 +02:00
GeoffreyCoulaud
ed66109404 🚧 Ground work for heroic source 2023-05-31 21:47:55 +02:00
GeoffreyCoulaud
344aa7057d 🎨 Consistency in source typing 2023-05-31 18:54:00 +02:00
GeoffreyCoulaud
a213abe4da 🎨 SourceIterator is not sized anymore 2023-05-31 18:18:58 +02:00
GeoffreyCoulaud
ef63210a8f 🎨 Better error handling in managers 2023-05-31 17:21:01 +02:00
GeoffreyCoulaud
d204737339 🚧 More work on resilient managers 2023-05-31 16:54:51 +02:00
GeoffreyCoulaud
0b188136a2 🚧 Initial work on retryable managers 2023-05-31 15:25:59 +02:00
kramo
743db2b747 Merge branch 'main' into gali-importer-structure 2023-05-30 20:25:00 +02:00
kramo
1311c53c3e Import demos from Steam - closes #108 2023-05-30 20:24:41 +02:00
GeoffreyCoulaud
0645808ac4 🐛 Fixed GTK race condition in pipelines 2023-05-29 01:38:36 +02:00
GeoffreyCoulaud
8ddb110cbb Managers use callback functions instead of signals 2023-05-29 00:23:25 +02:00
GeoffreyCoulaud
b99c058cd7 Added blocking/async managers 2023-05-29 00:05:44 +02:00
GeoffreyCoulaud
aeab1de4a9 🎨 Improved structure / added debug info 2023-05-28 22:19:43 +02:00
GeoffreyCoulaud
e7fa20e4d4 🎨 Better logging init 2023-05-27 19:39:52 +02:00
kramo
12ad5c598e Create shared.PROFILE 2023-05-27 19:36:49 +02:00
kramo
101eb1f07c Merge main 2023-05-27 19:08:40 +02:00
GeoffreyCoulaud
39b7b35c1b 🚧 WIP import progress based on game pipelines 2023-05-27 18:24:46 +02:00
kramo
6f69344a16 v1.5.4 2023-05-27 17:54:43 +02:00
kramo
63951d76ac Fix custom path check logic 2023-05-27 17:53:08 +02:00
kramo
c045ad1f53 Fix prefix formatting 2023-05-27 17:01:18 +02:00
kramo
8a1e00883c Fix gresource prefix 2023-05-27 16:21:31 +02:00
kramo
620a094ff0 v1.5.3 2023-05-27 16:06:43 +02:00
kramo
7b7232d741 Fix flatpak manifest path 2023-05-27 15:14:14 +02:00
kramo
4c1af9245f Update build configuration 2023-05-27 15:11:03 +02:00
kramo
d05a03dee7 Fix custom install locations check logic 2023-05-27 14:03:09 +02:00
kramo
bff225572e v1.5.2 2023-05-27 09:14:36 +02:00
kramo
ac3f3133d9 Use yaml.safe_load for Bottles import 2023-05-27 09:02:53 +02:00
kramo
bda487f26e Fix Steam API response handling - fixes #101 2023-05-27 09:00:29 +02:00
kramo
4711652b4a Set fallback icon-name - fixes #100 2023-05-27 08:58:07 +02:00
kramo
2f9bbe933b Fix typo 2023-05-26 20:28:44 +02:00
kramo
11cd2129b8 v1.5.1 2023-05-26 20:24:39 +02:00
Weblate (bot)
5dd09b6d8f Translations update from Hosted Weblate (#99)
* Translated using Weblate (Arabic)

Currently translated at 100.0% (126 of 126 strings)

Update translation files

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

Translated using Weblate (Arabic)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

Translated using Weblate (Russian)

Currently translated at 100.0% (117 of 117 strings)

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

* Update translation files

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

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

* Update translation files

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

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (126 of 126 strings)

Update translation files

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (117 of 117 strings)

Translated using Weblate (Turkish)

Currently translated at 1.7% (2 of 117 strings)

Added translation using Weblate (Turkish)

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

* Update translation files

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

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

* Update translation files

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

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (126 of 126 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (126 of 126 strings)

Update translation files

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

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (117 of 117 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (126 of 126 strings)

Update translation files

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

Translated using Weblate (Italian)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (126 of 126 strings)

Update translation files

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Tamil)

Currently translated at 100.0% (117 of 117 strings)

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

* Update translation files

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (117 of 117 strings)

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

* Update translation files

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

Translated using Weblate (French)

Currently translated at 100.0% (117 of 117 strings)

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

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

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

---------

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

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

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

* Update translation files

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

Translated using Weblate (Italian)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Arabic)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

Translated using Weblate (Russian)

Currently translated at 100.0% (117 of 117 strings)

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (117 of 117 strings)

Translated using Weblate (Turkish)

Currently translated at 1.7% (2 of 117 strings)

Added translation using Weblate (Turkish)

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (117 of 117 strings)

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

* Update translation files

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

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

* Update translation files

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (117 of 117 strings)

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Tamil)

Currently translated at 100.0% (117 of 117 strings)

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

* Update translation files

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (117 of 117 strings)

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

* Update translation files

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

Translated using Weblate (French)

Currently translated at 100.0% (117 of 117 strings)

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

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

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

---------

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

Fixes: #96
2023-05-25 17:47:57 +02:00
GeoffreyCoulaud
3202bd4332 changed importer.manager_done_callback stub 2023-05-24 19:38:26 +02:00
GeoffreyCoulaud
1d2253ff94 Various changes
- Removed useless format manager
- Moved pipeline to its own file
- Fixed steam source next not returning game
- Changed pipeline order
2023-05-24 19:34:07 +02:00
kramo
e7e30c8ac5 Set version to 0 by default 2023-05-24 18:32:27 +02:00
GeoffreyCoulaud
8da7185d17 Various fixes 2023-05-24 17:30:19 +02:00
GeoffreyCoulaud
7220852291 🎨 Reorganized game loading from disk 2023-05-24 17:08:34 +02:00
GeoffreyCoulaud
8026c41886 🎨 Moved Initial game load to app.on_activate 2023-05-24 16:32:13 +02:00
GeoffreyCoulaud
4943a9c7fd 🐛 Fixed Pipeline GObject definition 2023-05-24 15:36:25 +02:00
kramo
fda06e6c1a Update docs 2023-05-24 15:36:25 +02:00
kramo
36b6bc17bd Cleanups 2023-05-24 15:36:25 +02:00
kramo
f06aed3ce0 Move spec_version to shared 2023-05-24 15:36:22 +02:00
GeoffreyCoulaud
2b8c594a50 🐛 Small fixes 2023-05-24 15:35:48 +02:00
GeoffreyCoulaud
a11569014d ♻️ Restructured sources and managers 2023-05-24 15:35:48 +02:00
GeoffreyCoulaud
95524563bb 🎨 Moved things to managers 2023-05-24 15:35:48 +02:00
GeoffreyCoulaud
abe41635fd 🚧 More work on managers 2023-05-24 15:35:47 +02:00
GeoffreyCoulaud
9ea2e9652d 🚧 More work on managers 2023-05-24 15:35:46 +02:00
GeoffreyCoulaud
3df9380c2d 🚧 Base work for the Store/Manager architecture 2023-05-24 15:35:18 +02:00
GeoffreyCoulaud
9fd58e6ba3 🚧 More fixes 2023-05-24 15:35:18 +02:00
GeoffreyCoulaud
e5d2657bb9 🚑 More rebase conflicts resolved 2023-05-24 15:35:18 +02:00
GeoffreyCoulaud
f246a73b19 ♻️ Changed shared imports to absolute 2023-05-24 15:35:18 +02:00
GeoffreyCoulaud
dd37fda07b 🎨 Better Steam code 2023-05-24 15:35:18 +02:00
GeoffreyCoulaud
7fdf164120 Changes to Steam Windows source 2023-05-24 15:35:18 +02:00
GeoffreyCoulaud
49f0b2d92d 🎨 Changes to Lutris source 2023-05-24 15:35:18 +02:00
GeoffreyCoulaud
8587c80394 🚧 More work on Steam source 2023-05-24 15:35:18 +02:00
GeoffreyCoulaud
4bc35383ae Changed source.__next__() type hint 2023-05-24 15:35:17 +02:00
GeoffreyCoulaud
604bcfb2e9 🚧 Initial work on Steam source 2023-05-24 15:35:17 +02:00
GeoffreyCoulaud
08c4b53cca 🐛 Fixed importer popup callbacks 2023-05-24 15:35:17 +02:00
GeoffreyCoulaud
7252655aba 🐛 fixed wrong module name 2023-05-24 15:35:17 +02:00
GeoffreyCoulaud
7b97481b55 🚨 Fixed some pylint warnings 2023-05-24 15:35:17 +02:00
GeoffreyCoulaud
138dcb6271 🐛 Added gettext's _() to builtin stubs 2023-05-24 15:35:17 +02:00
GeoffreyCoulaud
83d7aad0d1 Made more linter-friendly 2023-05-24 15:35:17 +02:00
GeoffreyCoulaud
a176b33241 🎨 Using absolute imports 2023-05-24 15:35:17 +02:00
GeoffreyCoulaud
56c110ffa2 Improved SGDB logging messages 2023-05-24 15:35:17 +02:00
GeoffreyCoulaud
505088e053 🐛 Task fix + progress bar 2023-05-24 15:35:17 +02:00
GeoffreyCoulaud
c0e275ac5c 🐛 Fixed still cover not got if animated failed 2023-05-24 15:35:17 +02:00
GeoffreyCoulaud
46f30d289b Fixed new importer SGDB cover import 2023-05-24 15:35:16 +02:00
GeoffreyCoulaud
2abf671ea4 🚧 Importer tasks fix 2023-05-24 15:35:16 +02:00
GeoffreyCoulaud
d981f05095 🚧 using closures to pass data to Tasks 2023-05-24 15:35:16 +02:00
GeoffreyCoulaud
538b00bba5 fixes 2023-05-24 15:35:16 +02:00
GeoffreyCoulaud
0c6c0ea467 Work on importer / SGDB integration 2023-05-24 15:35:13 +02:00
kramo
ee80c2c552 Remove last_played from details_window 2023-05-24 15:34:27 +02:00
kramo
42e3b45ec6 Make Game handle last_played 2023-05-24 15:34:27 +02:00
kramo
4553ab97e0 Fix version check logic 2023-05-24 15:34:25 +02:00
kramo
e93c93e802 Add version to game_id.json 2023-05-24 15:33:54 +02:00
GeoffreyCoulaud
d347c30dff 🚧 Switched back to tasks 2023-05-24 15:33:20 +02:00
GeoffreyCoulaud
2b92417674 Work on after import dialogs 2023-05-24 15:33:20 +02:00
GeoffreyCoulaud
211c5d670b Follow-up: changed how importer is run 2023-05-24 15:33:20 +02:00
GeoffreyCoulaud
b2ade45d76 🚧 Non-blocking importer 2023-05-24 15:33:20 +02:00
GeoffreyCoulaud
b706f140e7 🎨 Better separation of threads in importer 2023-05-24 15:33:20 +02:00
GeoffreyCoulaud
aa5252d7e8 removed unnecessary whitespace 2023-05-24 15:33:19 +02:00
GeoffreyCoulaud
771c64acac 🚧 Hacky, untested SGDB code 2023-05-24 15:33:19 +02:00
GeoffreyCoulaud
8a0951c727 🎨 Sorted imports, made pylint happy 2023-05-24 15:33:19 +02:00
GeoffreyCoulaud
c647ca1a31 🐛 Fixed import 2023-05-24 15:33:19 +02:00
GeoffreyCoulaud
78b91c0d52 Initial importer work done 2023-05-24 15:33:19 +02:00
GeoffreyCoulaud
48ca1d938f 🐛 Fixed some imports 2023-05-24 15:33:19 +02:00
GeoffreyCoulaud
74afc8b6ea 🐛 Reintroduced check_install 2023-05-24 15:33:19 +02:00
GeoffreyCoulaud
cb337044ac 🐛 Reintroduced old importers 2023-05-24 15:33:19 +02:00
GeoffreyCoulaud
f3190e50b6 Towards launching 2023-05-24 15:33:19 +02:00
GeoffreyCoulaud
855ab2c5e8 🚧 Using the new importer 2023-05-24 15:33:19 +02:00
GeoffreyCoulaud
718b6f3063 Reorganized code 2023-05-24 15:33:19 +02:00
GeoffreyCoulaud
9a33660f94 🚧 More work on importer and source 2023-05-24 15:33:18 +02:00
GeoffreyCoulaud
0abe283619 🚧 SGDB 2023-05-24 15:33:18 +02:00
GeoffreyCoulaud
5c6bfc8b3e 🚧 Added todo 2023-05-24 15:33:18 +02:00
GeoffreyCoulaud
8b7b23379f 🎨 Black codestyle 2023-05-24 15:33:18 +02:00
GeoffreyCoulaud
f432c41843 🔥 Fo-cus. 2023-05-24 15:33:18 +02:00
GeoffreyCoulaud
451fde8a91 Locations with decorators 2023-05-24 15:33:18 +02:00
GeoffreyCoulaud
0abb7d3df9 WIP location (to be discarded) 2023-05-24 15:33:18 +02:00
GeoffreyCoulaud
524a56ea9a WIP - Work on base classes 2023-05-24 15:33:18 +02:00
kramo
19496ab9c3 Remove extra line 2023-05-23 15:50:58 +02:00
kramo
382623d1e7 v1.5 2023-05-23 15:44:59 +02:00
Weblate (bot)
8cafd0c246 Translations update from Hosted Weblate (#88)
* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (131 of 131 strings)

Added translation using Weblate (Swedish)

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

* Update translation files

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

Translated using Weblate (French)

Currently translated at 100.0% (131 of 131 strings)

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

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

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

---------

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

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

Update translation files

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

Translated using Weblate (French)

Currently translated at 100.0% (131 of 131 strings)

Translated using Weblate (French)

Currently translated at 100.0% (131 of 131 strings)

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

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

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

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

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

Added translation using Weblate (Polish)

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

Added translation using Weblate (Persian)

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

Added translation using Weblate (Portuguese (Brazil))

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

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

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

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

Update translation files

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

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

Update translation files

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

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

Update translation files

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

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

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

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

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

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

* Update README.md

---------

Co-authored-by: kramo <93832451+kra-mo@users.noreply.github.com>
2023-04-16 14:58:48 +02:00
112 changed files with 13274 additions and 7135 deletions

View File

@@ -26,6 +26,7 @@ If applicable, add screenshots to help explain your problem.
**System (please complete the following information):** **System (please complete the following information):**
- OS: [e.g. Fedora Linux] - OS: [e.g. Fedora Linux]
- Installation method [e.g. Flatpak] - Installation method [e.g. Flatpak]
- Cartridges version [e.g. 1.5.4]
**Additional context** **Additional context**
Add any other context about the problem here. Add any other context about the problem here.

View File

@@ -14,6 +14,6 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6 - uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with: with:
bundle: hu.kramo.Cartridges.flatpak bundle: hu.kramo.Cartridges.Devel.flatpak
manifest-path: hu.kramo.Cartridges.json manifest-path: flatpak/hu.kramo.Cartridges.Devel.json
cache-key: flatpak-builder-${{ github.sha }} cache-key: flatpak-builder-${{ github.sha }}

View File

@@ -24,9 +24,9 @@ jobs:
pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git
find /ucrt64/share/locale/ -type f ! -name "*cartridges.mo" -delete find /ucrt64/share/locale/ -type f ! -name "*cartridges.mo" -delete
- name: "Inno Setup" - name: "Inno Setup"
run: iscc ".\.windows\Cartridges.iss" run: iscc ".\_build\Cartridges.iss"
- name: "Upload Artifact" - name: "Upload Artifact"
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: "Installer" name: "Installer"
path: ".windows/Output/Cartridges Setup.exe" path: "_build/Output/Cartridges Setup.exe"

32
.pylintrc Normal file
View File

@@ -0,0 +1,32 @@
[MAIN]
ignore=importers
[MESSAGES CONTROL]
disable=raw-checker-failed,
bad-inline-option,
locally-disabled,
file-ignored,
suppressed-message,
useless-suppression,
deprecated-pragma,
use-symbolic-message-instead,
too-few-public-methods,
missing-function-docstring,
missing-class-docstring,
missing-module-docstring,
relative-beyond-top-level,
import-error,
no-name-in-module
[TYPECHECK]
ignored-classes=Child
[VARIABLES]
additional-builtins=_

View File

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

View File

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

View File

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

35
cartridges.doap Normal file
View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:gnome="http://api.gnome.org/doap-extensions#"
xmlns="http://usefulinc.com/ns/doap#">
<name>Cartridges</name>
<shortdesc xml:lang="en">Launch all your games</shortdesc>
<description xml:lang="en">
Cartridges is a simple game launcher for all of your games. It has support for importing games from Steam, Lutris, Heroic and more with no login necessary. You can sort and hide games or download cover art from SteamGridDB.
</description>
<homepage rdf:resource="https://github.com/kra-mo/cartridges" />
<download-page rdf:resource="https://github.com/kra-mo/cartridges" />
<bug-database rdf:resource="https://github.com/kra-mo/cartridges/issues" />
<programming-language>Python</programming-language>
<platform>GTK 4</platform>
<platform>Libadwaita</platform>
<maintainer>
<foaf:Person>
<foaf:name>kramo</foaf:name>
<foaf:mbox rdf:resource="mailto:contact@kramo.hu" />
<foaf:account>
<foaf:OnlineAccount>
<foaf:accountServiceHomepage rdf:resource="https://github.com"/>
<foaf:accountName>kra-mo</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
</foaf:Person>
</maintainer>
</Project>

View File

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

161
data/gtk/details-window.blp Normal file
View File

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

View File

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

View File

@@ -1,7 +1,7 @@
using Gtk 4.0; using Gtk 4.0;
using Adw 1; using Adw 1;
template PreferencesWindow : Adw.PreferencesWindow { template $PreferencesWindow : Adw.PreferencesWindow {
default-height: 500; default-height: 500;
Adw.PreferencesPage general_page { Adw.PreferencesPage general_page {
@@ -61,6 +61,22 @@ template PreferencesWindow : Adw.PreferencesWindow {
] ]
} }
} }
Adw.ActionRow reset_action_row {
title: "Reset App";
subtitle: "Completely resets and quits Cartridges";
visible: false;
Button reset_button {
label: "Reset";
valign: center;
styles [
"destructive-action",
]
}
}
} }
} }
@@ -76,57 +92,31 @@ template PreferencesWindow : Adw.PreferencesWindow {
title: _("Steam"); title: _("Steam");
show-enable-switch: true; show-enable-switch: true;
Adw.ActionRow { Adw.ActionRow steam_data_action_row {
title: _("Steam Install Location"); title: _("Install Location");
subtitle: _("Directory to use when importing games");
Button steam_file_chooser_button { Button steam_data_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
} }
} }
Adw.ActionRow {
title: _("Extra Steam Libraries");
subtitle: _("Select other directories where you have Steam games installed");
Revealer steam_clear_button_revealer {
reveal-child: false;
transition-type: slide_left;
Button steam_clear_button {
label: _("Clear");
valign: center;
halign: end;
styles [
"destructive-action",
]
}
}
Button steam_extra_file_chooser_button {
icon-name: "folder-new-symbolic";
valign: center;
}
}
} }
Adw.ExpanderRow lutris_expander_row { Adw.ExpanderRow lutris_expander_row {
title: _("Lutris"); title: _("Lutris");
show-enable-switch: true; show-enable-switch: true;
Adw.ActionRow { Adw.ActionRow lutris_data_action_row {
title: _("Lutris Install Location"); title: _("Install Location");
subtitle: _("Directory to use when importing games");
Button lutris_file_chooser_button { Button lutris_data_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
} }
} }
Adw.ActionRow { Adw.ActionRow lutris_cache_action_row {
title: _("Lutris Cache Location"); title: _("Cache Location");
subtitle: _("Directory to use when importing game covers");
Button lutris_cache_file_chooser_button { Button lutris_cache_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
@@ -136,9 +126,18 @@ template PreferencesWindow : Adw.PreferencesWindow {
Adw.ActionRow { Adw.ActionRow {
title: _("Import Steam Games"); title: _("Import Steam Games");
activatable-widget: lutris_steam_switch; activatable-widget: lutris_import_steam_switch;
Switch lutris_steam_switch { Switch lutris_import_steam_switch {
valign: center;
}
}
Adw.ActionRow {
title: _("Import Flatpak Games");
activatable-widget: lutris_import_flatpak_switch;
Switch lutris_import_flatpak_switch {
valign: center; valign: center;
} }
} }
@@ -148,11 +147,10 @@ template PreferencesWindow : Adw.PreferencesWindow {
title: _("Heroic"); title: _("Heroic");
show-enable-switch: true; show-enable-switch: true;
Adw.ActionRow { Adw.ActionRow heroic_config_action_row {
title: _("Heroic Install Location"); title: _("Install Location");
subtitle: _("Directory to use when importing games");
Button heroic_file_chooser_button { Button heroic_config_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
} }
@@ -160,27 +158,27 @@ template PreferencesWindow : Adw.PreferencesWindow {
Adw.ActionRow { Adw.ActionRow {
title: _("Import Epic Games"); title: _("Import Epic Games");
activatable-widget: heroic_epic_switch; activatable-widget: heroic_import_epic_switch;
Switch heroic_epic_switch { Switch heroic_import_epic_switch {
valign: center; valign: center;
} }
} }
Adw.ActionRow { Adw.ActionRow {
title: _("Import GOG Games"); title: _("Import GOG Games");
activatable-widget: heroic_gog_switch; activatable-widget: heroic_import_gog_switch;
Switch heroic_gog_switch { Switch heroic_import_gog_switch {
valign: center; valign: center;
} }
} }
Adw.ActionRow { Adw.ActionRow {
title: _("Import Sideloaded Games"); title: _("Import Sideloaded Games");
activatable-widget: heroic_sideloaded_switch; activatable-widget: heroic_import_sideload_switch;
Switch heroic_sideloaded_switch { Switch heroic_import_sideload_switch {
valign: center; valign: center;
} }
} }
@@ -190,11 +188,10 @@ template PreferencesWindow : Adw.PreferencesWindow {
title: _("Bottles"); title: _("Bottles");
show-enable-switch: true; show-enable-switch: true;
Adw.ActionRow { Adw.ActionRow bottles_data_action_row {
title: _("Bottles Install Location"); title: _("Install Location");
subtitle: _("Directory to use when importing games");
Button bottles_file_chooser_button { Button bottles_data_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
} }
@@ -205,16 +202,52 @@ template PreferencesWindow : Adw.PreferencesWindow {
title: _("itch"); title: _("itch");
show-enable-switch: true; show-enable-switch: true;
Adw.ActionRow { Adw.ActionRow itch_config_action_row {
title: _("itch Install Location"); title: _("Install Location");
subtitle: _("Directory to use when importing games");
Button itch_file_chooser_button { Button itch_config_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
} }
} }
} }
Adw.ExpanderRow legendary_expander_row {
title: _("Legendary");
show-enable-switch: true;
Adw.ActionRow legendary_config_action_row {
title: _("Install Location");
Button legendary_config_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
}
Adw.ExpanderRow flatpak_expander_row {
title: _("Flatpak");
show-enable-switch: true;
Adw.ActionRow flatpak_data_action_row {
title: _("Install Location");
Button flatpak_data_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
Adw.ActionRow flatpak_import_launchers_row {
title: _("Import Game Launchers");
activatable-widget: flatpak_import_launchers_switch;
Switch flatpak_import_launchers_switch {
valign: center;
}
}
}
} }
} }
@@ -234,12 +267,12 @@ template PreferencesWindow : Adw.PreferencesWindow {
Adw.PreferencesGroup sgdb_behavior_group { Adw.PreferencesGroup sgdb_behavior_group {
title: _("Behavior"); title: _("Behavior");
Adw.ActionRow { Adw.ActionRow sgdb_switch_row {
title: _("Use SteamGridDB"); title: _("Use SteamGridDB");
subtitle: _("Download images when adding or importing games"); subtitle: _("Download images when adding or importing games");
activatable-widget: sgdb_download_switch; activatable-widget: sgdb_switch;
Switch sgdb_download_switch { Switch sgdb_switch {
valign: center; valign: center;
} }
} }

View File

@@ -6,6 +6,6 @@
} }
#details_view_play_button { #details_view_play_button {
color: @dark_5; color: rgba(0, 0, 0, .8);
background-color: @light_1; background-color: white;
} }

View File

@@ -6,7 +6,6 @@
} }
#details_view_play_button { #details_view_play_button {
color: @light_1; color: white;
background-color: @dark_5; background-color: rgba(0, 0, 0, .8);
opacity: 0.8;
} }

View File

@@ -9,12 +9,30 @@ Adw.StatusPage notice_no_results {
valign: center; valign: center;
} }
Adw.StatusPage hidden_notice_no_results {
icon-name: "system-search-symbolic";
title: _("No Games Found");
description: _("Try a different search.");
vexpand: true;
valign: center;
}
Adw.StatusPage notice_empty { Adw.StatusPage notice_empty {
icon-name: "applications-games-symbolic";
title: _("No Games"); title: _("No Games");
description: _("Use the + button to add games."); description: _("Use the + button to add games.");
vexpand: true; vexpand: true;
valign: center; valign: center;
Button {
label: _("Import");
halign: center;
action-name: "app.import";
styles [
"pill",
"suggested-action",
]
}
} }
Adw.StatusPage hidden_notice_empty { Adw.StatusPage hidden_notice_empty {
@@ -25,7 +43,7 @@ Adw.StatusPage hidden_notice_empty {
valign: center; valign: center;
} }
template CartridgesWindow : Adw.ApplicationWindow { template $CartridgesWindow : Adw.ApplicationWindow {
title: _("Cartridges"); title: _("Cartridges");
Adw.ToastOverlay toast_overlay { Adw.ToastOverlay toast_overlay {
@@ -72,6 +90,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
Adw.Clamp { Adw.Clamp {
maximum-size: 200; maximum-size: 200;
Overlay { Overlay {
[overlay] [overlay]
Spinner details_view_spinner { Spinner details_view_spinner {
@@ -113,7 +132,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
} }
Label details_view_developer { Label details_view_developer {
margin-top: 3; margin-top: 6;
hexpand: true; hexpand: true;
halign: start; halign: start;
max-width-chars: 36; max-width-chars: 36;
@@ -122,13 +141,13 @@ template CartridgesWindow : Adw.ApplicationWindow {
natural-wrap-mode: word; natural-wrap-mode: word;
styles [ styles [
"heading" "heading",
] ]
} }
Box { Box {
orientation: horizontal; orientation: horizontal;
margin-top: 12; margin-top: 16;
hexpand: true; hexpand: true;
halign: start; halign: start;
@@ -137,6 +156,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
wrap-mode: word_char; wrap-mode: word_char;
natural-wrap-mode: word; natural-wrap-mode: word;
} }
Label details_view_last_played { Label details_view_last_played {
margin-start: 12; margin-start: 12;
wrap: true; wrap: true;
@@ -144,6 +164,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
natural-wrap-mode: word; natural-wrap-mode: word;
} }
} }
Box { Box {
hexpand: true; hexpand: true;
vexpand: true; vexpand: true;
@@ -166,50 +187,40 @@ template CartridgesWindow : Adw.ApplicationWindow {
halign: start; halign: start;
valign: center; valign: center;
margin-top: 24; margin-top: 24;
margin-start: 12; margin-start: 9;
Button { Button {
icon-name: "document-edit-symbolic"; icon-name: "document-edit-symbolic";
action-name: "app.edit_game"; action-name: "app.edit_game";
tooltip-text: _("Edit"); tooltip-text: _("Edit");
styles [ styles ["raised", "circular"]
"circular",
]
} }
Button details_view_hide_button { Button details_view_hide_button {
action-name: "app.hide_game"; action-name: "app.hide_game";
styles [ styles ["raised", "circular"]
"circular",
]
} }
Button { Button {
icon-name: "user-trash-symbolic"; icon-name: "user-trash-symbolic";
action-name: "app.remove_game"; action-name: "app.remove_game";
tooltip-text: _("Remove"); tooltip-text: _("Remove");
styles [ styles ["raised", "circular"]
"circular",
]
} }
styles [
"linked",
]
}
MenuButton { MenuButton {
halign: start;
valign: center;
margin-top: 24;
margin-start: 12;
icon-name: "system-search-symbolic"; icon-name: "system-search-symbolic";
menu-model: search; menu-model: search;
tooltip-text: _("Search"); tooltip-text: _("Search");
styles [ styles ["raised", "circular"]
"circular", }
styles [
"toolbar",
] ]
} }
} }
@@ -250,6 +261,9 @@ template CartridgesWindow : Adw.ApplicationWindow {
} }
SearchBar search_bar { SearchBar search_bar {
search-mode-enabled: bind-property search_button.active bidirectional;
key-capture-widget: library_view;
Adw.Clamp { Adw.Clamp {
maximum-size: 500; maximum-size: 500;
tightening-threshold: 500; tightening-threshold: 500;
@@ -298,7 +312,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
} }
[end] [end]
MenuButton { MenuButton hidden_primary_menu_button {
tooltip-text: _("Main Menu"); tooltip-text: _("Main Menu");
icon-name: "open-menu-symbolic"; icon-name: "open-menu-symbolic";
menu-model: primary_menu; menu-model: primary_menu;
@@ -313,6 +327,9 @@ template CartridgesWindow : Adw.ApplicationWindow {
} }
SearchBar hidden_search_bar { SearchBar hidden_search_bar {
search-mode-enabled: bind-property hidden_search_button.active bidirectional;
key-capture-widget: hidden_library_view;
Adw.Clamp { Adw.Clamp {
maximum-size: 500; maximum-size: 500;
tightening-threshold: 500; tightening-threshold: 500;
@@ -419,6 +436,7 @@ menu add_games {
action: "app.add_game"; action: "app.add_game";
} }
} }
section { section {
item { item {
label: _("Import"); label: _("Import");
@@ -430,25 +448,30 @@ menu add_games {
menu search { menu search {
section { section {
label: "Search on…"; label: "Search on…";
item { item {
label: "IGDB"; label: "IGDB";
action: "app.igdb_search"; action: "app.igdb_search";
} }
item { item {
label: "SteamGridDB"; label: "SteamGridDB";
action: "app.sgdb_search"; action: "app.sgdb_search";
} }
item { item {
label: "ProtonDB"; label: "ProtonDB";
action: "app.protondb_search"; action: "app.protondb_search";
} }
item { item {
label: "Lutris"; label: "Lutris";
action: "app.lutris_search"; action: "app.lutris_search";
} }
item { item {
label: "HowLongToBeat"; label: "HowLongToBeat";
action: "app.hltb_search"; action: "app.hltb_search";
} }
} }
} }

View File

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

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="cartridges"> <schemalist gettext-domain="cartridges">
<schema id="hu.kramo.Cartridges" path="/hu/kramo/Cartridges/"> <schema id="@APP_ID@" path="@PREFIX@/">
<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"> <key name="cover-launches-game" type="b">
<default>false</default> <default>false</default>
</key> </key>
@@ -16,12 +16,6 @@
<key name="steam-location" type="s"> <key name="steam-location" type="s">
<default>"~/.steam/"</default> <default>"~/.steam/"</default>
</key> </key>
<key name="steam-extra-dirs" type="as">
<default>[]</default>
</key>
<key name="steam-extra-dirs-hint" type="b">
<default>true</default>
</key>
<key name="lutris" type="b"> <key name="lutris" type="b">
<default>true</default> <default>true</default>
</key> </key>
@@ -34,25 +28,28 @@
<key name="lutris-import-steam" type="b"> <key name="lutris-import-steam" type="b">
<default>false</default> <default>false</default>
</key> </key>
<key name="lutris-import-flatpak" type="b">
<default>false</default>
</key>
<key name="heroic" type="b"> <key name="heroic" type="b">
<default>true</default> <default>true</default>
</key> </key>
<key name="heroic-location" type="s"> <key name="heroic-location" type="s">
<default>"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/"</default> <default>"~/.config/heroic/"</default>
</key>
<key name="heroic-import-epic" type="b">
<default>true</default>
</key>
<key name="heroic-import-gog" type="b">
<default>true</default>
</key>
<key name="heroic-import-sideload" type="b">
<default>true</default>
</key> </key>
<key name="heroic-import-epic" type="b">
<default>true</default>
</key>
<key name="heroic-import-gog" type="b">
<default>true</default>
</key>
<key name="heroic-import-sideload" type="b">
<default>true</default>
</key>
<key name="bottles" type="b"> <key name="bottles" type="b">
<default>true</default> <default>true</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>
</key> </key>
<key name="itch" type="b"> <key name="itch" type="b">
@@ -61,6 +58,21 @@
<key name="itch-location" type="s"> <key name="itch-location" type="s">
<default>"~/.var/app/io.itch.itch/config/itch/"</default> <default>"~/.var/app/io.itch.itch/config/itch/"</default>
</key> </key>
<key name="legendary" type="b">
<default>true</default>
</key>
<key name="legendary-location" type="s">
<default>"~/.config/legendary/"</default>
</key>
<key name="flatpak" type="b">
<default>true</default>
</key>
<key name="flatpak-location" type="s">
<default>"/var/lib/flatpak/exports/"</default>
</key>
<key name="flatpak-import-launchers" type="b">
<default>false</default>
</key>
<key name="sgdb-key" type="s"> <key name="sgdb-key" type="s">
<default>""</default> <default>""</default>
</key> </key>
@@ -73,8 +85,8 @@
<key name="sgdb-animated" type="b"> <key name="sgdb-animated" type="b">
<default>false</default> <default>false</default>
</key> </key>
</schema> </schema>
<schema id="hu.kramo.Cartridge.State" path="/hu/kramo/Cartridges/State/"> <schema id="@APP_ID@.State" path="@PREFIX@/State/">
<key name="width" type="i"> <key name="width" type="i">
<default>1110</default> <default>1110</default>
</key> </key>
@@ -86,13 +98,16 @@
</key> </key>
<key name="sort-mode" type="s"> <key name="sort-mode" type="s">
<choices> <choices>
<choice value="a-z"/> <choice value="a-z" />
<choice value="z-a"/> <choice value="z-a" />
<choice value="newest"/> <choice value="newest" />
<choice value="oldest"/> <choice value="oldest" />
<choice value="last_played"/> <choice value="last_played" />
</choices> </choices>
<default>"a-z"</default> <default>"a-z"</default>
</key> </key>
<key name="steam-limiter-tokens-history" type="s">
<default>"[]"</default>
</key>
</schema> </schema>
</schemalist> </schemalist>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application"> <component type="desktop-application">
<id>hu.kramo.Cartridges.desktop</id> <id>@APP_ID@.desktop</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license> <project_license>GPL-3.0-or-later</project_license>
<name>Cartridges</name> <name>Cartridges</name>
@@ -15,7 +15,15 @@
<url type="vcs-browser">https://github.com/kra-mo/cartridges</url> <url type="vcs-browser">https://github.com/kra-mo/cartridges</url>
<url type="contribute">https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md</url> <url type="contribute">https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md</url>
<developer_name translatable="no">kramo</developer_name> <developer_name translatable="no">kramo</developer_name>
<launchable type="desktop-id">hu.kramo.Cartridges.desktop</launchable> <launchable type="desktop-id">@APP_ID@.desktop</launchable>
<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</supports>
<recommends>
<display_length compare="gt">545</display_length>
</recommends>
<screenshots> <screenshots>
<screenshot type="default"> <screenshot type="default">
<image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/1.png</image> <image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/1.png</image>
@@ -36,10 +44,22 @@
</screenshots> </screenshots>
<content_rating type="oars-1.1" /> <content_rating type="oars-1.1" />
<releases> <releases>
<release version="1.4.1" date="2023-05-05"> <release version="1.5.6" date="2023-06-19">
<description translatable="no"> <description translatable="no">
<ul> <ul>
<li>Updates the Heroic GOG path</li> <li>Fixes an issue with importing Bottles games without covers</li>
<li>Translations since 1.5</li>
</ul>
</description>
</release>
<release version="1.5" date="2023-05-23">
<description translatable="no">
<ul>
<li>Cartridges is now part of GNOME Circle!</li>
<li>Extra Steam libraries are now detected automatically</li>
<li>Executables are now passed directly to the shell</li>
<li>Various UX improvements</li>
<li>Translations since 1.4</li>
</ul> </ul>
</description> </description>
</release> </release>

View File

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

After

Width:  |  Height:  |  Size: 10 KiB

View File

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

After

Width:  |  Height:  |  Size: 618 B

View File

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

View File

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

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 831 B

View File

@@ -0,0 +1 @@
<svg width="2" height="2" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="url(#a)" d="M0 0h2v2H0z"/><defs><linearGradient id="a" x1="1" y1="0" x2="1" y2="2" gradientUnits="userSpaceOnUse"><stop stop-color="#9A9996"/><stop offset="1" stop-color="#5E5C64"/></linearGradient></defs></svg>

After

Width:  |  Height:  |  Size: 296 B

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 710 KiB

After

Width:  |  Height:  |  Size: 683 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 KiB

After

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 25 KiB

116
docs/game_id.json.md Normal file
View File

@@ -0,0 +1,116 @@
# [game_id].json specification
#### Version 2.0
Games are saved to disk in the form of [game_id].json files. These files contain all information about a game excluding its cover, which is handled separately.
## Location
The standard location for these files is `/cartridges/games/` under the data directory of the user (`XDG_DATA_HOME` on Linux).
## Contents
The following attributes are saved:
- [added](#added)
- [executable](#executable)
- [game_id](#game_id)
- [source](#source)
- [hidden](#hidden)
- [last_played](#last_played)
- [name](#name)
- [developer](#developer)
- [removed](#removed)
- [blacklisted](#blacklisted)
- [version](#version)
### added
The date at which the game was added.
Cartridges will set the value for itself. Don't touch it.
Stored as a Unix time stamp.
### executable
The executable to run when launching a game.
If the source has a URL handler, using that is preferred. In that case, the value should be `"xdg-open url://example/url"` for Linux and `"start url://example/url"` for Windows.
Stored as either a string (preferred) or an argument vector to be passed to the shell through [subprocess.Popen](https://docs.python.org/3/library/subprocess.html#popen-constructor).
### game_id
The unique ID of the game, prefixed with [`[source]_`](#source) to avoid clashes.
If the game's source uses a consistent internal ID system, use the ID from there. If not, use a hash function that always returns the same hash for the same game, even if some of its attributes change inside of the source.
Stored as a string.
### source
A unique ID for the source of the game in lowercase, without spaces.
If a source provides multiple internal sources, these should be separately labeled, but share a common prefix. eg. `heoic_gog`, `heroic_epic`.
Stored as a string.
### hidden
Whether or not a game is hidden.
If the source provides a way of hiding games, take the value from there. Otherwise it should be set to false by default.
Stored as a boolean.
### last_played
The date at which the game was last launched from Cartridges.
Cartridges will set the value for itself. Don't touch it.
Stored as a Unix time stamp. 0 if the game hasn't been played yet.
### name
The title of the game.
Stored as a string.
### developer
The developer or publisher of the game.
If there are multiple developers or publishers, they should be joined with a comma and a space (`, `) into one string.
This is an optional attribute. If it can't be retrieved from the source, don't touch it.
Stored as a string.
### removed
Whether or not a game has been removed.
Cartridges will set the value for itself. Don't touch it.
Stored as a boolean.
### blacklisted
Whether or not a game is blacklisted. Blacklisting a game means it is going to still be imported, but not displayed to the user.
You should only blacklist a game based on information you pull from the web. This is to ensure that games which you would skip based on information online are still skipped even if the user loses their internet connection. If an entry is broken locally, just skip it.
The only reason to blacklist a game is if you find out that the locally cached entry is not actually a game (eg. Proton) or is otherwise invalid.
Unless the above criteria is met, don't touch the attribute.
Stored as a boolean.
### version
The version number of the [game_id].json specification.
Cartridges will set the value for itself. Don't touch it.
Stored as a number.

View File

@@ -1,5 +1,5 @@
{ {
"id" : "hu.kramo.Cartridges", "id" : "hu.kramo.Cartridges.Devel",
"runtime" : "org.gnome.Platform", "runtime" : "org.gnome.Platform",
"runtime-version" : "44", "runtime-version" : "44",
"sdk" : "org.gnome.Sdk", "sdk" : "org.gnome.Sdk",
@@ -11,17 +11,13 @@
"--device=dri", "--device=dri",
"--socket=wayland", "--socket=wayland",
"--talk-name=org.freedesktop.Flatpak", "--talk-name=org.freedesktop.Flatpak",
"--filesystem=~/.steam/steam/:ro", "--filesystem=host:ro",
"--filesystem=xdg-data/lutris/:ro",
"--filesystem=xdg-cache/lutris/:ro",
"--filesystem=xdg-config/heroic/:ro",
"--filesystem=xdg-data/bottles/:ro",
"--filesystem=xdg-config/itch/:ro",
"--filesystem=~/.var/app/com.valvesoftware.Steam/data/Steam/:ro", "--filesystem=~/.var/app/com.valvesoftware.Steam/data/Steam/:ro",
"--filesystem=~/.var/app/net.lutris.Lutris/:ro", "--filesystem=~/.var/app/net.lutris.Lutris/:ro",
"--filesystem=~/.var/app/com.heroicgameslauncher.hgl/config/heroic/:ro", "--filesystem=~/.var/app/com.heroicgameslauncher.hgl/config/heroic/:ro",
"--filesystem=~/.var/app/com.usebottles.bottles/data/bottles/:ro", "--filesystem=~/.var/app/com.usebottles.bottles/data/bottles/:ro",
"--filesystem=~/.var/app/io.itch.itch/config/itch/:ro" "--filesystem=~/.var/app/io.itch.itch/config/itch/:ro",
"--filesystem=/var/lib/flatpak:ro"
], ],
"cleanup" : [ "cleanup" : [
"/include", "/include",
@@ -101,6 +97,20 @@
"sha256": "bf548479d336726d7a0eceb6e767e179fbde37833ae42794602631a070d630f1" "sha256": "bf548479d336726d7a0eceb6e767e179fbde37833ae42794602631a070d630f1"
} }
] ]
},
{
"name": "python3-pyxdg",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pyxdg\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/e5/8d/cf41b66a8110670e3ad03dab9b759704eeed07fa96e90fdc0357b2ba70e2/pyxdg-0.28-py2.py3-none-any.whl",
"sha256": "bdaf595999a0178ecea4052b7f4195569c1ff4d344567bccdc12dfdf02d545ab"
}
]
} }
] ]
}, },
@@ -111,7 +121,7 @@
{ {
"type" : "git", "type" : "git",
"url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler", "url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler",
"tag" : "v0.6.0" "tag" : "v0.8.1"
} }
], ],
"cleanup" : [ "cleanup" : [
@@ -122,10 +132,13 @@
"name" : "cartridges", "name" : "cartridges",
"builddir" : true, "builddir" : true,
"buildsystem" : "meson", "buildsystem" : "meson",
"config-opts": [
"-Dprofile=development"
],
"sources" : [ "sources" : [
{ {
"type" : "dir", "type" : "dir",
"path" : "." "path" : ".."
} }
] ]
} }

View File

@@ -1,18 +1,46 @@
project('cartridges', project('cartridges',
version: '1.4.1', version: '1.5.6',
meson_version: '>= 0.59.0', meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2', 'werror=false', ], default_options: [ 'warning_level=2', 'werror=false', ],
) )
i18n = import('i18n') i18n = import('i18n')
gnome = import('gnome') gnome = import('gnome')
python = import('python')
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name()) pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
profile = get_option('profile')
if profile == 'development'
app_id = 'hu.kramo.Cartridges.Devel'
prefix = '/hu/kramo/Cartridges/Devel'
elif profile == 'release'
app_id = 'hu.kramo.Cartridges'
prefix = '/hu/kramo/Cartridges'
endif
conf = configuration_data()
conf.set('PYTHON', python.find_installation('python3').full_path())
conf.set('PYTHON_VERSION', python.find_installation('python3').language_version())
conf.set('APP_ID', app_id)
conf.set('PREFIX', prefix)
conf.set('VERSION', meson.project_version())
conf.set('PROFILE', profile)
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
conf.set('pkgdatadir', pkgdatadir)
subdir('data') subdir('data')
subdir('src') subdir('src')
subdir('po') subdir('po')
configure_file(
input: './windows/Cartridges.iss.in',
output: 'Cartridges.iss',
configuration: conf,
install: true,
install_dir: '.'
)
gnome.post_install( gnome.post_install(
glib_compile_schemas: true, glib_compile_schemas: true,
gtk_update_icon_cache: true, gtk_update_icon_cache: true,

9
meson_options.txt Normal file
View File

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

View File

@@ -13,3 +13,9 @@ ru
ko ko
de de
ro ro
pt_BR
fa
pl
sv
tr
el

View File

@@ -1,7 +1,8 @@
data/hu.kramo.Cartridges.desktop.in data/hu.kramo.Cartridges.desktop.in
data/hu.kramo.Cartridges.gschema.xml data/hu.kramo.Cartridges.gschema.xml.in
data/hu.kramo.Cartridges.metainfo.xml.in data/hu.kramo.Cartridges.metainfo.xml.in
data/gtk/details-window.blp
data/gtk/game.blp data/gtk/game.blp
data/gtk/help-overlay.blp data/gtk/help-overlay.blp
data/gtk/preferences.blp data/gtk/preferences.blp
@@ -9,10 +10,10 @@ data/gtk/window.blp
src/main.py src/main.py
src/window.py src/window.py
src/details_window.py
src/game.py src/game.py
src/preferences.py src/preferences.py
src/utils/create_details_window.py
src/utils/create_dialog.py src/utils/create_dialog.py
src/utils/importer.py src/importer/sources/source.py
src/utils/steamgriddb.py src/store/managers/sgdb_manager.py

543
po/ar.po
View File

@@ -7,8 +7,8 @@ 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n" "PO-Revision-Date: 2023-05-26 18:10+0000\n"
"Last-Translator: Ali Aljishi <ahj696@hotmail.com>\n" "Last-Translator: Ali Aljishi <ahj696@hotmail.com>\n"
"Language-Team: Arabic <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Arabic <https://hosted.weblate.org/projects/cartridges/"
"cartridges/ar/>\n" "cartridges/ar/>\n"
@@ -18,11 +18,11 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "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" "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
"X-Generator: Weblate 4.17-dev\n" "X-Generator: Weblate 4.18-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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "خراطيش" msgstr "خراطيش"
@@ -35,6 +35,10 @@ msgstr "مشغِّل ألعاب"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "شغِّل كلَّ ألعابك" msgstr "شغِّل كلَّ ألعابك"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "لعب;مشغل;ستيم;لوترس;هروك;قوارير;إتش;هيرويك;بوتلز;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -46,43 +50,78 @@ msgstr ""
"وبرامج أخرى، وذلك دون تسجيل دخول. ولك ترتيب وإخفاء الألعاب فيه كيفما شئت، " "وبرامج أخرى، وذلك دون تسجيل دخول. ولك ترتيب وإخفاء الألعاب فيه كيفما شئت، "
"وكذلك تستطيع منه تنزيل غُلُف الألعاب من SteamGridDB." "وكذلك تستطيع منه تنزيل غُلُف الألعاب من SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "المكتبة" msgstr "المكتبة"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "حرِّر تفاصيل اللعبة" msgstr "حرِّر تفاصيل اللعبة"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "تفاصيل اللعبة" msgstr "تفاصيل اللعبة"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "التفضيلات" msgstr "التفضيلات"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "ألغِ"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "غلاف جديد"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "احذف الغلاف"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "العنوان" msgstr "العنوان"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "عنوان اللعبة"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "المطوِّر"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "المطوِّر أو الناشر (اختياري)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "ملفُّ التنفيذ"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "الملفُّ المفتوح أو الأمر المشغَّل عند بدء اللعبة"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "معلومات أكثر"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "حرِّر" msgstr "حرِّر"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "أخفِ" msgstr "أخفِ"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "أزل" msgstr "أزل"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "اكشف" msgstr "اكشف"
@@ -94,8 +133,8 @@ msgstr "عام"
msgid "Quit" msgid "Quit"
msgstr "أنهِ" msgstr "أنهِ"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "ابحث" msgstr "ابحث"
@@ -107,8 +146,7 @@ msgstr "أظهر التفضيلات"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "الاختصارات" msgstr "الاختصارات"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "تراجع" msgstr "تراجع"
@@ -136,7 +174,7 @@ msgstr "أظهر الألعاب المخفية"
msgid "Remove game" msgid "Remove game"
msgstr "أزل اللعبة" msgstr "أزل اللعبة"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "السلوك" msgstr "السلوك"
@@ -152,7 +190,7 @@ msgstr "تبدأ صورة الغلاف اللعبة"
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "يبدِّل سلوك صورة الغلاف وزرِّ «العب»" msgstr "يبدِّل سلوك صورة الغلاف وزرِّ «العب»"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "الصور" msgstr "الصور"
@@ -172,342 +210,232 @@ msgstr "منطقة خطر"
msgid "Remove All Games" msgid "Remove All Games"
msgstr "أزل كلَّ الألعاب" msgstr "أزل كلَّ الألعاب"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "استورد" msgstr "استورد"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "المصادر" msgstr "المصادر"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "ستيم" msgstr "ستيم"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "موضع تثبيت ستيم" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "موضع تثبيت إتش"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "المجلَّد المستخدم عند استيراد الألعاب"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "مكتبات ستيم الإضافية"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "حدِّد المجلَّدات الأخرى التي ثُبِّتت فيها ألعاب ستيم"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "أمحُ"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "لوترس" msgstr "لوترس"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" #, fuzzy
msgstr "موضع تثبيت لوترس" #| msgid "Lutris Cache Location"
msgid "Cache Location"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "موضع ذكرة لوترس المؤقَّتة" msgstr "موضع ذكرة لوترس المؤقَّتة"
#: data/gtk/preferences.blp:129 #: data/gtk/preferences.blp:128
msgid "Directory to use when importing game covers"
msgstr "المجلَّد المستخدم عند استيراد غُلُف الألعاب"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "استورد ألعابًا من ستيم" msgstr "استورد ألعابًا من ستيم"
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "هِرُوِك" msgstr "هِرُوِك"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "موضع تثبيت هِرُوِك"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "استورد ألعاب أَبِك" msgstr "استورد ألعاب أَبِك"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "استورد ألعاب جي‌أو‌جي" msgstr "استورد ألعاب جي‌أو‌جي"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "استورد ألعابًا مثبَّتةً بغير متجر" msgstr "استورد ألعابًا مثبَّتةً بغير متجر"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "قوارير" msgstr "قوارير"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "موضع تثبيت قوارير"
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "إتش" msgstr "إتش"
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "موضع تثبيت إتش" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "الاستيثاق" msgstr "الاستيثاق"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "مفتاح واجهة البرمجة" msgstr "مفتاح واجهة البرمجة"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "استخدم SteamGridDB" msgstr "استخدم SteamGridDB"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "نزِّل الصور حينما تنزِّل أو تستورد الألعاب" msgstr "نزِّل الصور حينما تنزِّل أو تستورد الألعاب"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "فضِّلها على الصور الرسمية" msgstr "فضِّلها على الصور الرسمية"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "فضِّل الصور المتحرِّكة" msgstr "فضِّل الصور المتحرِّكة"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "لم يُعثر على ألعاب" msgstr "لم يُعثر على ألعاب"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "جرِّب بحثًا آخر." msgstr "جرِّب بحثًا آخر."
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "لا توجد ألعاب" msgstr "لا توجد ألعاب"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "استخدم زرَّ + لتضيف ألعابًا." msgstr "استخدم زرَّ + لتضيف ألعابًا."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "لا توجد ألعاب مخفية" msgstr "لا توجد ألعاب مخفية"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "هنا يظهر ما أخفيت من ألعاب." msgstr "هنا يظهر ما أخفيت من ألعاب."
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "عد" msgstr "عد"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "عنوان اللعبة" msgstr "عنوان اللعبة"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "العب" msgstr "العب"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "أضف لعبةً" msgstr "أضف لعبةً"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "القائمة الرئيسة" msgstr "القائمة الرئيسة"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "الألعاب المخفية" msgstr "الألعاب المخفية"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "رتِّب" msgstr "رتِّب"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "أ-ي" msgstr "أ-ي"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "ي-أ" msgstr "ي-أ"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "الأجدد" msgstr "الأجدد"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "الأقدم" msgstr "الأقدم"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "لُعبت آخر مرَّة" msgstr "لُعبت آخر مرَّة"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "أظهر ما أخفي" msgstr "أظهر ما أخفي"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "اختصارات لوحة المفاتيح" msgstr "اختصارات لوحة المفاتيح"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "Ali Aljishi <ahj696@hotmail.com>" msgstr "Ali Aljishi <ahj696@hotmail.com>"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "بُدئت {}"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "أٌخفيت {}"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "أٌظهرت {}"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "أزيلت {}"
#: src/window.py:262
msgid "Today"
msgstr "اليوم"
#: src/window.py:264
msgid "Yesterday"
msgstr "أمس"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "أضيفت في: {}" msgstr "أضيفت في: {}"
#: src/window.py:315 #: src/window.py:195
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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "لُعبت آخر مرَّة في: {}" msgstr "لُعبت آخر مرَّة في: {}"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "التفاصيل"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "لم يُعثر على التثبيت"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "حدِّد مجلَّد ضبط {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "حدِّد مجلَّد بيانات {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "عيِّن الموضع"
#: src/preferences.py:132
msgid "All games removed"
msgstr "أُزيلت كلُّ الألعاب"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "لم يُعثر على الذاكرة المؤقَّتة"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "حدِّد مجلَّد ذاكرة لوترس المؤقَّتة."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"تحتاج مفتاح واجهة برمجة حال ما أردت استخدام SteamGridDB، {}هنا تولِّده{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "أضف لعبةً جديدةً"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "أكِّد"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "طبِّق" msgstr "طبِّق"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "عنوان اللعبة" msgstr "أضف لعبةً جديدةً"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "المطوِّر" msgstr "أكِّد"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "المطوِّر أو الناشر (اختياري)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "ملف.txt" msgstr "ملف.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "البرنامج" msgstr "البرنامج"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\المسار\\إلى\\{}" msgstr "C:\\المسار\\إلى\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/المسار/إلى/{}" msgstr "/المسار/إلى/{}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -529,82 +457,170 @@ msgstr ""
"\n" "\n"
"ولا تنسَ إحاطة المسار بعلامتي تنصيص مزدوجتين حالما تضمَّن مسافات!" "ولا تنسَ إحاطة المسار بعلامتي تنصيص مزدوجتين حالما تضمَّن مسافات!"
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "ملفُّ التنفيذ"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "الملفُّ المفتوح أو الأمر المشغَّل عند بدء اللعبة"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "ألغِ"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "تعذَّرت إضافة اللعبة" msgstr "تعذَّرت إضافة اللعبة"
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "تعذَّر تطبيق التفضيلات"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "لا يجوز كون عنوان اللعبة فارغًا." msgstr "لا يجوز كون عنوان اللعبة فارغًا."
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "لا يجوز كون ملفِّ التنفيذ فارغًا." msgstr "لا يجوز كون ملفِّ التنفيذ فارغًا."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "تعذَّر تطبيق التفضيلات"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "بُدئت {}"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "أٌخفيت {}"
#: src/game.py:154
msgid "{} unhidden"
msgstr "أٌظهرت {}"
#: src/game.py:171
msgid "{} removed"
msgstr "أزيلت {}"
#: src/preferences.py:102
msgid "All games removed"
msgstr "أُزيلت كلُّ الألعاب"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"تحتاج مفتاح واجهة برمجة حال ما أردت استخدام SteamGridDB، {}هنا تولِّده{}."
#: src/preferences.py:289
msgid "Set Location"
msgstr "عيِّن الموضع"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "تجاهل" msgstr "تجاهل"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "تُستورد الألعاب…" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "تُستورد الغُلُف…" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." #, fuzzy
msgstr "لم يُعثر على ألعاب جديدة في نظامك." #| msgid "Confirm"
msgid "Configuration"
msgstr "أكِّد"
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgstr "اُستوردت اللعبة" msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "اُستوردت لعبة بنجاح." msgstr ""
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" #, fuzzy
msgstr "اُستوردت الألعاب" #| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "اُستوردت {} لعبة بنجاح."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "تعذَّر الاتصال ب‍ SteamGridDB" msgstr "تعذَّر الاتصال ب‍ SteamGridDB"
#: src/utils/importer.py:145 #: src/store/managers/sgdb_manager.py:48
msgid "" msgid "Verify your API key in preferences"
"Looks like you have multiple Steam libraries. Would you like to add them in " msgstr ""
"preferences?"
msgstr "يبدو أن عندك أكثر من مكتبة ستيم. أتريد إضافتهم في التفضيلات؟" #~ msgid "Steam Install Location"
#~ msgstr "موضع تثبيت ستيم"
#~ msgid "Lutris Install Location"
#~ msgstr "موضع تثبيت لوترس"
#~ msgid "Heroic Install Location"
#~ msgstr "موضع تثبيت هِرُوِك"
#~ msgid "Bottles Install Location"
#~ msgstr "موضع تثبيت قوارير"
#~ msgid "Today"
#~ msgstr "اليوم"
#~ msgid "Yesterday"
#~ msgstr "أمس"
#~ msgid "Cache Not Found"
#~ msgstr "لم يُعثر على الذاكرة المؤقَّتة"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "حدِّد مجلَّد ذاكرة لوترس المؤقَّتة."
#~ msgid "Installation Not Found"
#~ msgstr "لم يُعثر على التثبيت"
#~ msgid "Select the {} configuration directory."
#~ msgstr "حدِّد مجلَّد ضبط {}."
#~ msgid "Select the {} data directory."
#~ msgstr "حدِّد مجلَّد بيانات {}."
#~ msgid "Importing Games…"
#~ msgstr "تُستورد الألعاب…"
#~ msgid "Importing Covers…"
#~ msgstr "تُستورد الغُلُف…"
#~ msgid "No new games found"
#~ msgstr "لم يُعثر على ألعاب جديدة"
#~ msgid "1 game imported"
#~ msgstr "اُستوردت لعبة واحدة"
#~ msgid "{} games imported"
#~ msgstr "اُستوردت {} لعبة"
#~ msgid "Directory to use when importing games"
#~ msgstr "المجلَّد المستخدم عند استيراد الألعاب"
#~ msgid "Extra Steam Libraries"
#~ msgstr "مكتبات ستيم الإضافية"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "حدِّد المجلَّدات الأخرى التي ثُبِّتت فيها ألعاب ستيم"
#~ msgid "Clear"
#~ msgstr "أمحُ"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "المجلَّد المستخدم عند استيراد غُلُف الألعاب"
#~ msgid "Details"
#~ msgstr "التفاصيل"
#~ msgid "No new games were found on your system."
#~ msgstr "لم يُعثر على ألعاب جديدة في نظامك."
#~ msgid "Successfully imported 1 game."
#~ msgstr "اُستوردت لعبة بنجاح."
#~ msgid "Successfully imported {} games."
#~ msgstr "اُستوردت {} لعبة بنجاح."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr "يبدو أن عندك أكثر من مكتبة ستيم. أتريد إضافتهم في التفضيلات؟"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "شغِّل ألعابك" #~ msgstr "شغِّل ألعابك"
@@ -626,19 +642,16 @@ msgstr "يبدو أن عندك أكثر من مكتبة ستيم. أتريد إ
#~ msgstr "/path/to/{file_name}" #~ msgstr "/path/to/{file_name}"
#, fuzzy #, fuzzy
#~| msgid "General"
#~ msgctxt "shortcuts window" #~ msgctxt "shortcuts window"
#~ msgid "General" #~ msgid "General"
#~ msgstr "عام" #~ msgstr "عام"
#, fuzzy #, fuzzy
#~| msgid "Search"
#~ msgctxt "shortcuts window" #~ msgctxt "shortcuts window"
#~ msgid "Search" #~ msgid "Search"
#~ msgstr "ابحث" #~ msgstr "ابحث"
#, fuzzy #, fuzzy
#~| msgid "Undo"
#~ msgctxt "shortcuts window" #~ msgctxt "shortcuts window"
#~ msgid "Undo" #~ msgid "Undo"
#~ msgstr "تراجع" #~ msgstr "تراجع"
@@ -687,3 +700,9 @@ msgstr "يبدو أن عندك أكثر من مكتبة ستيم. أتريد إ
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "يُتواصل مع ستيم" #~ msgstr "يُتواصل مع ستيم"
#~ msgid "Game Imported"
#~ msgstr "اُستوردت اللعبة"
#~ msgid "Games Imported"
#~ msgstr "اُستوردت الألعاب"

View File

@@ -8,18 +8,18 @@ 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 22:22+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"
"Language: \n" "Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:29 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:119 #: src/main.py:153
msgid "Cartridges" msgid "Cartridges"
msgstr "" msgstr ""
@@ -32,6 +32,10 @@ msgstr ""
msgid "Launch all your games" msgid "Launch all your games"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -40,43 +44,78 @@ msgid ""
"SteamGridDB." "SteamGridDB."
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "" msgstr ""
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr ""
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "" msgstr ""
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr ""
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr ""
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr ""
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr ""
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr ""
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "" msgstr ""
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "" msgstr ""
@@ -88,8 +127,8 @@ msgstr ""
msgid "Quit" msgid "Quit"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "" msgstr ""
@@ -101,8 +140,7 @@ msgstr ""
msgid "Shortcuts" msgid "Shortcuts"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "" msgstr ""
@@ -130,7 +168,7 @@ msgstr ""
msgid "Remove game" msgid "Remove game"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "" msgstr ""
@@ -146,7 +184,7 @@ msgstr ""
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "" msgstr ""
@@ -166,341 +204,228 @@ msgstr ""
msgid "Remove All Games" msgid "Remove All Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
msgid "Install Location"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr ""
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" msgid "Cache Location"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr ""
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr ""
#: data/gtk/preferences.blp:138
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr ""
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr ""
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "" msgstr ""
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "" msgstr ""
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "" msgstr ""
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "" msgstr ""
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "" msgstr ""
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "" msgstr ""
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "" msgstr ""
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "" msgstr ""
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "" msgstr ""
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "" msgstr ""
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "" msgstr ""
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "" msgstr ""
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "" msgstr ""
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "" msgstr ""
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "" msgstr ""
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "" msgstr ""
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "" msgstr ""
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "" msgstr ""
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "" msgstr ""
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "" msgstr ""
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "" msgstr ""
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
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:137 #: src/main.py:171
msgid "translator_credits" msgid "translator_credits"
msgstr "" msgstr ""
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr ""
#: src/window.py:262
msgid "Today"
msgstr ""
#: src/window.py:264
msgid "Yesterday"
msgstr ""
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "" msgstr ""
#: src/window.py:315 #: src/window.py:195
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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "" msgstr ""
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr ""
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr ""
#: src/preferences.py:132
msgid "All games removed"
msgstr ""
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr ""
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr ""
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr ""
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr ""
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr ""
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "" msgstr ""
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr ""
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "" msgstr ""
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "" msgstr ""
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -513,79 +438,61 @@ 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:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr ""
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr ""
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr ""
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr ""
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "" msgstr ""
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr ""
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr ""
#: src/game.py:154
msgid "{} unhidden"
msgstr ""
#: src/game.py:171
msgid "{} removed"
msgstr ""
#: src/preferences.py:102
msgid "All games removed"
msgstr ""
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/preferences.py:289
msgid "Set Location"
msgstr ""
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "" msgstr ""
#: src/utils/importer.py:42 #: src/store/managers/sgdb_manager.py:47
msgid "Importing Games…" msgid "Couldn't Authenticate SteamGridDB"
msgstr "" msgstr ""
#: src/utils/importer.py:77 #: src/store/managers/sgdb_manager.py:48
msgid "Importing Covers…" msgid "Verify your API key in preferences"
msgstr ""
#: src/utils/importer.py:92
msgid "No new games were found on your system."
msgstr ""
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr ""
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr ""
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr ""
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr ""
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr ""
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "" msgstr ""

552
po/de.po
View File

@@ -3,13 +3,14 @@
# This file is distributed under the same license as the Cartridges package. # This file is distributed under the same license as the Cartridges package.
# Jummit <jummit@web.de>, 2023. # Jummit <jummit@web.de>, 2023.
# WebSnke <websnke@tutanota.com>, 2023. # WebSnke <websnke@tutanota.com>, 2023.
# Ettore Atalan <atalanttore@googlemail.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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-08 20:49+0000\n" "PO-Revision-Date: 2023-04-17 17:20+0000\n"
"Last-Translator: Jummit <jummit@web.de>\n" "Last-Translator: Ettore Atalan <atalanttore@googlemail.com>\n"
"Language-Team: German <https://hosted.weblate.org/projects/cartridges/" "Language-Team: German <https://hosted.weblate.org/projects/cartridges/"
"cartridges/de/>\n" "cartridges/de/>\n"
"Language: de\n" "Language: de\n"
@@ -17,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.17-dev\n" "X-Generator: Weblate 4.17\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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
@@ -34,6 +35,10 @@ msgstr "Spiele-Launcher"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Starte all deine Spiele" msgstr "Starte all deine Spiele"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -46,43 +51,78 @@ msgstr ""
"erforderlich. Du kannst sortieren, Spiele verstecken oder das Cover-Art aus " "erforderlich. Du kannst sortieren, Spiele verstecken oder das Cover-Art aus "
"SteamGRID herunterladen." "SteamGRID herunterladen."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "Bibliothek" msgstr "Bibliothek"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Spieldetails bearbeiten" msgstr "Spieldetails bearbeiten"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Spieldetails" msgstr "Spieldetails"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "Einstellungen" msgstr "Einstellungen"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Abbrechen"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "Titel" msgstr "Titel"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "Der Titel des Spiels"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Entwickler"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Der Entwickler oder Verlag (optional)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Ausführbare Datei"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Datei zum Öffnen oder Befehl zum Starten des Spiels"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "Bearbeiten" msgstr "Bearbeiten"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "Verstecken" msgstr "Verstecken"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Entfernen" msgstr "Entfernen"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "Unverstecken" msgstr "Unverstecken"
@@ -94,8 +134,8 @@ msgstr "Allgemein"
msgid "Quit" msgid "Quit"
msgstr "Beenden" msgstr "Beenden"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "Suchen" msgstr "Suchen"
@@ -107,8 +147,7 @@ msgstr "Einstellungen anzeigen"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Kürzel" msgstr "Kürzel"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "Rückgängig" msgstr "Rückgängig"
@@ -136,7 +175,7 @@ msgstr "Ausgeblendete Spiele anzeigen"
msgid "Remove game" msgid "Remove game"
msgstr "Spiel entfernen" msgstr "Spiel entfernen"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "Verhalten" msgstr "Verhalten"
@@ -152,7 +191,7 @@ msgstr "Coverbild Startet Spiel"
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "Tauscht das Verhalten des Covers und des Spielen-Knopfes" msgstr "Tauscht das Verhalten des Covers und des Spielen-Knopfes"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "Bilder" msgstr "Bilder"
@@ -172,345 +211,232 @@ msgstr "Gefahrenzone"
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Alle Spiele entfernen" msgstr "Alle Spiele entfernen"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "Importieren" msgstr "Importieren"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "Quellen" msgstr "Quellen"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "Steam-Installationsort" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "itch-Installationsort"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Verzeichnis, das beim Importieren von Spielen verwendet wird"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Extra Steam-Bibliotheken"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Wähle andere Verzeichnisse in denen du Steam-Spiele installiert hast"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Löchen"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" #, fuzzy
msgstr "Lutris-Installationsort" #| msgid "Lutris Cache Location"
msgid "Cache Location"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Lutris-Cacheort" msgstr "Lutris-Cacheort"
#: data/gtk/preferences.blp:129 #: data/gtk/preferences.blp:128
msgid "Directory to use when importing game covers"
msgstr "Verzeichnis für den Import von Spiel-Covern"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Steam-Spiele importieren" msgstr "Steam-Spiele importieren"
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "Heroic-Installationsort"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Epic Games importieren" msgstr "Epic Games importieren"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "GOG-Spiele importieren" msgstr "GOG-Spiele importieren"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Sideloaded-Spiele importieren" msgstr "Sideloaded-Spiele importieren"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "Bottles-Installationsort"
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "itch-Installationsort" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "Authentifizierung" msgstr "Authentifizierung"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "API-Schlüssel" msgstr "API-Schlüssel"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "SteamGridDB benutzen" msgstr "SteamGridDB benutzen"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Lade Bilder herunter, wenn Spiele hinzugefügt oder importiert werden" msgstr "Lade Bilder herunter, wenn Spiele hinzugefügt oder importiert werden"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Über offizielien Images bevorzugen" msgstr "Über offizielien Images bevorzugen"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
#, fuzzy
#| msgid "Prefer Over Official Images"
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Über offizielien Images bevorzugen" msgstr "Animierte Bilder bevorzugen"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Keine Spiele gefunden" msgstr "Keine Spiele gefunden"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "Versuche eine andere Suche." msgstr "Versuche eine andere Suche."
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Keine Spiele" msgstr "Keine Spiele"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Benutze denn + Knopf um Spiele hinzuzufügen." msgstr "Benutze denn + Knopf um Spiele hinzuzufügen."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Keine versteckten Spiele" msgstr "Keine versteckten Spiele"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Ausgeblendete Spiele, werden hier angezeigt." msgstr "Ausgeblendete Spiele, werden hier angezeigt."
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Zurück" msgstr "Zurück"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "Spieltitel" msgstr "Spieltitel"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Spielen" msgstr "Spielen"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "Spiel hinzufügen" msgstr "Spiel hinzufügen"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "Hauptmenü" msgstr "Hauptmenü"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Ausgeblendete Spiele" msgstr "Ausgeblendete Spiele"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "Sortierung" msgstr "Sortierung"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "A-Z" msgstr "A-Z"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "Z-A" msgstr "Z-A"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "Neuestes" msgstr "Neuestes"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "Älteste" msgstr "Älteste"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "Zuletzt gespielt" msgstr "Zuletzt gespielt"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Ausgeblendete anzeigen" msgstr "Ausgeblendete anzeigen"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "Tastaturkürzel" msgstr "Tastaturkürzel"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
msgstr "Über Cartridges" msgstr "Über Cartridges"
#. 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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "Feliks Weber" msgstr "Feliks Weber"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} gestartet"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} versteckt"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} unversteckt"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} entfernt"
#: src/window.py:262
msgid "Today"
msgstr "Heute"
#: src/window.py:264
msgid "Yesterday"
msgstr "Gestern"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "Hinzugefügt: {}" msgstr "Hinzugefügt: {}"
#: src/window.py:315 #: src/window.py:195
msgid "Never" msgid "Never"
msgstr "Nie" msgstr "Nie"
#. 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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Zuletzt gespielt: {}" msgstr "Zuletzt gespielt: {}"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "Details"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Installation nicht gefunden"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Wähle das Konfigurationsverzeichnis von {} aus."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Wähle das Datenverzeichnis von {} aus."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Ort festlegen"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Alle Spiele entfernt"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Cache nicht gefunden"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Wähle das Lutris-Cache-Verzeichnis aus."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Für die Nutzung von SteamGridDB ist ein API-Schlüssel erforderlich. Sie "
"können ihn {}hier{} generieren."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Neues Spiel hinzufügen"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Bestätigen"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "Anwenden" msgstr "Anwenden"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "Der Titel des Spiels" msgstr "Neues Spiel hinzufügen"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "Entwickler" msgstr "Bestätigen"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Der Entwickler oder Verlag (optional)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "datei.txt" msgstr "datei.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "Programm" msgstr "Programm"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\pfad\\zu\\{}" msgstr "C:\\pfad\\zu\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/pfad/zu/{}" msgstr "/pfad/zu/{}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -533,84 +459,180 @@ msgstr ""
"Falls der Pfad Leerzeichen enthält, stelle sicher ihn in doppelte " "Falls der Pfad Leerzeichen enthält, stelle sicher ihn in doppelte "
"Anführungszeichen zu setzen!" "Anführungszeichen zu setzen!"
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "Ausführbare Datei"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Datei zum Öffnen oder Befehl zum Starten des Spiels"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Abbrechen"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Konnte Spiel nicht hinzufügen" msgstr "Konnte Spiel nicht hinzufügen"
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Einstellungen konnten nicht angewendet werden"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Spieltitel kann nicht leer sein." msgstr "Spieltitel kann nicht leer sein."
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Ausführbare Datei darf nicht leer sein." msgstr "Ausführbare Datei darf nicht leer sein."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Einstellungen konnten nicht angewendet werden"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} gestartet"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} versteckt"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} unversteckt"
#: src/game.py:171
msgid "{} removed"
msgstr "{} entfernt"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Alle Spiele entfernt"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Für die Nutzung von SteamGridDB ist ein API-Schlüssel erforderlich. Sie "
"können ihn {}hier{} generieren."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Ort festlegen"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Verstanden" msgstr "Verstanden"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "Spiele werden importiert…" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "Spielecover werden importiert…" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." #, fuzzy
msgstr "Keine neuen Spiele auf deinem System gefunden." #| msgid "Confirm"
msgid "Configuration"
msgstr "Bestätigen"
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgstr "Spiel Importiert" msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "Erfolgreich 1 Spiel importiert." msgstr ""
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" #, fuzzy
msgstr "Spiele importiert" #| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "Erfolgreich {} Spiele importiert."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Verbindung zu SteamGridDB konnte nicht hergestellt werden" msgstr "Verbindung zu SteamGridDB konnte nicht hergestellt werden"
#: src/utils/importer.py:145 #: src/store/managers/sgdb_manager.py:48
msgid "" msgid "Verify your API key in preferences"
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "" msgstr ""
"Sieht aus als hättest du mehrere Steam-Bibliotheken. Möchtest du sie in den "
"Einstellungen hinzufügen?" #~ msgid "Steam Install Location"
#~ msgstr "Steam-Installationsort"
#~ msgid "Lutris Install Location"
#~ msgstr "Lutris-Installationsort"
#~ msgid "Heroic Install Location"
#~ msgstr "Heroic-Installationsort"
#~ msgid "Bottles Install Location"
#~ msgstr "Bottles-Installationsort"
#~ msgid "Today"
#~ msgstr "Heute"
#~ msgid "Yesterday"
#~ msgstr "Gestern"
#~ msgid "Cache Not Found"
#~ msgstr "Cache nicht gefunden"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Wähle das Lutris-Cache-Verzeichnis aus."
#~ msgid "Installation Not Found"
#~ msgstr "Installation nicht gefunden"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Wähle das Konfigurationsverzeichnis von {} aus."
#~ msgid "Select the {} data directory."
#~ msgstr "Wähle das Datenverzeichnis von {} aus."
#~ msgid "Importing Games…"
#~ msgstr "Spiele werden importiert…"
#~ msgid "Importing Covers…"
#~ msgstr "Spielecover werden importiert…"
#, fuzzy
#~| msgid "No Games Found"
#~ msgid "No new games found"
#~ msgstr "Keine Spiele gefunden"
#, fuzzy
#~| msgid "Game Imported"
#~ msgid "1 game imported"
#~ msgstr "Spiel Importiert"
#, fuzzy
#~| msgid "Games Imported"
#~ msgid "{} games imported"
#~ msgstr "Spiele importiert"
#~ msgid "Directory to use when importing games"
#~ msgstr "Verzeichnis, das beim Importieren von Spielen verwendet wird"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Extra Steam-Bibliotheken"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr ""
#~ "Wähle andere Verzeichnisse in denen du Steam-Spiele installiert hast"
#~ msgid "Clear"
#~ msgstr "Löchen"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Verzeichnis für den Import von Spiel-Covern"
#~ msgid "Details"
#~ msgstr "Details"
#~ msgid "No new games were found on your system."
#~ msgstr "Keine neuen Spiele auf deinem System gefunden."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Erfolgreich 1 Spiel importiert."
#~ msgid "Successfully imported {} games."
#~ msgstr "Erfolgreich {} Spiele importiert."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Sieht aus als hättest du mehrere Steam-Bibliotheken. Möchtest du sie in "
#~ "den Einstellungen hinzufügen?"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "Starte deine Spiele" #~ msgstr "Starte deine Spiele"

596
po/el.po Normal file
View File

@@ -0,0 +1,596 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# yiannis ioannides <sub@wai.ai>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-05-29 18:48+0000\n"
"Last-Translator: yiannis ioannides <sub@wai.ai>\n"
"Language-Team: Greek <https://hosted.weblate.org/projects/cartridges/"
"cartridges/el/>\n"
"Language: el\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146
msgid "Cartridges"
msgstr "Κασέτες"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Πρόγραμμα Εκκίνησης Παιχνιδιών"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Εκκινήστε όλα σας τα παιχνίδια"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "gaming;εκκινητής;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid ""
"Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login "
"necessary. You can sort and hide games or download cover art from "
"SteamGridDB."
msgstr ""
"Οι Κασέτες είναι ένας απλός εκκινητής παιχνιδιών για όλα σας τα παιχνίδια. "
"Υποστηρίζει την εισαγωγή παιχνιδιών από το Steam, Heroic και άλλες "
"πλατφόρμες χωρίς σύνδεση να είναι απαραίτητη. Μπορείτε να ταξινομήσετε και "
"να κρύψετε τα παιχνίδια σας, καθώς και να κατεβάσετε τα εξώφυλλα τους από το "
"SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Βιβλιοθήκη"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
msgid "Edit Game Details"
msgstr "Επεξεργασία Λεπτομερειών Παιχνιδιού"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details"
msgstr "Λεπτομέρειες Παιχνιδιού"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239
msgid "Preferences"
msgstr "Προτιμήσεις"
#: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Ακύρωση"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Νέο Εξώφυλλο"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Διαγραφή Εξώφυλλου"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Τίτλος"
#: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "Τίτλος Παιχνιδιού"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Προγραμματιστής"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Προγραμματιστής ή Εκδότης (προαιρετικό)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Πρόγραμμα"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr ""
"Αρχείο προς άνοιγμα ή εντολή προς εκτέλεση κατά την εκκίνηση παιχνιδιού"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Περισσότερες Πληροφορίες"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit"
msgstr "Επεξεργασία"
#: data/gtk/game.blp:107 src/window.py:169
msgid "Hide"
msgstr "Απόκρυψη"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:209
msgid "Remove"
msgstr "Αφαίρεση"
#: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide"
msgstr "Φανέρωση"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Γενικά"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Κλείσιμο"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:323
msgid "Search"
msgstr "Εύρεση"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Εμφάνιση προτιμήσεων"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Συντομεύσεις"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
msgid "Undo"
msgstr "Αναίρεση"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Άνοιγμα μενού"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Παιχνίδια"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Πρόσθεση νέου παιχνιδιού"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Εισαγωγή παιχνιδιών"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Εμφάνιση κρυμμένων παιχνιδιών"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Αφαίρεση παιχνιδιού"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior"
msgstr "Συμπεριφορά"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Έξοδος μετά την εκκίνηση παιχνιδιών"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Εξώφυλλο εκκινεί το παιχνίδι"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Αντικατάσταση συμπεριφοράς εξωφύλλου και του κουμπιού αναπαραγωγής"
#: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images"
msgstr "Εικόνες"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Εικόνες Υψηλής Ποιότητας"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
"Αποθήκευση εξωφύλλου παιχνιδιού σε υψηλή ευκρίνεια, με κόστος τη χωρητικότητα"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Επικίνδυνη Ζώνη"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Αφαίρεση Όλων Των Παιχνιδιών"
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import"
msgstr "Εισαγωγή"
#: data/gtk/preferences.blp:89
msgid "Sources"
msgstr "Πηγές"
#: data/gtk/preferences.blp:92
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "Τοποθεσία Εγκατάστασης itch"
#: data/gtk/preferences.blp:106
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location"
msgstr "Τοποθεσία cache του Lutris"
#: data/gtk/preferences.blp:128
msgid "Import Steam Games"
msgstr "Εισαγωγή Παιχνιδιών Steam"
#: data/gtk/preferences.blp:138
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:151
msgid "Import Epic Games"
msgstr "Εισαγωγή Παιχνιδιών Epic"
#: data/gtk/preferences.blp:160
msgid "Import GOG Games"
msgstr "Εισαγωγή Παιχνιδιών GOG"
#: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games"
msgstr "Εισαγωγή Παιχνιδιών Μέσω Sideloading"
#: data/gtk/preferences.blp:179
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:193
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:207
msgid "Legendary"
msgstr ""
#: data/gtk/preferences.blp:224
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228
msgid "Authentication"
msgstr "Επιβεβαίωση"
#: data/gtk/preferences.blp:231
msgid "API Key"
msgstr "Κλειδί API"
#: data/gtk/preferences.blp:239
msgid "Use SteamGridDB"
msgstr "Χρήση SteamGridDB"
#: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games"
msgstr "Λήψη εικόνων κατά τη διάρκεια πρόσθεσης ή εισαγωγής παιχνιδιών"
#: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images"
msgstr "Προτίμηση Επίσημων Εικόνων"
#: data/gtk/preferences.blp:258
msgid "Prefer Animated Images"
msgstr "Προτίμηση Κινούμενων Εικόνων"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Δεν Βρέθηκαν Παιχνίδια"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Δοκιμάστε μια διαφορετική αναζήτηση."
#: data/gtk/window.blp:21
msgid "No Games"
msgstr "Δίχως Παιχνίδια"
#: data/gtk/window.blp:22
msgid "Use the + button to add games."
msgstr "Χρησιμοποιήστε το κουμπί + για να προσθέσετε παιχνίδια."
#: data/gtk/window.blp:40
msgid "No Hidden Games"
msgstr "Δεν υπάρχουν κρυφά παιχνίδια"
#: data/gtk/window.blp:41
msgid "Games you hide will appear here."
msgstr "Τα παιχνίδια που κρύβετε θα εμφανίζονται εδώ."
#: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back"
msgstr "Πίσω"
#: data/gtk/window.blp:121
msgid "Game Title"
msgstr "Τίτλος παιχνιδιού"
#: data/gtk/window.blp:176
msgid "Play"
msgstr "Παίξτε"
#: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game"
msgstr "Προσθήκη παιχνιδιού"
#: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu"
msgstr "Κύριο μενού"
#: data/gtk/window.blp:311
msgid "Hidden Games"
msgstr "Κρυμμένα παιχνίδια"
#: data/gtk/window.blp:374
msgid "Sort"
msgstr "Ταξινόμηση"
#: data/gtk/window.blp:377
msgid "A-Z"
msgstr "Α-Ζ"
#: data/gtk/window.blp:383
msgid "Z-A"
msgstr "Ζ-Α"
#: data/gtk/window.blp:389
msgid "Newest"
msgstr "Νεότερο"
#: data/gtk/window.blp:395
msgid "Oldest"
msgstr "Παλαιότερο"
#: data/gtk/window.blp:401
msgid "Last Played"
msgstr "Τελευταία αναπαραγωγή"
#: data/gtk/window.blp:408
msgid "Show Hidden"
msgstr "Εμφάνιση Κρυφών"
#: data/gtk/window.blp:421
msgid "Keyboard Shortcuts"
msgstr "Συντομεύσεις Πληκτρολογίου"
#: data/gtk/window.blp:426
msgid "About Cartridges"
msgstr "Σχετικά με τις Κασέτες"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:164
msgid "translator_credits"
msgstr "Yiannis Ioannides"
#. The variable is the date when the game was added
#: src/window.py:192
msgid "Added: {}"
msgstr "Προστέθηκε: {}"
#: src/window.py:195
msgid "Never"
msgstr "Ποτέ"
#. The variable is the date when the game was last played
#: src/window.py:199
msgid "Last played: {}"
msgstr "Τελευταία αναπαραγωγή: {}"
#: src/details_window.py:72
msgid "Apply"
msgstr "Εφαρμογή"
#: src/details_window.py:78
msgid "Add New Game"
msgstr "Προσθήκη νέου παιχνιδιού"
#: src/details_window.py:79
msgid "Confirm"
msgstr "Επιβεβαίωση"
#. Translate this string as you would translate "file"
#: src/details_window.py:91
msgid "file.txt"
msgstr "αρχειο.txt"
#. As in software
#: src/details_window.py:93
msgid "program"
msgstr "Πρόγραμμα"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:98 src/details_window.py:100
msgid "C:\\path\\to\\{}"
msgstr "C:\\προς\\φάκελο\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:104 src/details_window.py:106
msgid "/path/to/{}"
msgstr "/προς/φάκελο/{}"
#: src/details_window.py:111
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Για να εκτελέσετε την εφαρμογή \"{}\", χρησιμοποιήστε την εντολή:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Για να ανοίξετε το αρχείο \"{}\" με την προεπιλεγμένη εφαρμογή, "
"χρησιμοποιήστε:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Αν η διεύθυνση φακέλου περιέχει κενά, φροντίστε να την περικλείσετε σε διπλά "
"εισαγωγικά!"
#: src/details_window.py:146 src/details_window.py:152
msgid "Couldn't Add Game"
msgstr "Αδυναμία προσθήκης παιχνιδιού"
#: src/details_window.py:146 src/details_window.py:181
msgid "Game title cannot be empty."
msgstr "Ο τίτλος παιχνιδιού δεν μπορεί να είναι κενός."
#: src/details_window.py:152 src/details_window.py:189
msgid "Executable cannot be empty."
msgstr "Η εφαρμογή δεν μπορεί να είναι κενή."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Αδυναμία Εφαρμογής Προτιμήσεων"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} εκκινήθη"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} αποκρύφθηκε"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} φανερώθηκε"
#: src/game.py:171
msgid "{} removed"
msgstr "{} αφαιρέθηκε"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Όλα τα παιχνίδια αφαιρέθηκαν"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Για τη χρήση του SteamGridDB απαιτείται ένα κλειδί API. Μπορείτε να "
"δημιουργήσετε ένα {}εδώ{}."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Ορίστε Τοποθεσία"
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Απόρριψη"
#: src/importer/sources/source.py:106
msgid "Data"
msgstr ""
#: src/importer/sources/source.py:107
msgid "Cache"
msgstr ""
#: src/importer/sources/source.py:108
#, fuzzy
#| msgid "Confirm"
msgid "Configuration"
msgstr "Επιβεβαίωση"
#. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
#: src/importer/sources/source.py:119
msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/importer/sources/source.py:120
msgid "Pick a new one or disable the source in preferences"
msgstr ""
#: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
msgstr "Η σύνδεση στο SteamGridDB δεν μπόρεσε να πραγματοποιηθεί"
#: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences"
msgstr ""
#~ msgid "Steam Install Location"
#~ msgstr "Τοποθεσία Εγκατάστασης Steam"
#~ msgid "Lutris Install Location"
#~ msgstr "Τοποθεσία Εγκατάστασης Lutris"
#~ msgid "Heroic Install Location"
#~ msgstr "Τοποθεσία Εγκατάστασης Heroic"
#~ msgid "Bottles Install Location"
#~ msgstr "Τοποθεσία Εγκατάστασης Bottles"
#~ msgid "Today"
#~ msgstr "Σήμερα"
#~ msgid "Yesterday"
#~ msgstr "Χθες"
#~ msgid "Cache Not Found"
#~ msgstr "Τα cache δεν βρέθηκαν"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Επιλέξτε τη τοποθεσία cache του Lutris."
#~ msgid "Installation Not Found"
#~ msgstr "Η εγκατάσταση δεν βρέθηκε"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Επιλέξτε τον κατάλογο διαμόρφωσης {}."
#~ msgid "Select the {} data directory."
#~ msgstr "Επιλέξτε τον κατάλογο δεδομένων {}."
#~ msgid "Importing Games…"
#~ msgstr "Εισαγωγή παιχνιδιών…"
#~ msgid "Importing Covers…"
#~ msgstr "Εισαγωγή εξώφυλλων…"
#~ msgid "No new games found"
#~ msgstr "Δεν βρέθηκαν νέα παιχνίδια"
#~ msgid "1 game imported"
#~ msgstr "1 παιχνίδι εισήχθη"
#~ msgid "{} games imported"
#~ msgstr "{} παιχνίδια εισήχθησαν"

538
po/es.po
View File

@@ -8,8 +8,8 @@ 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n" "PO-Revision-Date: 2023-05-28 10:11+0000\n"
"Last-Translator: gallegonovato <fran-carro@hotmail.es>\n" "Last-Translator: gallegonovato <fran-carro@hotmail.es>\n"
"Language-Team: Spanish <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Spanish <https://hosted.weblate.org/projects/cartridges/"
"cartridges/es/>\n" "cartridges/es/>\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.17-dev\n" "X-Generator: Weblate 4.18-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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartuchos" msgstr "Cartuchos"
@@ -35,6 +35,10 @@ msgstr "Lanzador de juegos"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Lance todos sus juegos" msgstr "Lance todos sus juegos"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "gaming;launcher;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -47,43 +51,78 @@ msgstr ""
"una cuenta. Puedes ordenar y ocultar juegos, o descargar carátulas de " "una cuenta. Puedes ordenar y ocultar juegos, o descargar carátulas de "
"SteamGridDB." "SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "Biblioteca" msgstr "Biblioteca"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Editar detalles del juego" msgstr "Editar detalles del juego"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Detalles del juego" msgstr "Detalles del juego"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "Preferencias" msgstr "Preferencias"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Cancelar"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Nueva caratula"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Borrar la caratula"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "Título" msgstr "Título"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "El título del juego"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Desarrollador"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "El desarrollador o editor (opcional)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Ejecutable"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Archivo a abrir o comando a ejecutar al iniciar el juego"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Más información"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "Editar" msgstr "Editar"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "Ocultar" msgstr "Ocultar"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Eliminar" msgstr "Eliminar"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "Mostrar" msgstr "Mostrar"
@@ -95,8 +134,8 @@ msgstr "General"
msgid "Quit" msgid "Quit"
msgstr "Salir" msgstr "Salir"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "Buscar" msgstr "Buscar"
@@ -108,8 +147,7 @@ msgstr "Mostrar preferencias"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Atajos" msgstr "Atajos"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "Deshacer" msgstr "Deshacer"
@@ -137,7 +175,7 @@ msgstr "Mostrar juegos ocultos"
msgid "Remove game" msgid "Remove game"
msgstr "Eliminar juego" msgstr "Eliminar juego"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "Conducta" msgstr "Conducta"
@@ -154,7 +192,7 @@ msgid "Swaps the behavior of the cover image and the play button"
msgstr "" msgstr ""
"Cambia el comportamiento de la imagen de portada y del botón de reproducción" "Cambia el comportamiento de la imagen de portada y del botón de reproducción"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "Imágenes" msgstr "Imágenes"
@@ -174,343 +212,232 @@ msgstr "Zona peligrosa"
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Quitar todos los juegos" msgstr "Quitar todos los juegos"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "Importar" msgstr "Importar"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "Fuentes" msgstr "Fuentes"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "Ubicación de la instalación de Steam" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "Ubicación de la instalación de itch"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Directorio a usar para importar juegos"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Bibliotecas Steam adicionales"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Seleccione otros directorios donde tenga instalados juegos de Steam"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Limpiar"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" #, fuzzy
msgstr "Ubicación de instalación de Lutris" #| msgid "Lutris Cache Location"
msgid "Cache Location"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Ubicación de la caché de Lutris" msgstr "Ubicación de la caché de Lutris"
#: data/gtk/preferences.blp:129 #: data/gtk/preferences.blp:128
msgid "Directory to use when importing game covers"
msgstr "Directorio para usar al importar las carátulas de los juegos"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importar juegos de Steam" msgstr "Importar juegos de Steam"
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "Ubicación de la instalación de Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importar juegos de Epic" msgstr "Importar juegos de Epic"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importar juegos de GOG" msgstr "Importar juegos de GOG"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importar juegos descargados" msgstr "Importar juegos descargados"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "Ubicación de instalación de Bottles"
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "Ubicación de la instalación de itch" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "Autentificación" msgstr "Autentificación"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "Código API" msgstr "Código API"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Utiliza SteamGridDB" msgstr "Utiliza SteamGridDB"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Descargar las imágenes al añadir o importar juegos" msgstr "Descargar las imágenes al añadir o importar juegos"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Preferir las imágenes oficiales" msgstr "Preferir las imágenes oficiales"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Prefiero las imágenes animadas" msgstr "Prefiero las imágenes animadas"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "No se han encontrado juegos" msgstr "No se han encontrado juegos"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "Pruebe con otra búsqueda." msgstr "Pruebe con otra búsqueda."
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "No hay juegos" msgstr "No hay juegos"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Use el botón + para añadir juegos." msgstr "Use el botón + para añadir juegos."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "No hay juegos ocultos" msgstr "No hay juegos ocultos"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Los juegos que oculte aparecerán aquí." msgstr "Los juegos que oculte aparecerán aquí."
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Volver" msgstr "Volver"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "Título del juego" msgstr "Título del juego"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Jugar" msgstr "Jugar"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "Añadir juego" msgstr "Añadir juego"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "Menú principal" msgstr "Menú principal"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Juegos ocultos" msgstr "Juegos ocultos"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "Ordenar" msgstr "Ordenar"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "A-Z" msgstr "A-Z"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "Z-A" msgstr "Z-A"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "Más recientes" msgstr "Más recientes"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "Más antiguos" msgstr "Más antiguos"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "Último jugado" msgstr "Último jugado"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Mostrar ocultos" msgstr "Mostrar ocultos"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "Atajos del teclado" msgstr "Atajos del teclado"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
msgstr "Acerca de Cartuchos" msgstr "Acerca de Cartuchos"
#. 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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "Óscar Fernández Díaz <oscfdezdz@tuta.io>" msgstr "Óscar Fernández Díaz <oscfdezdz@tuta.io>"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} comenzó"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} oculto"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} visible"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} eliminado"
#: src/window.py:262
msgid "Today"
msgstr "Hoy"
#: src/window.py:264
msgid "Yesterday"
msgstr "Ayer"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "Añadido: {}" msgstr "Añadido: {}"
#: src/window.py:315 #: src/window.py:195
msgid "Never" msgid "Never"
msgstr "Nunca" msgstr "Nunca"
#. 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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Último jugado: {}" msgstr "Último jugado: {}"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "Detalles"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "No se encuentra la instalación"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Selecciona el directorio de la configuración {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Selecciona el directorio de los datos {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Escoger la ubicación"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Todos los juegos eliminados"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Caché no encontrada"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Selecciona el directorio de la caché de Lutris."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Se necesita una clave API para utilizar SteamGridDB. Puedes generar una {}"
"aquí{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Añadir juego nuevo"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Confirmar"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "Aplicar" msgstr "Aplicar"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "El título del juego" msgstr "Añadir juego nuevo"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "Desarrollador" msgstr "Confirmar"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "El desarrollador o editor (opcional)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "archivo.txt" msgstr "archivo.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "programa" msgstr "programa"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\ruta\\hasta\\{}" msgstr "C:\\ruta\\hasta\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/ruta/hasta/{}" msgstr "/ruta/hasta/{}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -532,84 +459,173 @@ msgstr ""
"\n" "\n"
"Si la ruta contiene espacios, ¡asegúrese de entrecomillarla!" "Si la ruta contiene espacios, ¡asegúrese de entrecomillarla!"
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "Ejecutable"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Archivo a abrir o comando a ejecutar al iniciar el juego"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Cancelar"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "No se puede añadir el juego" msgstr "No se puede añadir el juego"
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "No se pudieron aplicar las preferencias"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "El título del juego no puede estar vacío." msgstr "El título del juego no puede estar vacío."
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "El ejecutable no puede estar vacío." msgstr "El ejecutable no puede estar vacío."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "No se pudieron aplicar las preferencias"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} comenzó"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} oculto"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} visible"
#: src/game.py:171
msgid "{} removed"
msgstr "{} eliminado"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Todos los juegos eliminados"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Se necesita una clave API para utilizar SteamGridDB. Puedes generar una {}"
"aquí{}."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Escoger la ubicación"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Descartar" msgstr "Descartar"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "Importando juegos…" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "Importando las portadas…" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." #, fuzzy
msgstr "No se encontraron nuevos juegos en tú sistema." #| msgid "Confirm"
msgid "Configuration"
msgstr "Confirmar"
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgstr "Juego importado" msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "Importado 1 juego con éxito." msgstr ""
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" #, fuzzy
msgstr "Juegos importados" #| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "{} juegos importados con éxito."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "No se puede conectar a SteamGridDB" msgstr "No se puede conectar a SteamGridDB"
#: src/utils/importer.py:145 #: src/store/managers/sgdb_manager.py:48
msgid "" msgid "Verify your API key in preferences"
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "" msgstr ""
"Parece que tienes varias bibliotecas de Steam. ¿Quieres agregarlas en la "
"configuración?" #~ msgid "Steam Install Location"
#~ msgstr "Ubicación de la instalación de Steam"
#~ msgid "Lutris Install Location"
#~ msgstr "Ubicación de instalación de Lutris"
#~ msgid "Heroic Install Location"
#~ msgstr "Ubicación de la instalación de Heroic"
#~ msgid "Bottles Install Location"
#~ msgstr "Ubicación de instalación de Bottles"
#~ msgid "Today"
#~ msgstr "Hoy"
#~ msgid "Yesterday"
#~ msgstr "Ayer"
#~ msgid "Cache Not Found"
#~ msgstr "Caché no encontrada"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Selecciona el directorio de la caché de Lutris."
#~ msgid "Installation Not Found"
#~ msgstr "No se encuentra la instalación"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Selecciona el directorio de la configuración {}."
#~ msgid "Select the {} data directory."
#~ msgstr "Selecciona el directorio de los datos {}."
#~ msgid "Importing Games…"
#~ msgstr "Importando juegos…"
#~ msgid "Importing Covers…"
#~ msgstr "Importando las portadas…"
#~ msgid "No new games found"
#~ msgstr "No se encontraron juegos nuevos"
#~ msgid "1 game imported"
#~ msgstr "1 juego importado"
#~ msgid "{} games imported"
#~ msgstr "0 juegos importados"
#~ msgid "Directory to use when importing games"
#~ msgstr "Directorio a usar para importar juegos"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Bibliotecas Steam adicionales"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Seleccione otros directorios donde tenga instalados juegos de Steam"
#~ msgid "Clear"
#~ msgstr "Limpiar"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Directorio para usar al importar las carátulas de los juegos"
#~ msgid "Details"
#~ msgstr "Detalles"
#~ msgid "No new games were found on your system."
#~ msgstr "No se encontraron nuevos juegos en tú sistema."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Importado 1 juego con éxito."
#~ msgid "Successfully imported {} games."
#~ msgstr "{} juegos importados con éxito."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Parece que tienes varias bibliotecas de Steam. ¿Quieres agregarlas en la "
#~ "configuración?"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "Lance sus juegos" #~ msgstr "Lance sus juegos"

528
po/fa.po Normal file
View File

@@ -0,0 +1,528 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# سید حسین موسوی فرد <shmf1385@protonmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-22 10:48+0000\n"
"Last-Translator: سید حسین موسوی فرد <shmf1385@protonmail.com>\n"
"Language-Team: Persian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/fa/>\n"
"Language: fa\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146
msgid "Cartridges"
msgstr "کارتریج‌ها"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "اجراگر بازی"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "اجرای همهٔ بازی‌های شما"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid ""
"Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login "
"necessary. You can sort and hide games or download cover art from "
"SteamGridDB."
msgstr ""
"کارتریج یک اجراگر سادهٔ بازی برای همهٔ بازی‌های شماست. کارتریج می‌تواند بدون "
"نیاز به ورود، بازی‌های شما را از استیم، لوتریس، هیروییک و... وارد کند. شما "
"می‌توانید بازی‌های خود را پنهان کنید یا جلدشان را از SteamGridDB بارگیری کنید."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "کتاب‌خانه"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
msgid "Edit Game Details"
msgstr "ویرایش جزییات بازی"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details"
msgstr "جزییات بازی"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239
msgid "Preferences"
msgstr "ترجیحات"
#: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr ""
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "عنوان"
#: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr ""
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr ""
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr ""
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr ""
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr ""
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit"
msgstr "ویرایش"
#: data/gtk/game.blp:107 src/window.py:169
msgid "Hide"
msgstr "پنهان کردن"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:209
msgid "Remove"
msgstr "حذف"
#: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide"
msgstr "پیدا کردن"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "عمومی"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "خروج"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:323
msgid "Search"
msgstr "جست‌وجو"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "نمایش ترجیحات"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "میانبرها"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
msgid "Undo"
msgstr "برگردان"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "گشودن فهرست"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "بازی‌ها"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "افزدون بازی"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "درون‌ریزی بازی"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "نمایش بازی‌های پنهان"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "حذف کردن بازی"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior"
msgstr ""
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "خروج پس از اجرا کردن بازی"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "عکس جلد بازی را باز می‌کند"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr ""
#: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images"
msgstr "عکس‌ها"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "عکس‌های با کیفیت بالا"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "منطقهٔ خطر"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "حذف کردن همهٔ بازی‌ها"
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import"
msgstr "درون‌ریزی"
#: data/gtk/preferences.blp:89
msgid "Sources"
msgstr "منبع‌ها"
#: data/gtk/preferences.blp:92
msgid "Steam"
msgstr "استیم"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
msgid "Install Location"
msgstr ""
#: data/gtk/preferences.blp:106
msgid "Lutris"
msgstr ""
#: data/gtk/preferences.blp:119
msgid "Cache Location"
msgstr ""
#: data/gtk/preferences.blp:128
msgid "Import Steam Games"
msgstr ""
#: data/gtk/preferences.blp:138
msgid "Heroic"
msgstr ""
#: data/gtk/preferences.blp:151
msgid "Import Epic Games"
msgstr ""
#: data/gtk/preferences.blp:160
msgid "Import GOG Games"
msgstr ""
#: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games"
msgstr ""
#: data/gtk/preferences.blp:179
msgid "Bottles"
msgstr ""
#: data/gtk/preferences.blp:193
msgid "itch"
msgstr ""
#: data/gtk/preferences.blp:207
msgid "Legendary"
msgstr ""
#: data/gtk/preferences.blp:224
msgid "SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:228
msgid "Authentication"
msgstr ""
#: data/gtk/preferences.blp:231
msgid "API Key"
msgstr ""
#: data/gtk/preferences.blp:239
msgid "Use SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games"
msgstr ""
#: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images"
msgstr ""
#: data/gtk/preferences.blp:258
msgid "Prefer Animated Images"
msgstr ""
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr ""
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr ""
#: data/gtk/window.blp:21
msgid "No Games"
msgstr ""
#: data/gtk/window.blp:22
msgid "Use the + button to add games."
msgstr ""
#: data/gtk/window.blp:40
msgid "No Hidden Games"
msgstr ""
#: data/gtk/window.blp:41
msgid "Games you hide will appear here."
msgstr ""
#: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back"
msgstr ""
#: data/gtk/window.blp:121
msgid "Game Title"
msgstr ""
#: data/gtk/window.blp:176
msgid "Play"
msgstr ""
#: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game"
msgstr ""
#: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:311
msgid "Hidden Games"
msgstr ""
#: data/gtk/window.blp:374
msgid "Sort"
msgstr ""
#: data/gtk/window.blp:377
msgid "A-Z"
msgstr ""
#: data/gtk/window.blp:383
msgid "Z-A"
msgstr ""
#: data/gtk/window.blp:389
msgid "Newest"
msgstr ""
#: data/gtk/window.blp:395
msgid "Oldest"
msgstr ""
#: data/gtk/window.blp:401
msgid "Last Played"
msgstr ""
#: data/gtk/window.blp:408
msgid "Show Hidden"
msgstr ""
#: data/gtk/window.blp:421
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:426
msgid "About Cartridges"
msgstr ""
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:164
msgid "translator_credits"
msgstr ""
#. The variable is the date when the game was added
#: src/window.py:192
msgid "Added: {}"
msgstr ""
#: src/window.py:195
msgid "Never"
msgstr ""
#. The variable is the date when the game was last played
#: src/window.py:199
msgid "Last played: {}"
msgstr ""
#: src/details_window.py:72
msgid "Apply"
msgstr ""
#: src/details_window.py:78
msgid "Add New Game"
msgstr ""
#: src/details_window.py:79
msgid "Confirm"
msgstr ""
#. Translate this string as you would translate "file"
#: src/details_window.py:91
msgid "file.txt"
msgstr ""
#. As in software
#: src/details_window.py:93
msgid "program"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:98 src/details_window.py:100
msgid "C:\\path\\to\\{}"
msgstr ""
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:104 src/details_window.py:106
msgid "/path/to/{}"
msgstr ""
#: src/details_window.py:111
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
#: src/details_window.py:146 src/details_window.py:152
msgid "Couldn't Add Game"
msgstr ""
#: src/details_window.py:146 src/details_window.py:181
msgid "Game title cannot be empty."
msgstr ""
#: src/details_window.py:152 src/details_window.py:189
msgid "Executable cannot be empty."
msgstr ""
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr ""
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr ""
#: src/game.py:154
msgid "{} unhidden"
msgstr ""
#: src/game.py:171
msgid "{} removed"
msgstr ""
#: src/preferences.py:102
msgid "All games removed"
msgstr ""
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/preferences.py:289
msgid "Set Location"
msgstr ""
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr ""
#: src/importer/sources/source.py:106
msgid "Data"
msgstr ""
#: src/importer/sources/source.py:107
msgid "Cache"
msgstr ""
#: src/importer/sources/source.py:108
msgid "Configuration"
msgstr ""
#. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
#: src/importer/sources/source.py:119
msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/importer/sources/source.py:120
msgid "Pick a new one or disable the source in preferences"
msgstr ""
#: src/store/managers/sgdb_manager.py:47
msgid "Couldn't Authenticate SteamGridDB"
msgstr ""
#: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences"
msgstr ""
#, fuzzy
#~| msgid "Add new game"
#~ msgid "No new games found"
#~ msgstr "افزدون بازی"

579
po/fi.po
View File

@@ -10,8 +10,8 @@ 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-02 15:04+0000\n" "PO-Revision-Date: 2023-05-07 15:38+0000\n"
"Last-Translator: Jiri Grönroos <jiri.gronroos@iki.fi>\n" "Last-Translator: Jiri Grönroos <jiri.gronroos@iki.fi>\n"
"Language-Team: Finnish <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Finnish <https://hosted.weblate.org/projects/cartridges/"
"cartridges/fi/>\n" "cartridges/fi/>\n"
@@ -20,11 +20,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.17-dev\n" "X-Generator: Weblate 4.18-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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
@@ -37,6 +37,10 @@ msgstr "Pelin käynnistin"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Käynnistä kaikki pelisi" msgstr "Käynnistä kaikki pelisi"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
#, fuzzy #, fuzzy
#| msgid "" #| msgid ""
@@ -54,43 +58,80 @@ msgstr ""
"piilottamisen ja lajittelun lisäyspäivämäärän tai viimeisimmän pelatun pelin " "piilottamisen ja lajittelun lisäyspäivämäärän tai viimeisimmän pelatun pelin "
"mukaan." "mukaan."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "Kirjasto" msgstr "Kirjasto"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Muokkaa pelin tietoja" msgstr "Muokkaa pelin tietoja"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Pelin tiedot" msgstr "Pelin tiedot"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "Asetukset" msgstr "Asetukset"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Peru"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "Nimi" msgstr "Nimi"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "Pelin nimi"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Kehittäjä"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Kehittäjä tai julkaisija (valinnainen)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Suoritettava"
#: data/gtk/details-window.blp:124
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ä"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "Muokkaa" msgstr "Muokkaa"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "Piilota" msgstr "Piilota"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Poista" msgstr "Poista"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "Näytä" msgstr "Näytä"
@@ -102,8 +143,8 @@ msgstr "Yleistä"
msgid "Quit" msgid "Quit"
msgstr "Lopeta" msgstr "Lopeta"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "Etsi" msgstr "Etsi"
@@ -115,8 +156,7 @@ msgstr "Näytä asetukset"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Pikanäppäimet" msgstr "Pikanäppäimet"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "Kumoa" msgstr "Kumoa"
@@ -141,12 +181,10 @@ msgid "Show hidden games"
msgstr "Näytä piilotetut pelit" msgstr "Näytä piilotetut pelit"
#: data/gtk/help-overlay.blp:63 #: data/gtk/help-overlay.blp:63
#, fuzzy
#| msgid "Remove All Games"
msgid "Remove game" msgid "Remove game"
msgstr "Poista kaikki pelit" msgstr "Poista peli"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "Toiminta" msgstr "Toiminta"
@@ -162,7 +200,7 @@ msgstr "Kansikuva käynnistää pelin"
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "Kuvat" msgstr "Kuvat"
@@ -182,355 +220,232 @@ msgstr "Vaaravyöhyke"
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Poista kaikki pelit" msgstr "Poista kaikki pelit"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "Tuo" msgstr "Tuo"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "Lähteet" msgstr "Lähteet"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "Steam-asennuksen sijainti" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "itch-asennuksen sijainti"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Hakemisto, jota käytetään pelejä tuotaessa"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Steam-lisäkirjastot"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Valitse muut hakemistot, joihin Steam-pelit on asennettu"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Tyhjennä"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" #, fuzzy
msgstr "Lutris-asennuksen sijainti" #| msgid "Lutris Cache Location"
msgid "Cache Location"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Lutris-välimuistin sijainti" msgstr "Lutris-välimuistin sijainti"
#: data/gtk/preferences.blp:129 #: data/gtk/preferences.blp:128
#, fuzzy msgid "Import Steam Games"
#| msgid "Directory to use when importing games" msgstr "Tuo Steam-pelejä"
msgid "Directory to use when importing game covers"
msgstr "Hakemisto, jota käytetään pelejä tuotaessa"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:138
#, fuzzy
#| msgid "Import Sideloaded Games"
msgid "Import Steam Games"
msgstr "Tuo Sideload-pelejä"
#: data/gtk/preferences.blp:148
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "Heroic-asennuksen sijainti"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Tuo Epic-pelejä" msgstr "Tuo Epic-pelejä"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Tuo GOG-pelejä" msgstr "Tuo GOG-pelejä"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Tuo Sideload-pelejä" msgstr "Tuo Sideload-pelejä"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "Pullot" msgstr "Pullot"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "Bottles-asennuksen sijainti"
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
#, fuzzy msgid "Legendary"
#| msgid "Heroic Install Location" msgstr ""
msgid "itch Install Location"
msgstr "Heroic-asennuksen sijainti"
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
#, fuzzy
#| msgid "Steam"
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "Steam" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
#, fuzzy
#| msgid "Set Location"
msgid "Authentication" msgid "Authentication"
msgstr "Aseta sijainti" msgstr "Tunnistautuminen"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "" msgstr "API-avain"
#: data/gtk/preferences.blp:238
msgid "Use SteamGridDB"
msgstr ""
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:239
#, fuzzy msgid "Use SteamGridDB"
#| msgid "Directory to use when importing games" msgstr "Käytä SteamGridDB:tä"
#: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Hakemisto, jota käytetään pelejä tuotaessa" msgstr "Lataa kuvat pelejä lisätessä tai tuotaessa"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "" msgstr "Suosi virallisten kuvien sijaan"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "" msgstr "Suosi animoituja kuvia"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Pelejä ei löydetty" msgstr "Pelejä ei löydetty"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "Kokeile eri hakua." msgstr "Kokeile eri hakua."
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Ei pelejä" msgstr "Ei pelejä"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Käytä + lisätäksesi pelejä." msgstr "Käytä + lisätäksesi pelejä."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Ei piilotettuja pelejä" msgstr "Ei piilotettuja pelejä"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Piilotetut pelit näkyvät täällä." msgstr "Piilotetut pelit näkyvät täällä."
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Takaisin" msgstr "Takaisin"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "Pelin nimi" msgstr "Pelin nimi"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Pelaa" msgstr "Pelaa"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "Lisää peli" msgstr "Lisää peli"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "Päävalikko" msgstr "Päävalikko"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Piilotetut pelit" msgstr "Piilotetut pelit"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "Lajittele" msgstr "Lajittele"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "A-Z" msgstr "A-Z"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "Z-A" msgstr "Z-A"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "Uusin" msgstr "Uusin"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "Vanhin" msgstr "Vanhin"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "Viimeksi pelattu" msgstr "Viimeksi pelattu"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Näytä piilotetut" msgstr "Näytä piilotetut"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "Pikanäppäimet" msgstr "Pikanäppäimet"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
msgstr "Tietoja - Cartridges" msgstr "Tietoja - Cartridges"
#. 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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "Linux Sauna" msgstr "Linux Sauna"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/main.py:182
#, fuzzy
#| msgid "Show Hidden"
msgid "{} hidden"
msgstr "Näytä piilotetut"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} poistettu"
#: src/window.py:262
msgid "Today"
msgstr "Tänään"
#: src/window.py:264
msgid "Yesterday"
msgstr "Eilen"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "Lisätty: {}" msgstr "Lisätty: {}"
#: src/window.py:315 #: src/window.py:195
msgid "Never" msgid "Never"
msgstr "Ei koskaan" msgstr "Ei koskaan"
#. 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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Viimeksi pelattu: {}" msgstr "Viimeksi pelattu: {}"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "Tiedot"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Asennusta ei löydy"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Aseta sijainti"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Kaikki pelit poistettu"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Välimuistia ei löydy"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr ""
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Lisää uusi peli"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Vahvista"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "Käytä" msgstr "Käytä"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "Pelin nimi" msgstr "Lisää uusi peli"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "Kehittäjä" msgstr "Vahvista"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Kehittäjä tai julkaisija (valinnainen)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "file.txt" msgstr "file.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "ohjelma" msgstr "ohjelma"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\polku\\kansioon\\{}" msgstr "C:\\polku\\kansioon\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/polku/kansioon/{}" msgstr "/polku/kansioon/{}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -553,87 +468,173 @@ msgstr ""
"Jos polku sisältää välilyöntejä, varmista, että se on suljettu " "Jos polku sisältää välilyöntejä, varmista, että se on suljettu "
"kaksinkertaisiin lainausmerkkeihin!" "kaksinkertaisiin lainausmerkkeihin!"
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "Suoritettava"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr ""
"Tiedosto, joka avataan tai komento, joka ajetaan pelin käynnistämisen "
"yhteydessä"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Peru"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Peliä ei voitu lisätä" msgstr "Peliä ei voitu lisätä"
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Asetuksia ei voitu ottaa käyttöön"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Pelin nimi ei voi olla tyhjä." msgstr "Pelin nimi ei voi olla tyhjä."
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Suoritettava ei voi olla tyhjä." msgstr "Suoritettava ei voi olla tyhjä."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Asetuksia ei voitu ottaa käyttöön"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} käynnistetty"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} piilotettu"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} palautettu näkyviin"
#: src/game.py:171
msgid "{} removed"
msgstr "{} poistettu"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Kaikki pelit poistettu"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"API-avain on pakollinen, jos haluat käyttää SteamGridDB:tä. Voit luoda "
"avaimen {}täällä{}."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Aseta sijainti"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Hylkää" msgstr "Hylkää"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "Tuodaan pelejä…" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Cache"
msgstr ""
#: src/importer/sources/source.py:108
#, fuzzy #, fuzzy
#| msgid "Importing Games…" #| msgid "Confirm"
msgid "Importing Covers…" msgid "Configuration"
msgstr "Tuodaan pelejä…" msgstr "Vahvista"
#: src/utils/importer.py:92 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "No new games were found on your system." #: src/importer/sources/source.py:119
msgstr "Järjestelmästä ei löytynyt uusia pelejä." msgid "Invalid {} Location for {{}}"
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Peli tuotu"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "Onnistuneesti tuotu 1 peli."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Pelit tuotu"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "{} peliä tuotu."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "" msgstr ""
#: src/utils/importer.py:145 #: src/importer/sources/source.py:120
msgid "" msgid "Pick a new one or disable the source in preferences"
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "" msgstr ""
#: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
msgstr "Ei voitu yhdistää SteamGridDB:hen"
#: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences"
msgstr ""
#~ msgid "Steam Install Location"
#~ msgstr "Steam-asennuksen sijainti"
#~ msgid "Lutris Install Location"
#~ msgstr "Lutris-asennuksen sijainti"
#~ msgid "Heroic Install Location"
#~ msgstr "Heroic-asennuksen sijainti"
#~ msgid "Bottles Install Location"
#~ msgstr "Bottles-asennuksen sijainti"
#~ msgid "Today"
#~ msgstr "Tänään"
#~ msgid "Yesterday"
#~ msgstr "Eilen"
#~ msgid "Cache Not Found"
#~ msgstr "Välimuistia ei löydy"
#~ msgid "Installation Not Found"
#~ msgstr "Asennusta ei löydy"
#~ msgid "Importing Games…"
#~ msgstr "Tuodaan pelejä…"
#~ msgid "Importing Covers…"
#~ msgstr "Tuodaan kansikuvia…"
#, fuzzy
#~| msgid "No Games Found"
#~ msgid "No new games found"
#~ msgstr "Pelejä ei löydetty"
#, fuzzy
#~| msgid "Game Imported"
#~ msgid "1 game imported"
#~ msgstr "Peli tuotu"
#, fuzzy
#~| msgid "Games Imported"
#~ msgid "{} games imported"
#~ msgstr "Pelit tuotu"
#~ msgid "Directory to use when importing games"
#~ msgstr "Hakemisto, jota käytetään pelejä tuotaessa"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Steam-lisäkirjastot"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Valitse muut hakemistot, joihin Steam-pelit on asennettu"
#~ msgid "Clear"
#~ msgstr "Tyhjennä"
#, fuzzy
#~| msgid "Directory to use when importing games"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Hakemisto, jota käytetään pelejä tuotaessa"
#~ msgid "Details"
#~ msgstr "Tiedot"
#~ msgid "No new games were found on your system."
#~ msgstr "Järjestelmästä ei löytynyt uusia pelejä."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Onnistuneesti tuotu 1 peli."
#~ msgid "Successfully imported {} games."
#~ msgstr "{} peliä tuotu."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Vaikuttaa siltä, että sinulla on useita Steam-kirjastoja. Haluatko lisätä "
#~ "ne asetuksissa?"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "Käynnistä pelit" #~ msgstr "Käynnistä pelit"

587
po/fr.po
View File

@@ -4,12 +4,14 @@
# "J. Lavoie" <j.lavoie@net-c.ca>, 2023. # "J. Lavoie" <j.lavoie@net-c.ca>, 2023.
# kramo <contact@kramo.hu>, 2023. # kramo <contact@kramo.hu>, 2023.
# rene-coty <irenee.thirion@e.email>, 2023. # rene-coty <irenee.thirion@e.email>, 2023.
# John Donne <akheron@zaclys.net>, 2023.
# "Yannick A." <pify@live.fr>, 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-08 20:49+0000\n" "PO-Revision-Date: 2023-05-28 10:11+0000\n"
"Last-Translator: rene-coty <irenee.thirion@e.email>\n" "Last-Translator: rene-coty <irenee.thirion@e.email>\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"
@@ -18,23 +20,27 @@ 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.17-dev\n" "X-Generator: Weblate 4.18-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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartouches" msgstr "Cartridges"
#: data/hu.kramo.Cartridges.desktop.in:4 #: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher" msgid "Game Launcher"
msgstr "Lanceur de jeu" msgstr "Lanceur de jeux"
#: data/hu.kramo.Cartridges.desktop.in:5 #: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7 #: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Lancez tous vos jeux" msgstr "Lancez tous vos jeux"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "gaming;jeux;lanceur;steam;lutris;heroic;bouteilles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -42,50 +48,85 @@ msgid ""
"necessary. You can sort and hide games or download cover art from " "necessary. You can sort and hide games or download cover art from "
"SteamGridDB." "SteamGridDB."
msgstr "" msgstr ""
"Cartouches est un simple lanceur pour tous vos jeux. Il prend en charge " "Cartridges est un lanceur de jeux simple pour tous vos jeux. Il prend en "
"limportation de vos jeux depuis Steam, Lutris, Heroic et dautres encore, " "charge limportation des jeux depuis Steam, Lutris, Heroic et dautres "
"sans nécessiter de compte. Vous pouvez trier et masquer les jeux, ou " "encore, sans nécessiter de connexion. Vous pouvez trier et masquer les jeux "
"télécharger la pochette depuis SteamGridDB." "ou télécharger la pochette depuis SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "Bibliothèque" msgstr "Bibliothèque"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Modifier les détails du jeu" msgstr "Modifier les détails du jeu"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Détails du jeu" msgstr "Détails du jeu"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "Préférences" msgstr "Préférences"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Annuler"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Nouvelle couverture"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Supprimer la couverture"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "Titre" msgstr "Titre"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "Le titre du jeu"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Développeur"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Le développeur ou léditeur (facultatif)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Exécutable"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Fichier à ouvrir ou commande à exécuter au lancement du jeu"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Plus dinformations"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "Modifier" msgstr "Modifier"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "Masquer" msgstr "Masquer"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Retirer" msgstr "Supprimer"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "Afficher" msgstr "Ne plus masquer"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9 #: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General" msgid "General"
@@ -95,8 +136,8 @@ msgstr "Général"
msgid "Quit" msgid "Quit"
msgstr "Quitter" msgstr "Quitter"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "Rechercher" msgstr "Rechercher"
@@ -108,8 +149,7 @@ msgstr "Afficher les préférences"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Raccourcis" msgstr "Raccourcis"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "Annuler" msgstr "Annuler"
@@ -137,7 +177,7 @@ msgstr "Afficher les jeux masqués"
msgid "Remove game" msgid "Remove game"
msgstr "Supprimer le jeu" msgstr "Supprimer le jeu"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "Comportement" msgstr "Comportement"
@@ -154,7 +194,7 @@ msgid "Swaps the behavior of the cover image and the play button"
msgstr "" msgstr ""
"Intervertit le comportement de limage de la pochette et du bouton de lecture" "Intervertit le comportement de limage de la pochette et du bouton de lecture"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "Images" msgstr "Images"
@@ -165,7 +205,8 @@ msgstr "Images de haute qualité"
#: data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage" msgid "Save game covers losslessly at the cost of storage"
msgstr "" msgstr ""
"Sauvegarde les pochettes des jeux sans perte, mais prend plus de stockage" "Sauvegarde les pochettes des jeux sans perte, mais prend plus d'espace de "
"stockage"
#: data/gtk/preferences.blp:50 #: data/gtk/preferences.blp:50
msgid "Danger Zone" msgid "Danger Zone"
@@ -175,346 +216,232 @@ msgstr "Zone de danger"
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Supprimer tous les jeux" msgstr "Supprimer tous les jeux"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "Importer" msgstr "Importer"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "Sources" msgstr "Sources"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "Emplacement de l'installation de Steam" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "Emplacement dinstallation de Itch"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Répertoire à utiliser lors de l'importation de jeux"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Bibliothèque Steam supplémentaires"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr ""
"Sélectionnez dautres répertoires où vous avez des jeux Steam installés"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Vider"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" #, fuzzy
msgstr "Emplacement de linstallation Lutris" #| msgid "Lutris Cache Location"
msgid "Cache Location"
msgstr "Emplacement du cache de Lutris"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Lutris Cache Location" msgid "Import Steam Games"
msgstr "Emplacement du cache Lutris" msgstr "Importer les jeux de Steam"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr "Répertoire à utiliser lors de limportation des pochettes des jeux"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:138
msgid "Import Steam Games"
msgstr "Importer des jeux Steam"
#: data/gtk/preferences.blp:148
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "Emplacement de l'installation Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importer Epic Games" msgstr "Importer les jeux d'Epic Games"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importer des jeux GOG" msgstr "Importer les jeux de GOG"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importer des jeux Sideloaded" msgstr "Importer des jeux Sideloaded"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "Emplacement de l'installation Bottles"
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "Emplacement dinstallation itch" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "Identification" msgstr "Authentification"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "Clé API" msgstr "Clé API"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Utiliser SteamGridDB" msgstr "Utiliser SteamGridDB"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Télécharger les images lors de lajout ou de limportation de jeux" msgstr "Télécharger les images lors de lajout ou de limportation de jeux"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Préférer à la place des images officielles" msgstr "Préférer à la place des images officielles"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
#, fuzzy
#| msgid "Prefer Over Official Images"
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Préférer à la place des images officielles" msgstr "Préférer les images animées"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Aucun jeu trouvé" msgstr "Aucun jeu trouvé"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
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 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Aucun jeu" msgstr "Aucun jeu"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
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."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Pas de jeux masqués" msgstr "Pas de jeux masqués"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
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:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Retour" msgstr "Retour"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "Titre du jeu" msgstr "Titre du jeu"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Jouer" msgstr "Jouer"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "Ajouter un jeu" msgstr "Ajouter un jeu"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "Menu principal" msgstr "Menu principal"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Jeux masqués" msgstr "Jeux masqués"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "Trier" msgstr "Trier"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "A-Z" msgstr "A-Z"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "Z-A" msgstr "Z-A"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "Le plus récent" msgstr "Le plus récent"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "Le plus ancien" msgstr "Le plus ancien"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "Dernière session" msgstr "Dernière session"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Afficher les masqués" msgstr "Afficher les masqués"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "Raccourcis clavier" msgstr "Raccourcis clavier"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
msgstr "À propos de Cartouches" msgstr "À propos de Cartridges"
#. 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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "Irénée Thirion" msgstr "Irénée Thirion"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} lancé"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} masqué"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} affiché"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} retiré"
#: src/window.py:262
msgid "Today"
msgstr "Aujourd'hui"
#: src/window.py:264
msgid "Yesterday"
msgstr "Hier"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "Ajouté : {}" msgstr "Ajouté : {}"
#: src/window.py:315 #: src/window.py:195
msgid "Never" msgid "Never"
msgstr "Jamais" 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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Dernière session : {}" msgstr "Dernière session : {}"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "Détails"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Installation introuvable"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Sélectionnez le répertoire de configuration de {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Sélectionnez le répertoire de données de {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Définir lemplacement"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Tous les jeux ont été supprimés"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Cache non trouvé"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Sélectionnez le répertoire de cache de Lutris."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Une clé API est requise pour utiliser SteamGridDB. Vous pouvez en générer "
"une {}ici{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Ajouter un nouveau jeu"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Confirmer"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "Appliquer" msgstr "Appliquer"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "Le titre du jeu" msgstr "Ajouter un nouveau jeu"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "Développeur" msgstr "Confirmer"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Le développeur ou l'éditeur (facultatif)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "ficher.txt" msgstr "fichier.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "programme" msgstr "programme"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\chemin\\vers\\{}" msgstr "C:\\chemin\\vers\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/chemin/vers/{}" msgstr "/chemin/vers/{}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -526,11 +453,11 @@ 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 « {} », utilisez la commande :\n" "Pour lancer lexécutable « {} », utilisez la commande :\n"
"\n" "\n"
"<tt>\"{}\"</tt>\n" "<tt>\"{}\"</tt>\n"
"\n" "\n"
"Pour ouvrir le fichier « {} » avec l'application par défaut, utilisez la " "Pour ouvrir le fichier « {} » avec lapplication par défaut, utilisez la "
"commande :\n" "commande :\n"
"\n" "\n"
"<tt>{} \"{}\"</tt>\n" "<tt>{} \"{}\"</tt>\n"
@@ -538,84 +465,174 @@ msgstr ""
"Si le chemin d'accès contient des espaces, veillez à le mettre entre " "Si le chemin d'accès contient des espaces, veillez à le mettre entre "
"guillemets !" "guillemets !"
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "Exécutable"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Fichier à ouvrir ou commande à exécuter au lancement du jeu"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Annuler"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Impossible d'ajouter un jeu" msgstr "Impossible dajouter le jeu"
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Impossible d'appliquer les préférences"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." 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:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "L'exécutable ne peut pas être vide." msgstr "Lexécutable ne peut pas être vide."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Impossible dappliquer les préférences"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} lancé"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} masqué"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} affiché"
#: src/game.py:171
msgid "{} removed"
msgstr "{} retiré"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Tous les jeux ont été supprimés"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Une clé API est requise pour utiliser SteamGridDB. Vous pouvez en générer "
"une {}ici{}."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Définir lemplacement"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Rejeter" msgstr "Fermer"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "Importation des jeux…" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "Importation des pochettes des jeux…" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." #, fuzzy
msgstr "Aucun nouveau jeu na été trouvé sur votre système." #| msgid "Confirm"
msgid "Configuration"
msgstr "Confirmer"
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgstr "Jeu importé" msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "Importation réussie de 1 jeu." msgstr ""
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" #, fuzzy
msgstr "Jeux importés" #| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "Importation de {} jeux réussie."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Impossible de se connecter à SteamGridDB" msgstr "Impossible de se connecter à SteamGridDB"
#: src/utils/importer.py:145 #: src/store/managers/sgdb_manager.py:48
msgid "" msgid "Verify your API key in preferences"
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "" msgstr ""
"Il semble que vous ayez plusieurs bibliothèques Steam. Souhaitez-vous les "
"ajouter dans les préférences ?" #~ msgid "Steam Install Location"
#~ msgstr "Emplacement de linstallation de Steam"
#~ msgid "Lutris Install Location"
#~ msgstr "Emplacement de linstallation de Lutris"
#~ msgid "Heroic Install Location"
#~ msgstr "Emplacement de linstallation d'Heroic"
#~ msgid "Bottles Install Location"
#~ msgstr "Emplacement de linstallation de Bouteilles"
#~ msgid "Today"
#~ msgstr "Aujourdhui"
#~ msgid "Yesterday"
#~ msgstr "Hier"
#~ msgid "Cache Not Found"
#~ msgstr "Cache non trouvé"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Sélectionnez le répertoire du cache de Lutris."
#~ msgid "Installation Not Found"
#~ msgstr "Installation introuvable"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Sélectionnez le répertoire de configuration de {}."
#~ msgid "Select the {} data directory."
#~ msgstr "Sélectionnez le répertoire de données de {}."
#~ msgid "Importing Games…"
#~ msgstr "Importation des jeux…"
#~ msgid "Importing Covers…"
#~ msgstr "Importation des pochettes des jeux…"
#~ msgid "No new games found"
#~ msgstr "Aucun nouveau jeu trouvé"
#~ msgid "1 game imported"
#~ msgstr "1 jeu importé"
#~ msgid "{} games imported"
#~ msgstr "{} jeux importés"
#~ msgid "Directory to use when importing games"
#~ msgstr "Répertoire à utiliser lors de limportation de jeux"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Bibliothèques Steam supplémentaires"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr ""
#~ "Sélectionnez dautres répertoires où vous avez des jeux Steam installés"
#~ msgid "Clear"
#~ msgstr "Vider"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Répertoire à utiliser lors de limportation des pochettes des jeux"
#~ msgid "Details"
#~ msgstr "Détails"
#~ msgid "No new games were found on your system."
#~ msgstr "Aucun nouveau jeu na été trouvé sur votre système."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Importation réussie de 1 jeu."
#~ msgid "Successfully imported {} games."
#~ msgstr "Importation de {} jeux réussie."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Il semble que vous ayez plusieurs bibliothèques Steam. Souhaitez-vous les "
#~ "ajouter dans les préférences ?"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "Lancez vos jeux" #~ msgstr "Lancez vos jeux"

536
po/hu.po
View File

@@ -8,8 +8,8 @@ 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-11 21:31+0000\n" "PO-Revision-Date: 2023-06-26 10:05+0000\n"
"Last-Translator: kramo <contact@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"
@@ -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.17-dev\n" "X-Generator: Weblate 4.18.1\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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "Kazetták" msgstr "Kazetták"
@@ -35,6 +35,10 @@ msgstr "Játék Indító"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Indítsa el az összes játékát" msgstr "Indítsa el az összes játékát"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "játék;indító;steam;lutris;heroic;palackok;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -46,43 +50,78 @@ msgstr ""
"ból, Heroic-ból és több más forrásból bejelentkezés nélkül. Rendezheti és " "ból, Heroic-ból és több más forrásból bejelentkezés nélkül. Rendezheti és "
"elrejtheti a játékait, valamint letölthet borítóképeket a SteamGridDB-ről." "elrejtheti a játékait, valamint letölthet borítóképeket a SteamGridDB-ről."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "Könyvtár" msgstr "Könyvtár"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Játék Szerkesztése" msgstr "Játék Szerkesztése"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Játék Tulajdonságai" msgstr "Játék Tulajdonságai"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "Beállítások" msgstr "Beállítások"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Mégse"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Új borító"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Borító törlése"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "Cím" msgstr "Cím"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "A játék címe"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Fejlesztő"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "A fejlesztő vagy kiadó (nem kötelező)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Program"
#: data/gtk/details-window.blp:124
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"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Több infó"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "Szerkesztés" msgstr "Szerkesztés"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "Elrejtés" msgstr "Elrejtés"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Eltávolítás" msgstr "Eltávolítás"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "Elrejtés visszavonása" msgstr "Elrejtés visszavonása"
@@ -94,8 +133,8 @@ msgstr "Általános"
msgid "Quit" msgid "Quit"
msgstr "Kilépés" msgstr "Kilépés"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "Keresés" msgstr "Keresés"
@@ -107,8 +146,7 @@ msgstr "Beállítások megjelenítése"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Gyorsbillentyűk" msgstr "Gyorsbillentyűk"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "Visszavonás" msgstr "Visszavonás"
@@ -136,7 +174,7 @@ msgstr "Rejtett játékok megjelenítése"
msgid "Remove game" msgid "Remove game"
msgstr "Játék eltávolítása" msgstr "Játék eltávolítása"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "Működés" msgstr "Működés"
@@ -152,7 +190,7 @@ msgstr "A borítókép indítja el a játékot"
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "Felcseréli a \"Játék\" gomb és a borítókép funkcióját" msgstr "Felcseréli a \"Játék\" gomb és a borítókép funkcióját"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "Képek" msgstr "Képek"
@@ -172,343 +210,228 @@ msgstr "Veszélyzóna"
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Az összes játék eltávolítása" msgstr "Az összes játék eltávolítása"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "Importálás" msgstr "Importálás"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "Források" msgstr "Források"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "Steam telepítés helye" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
msgid "Install Location"
msgstr "Telepítés helye"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Az importáláshoz használt mappa"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "További Steam könyvtárak"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Válasszon ki egyéb mappákat, ahol vannak még Steam játékai"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Törlés"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" msgid "Cache Location"
msgstr "Lutris telepítés helye" msgstr "Gyorsítótár helye"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Lutris gyorsítótár helye"
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr "A játékborítók importáláshoz használt mappa"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Steam játékok importálása" msgstr "Steam játékok importálása"
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "Heroic telepítés helye"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Epic Games játékok importálása" msgstr "Epic Games játékok importálása"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "GOG játékok importálása" msgstr "GOG játékok importálása"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Manuálisan hozzáadott játékok importálása" msgstr "Manuálisan hozzáadott játékok importálása"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "Palackok" msgstr "Palackok"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "Palackok telepítés helye"
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "itch telepítés helye" msgstr "Legendary"
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "Hitelesítés" msgstr "Hitelesítés"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "API kulcs" msgstr "API kulcs"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "SteamGridDB használata" msgstr "SteamGridDB használata"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Képek letöltése játékok hozzáadásakor és importálásakor" msgstr "Képek letöltése játékok hozzáadásakor és importálásakor"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "SteamGridDB képek előnyben részesítése" msgstr "SteamGridDB képek előnyben részesítése"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Animált képek előnyben részesítése" msgstr "Animált képek előnyben részesítése"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
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 data/gtk/window.blp:15
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 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Nincsenek játékok" msgstr "Nincsenek játékok"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Használja 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:40
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:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "A rejtett játékaid itt lesznek megtalálhatóak." msgstr "A rejtett játékaid itt lesznek megtalálhatóak."
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Vissza" msgstr "Vissza"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "Cím" msgstr "Cím"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Játék" msgstr "Játék"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "Játék hozzáadása" msgstr "Játék hozzáadása"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "Főmenü" msgstr "Főmenü"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Rejtett játékok" msgstr "Rejtett játékok"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "Rendezés" msgstr "Rendezés"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "A-Z" msgstr "A-Z"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "Z-A" msgstr "Z-A"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "Legújabb" msgstr "Legújabb"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "Legrégebbi" msgstr "Legrégebbi"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "Legutóbb játszott" msgstr "Legutóbb játszott"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Rejtett játékok" msgstr "Rejtett játékok"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "Gyorsbillentyűk" msgstr "Gyorsbillentyűk"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
msgstr "A Kazetták névjegye" msgstr "A Kazetták névjegye"
#. 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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "kramo https://kramo.hu" msgstr "kramo https://kramo.hu"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} elindítva"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} elrejtve"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} elrejtése visszavonva"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} eltávolítva"
#: src/window.py:262
msgid "Today"
msgstr "Ma"
#: src/window.py:264
msgid "Yesterday"
msgstr "Tegnap"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "Hozzáadva: {}" msgstr "Hozzáadva: {}"
#: src/window.py:315 #: src/window.py:195
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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Legutóbbi játékmenet: {}" msgstr "Legutóbbi játékmenet: {}"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "Tulajdonságok"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Telepítés nem található"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Válassza ki {} konfigurációs mappáját."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Válassza ki {} adatainak mappáját."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Mappa kiválasztása"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Az összes játék eltávolítva"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Gyorsítótár nem található"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Válassza ki Lutris gyorsítótár mappáját."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Egy API kulcs szükséges a SteamGridDB használatához. {}Itt{} generálhat "
"egyet."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Új játék hozzáadása"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Megerősítés"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "Alkalmazás" msgstr "Alkalmazás"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "A játék címe" msgstr "Új játék hozzáadása"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "Fejlesztő" msgstr "Megerősítés"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "A fejlesztő vagy kiadó (nem kötelező)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
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:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "program" msgstr "program"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\útvonal\\ide\\{}" msgstr "C:\\útvonal\\ide\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/útvonal/ide/{}" msgstr "/útvonal/ide/{}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -531,84 +454,169 @@ msgstr ""
"\n" "\n"
"Ha az elérési útvonalban szóközök vannak, rakja az útvonalat idézőjelek közé!" "Ha az elérési útvonalban szóközök vannak, rakja az útvonalat idézőjelek közé!"
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "Program"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Fájl megnyitása vagy parancs futtatása a játék indításakor"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Mégse"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" 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:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Nem lehet menteni a beállításokat"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." 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:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "A program nem lehet üres." msgstr "A program nem lehet üres."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Nem lehet menteni a beállításokat"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} elindítva"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} elrejtve"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} elrejtése visszavonva"
#: src/game.py:171
msgid "{} removed"
msgstr "{} eltávolítva"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Az összes játék eltávolítva"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Egy API kulcs szükséges a SteamGridDB használatához. {}Itt{} generálhat "
"egyet."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Mappa kiválasztása"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Rendben" msgstr "Rendben"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "Játékok importálása folyamatban…" msgstr "Adatok"
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "Borítóképek importálása folyamatban…" msgstr "Gyorsítótár"
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." msgid "Configuration"
msgstr "Nem találhatóak új játékok a rendszerén." msgstr "Konfigurációk"
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgstr "Játékok importálva" msgid "Invalid {} Location for {{}}"
msgstr "Érvénytelen {} mappa ennek a forrásnak: {{}}"
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "1 játék sikeresen importálva." msgstr "Válasszon egy újat, vagy kapcsolja ki a forrást a beállításokban"
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" msgid "Couldn't Authenticate SteamGridDB"
msgstr "Játékok importálva" msgstr "Nem lehet hitelesíteni SteamGridDB-t"
#. The variable is the number of games #: src/store/managers/sgdb_manager.py:48
#: src/utils/importer.py:109 msgid "Verify your API key in preferences"
msgid "Successfully imported {} games." msgstr "Ellenőrizze az API kulcsát a beállításokban"
msgstr "{} játék sikeresen importálva."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113 #~ msgid "Steam Install Location"
msgid "Couldn't Connect to SteamGridDB" #~ msgstr "Steam telepítés helye"
msgstr "Nem lehet csatlakozni a SteamGridDB-hez"
#: src/utils/importer.py:145 #~ msgid "Lutris Install Location"
msgid "" #~ msgstr "Lutris telepítés helye"
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?" #~ msgid "Heroic Install Location"
msgstr "" #~ msgstr "Heroic telepítés helye"
"Úgy tűnik, több Steam könyvtára van. Szeretné őket hozzáadni a "
"beállításokban?" #~ msgid "Bottles Install Location"
#~ msgstr "Palackok telepítés helye"
#~ msgid "Today"
#~ msgstr "Ma"
#~ msgid "Yesterday"
#~ msgstr "Tegnap"
#~ msgid "Cache Not Found"
#~ msgstr "Gyorsítótár nem található"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Válassza ki Lutris gyorsítótár mappáját."
#~ msgid "Installation Not Found"
#~ msgstr "Telepítés nem található"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Válassza ki {} konfigurációs mappáját."
#~ msgid "Select the {} data directory."
#~ msgstr "Válassza ki {} adatainak mappáját."
#~ msgid "Importing Games…"
#~ msgstr "Játékok importálása folyamatban…"
#~ msgid "Importing Covers…"
#~ msgstr "Borítóképek importálása folyamatban…"
#~ msgid "No new games found"
#~ msgstr "Nem találhatóak új játékok"
#~ msgid "1 game imported"
#~ msgstr "1 játék importálva"
#~ msgid "{} games imported"
#~ msgstr "{} játék importálva"
#~ msgid "Directory to use when importing games"
#~ msgstr "Az importáláshoz használt mappa"
#~ msgid "Extra Steam Libraries"
#~ msgstr "További Steam könyvtárak"
#~ 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"
#~ msgid "Clear"
#~ msgstr "Törlés"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "A játékborítók importáláshoz használt mappa"
#~ msgid "Details"
#~ msgstr "Tulajdonságok"
#~ msgid "No new games were found on your system."
#~ msgstr "Nem találhatóak új játékok a rendszerén."
#~ msgid "Successfully imported 1 game."
#~ msgstr "1 játék sikeresen importálva."
#~ msgid "Successfully imported {} games."
#~ msgstr "{} játék sikeresen importálva."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Úgy tűnik, több Steam könyvtára van. Szeretné őket hozzáadni a "
#~ "beállításokban?"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "Indítsa el a játékait" #~ msgstr "Indítsa el a játékait"
@@ -716,3 +724,9 @@ msgstr ""
#~ msgid "Set Steam Location" #~ msgid "Set Steam Location"
#~ msgstr "Steam mappa kiválasztása" #~ msgstr "Steam mappa kiválasztása"
#~ msgid "Game Imported"
#~ msgstr "Játékok importálva"
#~ msgid "Games Imported"
#~ msgstr "Játékok importálva"

552
po/it.po
View File

@@ -8,9 +8,9 @@ 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n" "PO-Revision-Date: 2023-05-26 18:10+0000\n"
"Last-Translator: Alessandro Iepure <alessandro.iepure@gmail.com>\n" "Last-Translator: albanobattistella <albano_battistella@hotmail.com>\n"
"Language-Team: Italian <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Italian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/it/>\n" "cartridges/it/>\n"
"Language: it\n" "Language: it\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.17-dev\n" "X-Generator: Weblate 4.18-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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartucce" msgstr "Cartucce"
@@ -35,6 +35,10 @@ msgstr "Launcher di giochi"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Avvia tutti i tuoi giochi" msgstr "Avvia tutti i tuoi giochi"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "gioco;launcher;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -47,43 +51,78 @@ msgstr ""
"organizzare e nascondere i giochi oppure scaricare le copertine da " "organizzare e nascondere i giochi oppure scaricare le copertine da "
"StreamGridDB." "StreamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "Libreria" msgstr "Libreria"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Modifica dettagli del gioco" msgstr "Modifica dettagli del gioco"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Dettagli del gioco" msgstr "Dettagli del gioco"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "Preferenze" msgstr "Preferenze"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Annulla"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Nuova copertina"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Elimina copertina"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "Titolo" msgstr "Titolo"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "Titolo del gioco"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Sviluppatore"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Lo sviluppatore o l'editore (opzionale)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Eseguibile"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "File da aprire o comando da lanciare per avviare il gioco"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Altre informazioni"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "Modifica" msgstr "Modifica"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "Nascondi" msgstr "Nascondi"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Rimuovi" msgstr "Rimuovi"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "Mostra" msgstr "Mostra"
@@ -95,8 +134,8 @@ msgstr "Generale"
msgid "Quit" msgid "Quit"
msgstr "Chiudi" msgstr "Chiudi"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "Cerca" msgstr "Cerca"
@@ -108,8 +147,7 @@ msgstr "Mostra preferenze"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Scorciatoie da tastiera" msgstr "Scorciatoie da tastiera"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "Annulla" msgstr "Annulla"
@@ -137,7 +175,7 @@ msgstr "Mostra giochi nascosti"
msgid "Remove game" msgid "Remove game"
msgstr "Rimuovi gioco" msgstr "Rimuovi gioco"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "Comportamento" msgstr "Comportamento"
@@ -153,7 +191,7 @@ msgstr "La copertina avvia il gioco"
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "Inverti il comportamento della copertina con il pulsante di avvio" msgstr "Inverti il comportamento della copertina con il pulsante di avvio"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "Immagini" msgstr "Immagini"
@@ -174,344 +212,232 @@ msgstr "Zona di pericolo"
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Rimuovi tutti i giochi" msgstr "Rimuovi tutti i giochi"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "Importa" msgstr "Importa"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "Fonti" msgstr "Fonti"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "Percorso Installazione Steam" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "itch Posizione di installazione"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Cartella da usare per importare i giochi"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Librerie Steam Extra"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Seleziona le altre directory in cui sono installati i giochi di Steam"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Cancella"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" #, fuzzy
msgstr "Posizione di installazione di Lutris" #| msgid "Lutris Cache Location"
msgid "Cache Location"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Posizione della cache di Lutris" msgstr "Posizione della cache di Lutris"
#: data/gtk/preferences.blp:129 #: data/gtk/preferences.blp:128
msgid "Directory to use when importing game covers"
msgstr ""
"Directory da utilizzare durante l'importazione delle copertine dei giochi"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importa giochi da Steam" msgstr "Importa giochi da Steam"
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "Percorso Installazione Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importa giochi da Epic Games" msgstr "Importa giochi da Epic Games"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importa giochi da GOG" msgstr "Importa giochi da GOG"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importa giochi da aggiunti manualmente" msgstr "Importa giochi da aggiunti manualmente"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "Percorso Installazione Bottles"
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "itch Posizione di installazione" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "Autenticazione" msgstr "Autenticazione"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "Chiave API" msgstr "Chiave API"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Usa SteamGridDB" msgstr "Usa SteamGridDB"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Scarica immagini durante l'aggiunta o l'import di giochi" msgstr "Scarica immagini durante l'aggiunta o l'import di giochi"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Preferisci alle immagini ufficiali" msgstr "Preferisci alle immagini ufficiali"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Preferisci immagini animate" msgstr "Preferisci immagini animate"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Nessun Gioco Trovato" msgstr "Nessun Gioco Trovato"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "Prova una ricerca diversa." msgstr "Prova una ricerca diversa."
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Nessun Gioco" msgstr "Nessun Gioco"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Usa il pulsante + per aggiungere giochi." msgstr "Usa il pulsante + per aggiungere giochi."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Nessun Gioco Nascosto" msgstr "Nessun Gioco Nascosto"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "I giochi nascosti appariranno qui." msgstr "I giochi nascosti appariranno qui."
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Indietro" msgstr "Indietro"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "Titolo del gioco" msgstr "Titolo del gioco"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Gioca" msgstr "Gioca"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "Aggiungi Gioco" msgstr "Aggiungi Gioco"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "Menù Principale" msgstr "Menù Principale"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Giochi Nascosti" msgstr "Giochi Nascosti"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "Ordina per" msgstr "Ordina per"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "A-Z" msgstr "A-Z"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "Z-A" msgstr "Z-A"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "Più recente" msgstr "Più recente"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "Più vecchio" msgstr "Più vecchio"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "Ultimo Avvio" msgstr "Ultimo Avvio"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Mostra Nascosti" msgstr "Mostra Nascosti"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "Scorciatoie da Tastiera" msgstr "Scorciatoie da Tastiera"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
msgstr "Informazioni su Cartucce" msgstr "Informazioni su Cartucce"
#. 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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "Alessandro Iepure https://ale.iepure.me" msgstr "Alessandro Iepure https://ale.iepure.me"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} avviato"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} nascosto"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} visibile"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} rimosso"
#: src/window.py:262
msgid "Today"
msgstr "Oggi"
#: src/window.py:264
msgid "Yesterday"
msgstr "Ieri"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "Aggiunto il: {}" msgstr "Aggiunto il: {}"
#: src/window.py:315 #: src/window.py:195
msgid "Never" msgid "Never"
msgstr "Mai" msgstr "Mai"
#. 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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Ultima riproduzione: {}" msgstr "Ultima riproduzione: {}"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "Dettagli"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Installazione non trovata"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Selezionare la directory di configurazione {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Selezionare la directory dei dati {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Imposta percorso"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Tutti i giochi sono stati rimossi"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Cache non trovata"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Selezionare la directory della cache di Lutris."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Per utilizzare SteamGridDB è necessaria una chiave API. Puoi generarne una {}"
"qui{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Aggiungi un Nuovo Gioco"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Conferma"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "Applica" msgstr "Applica"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "Titolo del gioco" msgstr "Aggiungi un Nuovo Gioco"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "Sviluppatore" msgstr "Conferma"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Lo sviluppatore o l'editore (opzionale)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "file.txt" msgstr "file.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "programma" msgstr "programma"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\path\\to{}" msgstr "C:\\path\\to{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/percorso/to/{}" msgstr "/percorso/to/{}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -533,84 +459,175 @@ msgstr ""
"\n" "\n"
"Se il percorso contiene spazi, assicurarsi di avvolgerlo in doppi apici!" "Se il percorso contiene spazi, assicurarsi di avvolgerlo in doppi apici!"
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "Eseguibile"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "File da aprire o comando da lanciare per avviare il gioco"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Annulla"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Impossibile aggiungere il gioco" msgstr "Impossibile aggiungere il gioco"
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Impossibile applicare le preferenze"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Il titolo del gioco non può essere vuoto." msgstr "Il titolo del gioco non può essere vuoto."
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "L'eseguibile non può essere vuoto." msgstr "L'eseguibile non può essere vuoto."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Impossibile applicare le preferenze"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} avviato"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} nascosto"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} visibile"
#: src/game.py:171
msgid "{} removed"
msgstr "{} rimosso"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Tutti i giochi sono stati rimossi"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Per utilizzare SteamGridDB è necessaria una chiave API. Puoi generarne una {}"
"qui{}."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Imposta percorso"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Chiudi" msgstr "Chiudi"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "Import dei giochi in corso…" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "Import delle copertine…" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." #, fuzzy
msgstr "Nessun nuovo gioco trovato nel tuo sistema." #| msgid "Confirm"
msgid "Configuration"
msgstr "Conferma"
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgstr "Gioco importato" msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "Un gioco importato con successo." msgstr ""
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" #, fuzzy
msgstr "Giochi importati" #| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "Importazione riuscita di {} giochi."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Impossibile connettersi a SteamGridDB" msgstr "Impossibile connettersi a SteamGridDB"
#: src/utils/importer.py:145 #: src/store/managers/sgdb_manager.py:48
msgid "" msgid "Verify your API key in preferences"
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "" msgstr ""
"Sembra che tu abbia più librerie Steam. Vorresti aggiungerle nelle "
"preferenze?" #~ msgid "Steam Install Location"
#~ msgstr "Percorso Installazione Steam"
#~ msgid "Lutris Install Location"
#~ msgstr "Posizione di installazione di Lutris"
#~ msgid "Heroic Install Location"
#~ msgstr "Percorso Installazione Heroic"
#~ msgid "Bottles Install Location"
#~ msgstr "Percorso Installazione Bottles"
#~ msgid "Today"
#~ msgstr "Oggi"
#~ msgid "Yesterday"
#~ msgstr "Ieri"
#~ msgid "Cache Not Found"
#~ msgstr "Cache non trovata"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Selezionare la directory della cache di Lutris."
#~ msgid "Installation Not Found"
#~ msgstr "Installazione non trovata"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Selezionare la directory di configurazione {}."
#~ msgid "Select the {} data directory."
#~ msgstr "Selezionare la directory dei dati {}."
#~ msgid "Importing Games…"
#~ msgstr "Import dei giochi in corso…"
#~ msgid "Importing Covers…"
#~ msgstr "Import delle copertine…"
#~ msgid "No new games found"
#~ msgstr "Nessun nuovo gioco trovato"
#~ msgid "1 game imported"
#~ msgstr "1 gioco importato"
#~ msgid "{} games imported"
#~ msgstr "{} giochi importati"
#~ msgid "Directory to use when importing games"
#~ msgstr "Cartella da usare per importare i giochi"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Librerie Steam Extra"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr ""
#~ "Seleziona le altre directory in cui sono installati i giochi di Steam"
#~ msgid "Clear"
#~ msgstr "Cancella"
#~ msgid "Directory to use when importing game covers"
#~ msgstr ""
#~ "Directory da utilizzare durante l'importazione delle copertine dei giochi"
#~ msgid "Details"
#~ msgstr "Dettagli"
#~ msgid "No new games were found on your system."
#~ msgstr "Nessun nuovo gioco trovato nel tuo sistema."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Un gioco importato con successo."
#~ msgid "Successfully imported {} games."
#~ msgstr "Importazione riuscita di {} giochi."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Sembra che tu abbia più librerie Steam. Vorresti aggiungerle nelle "
#~ "preferenze?"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "Avvia i tuoi giochi" #~ msgstr "Avvia i tuoi giochi"
@@ -632,19 +649,16 @@ msgstr ""
#~ msgstr "/percorso/per/{file_name}" #~ msgstr "/percorso/per/{file_name}"
#, fuzzy #, fuzzy
#~| msgid "General"
#~ msgctxt "shortcuts window" #~ msgctxt "shortcuts window"
#~ msgid "General" #~ msgid "General"
#~ msgstr "Generale" #~ msgstr "Generale"
#, fuzzy #, fuzzy
#~| msgid "Search"
#~ msgctxt "shortcuts window" #~ msgctxt "shortcuts window"
#~ msgid "Search" #~ msgid "Search"
#~ msgstr "Cerca" #~ msgstr "Cerca"
#, fuzzy #, fuzzy
#~| msgid "Undo"
#~ msgctxt "shortcuts window" #~ msgctxt "shortcuts window"
#~ msgid "Undo" #~ msgid "Undo"
#~ msgstr "Annulla" #~ msgstr "Annulla"
@@ -693,3 +707,9 @@ msgstr ""
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "Parlando con Steam" #~ msgstr "Parlando con Steam"
#~ msgid "Game Imported"
#~ msgstr "Gioco importato"
#~ msgid "Games Imported"
#~ msgstr "Giochi importati"

418
po/ko.po
View File

@@ -6,7 +6,7 @@ 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-03-28 22:23+0000\n" "PO-Revision-Date: 2023-03-28 22:23+0000\n"
"Last-Translator: MJKim <kmj10727@gmail.com>\n" "Last-Translator: MJKim <kmj10727@gmail.com>\n"
"Language-Team: Korean <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Korean <https://hosted.weblate.org/projects/cartridges/"
@@ -19,8 +19,8 @@ msgstr ""
"X-Generator: Weblate 4.17-dev\n" "X-Generator: Weblate 4.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: 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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "카트리지" msgstr "카트리지"
@@ -33,6 +33,10 @@ msgstr "게임 런처"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "모든 게임을 실행합니다" msgstr "모든 게임을 실행합니다"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
#, fuzzy #, fuzzy
#| msgid "" #| msgid ""
@@ -49,43 +53,78 @@ msgstr ""
"별로 게임을 숨기거나 정렬하는 등의 정리 기능을 통해 Steam, Heroic 및 Bottles" "별로 게임을 숨기거나 정렬하는 등의 정리 기능을 통해 Steam, Heroic 및 Bottles"
"에서 게임을 가져올 수 있습니다." "에서 게임을 가져올 수 있습니다."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "라이브러리" msgstr "라이브러리"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "" msgstr ""
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr ""
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "" msgstr ""
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr ""
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr ""
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr ""
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr ""
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr ""
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "" msgstr ""
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "" msgstr ""
@@ -97,8 +136,8 @@ msgstr ""
msgid "Quit" msgid "Quit"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "" msgstr ""
@@ -110,8 +149,7 @@ msgstr ""
msgid "Shortcuts" msgid "Shortcuts"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "" msgstr ""
@@ -145,7 +183,7 @@ msgstr ""
msgid "Remove game" msgid "Remove game"
msgstr "게임이 없습니다" msgstr "게임이 없습니다"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "" msgstr ""
@@ -161,7 +199,7 @@ msgstr ""
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "" msgstr ""
@@ -181,343 +219,230 @@ msgstr ""
msgid "Remove All Games" msgid "Remove All Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
msgid "Install Location"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr ""
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" msgid "Cache Location"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr ""
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr ""
#: data/gtk/preferences.blp:138
#, fuzzy #, fuzzy
#| msgid "No Games" #| msgid "No Games"
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "게임이 없습니다" msgstr "게임이 없습니다"
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr ""
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr ""
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "" msgstr ""
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "" msgstr ""
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "" msgstr ""
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "게임이 없습니다" msgstr "게임이 없습니다"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "" msgstr ""
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "" msgstr ""
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "" msgstr ""
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "뒤로" msgstr "뒤로"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "" msgstr ""
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "" msgstr ""
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "" msgstr ""
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "" msgstr ""
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "" msgstr ""
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "정렬" msgstr "정렬"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "" msgstr ""
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "" msgstr ""
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "" msgstr ""
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "" msgstr ""
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "" msgstr ""
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "" msgstr ""
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "" msgstr ""
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "" msgstr ""
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr ""
#: src/window.py:262
msgid "Today"
msgstr ""
#: src/window.py:264
msgid "Yesterday"
msgstr ""
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "" msgstr ""
#: src/window.py:315 #: src/window.py:195
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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "" msgstr ""
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr ""
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr ""
#: src/preferences.py:132
msgid "All games removed"
msgstr ""
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr ""
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr ""
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr ""
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr ""
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr ""
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "" msgstr ""
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr ""
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "" msgstr ""
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "" msgstr ""
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -530,81 +455,84 @@ 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:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr ""
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr ""
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr ""
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr ""
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "" msgstr ""
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr ""
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr ""
#: src/game.py:154
msgid "{} unhidden"
msgstr ""
#: src/game.py:171
msgid "{} removed"
msgstr ""
#: src/preferences.py:102
msgid "All games removed"
msgstr ""
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/preferences.py:289
msgid "Set Location"
msgstr ""
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "" msgstr ""
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." msgid "Configuration"
msgstr "" msgstr ""
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgid "Invalid {} Location for {{}}"
msgstr "" msgstr ""
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "" msgstr ""
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" msgid "Couldn't Authenticate SteamGridDB"
msgstr "" msgstr ""
#. The variable is the number of games #: src/store/managers/sgdb_manager.py:48
#: src/utils/importer.py:109 msgid "Verify your API key in preferences"
msgid "Successfully imported {} games."
msgstr ""
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr ""
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "" msgstr ""
#~ msgid "Launch your games" #~ msgid "Launch your games"

View File

@@ -7,7 +7,7 @@ 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-06 08:09+0000\n" "PO-Revision-Date: 2023-04-06 08:09+0000\n"
"Last-Translator: Allan Nordhøy <epost@anotheragency.no>\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/"
@@ -20,8 +20,8 @@ msgstr ""
"X-Generator: Weblate 4.17-dev\n" "X-Generator: Weblate 4.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: 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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
@@ -34,6 +34,10 @@ msgstr "Spillutvalgstarter"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Start alle spillene dine" msgstr "Start alle spillene dine"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -46,43 +50,78 @@ msgstr ""
"innlogging. Du kan sortere og skjule spil eller laste ned omslagsbilder fra " "innlogging. Du kan sortere og skjule spil eller laste ned omslagsbilder fra "
"SteamGridDB." "SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "Bibliotek" msgstr "Bibliotek"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Rediger spilldetaljer" msgstr "Rediger spilldetaljer"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Spilldetaljer" msgstr "Spilldetaljer"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "Innstillinger" msgstr "Innstillinger"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Avbryt"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "Navn" msgstr "Navn"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "Navnet på spillet"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Utvikler"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Utvikler eller utgiver (valgfritt)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Kjørbar"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Fil å åpne eller kommando å kjøre ved oppstart av spillet"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "Rediger" msgstr "Rediger"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "Skjul" msgstr "Skjul"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Fjern" msgstr "Fjern"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "Opphev fjerning" msgstr "Opphev fjerning"
@@ -94,8 +133,8 @@ msgstr "Generelt"
msgid "Quit" msgid "Quit"
msgstr "Avslutt" msgstr "Avslutt"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
#, fuzzy #, fuzzy
msgid "Search" msgid "Search"
msgstr "Søk" msgstr "Søk"
@@ -108,8 +147,7 @@ msgstr "Vis innstillinger"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Snarveier" msgstr "Snarveier"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "Angre" msgstr "Angre"
@@ -139,7 +177,7 @@ msgstr "Vis skjulte spill"
msgid "Remove game" msgid "Remove game"
msgstr "Fjern spill" msgstr "Fjern spill"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
#, fuzzy #, fuzzy
msgid "Behavior" msgid "Behavior"
msgstr "Adferd" msgstr "Adferd"
@@ -156,7 +194,7 @@ msgstr "Omslagsbilde starter spill"
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "Bytter adferd for omslagsbilde og spill-knapp" msgstr "Bytter adferd for omslagsbilde og spill-knapp"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "Bilder" msgstr "Bilder"
@@ -176,363 +214,240 @@ msgstr "Faresone"
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Fjern alle spill" msgstr "Fjern alle spill"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "Importer" msgstr "Importer"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "Kilder" msgstr "Kilder"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "Installasjonssted for Steam" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Mappe å bruke ved import av spill"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Ekstra Steam-bibliotek"
#: data/gtk/preferences.blp:90
#, fuzzy #, fuzzy
msgid "Select other directories where you have Steam games installed" #| msgid "Heroic Install Location"
msgstr "Velg andre mapper der du har Steam-spill installert" msgid "Install Location"
msgstr "Installasjonssted for itch"
#: data/gtk/preferences.blp:96 #: data/gtk/preferences.blp:106
msgid "Clear"
msgstr "Tøm"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location"
msgstr "Installasjonssted for Lutris"
#: data/gtk/preferences.blp:128
#, fuzzy #, fuzzy
#| msgid "Set Heroic Location" #| msgid "Set Heroic Location"
msgid "Lutris Cache Location" msgid "Cache Location"
msgstr "Posisjon for Lutris-hurtiglager" msgstr "Posisjon for Lutris-hurtiglager"
#: data/gtk/preferences.blp:129 #: data/gtk/preferences.blp:128
#, fuzzy
#| msgid "Directory to use when importing games"
msgid "Directory to use when importing game covers"
msgstr "Mappe å bruke ved import av spillomslag"
#: data/gtk/preferences.blp:138
#, fuzzy #, fuzzy
#| msgid "Import Sideloaded Games" #| msgid "Import Sideloaded Games"
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importer sideinnlastede spill" msgstr "Importer sideinnlastede spill"
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "Installasjonssted for Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importer Epic-spill" msgstr "Importer Epic-spill"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importer GOG-spill" msgstr "Importer GOG-spill"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importer sideinnlastede spill" msgstr "Importer sideinnlastede spill"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "Installasjonssted for Bottles"
#: data/gtk/preferences.blp:205
#, fuzzy #, fuzzy
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
#, fuzzy msgid "Legendary"
#| msgid "Heroic Install Location" msgstr ""
msgid "itch Install Location"
msgstr "Installasjonssted for itch"
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "Identitetsbekreftelse" msgstr "Identitetsbekreftelse"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
#, fuzzy #, fuzzy
msgid "API Key" msgid "API Key"
msgstr "API-nøkkel" msgstr "API-nøkkel"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Bruk SteamGridDB" msgstr "Bruk SteamGridDB"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
#, fuzzy #, fuzzy
#| msgid "Directory to use when importing games" #| msgid "Directory to use when importing games"
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Mappe å bruke ved import av spill" msgstr "Mappe å bruke ved import av spill"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
#, fuzzy #, fuzzy
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Foretrekk over offisielle bilder" msgstr "Foretrekk over offisielle bilder"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
#, fuzzy #, fuzzy
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Foretrekk over offisielle bilder" msgstr "Foretrekk over offisielle bilder"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Fant ingen spill" msgstr "Fant ingen spill"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
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 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Ingen spill" msgstr "Ingen spill"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
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."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Ingen skjulte spill" msgstr "Ingen skjulte spill"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
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:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Tilbake" msgstr "Tilbake"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "Spillnavn" msgstr "Spillnavn"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Spill" msgstr "Spill"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "Legg til spill" msgstr "Legg til spill"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "Hovedmeny" msgstr "Hovedmeny"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Skjulte spill" msgstr "Skjulte spill"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "Sorter" msgstr "Sorter"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "A-Å" msgstr "A-Å"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "Å-A" msgstr "Å-A"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "Nyeste" msgstr "Nyeste"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "Eldste" msgstr "Eldste"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "Sist spilt" msgstr "Sist spilt"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Vis skjulte" msgstr "Vis skjulte"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "Tastatursnarveier" msgstr "Tastatursnarveier"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
msgstr "Om" msgstr "Om"
#. 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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "Allan Nordhøy, <epost@anotheragency.no>" msgstr "Allan Nordhøy, <epost@anotheragency.no>"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} startet"
#. The variable is the title of the game
#: src/main.py:182
#, fuzzy
#| msgid "Show Hidden"
msgid "{} hidden"
msgstr "{} skjult"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} synlig"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} fjernet"
#: src/window.py:262
msgid "Today"
msgstr "I dag"
#: src/window.py:264
msgid "Yesterday"
msgstr "I går"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "Tillagt: {}" msgstr "Tillagt: {}"
#: src/window.py:315 #: src/window.py:195
msgid "Never" msgid "Never"
msgstr "Aldri" 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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Sist spilt: {}" msgstr "Sist spilt: {}"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "Detaljer"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Fant ikke installasjonen"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Velg {}-oppsettsmappen."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Velg {}-datamappen."
#: src/preferences.py:61 src/preferences.py:240
#, fuzzy
#| msgid "Set Steam Location"
msgid "Set Location"
msgstr "Velg mappe"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Alle spill fjernet"
#: src/preferences.py:237
#, fuzzy
msgid "Cache Not Found"
msgstr "Fant ikke hurtiglager"
#: src/preferences.py:238
#, fuzzy
msgid "Select the Lutris cache directory."
msgstr "Velg {name}-datamappen."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"En API-nøkkel kreves for å bruke SteamGridDB. Du kan generere en {}her{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Legg til nytt spill"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Bekreft"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "Bruk" msgstr "Bruk"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "Navnet på spillet" msgstr "Legg til nytt spill"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "Utvikler" msgstr "Bekreft"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Utvikler eller utgiver (valgfritt)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "fil.txt" msgstr "fil.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "program" msgstr "program"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\sti\\til\\{}" msgstr "C:\\sti\\til\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/sti/til/{}" msgstr "/sti/til/{}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -555,86 +470,188 @@ msgstr ""
"Hvis stien inneholder mellomrom må du pakke den inn i doble engelske " "Hvis stien inneholder mellomrom må du pakke den inn i doble engelske "
"sitattegn." "sitattegn."
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "Kjørbar"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Fil å åpne eller kommando å kjøre ved oppstart av spillet"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Avbryt"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Kunne ikke legge til spill" msgstr "Kunne ikke legge til spill"
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Kunne ikke ta i bruk endringer"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." 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:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Kjørbar fil må angis." msgstr "Kjørbar fil må angis."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Kunne ikke ta i bruk endringer"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} startet"
#. The variable is the title of the game
#: src/game.py:154
#, fuzzy
#| msgid "Show Hidden"
msgid "{} hidden"
msgstr "{} skjult"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} synlig"
#: src/game.py:171
msgid "{} removed"
msgstr "{} fjernet"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Alle spill fjernet"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"En API-nøkkel kreves for å bruke SteamGridDB. Du kan generere en {}her{}."
#: src/preferences.py:289
#, fuzzy
#| msgid "Set Steam Location"
msgid "Set Location"
msgstr "Velg mappe"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Forkast" msgstr "Forkast"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "Importerer spill …" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "Importerer omslag …" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system."
msgstr "Fant ingen nye spill på systemet ditt."
#: src/utils/importer.py:100
msgid "Game Imported"
msgstr "Spill importert"
#: src/utils/importer.py:101
msgid "Successfully imported 1 game."
msgstr "Importerte ett spill."
#: src/utils/importer.py:107
msgid "Games Imported"
msgstr "Spill importert"
#. The variable is the number of games
#: src/utils/importer.py:109
#, fuzzy #, fuzzy
#| msgid "Successfully imported 1 game." #| msgid "Confirm"
msgid "Successfully imported {} games." msgid "Configuration"
msgstr "Importerte {} spill." msgstr "Bekreft"
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
#: src/importer/sources/source.py:119
msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/importer/sources/source.py:120
msgid "Pick a new one or disable the source in preferences"
msgstr ""
#: src/store/managers/sgdb_manager.py:47
#, fuzzy #, fuzzy
msgid "Couldn't Connect to SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "Kunne ikke koble til SteamGridDB" msgstr "Kunne ikke koble til SteamGridDB"
#: src/utils/importer.py:145 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences"
msgstr ""
#~ msgid "Steam Install Location"
#~ msgstr "Installasjonssted for Steam"
#~ msgid "Lutris Install Location"
#~ msgstr "Installasjonssted for Lutris"
#~ msgid "Heroic Install Location"
#~ msgstr "Installasjonssted for Heroic"
#~ msgid "Bottles Install Location"
#~ msgstr "Installasjonssted for Bottles"
#~ msgid "Today"
#~ msgstr "I dag"
#~ msgid "Yesterday"
#~ msgstr "I går"
#, fuzzy #, fuzzy
msgid "" #~ msgid "Cache Not Found"
"Looks like you have multiple Steam libraries. Would you like to add them in " #~ msgstr "Fant ikke hurtiglager"
"preferences?"
msgstr "Du har flere Steam-bibliotek. Vil du legge dem til i innstillingene?" #, fuzzy
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Velg {name}-datamappen."
#~ msgid "Installation Not Found"
#~ msgstr "Fant ikke installasjonen"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Velg {}-oppsettsmappen."
#~ msgid "Select the {} data directory."
#~ msgstr "Velg {}-datamappen."
#~ msgid "Importing Games…"
#~ msgstr "Importerer spill …"
#~ msgid "Importing Covers…"
#~ msgstr "Importerer omslag …"
#, fuzzy
#~| msgid "No Games Found"
#~ msgid "No new games found"
#~ msgstr "Fant ingen spill"
#, fuzzy
#~| msgid "Game Imported"
#~ msgid "1 game imported"
#~ msgstr "Spill importert"
#, fuzzy
#~| msgid "Games Imported"
#~ msgid "{} games imported"
#~ msgstr "Spill importert"
#~ msgid "Directory to use when importing games"
#~ msgstr "Mappe å bruke ved import av spill"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Ekstra Steam-bibliotek"
#, fuzzy
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Velg andre mapper der du har Steam-spill installert"
#~ msgid "Clear"
#~ msgstr "Tøm"
#, fuzzy
#~| msgid "Directory to use when importing games"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Mappe å bruke ved import av spillomslag"
#~ msgid "Details"
#~ msgstr "Detaljer"
#~ msgid "No new games were found on your system."
#~ msgstr "Fant ingen nye spill på systemet ditt."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Importerte ett spill."
#, fuzzy
#~| msgid "Successfully imported 1 game."
#~ msgid "Successfully imported {} games."
#~ msgstr "Importerte {} spill."
#, fuzzy
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Du har flere Steam-bibliotek. Vil du legge dem til i innstillingene?"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "Start spillene dine" #~ msgstr "Start spillene dine"

542
po/nl.po
View File

@@ -7,8 +7,8 @@ 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n" "PO-Revision-Date: 2023-05-29 18:48+0000\n"
"Last-Translator: Philip Goto <philip.goto@gmail.com>\n" "Last-Translator: Philip Goto <philip.goto@gmail.com>\n"
"Language-Team: Dutch <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Dutch <https://hosted.weblate.org/projects/cartridges/"
"cartridges/nl/>\n" "cartridges/nl/>\n"
@@ -17,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.17-dev\n" "X-Generator: Weblate 4.18-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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
@@ -34,6 +34,12 @@ msgstr "Game-launcher"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Start al uw games op" msgstr "Start al uw games op"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
"gaming;launcher;steam;lutris;heroic;bottles;itch;spelen;games;starten;"
"opstarten;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -46,43 +52,79 @@ msgstr ""
"meer, zonder in te hoeven loggen. U kunt spellen sorteren, verbergen en " "meer, zonder in te hoeven loggen. U kunt spellen sorteren, verbergen en "
"covers van SteamGridDB downloaden." "covers van SteamGridDB downloaden."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "Bibliotheek" msgstr "Bibliotheek"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Game-details bewerken" msgstr "Game-details bewerken"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Game-details" msgstr "Game-details"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "Voorkeuren" msgstr "Voorkeuren"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Annuleren"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Nieuwe cover"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Cover verwijderen"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "Titel" msgstr "Titel"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "De titel van de game"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Ontwikkelaar"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "De ontwikkelaar of uitgever (optioneel)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Programmabestand"
#: data/gtk/details-window.blp:124
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"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Meer info"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "Bewerken" msgstr "Bewerken"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "Verbergen" msgstr "Verbergen"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Verwijderen" msgstr "Verwijderen"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "Niet meer verbergen" msgstr "Niet meer verbergen"
@@ -94,8 +136,8 @@ msgstr "Algemeen"
msgid "Quit" msgid "Quit"
msgstr "Sluiten" msgstr "Sluiten"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "Zoeken" msgstr "Zoeken"
@@ -107,8 +149,7 @@ msgstr "Voorkeuren tonen"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Sneltoetsen" msgstr "Sneltoetsen"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "Ongedaan maken" msgstr "Ongedaan maken"
@@ -136,7 +177,7 @@ msgstr "Verborgen games tonen"
msgid "Remove game" msgid "Remove game"
msgstr "Game verwijderen" msgstr "Game verwijderen"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "Gedrag" msgstr "Gedrag"
@@ -152,7 +193,7 @@ msgstr "Cover-afbeelding start game"
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "Wisselt het gedrag van de cover-afbeelding en de speelknop om" msgstr "Wisselt het gedrag van de cover-afbeelding en de speelknop om"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "Afbeeldingen" msgstr "Afbeeldingen"
@@ -173,343 +214,232 @@ msgstr "Gevarenzone"
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Alle games verwijderen" msgstr "Alle games verwijderen"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "Importeren" msgstr "Importeren"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "Bronnen" msgstr "Bronnen"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "Installatielocatie van Steam" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "Installatielocatie van itch"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Map om te gebruiken bij het importeren van games"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Extra Steam-bibliotheken"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Andere mappen waar u Steam-games heeft geïnstalleerd"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Wissen"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" #, fuzzy
msgstr "Installatielocatie van Lutris" #| msgid "Lutris Cache Location"
msgid "Cache Location"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Cache-locatie van Lutris" msgstr "Cache-locatie van Lutris"
#: data/gtk/preferences.blp:129 #: data/gtk/preferences.blp:128
msgid "Directory to use when importing game covers"
msgstr "Map om te gebruiken bij het importeren van game-covers"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Steam-games importeren" msgstr "Steam-games importeren"
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "Installatielocatie van Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Epic-games importeren" msgstr "Epic-games importeren"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "GOG-games importeren" msgstr "GOG-games importeren"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Gesideloade games importeren" msgstr "Gesideloade games importeren"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "Installatielocatie van Bottles"
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "Installatielocatie van itch" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "Authenticatie" msgstr "Authenticatie"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "API-sleutel" msgstr "API-sleutel"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "SteamGridDB gebruiken" msgstr "SteamGridDB gebruiken"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Afbeeldingen downloaden bij het toevoegen of importeren van games" msgstr "Afbeeldingen downloaden bij het toevoegen of importeren van games"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Voorkeur geven boven officiële afbeeldingen" msgstr "Voorkeur geven boven officiële afbeeldingen"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Voorkeur geven aan geanimeerde afbeeldingen" msgstr "Voorkeur geven aan geanimeerde afbeeldingen"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Geen games gevonden" msgstr "Geen games gevonden"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "Probeer een andere zoekopdracht" msgstr "Probeer een andere zoekopdracht"
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Geen games" msgstr "Geen games"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Gebruik de plusknop om games toe te voegen" msgstr "Gebruik de plusknop om games toe te voegen"
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Geen verborgen games" msgstr "Geen verborgen games"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Games die u verbergt zullen hier verschijnen" msgstr "Games die u verbergt zullen hier verschijnen"
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Terug" msgstr "Terug"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "Game-titel" msgstr "Game-titel"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Spelen" msgstr "Spelen"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "Game toevoegen" msgstr "Game toevoegen"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "Hoofdmenu" msgstr "Hoofdmenu"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Verborgen games" msgstr "Verborgen games"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "Sorteren" msgstr "Sorteren"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "A-Z" msgstr "A-Z"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "Z-A" msgstr "Z-A"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "Nieuwste" msgstr "Nieuwste"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "Oudste" msgstr "Oudste"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "Laatst gespeeld" msgstr "Laatst gespeeld"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Verborgen games tonen" msgstr "Verborgen games tonen"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "Sneltoetsen" msgstr "Sneltoetsen"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
msgstr "Over Cartridges" msgstr "Over Cartridges"
#. 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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "Philip Goto https://flipflop97.github.io/" msgstr "Philip Goto https://flipflop97.github.io/"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} gestart"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} verborgen"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} hersteld"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} verwijderd"
#: src/window.py:262
msgid "Today"
msgstr "Vandaag"
#: src/window.py:264
msgid "Yesterday"
msgstr "Gisteren"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "Toegevoegd op {}" msgstr "Toegevoegd op {}"
#: src/window.py:315 #: src/window.py:195
msgid "Never" msgid "Never"
msgstr "Nooit" msgstr "Nooit"
#. 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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Laatst gespeeld: {}" msgstr "Laatst gespeeld: {}"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "Details"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Installatie niet gevonden"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Selecteer de configuratiemap van {}"
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Selecteer de gegevensmap van {}"
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Locatie instellen"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Alle games verwijderd"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Cache niet gevonden"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Selecteer de cache-map van Lutris"
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Een API-sleutel is vereist om SteamGridDB te gebruiken. U kunt er {}hier{} "
"één genereren."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Nieuwe game toevoegen"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Bevestigen"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "Toepassen" msgstr "Toepassen"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "De titel van de game" msgstr "Nieuwe game toevoegen"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "Ontwikkelaar" msgstr "Bevestigen"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "De ontwikkelaar of uitgever (optioneel)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "bestand.txt" msgstr "bestand.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "programma" msgstr "programma"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\pad\\naar\\{}" msgstr "C:\\pad\\naar\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/pad/naar/{}" msgstr "/pad/naar/{}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -533,85 +463,173 @@ msgstr ""
"Indien het pad spaties bevat, zorg er dan voor dat er dubbele " "Indien het pad spaties bevat, zorg er dan voor dat er dubbele "
"aanhalingstekens omheen staan!" "aanhalingstekens omheen staan!"
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "Programmabestand"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr ""
"Te openen bestand of uit te voeren opdracht bij het starten van de game"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Annuleren"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Kon game niet toevoegen" msgstr "Kon game niet toevoegen"
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Kon voorkeuren niet toepassen"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Game-titel mag niet leeg zijn" msgstr "Game-titel mag niet leeg zijn"
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Programmabestand mag niet leeg zijn" msgstr "Programmabestand mag niet leeg zijn"
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Kon voorkeuren niet toepassen"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} gestart"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} verborgen"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} hersteld"
#: src/game.py:171
msgid "{} removed"
msgstr "{} verwijderd"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Alle games verwijderd"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Een API-sleutel is vereist om SteamGridDB te gebruiken. U kunt er {}hier{} "
"één genereren."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Locatie instellen"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Sluiten" msgstr "Sluiten"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "Games importeren…" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "Covers importeren…" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." #, fuzzy
msgstr "Geen nieuwe games gevonden op uw systeem" #| msgid "Confirm"
msgid "Configuration"
msgstr "Bevestigen"
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgstr "Game geïmporteerd" msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "1 game succesvol geïmporteerd" msgstr ""
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" #, fuzzy
msgstr "Games geïmporteerd" #| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "{} games succesvol geïmporteerd"
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Kan geen verbinding maken met SteamGridDB" msgstr "Kan geen verbinding maken met SteamGridDB"
#: src/utils/importer.py:145 #: src/store/managers/sgdb_manager.py:48
msgid "" msgid "Verify your API key in preferences"
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "" msgstr ""
"Het lijkt erop dat u meerdere Steam-bibliotheken heeft. Wilt u ze toevoegen "
"in de voorkeuren?" #~ msgid "Steam Install Location"
#~ msgstr "Installatielocatie van Steam"
#~ msgid "Lutris Install Location"
#~ msgstr "Installatielocatie van Lutris"
#~ msgid "Heroic Install Location"
#~ msgstr "Installatielocatie van Heroic"
#~ msgid "Bottles Install Location"
#~ msgstr "Installatielocatie van Bottles"
#~ msgid "Today"
#~ msgstr "Vandaag"
#~ msgid "Yesterday"
#~ msgstr "Gisteren"
#~ msgid "Cache Not Found"
#~ msgstr "Cache niet gevonden"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Selecteer de cache-map van Lutris"
#~ msgid "Installation Not Found"
#~ msgstr "Installatie niet gevonden"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Selecteer de configuratiemap van {}"
#~ msgid "Select the {} data directory."
#~ msgstr "Selecteer de gegevensmap van {}"
#~ msgid "Importing Games…"
#~ msgstr "Games importeren…"
#~ msgid "Importing Covers…"
#~ msgstr "Covers importeren…"
#~ msgid "No new games found"
#~ msgstr "Geen nieuwe games gevonden"
#~ msgid "1 game imported"
#~ msgstr "1 game geïmporteerd"
#~ msgid "{} games imported"
#~ msgstr "{} games geïmporteerd"
#~ msgid "Directory to use when importing games"
#~ msgstr "Map om te gebruiken bij het importeren van games"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Extra Steam-bibliotheken"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Andere mappen waar u Steam-games heeft geïnstalleerd"
#~ msgid "Clear"
#~ msgstr "Wissen"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Map om te gebruiken bij het importeren van game-covers"
#~ msgid "Details"
#~ msgstr "Details"
#~ msgid "No new games were found on your system."
#~ msgstr "Geen nieuwe games gevonden op uw systeem"
#~ msgid "Successfully imported 1 game."
#~ msgstr "1 game succesvol geïmporteerd"
#~ msgid "Successfully imported {} games."
#~ msgstr "{} games succesvol geïmporteerd"
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Het lijkt erop dat u meerdere Steam-bibliotheken heeft. Wilt u ze "
#~ "toevoegen in de voorkeuren?"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "Start uw games op" #~ msgstr "Start uw games op"

633
po/pl.po Normal file
View File

@@ -0,0 +1,633 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# Artur Wróblewski <krypalkora1984@gmail.com>, 2023.
# Kshyso <Kshysio@protonmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-06-10 16:48+0000\n"
"Last-Translator: Kshyso <Kshysio@protonmail.com>\n"
"Language-Team: Polish <https://hosted.weblate.org/projects/cartridges/"
"cartridges/pl/>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146
msgid "Cartridges"
msgstr "Cartridges"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Launcher Gier"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Uruchom wszystkie swoje gry"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid ""
"Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login "
"necessary. You can sort and hide games or download cover art from "
"SteamGridDB."
msgstr ""
"Cartridges to prosty launcher gier dla wszystkich twoich gier. Posiada "
"wsparcie dla importu gier ze Steam, Lutris, Heroic i innych bez konieczności "
"logowania. Możesz sortować i ukrywać gry lub pobierać okładki ze SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Biblioteka"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
msgid "Edit Game Details"
msgstr "Edytuj detale gry"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details"
msgstr "Detale gry"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239
msgid "Preferences"
msgstr "Ustawienia"
#: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Anuluj"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Nowa Okładka"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Usuń Okładkę"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Tytuł"
#: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "Tytuł gry"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Deweloper"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Twórca lub wydawca (opcjonalnie)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Wykonywalne"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr ""
"Plik do otwarcia lub polecenie do uruchomienia podczas uruchamiania gry"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit"
msgstr "Edytuj"
#: data/gtk/game.blp:107 src/window.py:169
msgid "Hide"
msgstr "Ukryj"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:209
msgid "Remove"
msgstr "Usuń"
#: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide"
msgstr "Odkryj"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Ogólne"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Wyjdź"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:323
msgid "Search"
msgstr "Szukaj"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Pokaż preferencje"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Skróty"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
msgid "Undo"
msgstr "Cofnij"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Otwórz menu"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Gry"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Dodaj nową grę"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Importuj gry"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Pokaż ukryte gry"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Usuń grę"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior"
msgstr "Zachowanie"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Wyjdź po uruchomieniu gry"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Obraz okładki startera gier"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Zamienia zachowanie obrazu okładki i przycisku odtwarzania"
#: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images"
msgstr "Obrazy"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Wysokiej jakości obrazy"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr "Zapisywanie okładek gier bezstratnie kosztem pamięci masowej"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Strefa zagrożenia"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Usuń wszystkie gry"
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import"
msgstr "Importuj"
#: data/gtk/preferences.blp:89
msgid "Sources"
msgstr "Źródła"
#: data/gtk/preferences.blp:92
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "Położenie instalacji itch"
#: data/gtk/preferences.blp:106
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location"
msgstr "Lokalizacja Lutris Cache"
#: data/gtk/preferences.blp:128
msgid "Import Steam Games"
msgstr "Importuj gry Steam"
#: data/gtk/preferences.blp:138
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:151
msgid "Import Epic Games"
msgstr "Zaimportuj Epic Games"
#: data/gtk/preferences.blp:160
msgid "Import GOG Games"
msgstr "Importuj gry z GOG"
#: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games"
msgstr "Importuj gry w wersji Sideloaded"
#: data/gtk/preferences.blp:179
msgid "Bottles"
msgstr "Butelki"
#: data/gtk/preferences.blp:193
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:207
msgid "Legendary"
msgstr ""
#: data/gtk/preferences.blp:224
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228
msgid "Authentication"
msgstr "Uwierzytelnianie"
#: data/gtk/preferences.blp:231
msgid "API Key"
msgstr "Klucz API"
#: data/gtk/preferences.blp:239
msgid "Use SteamGridDB"
msgstr "Użyj SteamGridDB"
#: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games"
msgstr "Pobieranie obrazów podczas dodawania lub importowania gier"
#: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images"
msgstr "Preferuj ponad Oficjalne zdjęcia"
#: data/gtk/preferences.blp:258
msgid "Prefer Animated Images"
msgstr "Preferuj animowane obrazy"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Nie znaleziono żadnych gier"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Spróbuj innego wyszukiwania."
#: data/gtk/window.blp:21
msgid "No Games"
msgstr "Brak gier"
#: data/gtk/window.blp:22
msgid "Use the + button to add games."
msgstr "Użyj przycisku +, aby dodać gry."
#: data/gtk/window.blp:40
msgid "No Hidden Games"
msgstr "Brak ukrytych gier"
#: data/gtk/window.blp:41
msgid "Games you hide will appear here."
msgstr "Gry, które ukryjesz, pojawią się tutaj."
#: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back"
msgstr "Cofnij"
#: data/gtk/window.blp:121
msgid "Game Title"
msgstr "Tytuł gry"
#: data/gtk/window.blp:176
msgid "Play"
msgstr "Uruchom"
#: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game"
msgstr "Dodaj grę"
#: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu"
msgstr "Menu główne"
#: data/gtk/window.blp:311
msgid "Hidden Games"
msgstr "Ukryte gry"
#: data/gtk/window.blp:374
msgid "Sort"
msgstr "Sortuj"
#: data/gtk/window.blp:377
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:383
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:389
msgid "Newest"
msgstr "Najnowsza"
#: data/gtk/window.blp:395
msgid "Oldest"
msgstr "Najstarszy"
#: data/gtk/window.blp:401
msgid "Last Played"
msgstr "Ostatnio odtwarzane"
#: data/gtk/window.blp:408
msgid "Show Hidden"
msgstr "Pokaż ukryte"
#: data/gtk/window.blp:421
msgid "Keyboard Shortcuts"
msgstr "Skróty klawiaturowe"
#: data/gtk/window.blp:426
msgid "About Cartridges"
msgstr "O Cartridges"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:164
msgid "translator_credits"
msgstr "kredyty tłumacza"
#. The variable is the date when the game was added
#: src/window.py:192
msgid "Added: {}"
msgstr "Dodano: {}"
#: src/window.py:195
msgid "Never"
msgstr "Nigdy"
#. The variable is the date when the game was last played
#: src/window.py:199
msgid "Last played: {}"
msgstr "Ostatnio grane: {}"
#: src/details_window.py:72
msgid "Apply"
msgstr "Zastosuj"
#: src/details_window.py:78
msgid "Add New Game"
msgstr "Dodaj nową grę"
#: src/details_window.py:79
msgid "Confirm"
msgstr "Potwierdź"
#. Translate this string as you would translate "file"
#: src/details_window.py:91
msgid "file.txt"
msgstr "plik.txt"
#. As in software
#: src/details_window.py:93
msgid "program"
msgstr "program"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:98 src/details_window.py:100
msgid "C:\\path\\to\\{}"
msgstr "C:\\scieżka\\do\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:104 src/details_window.py:106
msgid "/path/to/{}"
msgstr "/ścieżka/do/{}"
#: src/details_window.py:111
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Aby uruchomić plik wykonywalny \"{}\", należy użyć polecenia:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Aby otworzyć plik \"{}\" za pomocą domyślnej aplikacji, użyj:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Jeśli ścieżka zawiera spacje, pamiętaj, aby zawinąć ją w podwójne cudzysłowy!"
#: src/details_window.py:146 src/details_window.py:152
msgid "Couldn't Add Game"
msgstr "Nie można było dodać gry"
#: src/details_window.py:146 src/details_window.py:181
msgid "Game title cannot be empty."
msgstr "Tytuł gry nie może być pusty."
#: src/details_window.py:152 src/details_window.py:189
msgid "Executable cannot be empty."
msgstr "Plik wykonywalny nie może być pusty."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Nie można zastosować preferencji"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} uruchomiony"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} ukryte"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} nieukryty"
#: src/game.py:171
msgid "{} removed"
msgstr "{} usunięty"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Wszystkie gry usunięte"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Do korzystania z SteamGridDB wymagany jest klucz API. Możesz go wygenerować "
"{} tutaj{}."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Ustaw lokacje"
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Odrzucić"
#: src/importer/sources/source.py:106
msgid "Data"
msgstr ""
#: src/importer/sources/source.py:107
msgid "Cache"
msgstr ""
#: src/importer/sources/source.py:108
#, fuzzy
#| msgid "Confirm"
msgid "Configuration"
msgstr "Potwierdź"
#. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
#: src/importer/sources/source.py:119
msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/importer/sources/source.py:120
msgid "Pick a new one or disable the source in preferences"
msgstr ""
#: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
msgstr "Nie można połączyć się z SteamGridDB"
#: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences"
msgstr ""
#~ msgid "Steam Install Location"
#~ msgstr "Lokalizacja instalacji Steam"
#~ msgid "Lutris Install Location"
#~ msgstr "Lokalizacja instalacji Lutris"
#~ msgid "Heroic Install Location"
#~ msgstr "Lokalizacja instalacji Heroic"
#~ msgid "Bottles Install Location"
#~ msgstr "Butelki Miejsce montażu"
#~ msgid "Today"
#~ msgstr "Dzisiaj"
#~ msgid "Yesterday"
#~ msgstr "Wczoraj"
#~ msgid "Cache Not Found"
#~ msgstr "Nie znaleziono pamięci podręcznej"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Wybierz katalog pamięci podręcznej Lutris."
#~ msgid "Installation Not Found"
#~ msgstr "Nie znaleziono instalacji"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Wybierz {} katalog konfiguracyjny."
#~ msgid "Select the {} data directory."
#~ msgstr "Wybierz {} katalog danych."
#~ msgid "Importing Games…"
#~ msgstr "Importowanie gier…"
#~ msgid "Importing Covers…"
#~ msgstr "Importowanie okładek…"
#, fuzzy
#~| msgid "No Games Found"
#~ msgid "No new games found"
#~ msgstr "Nie znaleziono żadnych gier"
#, fuzzy
#~| msgid "Game Imported"
#~ msgid "1 game imported"
#~ msgstr "Gra Importowana"
#, fuzzy
#~| msgid "Games Imported"
#~ msgid "{} games imported"
#~ msgstr "Gry Przywiezione"
#~ msgid "Directory to use when importing games"
#~ msgstr "Katalog używany podczas importowania gier"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Dodatkowe biblioteki Steam"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Wybierz inne katalogi, w których masz zainstalowane gry Steam"
#~ msgid "Clear"
#~ msgstr "Wyczyść"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Katalog do użycia podczas importowania okładek gier"
#~ msgid "Details"
#~ msgstr "Szczegóły"
#~ msgid "No new games were found on your system."
#~ msgstr "W systemie nie znaleziono żadnych nowych gier."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Udało się zaimportować 1 grę."
#~ msgid "Successfully imported {} games."
#~ msgstr "Udało się zaimportować {} gier."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Wygląda na to, że masz wiele bibliotek Steam. Czy chciałbyś dodać je w "
#~ "preferencjach?"

563
po/pt.po
View File

@@ -4,13 +4,14 @@
# Pedro Sader Azevedo <pedro.saderazevedo@protonmail.com>, 2023. # Pedro Sader Azevedo <pedro.saderazevedo@protonmail.com>, 2023.
# kramo <contact@kramo.hu>, 2023. # kramo <contact@kramo.hu>, 2023.
# Henrique Machado <henriquecamposrj@gmail.com>, 2023. # Henrique Machado <henriquecamposrj@gmail.com>, 2023.
# João Alves <joao.2003.couto@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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n" "PO-Revision-Date: 2023-06-04 22:47+0000\n"
"Last-Translator: Henrique Machado <henriquecamposrj@gmail.com>\n" "Last-Translator: João Alves <joao.2003.couto@gmail.com>\n"
"Language-Team: Portuguese <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Portuguese <https://hosted.weblate.org/projects/cartridges/"
"cartridges/pt/>\n" "cartridges/pt/>\n"
"Language: pt\n" "Language: pt\n"
@@ -18,13 +19,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.17-dev\n" "X-Generator: Weblate 4.18-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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartuchos" msgstr "Cartridges"
#: data/hu.kramo.Cartridges.desktop.in:4 #: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher" msgid "Game Launcher"
@@ -35,6 +36,10 @@ msgstr "Iniciador de jogos"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Inicie todos os seus jogos" msgstr "Inicie todos os seus jogos"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "gaming;iniciador;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -42,48 +47,83 @@ msgid ""
"necessary. You can sort and hide games or download cover art from " "necessary. You can sort and hide games or download cover art from "
"SteamGridDB." "SteamGridDB."
msgstr "" msgstr ""
"Cartuchos é um iniciador de jogos simples. Ele tem suporte para importação " "Cartridges é um lançador de jogos simples para todos os seus jogos. Tem "
"de jogos da Steam, Lutris, Heroic, e etc. sem precisar fazer login. E pode " "suporte para importar jogos do Steam, Lutris, Heroic e muito mais, sem "
"organizar e esconder jogos ou baixar imagens das capas dos jogos a partir do " "necessidade de login. Você pode classificar e ocultar jogos ou baixar a capa "
"SteamGridDB." "do SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "Biblioteca" msgstr "Biblioteca"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Editar detalhes do jogo" msgstr "Editar detalhes do jogo"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Detalhes do jogo" msgstr "Detalhes do jogo"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "Preferências" msgstr "Preferências"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Cancelar"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Nova capa"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Apagar capa"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "Título" msgstr "Título"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "O título do jogo"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Desenvolvedor"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "O desenvolvedor ou publicador (opcional)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Executável"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Arquivo a ser aberto ou comando a ser executado ao iniciar o jogo"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Mais informação"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "Editar" msgstr "Editar"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "Ocultar" msgstr "Ocultar"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Remover" msgstr "Remover"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "Exibir" msgstr "Exibir"
@@ -95,8 +135,8 @@ msgstr "Geral"
msgid "Quit" msgid "Quit"
msgstr "Sair" msgstr "Sair"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "Buscar" msgstr "Buscar"
@@ -108,8 +148,7 @@ msgstr "Mostrar preferências"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Atalhos" msgstr "Atalhos"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "Desfazer" msgstr "Desfazer"
@@ -135,25 +174,25 @@ msgstr "Exibir jogos ocultados"
#: data/gtk/help-overlay.blp:63 #: data/gtk/help-overlay.blp:63
msgid "Remove game" msgid "Remove game"
msgstr "Remove o jogo" msgstr "Remover jogo"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "Comportamento" msgstr "Comportamento"
#: data/gtk/preferences.blp:16 #: data/gtk/preferences.blp:16
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "Sair depois de iniciar os jogos" msgstr "Fechar Cartridges ao iniciar um jogo"
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game" msgid "Cover Image Launches Game"
msgstr "Clicar na imagem da capa inicia o jogo" msgstr "Clicar na capa inicia o jogo"
#: data/gtk/preferences.blp:26 #: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "Troca o comportamento da imagem da capa e do botão de jogar" msgstr "Troca o comportamento de clicar na capa do jogo e do botão Jogar"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "Imagens" msgstr "Imagens"
@@ -167,349 +206,238 @@ msgstr "Salva imagens das capas sem perda, consumindo mais armazenamento"
#: data/gtk/preferences.blp:50 #: data/gtk/preferences.blp:50
msgid "Danger Zone" msgid "Danger Zone"
msgstr "Atenção" msgstr "Zona de perigo"
#: data/gtk/preferences.blp:53 #: data/gtk/preferences.blp:53
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Remove todos os jogos" msgstr "Remover todos os jogos"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "Importar" msgstr "Importar"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "Fontes" msgstr "Fontes"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "Local de instalação da Steam" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "Local de instalação do itch"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Diretório para usar ao importar jogos"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Bibliotecas adicionais da Steam"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Selecione outros diretórios onde você tem jogos da Steam instalados"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Limpar"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" #, fuzzy
msgstr "Local de instalação do Lutris" #| msgid "Lutris Cache Location"
msgid "Cache Location"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Local do cache do Lutris" msgstr "Local do cache do Lutris"
#: data/gtk/preferences.blp:129 #: data/gtk/preferences.blp:128
msgid "Directory to use when importing game covers"
msgstr "Diretório para usar ao importar imagens das capas dos jogos"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importar jogos da Steam" msgstr "Importar jogos da Steam"
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "Local de instalação do Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importar jogos da Epic Games" msgstr "Importar jogos da Epic Games"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importar jogos do GOG" msgstr "Importar jogos do GOG"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importar jogos adicionados manualmente" msgstr "Importar jogos adicionados manualmente"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "Local de instalação do Bottles"
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "Local de instalação do itch" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "Autenticação" msgstr "Autenticação"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "Chave da API" msgstr "Chave da API"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Usar SteamGridDB" msgstr "Usar SteamGridDB"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Baixa imagens ao adicionar ou importar jogos" msgstr "Baixa imagens ao adicionar ou importar jogos"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Preferir mais que as imagens oficiais" msgstr "Preferir mais que as imagens oficiais"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Preferir imagens animadas" msgstr "Preferir imagens animadas"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Nenhum jogo encontrado" msgstr "Nenhum jogo encontrado"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "Tente outra pesquisa." msgstr "Tente outra pesquisa."
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Sem jogos" msgstr "Sem jogos"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Use o botão + para adicionar jogos." msgstr "Use o botão + para adicionar jogos."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Sem jogos ocultados" msgstr "Sem jogos ocultados"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Jogos ocultados vão aparecer aqui." msgstr "Jogos ocultados vão aparecer aqui."
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Voltar" msgstr "Voltar"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "Título do jogo" msgstr "Título do jogo"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Jogar" msgstr "Jogar"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "Adicionar jogo" msgstr "Adicionar jogo"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "Menu principal" msgstr "Menu principal"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Jogos ocultados" msgstr "Jogos ocultados"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "Ordenar" msgstr "Ordenar"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "A-Z" msgstr "A-Z"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "Z-A" msgstr "Z-A"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "Mais novo" msgstr "Mais novo"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "Mais antigo" msgstr "Mais antigo"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "Última vez jogado" msgstr "Última vez jogado"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Mostrar ocultados" msgstr "Mostrar ocultados"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "Atalhos de teclado" msgstr "Atalhos de teclado"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
msgstr "Sobre o Cartuchos" msgstr "Sobre o Cartuchos"
#. 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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "Pedro Sader Azevedo" msgstr "Pedro Sader Azevedo"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} iniciado"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} está oculto"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} está exposto"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} removido"
#: src/window.py:262
msgid "Today"
msgstr "Hoje"
#: src/window.py:264
msgid "Yesterday"
msgstr "Ontem"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "Adicionado: {}" msgstr "Adicionado: {}"
#: src/window.py:315 #: src/window.py:195
msgid "Never" msgid "Never"
msgstr "Nunca" msgstr "Nunca"
#. 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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Última vez jogado" msgstr "Última vez jogado"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "Detalhes"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Instalação não encontrada"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Selecione o diretório de configuração de {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Selecione o diretório de informações de {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Definir local"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Todos os jogos foram removidos"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Cache não encontrado"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Selecione o diretório de cache do Lutris."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Uma chave de API é necessária para usar a SteamGridDB. Você pode gerar uma "
"chave {}aqui{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Adicionar novo jogo"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Confirmar"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "Aplicar" msgstr "Aplicar"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "O título do jogo" msgstr "Adicionar novo jogo"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "Desenvolvedor" msgstr "Confirmar"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "O desenvolvedor ou publicador (opcional)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "arquivo.txt" msgstr "arquivo.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "programa" msgstr "programa"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\caminho\\para\\{}" msgstr "C:\\caminho\\para\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/caminho/para/{}" msgstr "/caminho/para/{}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -531,84 +459,173 @@ msgstr ""
"\n" "\n"
"Se o caminho contiver espaços, certifique-se de colocá-lo entre aspas duplas!" "Se o caminho contiver espaços, certifique-se de colocá-lo entre aspas duplas!"
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "Executável"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Arquivo a ser aberto ou comando a ser executado ao iniciar o jogo"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Cancelar"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Não foi possível adicionar o jogo" msgstr "Não foi possível adicionar o jogo"
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Não foi possível aplicar as preferências"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "O título do jogo não pode estar vazio." msgstr "O título do jogo não pode estar vazio."
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "O executável não pode estar vazio." msgstr "O executável não pode estar vazio."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Não foi possível aplicar as preferências"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} iniciado"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} está oculto"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} está exposto"
#: src/game.py:171
msgid "{} removed"
msgstr "{} removido"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Todos os jogos foram removidos"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Uma chave da API é necessária para usar a SteamGridDB. Você pode gerar uma "
"chave {}aqui{}."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Definir local"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Dispensar" msgstr "Dispensar"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "Importando jogos…" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "Importando capas…" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." #, fuzzy
msgstr "Nenhum jogo novo foi encontrado no seu sistema." #| msgid "Confirm"
msgid "Configuration"
msgstr "Confirmar"
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgstr "Jogo importado" msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "1 jogo foi importado com sucesso." msgstr ""
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" #, fuzzy
msgstr "Jogos importados" #| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "{} jogos foram importados com sucesso."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Não foi possível conectar à SteamGridDB" msgstr "Não foi possível conectar à SteamGridDB"
#: src/utils/importer.py:145 #: src/store/managers/sgdb_manager.py:48
msgid "" msgid "Verify your API key in preferences"
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "" msgstr ""
"Parece que você tem múltiplas bibliotecas Steam. Gostaria de adicioná-las "
"nas preferências?" #~ msgid "Steam Install Location"
#~ msgstr "Local de instalação da Steam"
#~ msgid "Lutris Install Location"
#~ msgstr "Local de instalação do Lutris"
#~ msgid "Heroic Install Location"
#~ msgstr "Local de instalação do Heroic"
#~ msgid "Bottles Install Location"
#~ msgstr "Local de instalação do Bottles"
#~ msgid "Today"
#~ msgstr "Hoje"
#~ msgid "Yesterday"
#~ msgstr "Ontem"
#~ msgid "Cache Not Found"
#~ msgstr "Cache não encontrado"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Selecione o diretório de cache do Lutris."
#~ msgid "Installation Not Found"
#~ msgstr "Instalação não encontrada"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Selecione o diretório de configuração de {}."
#~ msgid "Select the {} data directory."
#~ msgstr "Selecione o diretório de informações de {}."
#~ msgid "Importing Games…"
#~ msgstr "Importando jogos…"
#~ msgid "Importing Covers…"
#~ msgstr "Importando capas…"
#~ msgid "No new games found"
#~ msgstr "Nenhum jogo novo encontrado"
#~ msgid "1 game imported"
#~ msgstr "1 jogo importado"
#~ msgid "{} games imported"
#~ msgstr "{} jogos importados"
#~ msgid "Directory to use when importing games"
#~ msgstr "Diretório para usar ao importar jogos"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Bibliotecas adicionais da Steam"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Selecione outros diretórios onde você tem jogos da Steam instalados"
#~ msgid "Clear"
#~ msgstr "Limpar"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Diretório para usar ao importar imagens das capas dos jogos"
#~ msgid "Details"
#~ msgstr "Detalhes"
#~ msgid "No new games were found on your system."
#~ msgstr "Nenhum jogo novo foi encontrado no seu sistema."
#~ msgid "Successfully imported 1 game."
#~ msgstr "1 jogo foi importado com sucesso."
#~ msgid "Successfully imported {} games."
#~ msgstr "{} jogos foram importados com sucesso."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Parece que você tem múltiplas bibliotecas Steam. Gostaria de adicioná-las "
#~ "nas preferências?"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "Inicie seus jogos" #~ msgstr "Inicie seus jogos"

626
po/pt_BR.po Normal file
View File

@@ -0,0 +1,626 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# Henrique Machado <henriquecamposrj@gmail.com>, 2023.
# Vinícius Gama Santos <vinny.stalck@protonmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-06-02 15:40+0000\n"
"Last-Translator: Vinícius Gama Santos <vinny.stalck@protonmail.com>\n"
"Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/"
"cartridges/cartridges/pt_BR/>\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146
msgid "Cartridges"
msgstr "Cartuchos"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Iniciador de jogos"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Inicie todos os seus jogos"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "jogos;gaming;launcher;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid ""
"Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login "
"necessary. You can sort and hide games or download cover art from "
"SteamGridDB."
msgstr ""
"Cartuchos é um simples iniciador de jogos para todos os seus jogos. Ele tem "
"suporte para importar jogos do Steam, Lutris, Heroic e outros, sem "
"necessidade de login. Você pode ordenar e esconder jogos ou baixar arte de "
"capa do SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Biblioteca"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
msgid "Edit Game Details"
msgstr "Editar detalhes do jogo"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details"
msgstr "Detalhes do jogo"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239
msgid "Preferences"
msgstr "Preferências"
#: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Cancelar"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Nova capa"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Excluir capa"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Título"
#: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "O título do jogo"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Desenvolvedor"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "O desenvolvedor ou publicador (opcional)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Executável"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Arquivo a ser aberto ou comando a ser executado ao iniciar o jogo"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Mais informações"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit"
msgstr "Editar"
#: data/gtk/game.blp:107 src/window.py:169
msgid "Hide"
msgstr "Esconder"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:209
msgid "Remove"
msgstr "Remover"
#: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide"
msgstr "Exibir"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Geral"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Sair"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:323
msgid "Search"
msgstr "Buscar"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Mostrar preferências"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Atalhos"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
msgid "Undo"
msgstr "Desfazer"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Abrir menu"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Jogos"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Adicionar novo jogo"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Importar jogos"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Exibir jogos ocultos"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Remover jogo"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior"
msgstr "Comportamento"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Fechar ao iniciar jogos"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Imagem da capa inicia o jogo"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Troca o comportamento da imagem da capa e do botão jogar"
#: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images"
msgstr "Imagens"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Imagens de alta qualidade"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr "Salva capas de jogos sem perdas, consumindo mais armazenamento"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Zona de Perigo"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Remover todos os jogos"
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import"
msgstr "Importar"
#: data/gtk/preferences.blp:89
msgid "Sources"
msgstr "Fontes"
#: data/gtk/preferences.blp:92
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "Local de instalação do itch"
#: data/gtk/preferences.blp:106
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location"
msgstr "Local do cache do Lutris"
#: data/gtk/preferences.blp:128
msgid "Import Steam Games"
msgstr "Importar jogos do Steam"
#: data/gtk/preferences.blp:138
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:151
msgid "Import Epic Games"
msgstr "Importar jogos da Epic Games"
#: data/gtk/preferences.blp:160
msgid "Import GOG Games"
msgstr "Importar jogos do GOG"
#: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games"
msgstr "Importar jogos adicionados manualmente"
#: data/gtk/preferences.blp:179
msgid "Bottles"
msgstr "Garrafas"
#: data/gtk/preferences.blp:193
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:207
msgid "Legendary"
msgstr ""
#: data/gtk/preferences.blp:224
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228
msgid "Authentication"
msgstr "Autenticação"
#: data/gtk/preferences.blp:231
msgid "API Key"
msgstr "Chave da API"
#: data/gtk/preferences.blp:239
msgid "Use SteamGridDB"
msgstr "Usar SteamGridDB"
#: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games"
msgstr "Baixar imagens ao adicionar ou importar jogos"
#: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images"
msgstr "Preferir mais que as imagens oficiais"
#: data/gtk/preferences.blp:258
msgid "Prefer Animated Images"
msgstr "Preferir imagens animadas"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Nenhum jogo encontrado"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Tente uma busca diferente."
#: data/gtk/window.blp:21
msgid "No Games"
msgstr "Sem jogos"
#: data/gtk/window.blp:22
msgid "Use the + button to add games."
msgstr "Use o botão + para adicionar jogos."
#: data/gtk/window.blp:40
msgid "No Hidden Games"
msgstr "Sem jogos ocultos"
#: data/gtk/window.blp:41
msgid "Games you hide will appear here."
msgstr "Os jogos ocultos aparecerão aqui."
#: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back"
msgstr "Voltar"
#: data/gtk/window.blp:121
msgid "Game Title"
msgstr "Título do jogo"
#: data/gtk/window.blp:176
msgid "Play"
msgstr "Jogar"
#: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game"
msgstr "Adicionar jogo"
#: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu"
msgstr "Menu Principal"
#: data/gtk/window.blp:311
msgid "Hidden Games"
msgstr "Jogos ocultos"
#: data/gtk/window.blp:374
msgid "Sort"
msgstr "Ordenar"
#: data/gtk/window.blp:377
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:383
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:389
msgid "Newest"
msgstr "Mais novo"
#: data/gtk/window.blp:395
msgid "Oldest"
msgstr "Mais antigo"
#: data/gtk/window.blp:401
msgid "Last Played"
msgstr "Última vez jogado"
#: data/gtk/window.blp:408
msgid "Show Hidden"
msgstr "Mostrar ocultados"
#: data/gtk/window.blp:421
msgid "Keyboard Shortcuts"
msgstr "Atalhos de teclado"
#: data/gtk/window.blp:426
msgid "About Cartridges"
msgstr "Sobre o Cartuchos"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:164
msgid "translator_credits"
msgstr "Pedro Sader Azevedo, Vinícius \"Stalck\""
#. The variable is the date when the game was added
#: src/window.py:192
msgid "Added: {}"
msgstr "Adicionado: {}"
#: src/window.py:195
msgid "Never"
msgstr "Nunca"
#. The variable is the date when the game was last played
#: src/window.py:199
msgid "Last played: {}"
msgstr "Jogado pela última vez: {}"
#: src/details_window.py:72
msgid "Apply"
msgstr "Aplicar"
#: src/details_window.py:78
msgid "Add New Game"
msgstr "Adicionar novo jogo"
#: src/details_window.py:79
msgid "Confirm"
msgstr "Confirmar"
#. Translate this string as you would translate "file"
#: src/details_window.py:91
msgid "file.txt"
msgstr "arquivo.txt"
#. As in software
#: src/details_window.py:93
msgid "program"
msgstr "programa"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:98 src/details_window.py:100
msgid "C:\\path\\to\\{}"
msgstr "C:\\caminho\\para\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:104 src/details_window.py:106
msgid "/path/to/{}"
msgstr "/caminho/para/{}"
#: src/details_window.py:111
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Para iniciar o executável \"{}\", use o comando:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Para abrir o arquivo \"{}\" com o aplicativo padrão, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Se o caminho contiver espaços, certifique-se de colocá-lo entre aspas duplas!"
#: src/details_window.py:146 src/details_window.py:152
msgid "Couldn't Add Game"
msgstr "Não foi possível adicionar o jogo"
#: src/details_window.py:146 src/details_window.py:181
msgid "Game title cannot be empty."
msgstr "O título do jogo não pode estar vazio."
#: src/details_window.py:152 src/details_window.py:189
msgid "Executable cannot be empty."
msgstr "O executável não pode estar vazio."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Não foi possível aplicar as preferências"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} iniciado"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} ocultado"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} exibido"
#: src/game.py:171
msgid "{} removed"
msgstr "{} removido"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Todos os jogos foram removidos"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Uma chave de API é necessária para utilizar o SteamGridDB. Você pode gerar "
"uma {}aqui{}."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Definir local"
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Dispensar"
#: src/importer/sources/source.py:106
msgid "Data"
msgstr ""
#: src/importer/sources/source.py:107
msgid "Cache"
msgstr ""
#: src/importer/sources/source.py:108
#, fuzzy
#| msgid "Confirm"
msgid "Configuration"
msgstr "Confirmar"
#. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
#: src/importer/sources/source.py:119
msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/importer/sources/source.py:120
msgid "Pick a new one or disable the source in preferences"
msgstr ""
#: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
msgstr "Não foi possível conectar-se ao SteamGridDB"
#: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences"
msgstr ""
#~ msgid "Steam Install Location"
#~ msgstr "Local de instalação do Steam"
#~ msgid "Lutris Install Location"
#~ msgstr "Local de instalação do Lutris"
#~ msgid "Heroic Install Location"
#~ msgstr "Local de instalação do Heroic"
#~ msgid "Bottles Install Location"
#~ msgstr "Local de instalação do Garrafas"
#~ msgid "Today"
#~ msgstr "Hoje"
#~ msgid "Yesterday"
#~ msgstr "Ontem"
#~ msgid "Cache Not Found"
#~ msgstr "Cache não encontrado"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Selecione o diretório de cache do Lutris."
#~ msgid "Installation Not Found"
#~ msgstr "Instalação não encontrada"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Selecione o diretório de configuração do(a) {}."
#~ msgid "Select the {} data directory."
#~ msgstr "Selecione o diretório de dados do(a) {}."
#~ msgid "Importing Games…"
#~ msgstr "Importando jogos…"
#~ msgid "Importing Covers…"
#~ msgstr "Importando capas…"
#~ msgid "No new games found"
#~ msgstr "Nenhum jogo novo encontrado"
#~ msgid "1 game imported"
#~ msgstr "1 jogo importado"
#~ msgid "{} games imported"
#~ msgstr "{} jogos importados"
#~ msgid "Directory to use when importing games"
#~ msgstr "Diretório para usar ao importar jogos"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Bibliotecas adicionais da Steam"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Selecione outros diretórios onde você tem jogos da Steam instalados"
#~ msgid "Clear"
#~ msgstr "Limpar"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Diretório para usar ao importar imagens das capas dos jogos"
#~ msgid "Details"
#~ msgstr "Detalhes"
#~ msgid "No new games were found on your system."
#~ msgstr "Nenhum jogo novo foi encontrado no seu sistema."
#~ msgid "Successfully imported 1 game."
#~ msgstr "1 jogo foi importado com sucesso."
#~ msgid "Successfully imported {} games."
#~ msgstr "{} jogos foram importados com sucesso."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Parece que você tem múltiplas bibliotecas Steam. Gostaria de adicioná-las "
#~ "nas preferências?"

421
po/ro.po
View File

@@ -6,7 +6,7 @@ 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-04 17:12+0000\n" "PO-Revision-Date: 2023-04-04 17:12+0000\n"
"Last-Translator: Matt C <matei.gurzu@gmail.com>\n" "Last-Translator: Matt C <matei.gurzu@gmail.com>\n"
"Language-Team: Romanian <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Romanian <https://hosted.weblate.org/projects/cartridges/"
@@ -20,8 +20,8 @@ msgstr ""
"X-Generator: Weblate 4.17-dev\n" "X-Generator: Weblate 4.17-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: 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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartușe" msgstr "Cartușe"
@@ -34,6 +34,10 @@ msgstr "Lansator de jocuri"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Lansați toate jocurile dvs" msgstr "Lansați toate jocurile dvs"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
#, fuzzy #, fuzzy
#| msgid "" #| msgid ""
@@ -50,43 +54,78 @@ msgstr ""
"jocurilor dvs. din Steam, Heroic și Bottles cu funcții de organizare, cum ar " "jocurilor dvs. din Steam, Heroic și Bottles cu funcții de organizare, cum ar "
"fi ascunderea și sortarea după data adăugată sau ultima dată jucată." "fi ascunderea și sortarea după data adăugată sau ultima dată jucată."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "Bibliotecă" msgstr "Bibliotecă"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Editați detaliile jocului" msgstr "Editați detaliile jocului"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Detalii joc" msgstr "Detalii joc"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "Preferințe" msgstr "Preferințe"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr ""
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr ""
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr ""
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "" msgstr ""
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr ""
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr ""
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr ""
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr ""
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr ""
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "" msgstr ""
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "" msgstr ""
@@ -98,8 +137,8 @@ msgstr ""
msgid "Quit" msgid "Quit"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "Căutare" msgstr "Căutare"
@@ -111,8 +150,7 @@ msgstr ""
msgid "Shortcuts" msgid "Shortcuts"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "" msgstr ""
@@ -140,7 +178,7 @@ msgstr ""
msgid "Remove game" msgid "Remove game"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "" msgstr ""
@@ -156,7 +194,7 @@ msgstr ""
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "" msgstr ""
@@ -176,341 +214,228 @@ msgstr ""
msgid "Remove All Games" msgid "Remove All Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
msgid "Install Location"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr ""
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr ""
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr ""
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr ""
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" msgid "Cache Location"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr ""
#: data/gtk/preferences.blp:129
msgid "Directory to use when importing game covers"
msgstr ""
#: data/gtk/preferences.blp:138
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr ""
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr ""
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "" msgstr ""
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Nu s-au găsit jocuri" msgstr "Nu s-au găsit jocuri"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "Încercați o altă căutare." msgstr "Încercați o altă căutare."
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Fără jocuri" msgstr "Fără jocuri"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Folosiți butonul + pentru a adăuga jocuri." msgstr "Folosiți butonul + pentru a adăuga jocuri."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Fără jocuri ascunse" msgstr "Fără jocuri ascunse"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Jocurile pe care le ascundeți vor apărea aici." msgstr "Jocurile pe care le ascundeți vor apărea aici."
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Înapoi" msgstr "Înapoi"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "Titlul jocului" msgstr "Titlul jocului"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Joacă" msgstr "Joacă"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "Adăugați joc" msgstr "Adăugați joc"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "Meniu principal" msgstr "Meniu principal"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Jocuri ascunse" msgstr "Jocuri ascunse"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "" msgstr ""
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "" msgstr ""
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "" msgstr ""
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "" msgstr ""
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "" msgstr ""
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "" msgstr ""
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "" msgstr ""
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "" msgstr ""
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "" msgstr ""
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr ""
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr ""
#: src/window.py:262
msgid "Today"
msgstr ""
#: src/window.py:264
msgid "Yesterday"
msgstr ""
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "" msgstr ""
#: src/window.py:315 #: src/window.py:195
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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "" msgstr ""
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr ""
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr ""
#: src/preferences.py:132
msgid "All games removed"
msgstr ""
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr ""
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr ""
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr ""
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr ""
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr ""
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "" msgstr ""
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr ""
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "" msgstr ""
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "" msgstr ""
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -523,82 +448,90 @@ 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:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr ""
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr ""
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr ""
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "" msgstr ""
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr ""
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "" msgstr ""
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr ""
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr ""
#: src/game.py:154
msgid "{} unhidden"
msgstr ""
#: src/game.py:171
msgid "{} removed"
msgstr ""
#: src/preferences.py:102
msgid "All games removed"
msgstr ""
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
#: src/preferences.py:289
msgid "Set Location"
msgstr ""
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "" msgstr ""
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." msgid "Configuration"
msgstr "" msgstr ""
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgid "Invalid {} Location for {{}}"
msgstr "" msgstr ""
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "" msgstr ""
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" msgid "Couldn't Authenticate SteamGridDB"
msgstr "" msgstr ""
#. The variable is the number of games #: src/store/managers/sgdb_manager.py:48
#: src/utils/importer.py:109 msgid "Verify your API key in preferences"
msgid "Successfully imported {} games."
msgstr "" msgstr ""
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113 #, fuzzy
msgid "Couldn't Connect to SteamGridDB" #~| msgid "No Games Found"
msgstr "" #~ msgid "No new games found"
#~ msgstr "Nu s-au găsit jocuri"
#: src/utils/importer.py:145
msgid ""
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr ""
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "Lansați-vă jocurile" #~ msgstr "Lansați-vă jocurile"

542
po/ru.po
View File

@@ -7,8 +7,8 @@ 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n" "PO-Revision-Date: 2023-06-26 04:40+0000\n"
"Last-Translator: Сергей <asvmail.as@gmail.com>\n" "Last-Translator: Сергей <asvmail.as@gmail.com>\n"
"Language-Team: Russian <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Russian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/ru/>\n" "cartridges/ru/>\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.17-dev\n" "X-Generator: Weblate 4.18.1\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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "Картриджи" msgstr "Картриджи"
@@ -35,6 +35,10 @@ msgstr "Средство запуска игр"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Запустите все свои игры" msgstr "Запустите все свои игры"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "gaming;launcher;steam;lutris;heroic;bottles;itch;игры;стим;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -47,43 +51,78 @@ msgstr ""
"систему. Вы можете сортировать и скрывать игры или загружать обложки из " "систему. Вы можете сортировать и скрывать игры или загружать обложки из "
"SteamGridDB." "SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "Библиотека" msgstr "Библиотека"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Редактировать подробности об игре" msgstr "Редактировать подробности об игре"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Подробности об игре" msgstr "Подробности об игре"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "Параметры" msgstr "Параметры"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Отменить"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Новая обложка"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Удалить обложку"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "Название" msgstr "Название"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "Название игры"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Разработчик"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Разработчик или издатель (необязательно)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Исполняемый"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Файл для открытия или команда для запуска игры"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Дополнительная информация"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "Редактировать" msgstr "Редактировать"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "Скрыть" msgstr "Скрыть"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Удалить" msgstr "Удалить"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "Показать" msgstr "Показать"
@@ -95,8 +134,8 @@ msgstr "Основное"
msgid "Quit" msgid "Quit"
msgstr "Выйти" msgstr "Выйти"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "Поиск" msgstr "Поиск"
@@ -108,10 +147,9 @@ msgstr "Показать параметры"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Комбинации клавиш" msgstr "Комбинации клавиш"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "Отменить" msgstr "Вернуть"
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:39
msgid "Open menu" msgid "Open menu"
@@ -137,7 +175,7 @@ msgstr "Показать скрытые игры"
msgid "Remove game" msgid "Remove game"
msgstr "Удалить игру" msgstr "Удалить игру"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "Поведение" msgstr "Поведение"
@@ -153,7 +191,7 @@ msgstr "Запуск игры используя изображение обло
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "Меняет местами поведение изображения обложки и кнопки запуска" msgstr "Меняет местами поведение изображения обложки и кнопки запуска"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "Изображения" msgstr "Изображения"
@@ -173,343 +211,232 @@ msgstr "Небезопасная область"
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Удалить все игры" msgstr "Удалить все игры"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "Импортировать" msgstr "Импортировать"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "Источники" msgstr "Источники"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "Место установки Steam" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "Место установки itch"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Каталог для импорта игр"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Дополнительные библиотеки Steam"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Выберите другие каталоги, в которых у вас установлены игры из Steam"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Очистить"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" #, fuzzy
msgstr "Место установки Lutris" #| msgid "Lutris Cache Location"
msgid "Cache Location"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Расположение кэша Lutris" msgstr "Расположение кэша Lutris"
#: data/gtk/preferences.blp:129 #: data/gtk/preferences.blp:128
msgid "Directory to use when importing game covers"
msgstr "Каталог для импорта обложек игр"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Импорт игр Steam" msgstr "Импорт игр Steam"
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "Место установки Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Импорт игр Epic" msgstr "Импорт игр Epic"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Импорт игр GOG" msgstr "Импорт игр GOG"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Импорт сторонних игр" msgstr "Импорт сторонних игр"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "Место установки Bottles"
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "Место установки itch" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "Аутентификация" msgstr "Аутентификация"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "API-ключ" msgstr "API-ключ"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Использовать SteamGridDB" msgstr "Использовать SteamGridDB"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Загрузка изображений при добавлении или импорте игр" msgstr "Загрузка изображений при добавлении или импорте игр"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Отдавать предпочтение официальным изображениям" msgstr "Отдавать предпочтение официальным изображениям"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Отдавать предпочтение анимированным изображениям" msgstr "Отдавать предпочтение анимированным изображениям"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Игры не найдены" msgstr "Игры не найдены"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "Попробуйте другой поиск." msgstr "Попробуйте другой поиск."
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Игр нет" msgstr "Игр нет"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Используйте кнопку «+» для добавления игр." msgstr "Используйте кнопку «+» для добавления игр."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Нет скрытых игр" msgstr "Нет скрытых игр"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Здесь появятся скрытые игры." msgstr "Здесь появятся скрытые игры."
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Назад" msgstr "Назад"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "Название игры" msgstr "Название игры"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Играть" msgstr "Играть"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "Добавить игру" msgstr "Добавить игру"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "Главное меню" msgstr "Главное меню"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Скрытые игры" msgstr "Скрытые игры"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "Сортировать" msgstr "Сортировать"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "А-Я" msgstr "А-Я"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "Я-А" msgstr "Я-А"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "Сначала новые" msgstr "Сначала новые"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "Сначала старые" msgstr "Сначала старые"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "Последняя игра" msgstr "Последняя игра"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Показать скрытые" msgstr "Показать скрытые"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "Комбинации клавиш" msgstr "Комбинации клавиш"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "Ser82-png" msgstr "Ser82-png"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} - запущена"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} - скрытая"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} - не скрыта"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} удалена"
#: src/window.py:262
msgid "Today"
msgstr "Сегодня"
#: src/window.py:264
msgid "Yesterday"
msgstr "Вчера"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "Добавлено: {}" msgstr "Добавлено: {}"
#: src/window.py:315 #: src/window.py:195
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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Последняя игра: {}" msgstr "Последняя игра: {}"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "Подробности"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Установка не найдена"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Выберите каталог конфигурации {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Выберите каталог данных {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Установить расположение"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Все игры удалены"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Кэш не найден"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Выберите каталог кэша Lutris."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Для использования SteamGridDB требуется ключ API. Вы можете сгенерировать "
"его {}здесь{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Добавить новую игру"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Подтвердить"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "Применить" msgstr "Применить"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "Название игры" msgstr "Добавить новую игру"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "Разработчик" msgstr "Подтвердить"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Разработчик или издатель (необязательно)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "file.txt" msgstr "file.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "программа" msgstr "программа"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\путь\\к\\{}" msgstr "C:\\путь\\к\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/путь/к/{}" msgstr "/путь/к/{}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -531,83 +458,172 @@ msgstr ""
"\n" "\n"
"Если путь содержит пробелы, обязательно заключите его в двойные кавычки!" "Если путь содержит пробелы, обязательно заключите его в двойные кавычки!"
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "Исполняемый"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Файл для открытия или команда для запуска игры"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Отменить"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Не удалось добавить игру" msgstr "Не удалось добавить игру"
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Не удалось применить параметры"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Название игры не может быть пустым." msgstr "Название игры не может быть пустым."
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Исполняемый файл не может быть пустым." msgstr "Исполняемый файл не может быть пустым."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Не удалось применить параметры"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} - запущена"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} - скрытая"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} - не скрыта"
#: src/game.py:171
msgid "{} removed"
msgstr "{} удалена"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Все игры удалены"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Для использования SteamGridDB требуется ключ API. Вы можете сгенерировать "
"его {}здесь{}."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Установить расположение"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Отклонить" msgstr "Отклонить"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "Импорт игр…" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "Импорт обложек…" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." #, fuzzy
msgstr "В вашей системе не найдено новых игр." #| msgid "Confirm"
msgid "Configuration"
msgstr "Подтвердить"
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgstr "Игра импортирована" msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "Успешно импортирована 1 игра." msgstr ""
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" #, fuzzy
msgstr "Игры импортированы" #| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "Успешно импортировано {} игр."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Не удалось подключиться к SteamGridDB" msgstr "Не удалось подключиться к SteamGridDB"
#: src/utils/importer.py:145 #: src/store/managers/sgdb_manager.py:48
msgid "" msgid "Verify your API key in preferences"
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "" msgstr ""
"Похоже, у вас несколько библиотек Steam. Хотите добавить их в параметрах?"
#~ msgid "Steam Install Location"
#~ msgstr "Место установки Steam"
#~ msgid "Lutris Install Location"
#~ msgstr "Место установки Lutris"
#~ msgid "Heroic Install Location"
#~ msgstr "Место установки Heroic"
#~ msgid "Bottles Install Location"
#~ msgstr "Место установки Bottles"
#~ msgid "Today"
#~ msgstr "Сегодня"
#~ msgid "Yesterday"
#~ msgstr "Вчера"
#~ msgid "Cache Not Found"
#~ msgstr "Кэш не найден"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Выберите каталог кэша Lutris."
#~ msgid "Installation Not Found"
#~ msgstr "Установка не найдена"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Выберите каталог конфигурации {}."
#~ msgid "Select the {} data directory."
#~ msgstr "Выберите каталог данных {}."
#~ msgid "Importing Games…"
#~ msgstr "Импорт игр…"
#~ msgid "Importing Covers…"
#~ msgstr "Импорт обложек…"
#~ msgid "No new games found"
#~ msgstr "Новых игр не найдено"
#~ msgid "1 game imported"
#~ msgstr "1 игра импортирована"
#~ msgid "{} games imported"
#~ msgstr "{} игр(ы) импортировано"
#~ msgid "Directory to use when importing games"
#~ msgstr "Каталог для импорта игр"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Дополнительные библиотеки Steam"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Выберите другие каталоги, в которых у вас установлены игры из Steam"
#~ msgid "Clear"
#~ msgstr "Очистить"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Каталог для импорта обложек игр"
#~ msgid "Details"
#~ msgstr "Подробности"
#~ msgid "No new games were found on your system."
#~ msgstr "В вашей системе не найдено новых игр."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Успешно импортирована 1 игра."
#~ msgid "Successfully imported {} games."
#~ msgstr "Успешно импортировано {} игр."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Похоже, у вас несколько библиотек Steam. Хотите добавить их в параметрах?"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "Запускайте свои игры" #~ msgstr "Запускайте свои игры"

626
po/sv.po Normal file
View File

@@ -0,0 +1,626 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# micke <mikanybe@gmail.com>, 2023.
# micke <micke@users.noreply.hosted.weblate.org>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-06-02 15:40+0000\n"
"Last-Translator: micke <micke@users.noreply.hosted.weblate.org>\n"
"Language-Team: Swedish <https://hosted.weblate.org/projects/cartridges/"
"cartridges/sv/>\n"
"Language: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146
msgid "Cartridges"
msgstr "Cartridges"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Spelstartare"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Starta alla dina spel"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "gaming;spelstartare;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid ""
"Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login "
"necessary. You can sort and hide games or download cover art from "
"SteamGridDB."
msgstr ""
"Cartridges är en enkel spelstartare för alla dina spel. Det har stöd för att "
"importera spel från Steam, Lutris, Heroic och fler utan inloggning. Du kan "
"sortera och dölja spel eller ladda ner omslagsbilder från SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Bibliotek"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
msgid "Edit Game Details"
msgstr "Redigera speldetaljer"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details"
msgstr "Speldetaljer"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239
msgid "Preferences"
msgstr "Inställningar"
#: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Avbryt"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Nytt omslag"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Ta bort omslag"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Titel"
#: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "Spelets titel"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Utvecklare"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Utvecklaren eller utgivaren (valfritt)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Körbar"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Fil som ska öppnas eller kommando som ska köras när spelet startas"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Mer info"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit"
msgstr "Redigera"
#: data/gtk/game.blp:107 src/window.py:169
msgid "Hide"
msgstr "Dölj"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:209
msgid "Remove"
msgstr "Ta bort"
#: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide"
msgstr "Visa"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Allmänt"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Avsluta"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:323
msgid "Search"
msgstr "Sök"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Visa inställningar"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Genvägar"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
msgid "Undo"
msgstr "Ångra"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Öppna meny"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Spel"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Lägg till nytt spel"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Importera spel"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Visa dolda spel"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Ta bort spel"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior"
msgstr "Beteende"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Avsluta efter start av spel"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Omslagsbild startar spel"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Byt beteende för omslagsbilden och Spela-knappen"
#: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images"
msgstr "Bilder"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Bilder av hög kvalitet"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
"Spara omslagsbilder utan kvalitetsförlust på bekostnad av lagringsplats"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Farozon"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Ta bort alla spel"
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import"
msgstr "Importera"
#: data/gtk/preferences.blp:89
msgid "Sources"
msgstr "Källor"
#: data/gtk/preferences.blp:92
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "itch-installationsplats"
#: data/gtk/preferences.blp:106
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location"
msgstr "Plats för Lutris cache"
#: data/gtk/preferences.blp:128
msgid "Import Steam Games"
msgstr "Importera Steam-spel"
#: data/gtk/preferences.blp:138
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:151
msgid "Import Epic Games"
msgstr "Importera Epic Games"
#: data/gtk/preferences.blp:160
msgid "Import GOG Games"
msgstr "Importera GOG-spel"
#: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games"
msgstr "Importera sidoladdade spel"
#: data/gtk/preferences.blp:179
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:193
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:207
msgid "Legendary"
msgstr ""
#: data/gtk/preferences.blp:224
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228
msgid "Authentication"
msgstr "Autentisering"
#: data/gtk/preferences.blp:231
msgid "API Key"
msgstr "API-nyckel"
#: data/gtk/preferences.blp:239
msgid "Use SteamGridDB"
msgstr "Använd SteamGridDB"
#: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games"
msgstr "Ladda ner bilder när spel läggs till eller importeras"
#: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images"
msgstr "Föredra framför officiella bilder"
#: data/gtk/preferences.blp:258
msgid "Prefer Animated Images"
msgstr "Föredra animerade bilder"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Inga spel hittades"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Försök med en annan sökning."
#: data/gtk/window.blp:21
msgid "No Games"
msgstr "Inga spel"
#: data/gtk/window.blp:22
msgid "Use the + button to add games."
msgstr "Använd +-knappen för att lägga till spel."
#: data/gtk/window.blp:40
msgid "No Hidden Games"
msgstr "Inga dolda spel"
#: data/gtk/window.blp:41
msgid "Games you hide will appear here."
msgstr "Spel som du döljer kommer visas här."
#: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back"
msgstr "Bakåt"
#: data/gtk/window.blp:121
msgid "Game Title"
msgstr "Speltitel"
#: data/gtk/window.blp:176
msgid "Play"
msgstr "Spela"
#: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game"
msgstr "Lägg till spel"
#: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu"
msgstr "Huvudmeny"
#: data/gtk/window.blp:311
msgid "Hidden Games"
msgstr "Dolda spel"
#: data/gtk/window.blp:374
msgid "Sort"
msgstr "Sortering"
#: data/gtk/window.blp:377
msgid "A-Z"
msgstr "A-Ö"
#: data/gtk/window.blp:383
msgid "Z-A"
msgstr "Ö-A"
#: data/gtk/window.blp:389
msgid "Newest"
msgstr "Nyaste"
#: data/gtk/window.blp:395
msgid "Oldest"
msgstr "Äldsta"
#: data/gtk/window.blp:401
msgid "Last Played"
msgstr "Senast spelad"
#: data/gtk/window.blp:408
msgid "Show Hidden"
msgstr "Visa dolda"
#: data/gtk/window.blp:421
msgid "Keyboard Shortcuts"
msgstr "Tangentbordsgenvägar"
#: data/gtk/window.blp:426
msgid "About Cartridges"
msgstr "Om Cartridges"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:164
msgid "translator_credits"
msgstr "Micke"
#. The variable is the date when the game was added
#: src/window.py:192
msgid "Added: {}"
msgstr "Tillagt: {}"
#: src/window.py:195
msgid "Never"
msgstr "Aldrig"
#. The variable is the date when the game was last played
#: src/window.py:199
msgid "Last played: {}"
msgstr "Senast spelat: {}"
#: src/details_window.py:72
msgid "Apply"
msgstr "Tillämpa"
#: src/details_window.py:78
msgid "Add New Game"
msgstr "Lägg till nytt spel"
#: src/details_window.py:79
msgid "Confirm"
msgstr "Bekräfta"
#. Translate this string as you would translate "file"
#: src/details_window.py:91
msgid "file.txt"
msgstr "fil.txt"
#. As in software
#: src/details_window.py:93
msgid "program"
msgstr "program"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:98 src/details_window.py:100
msgid "C:\\path\\to\\{}"
msgstr "C:\\sökväg\\till\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:104 src/details_window.py:106
msgid "/path/to/{}"
msgstr "/sökväg/till/{}"
#: src/details_window.py:111
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Använd kommandot för att starta den körbara filen \"{}\":\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"För att öppna filen \"{}\" med standardprogrammet använder du:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Om sökvägen innehåller mellanslag, se till att den omsluts av dubbla "
"citationstecken!"
#: src/details_window.py:146 src/details_window.py:152
msgid "Couldn't Add Game"
msgstr "Kunde inte lägga till spelet"
#: src/details_window.py:146 src/details_window.py:181
msgid "Game title cannot be empty."
msgstr "Spelets titel kan inte vara tom."
#: src/details_window.py:152 src/details_window.py:189
msgid "Executable cannot be empty."
msgstr "Den körbara filen kan inte vara tom."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Kunde inte tillämpa inställningar"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} startat"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} dolt"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} synlig"
#: src/game.py:171
msgid "{} removed"
msgstr "{} borttaget"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Alla spel togs bort"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"En API-nyckel krävs för att använda SteamGridDB. Du kan generera en {}här{}."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Ange plats"
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Avvisa"
#: src/importer/sources/source.py:106
msgid "Data"
msgstr ""
#: src/importer/sources/source.py:107
msgid "Cache"
msgstr ""
#: src/importer/sources/source.py:108
#, fuzzy
#| msgid "Confirm"
msgid "Configuration"
msgstr "Bekräfta"
#. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
#: src/importer/sources/source.py:119
msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/importer/sources/source.py:120
msgid "Pick a new one or disable the source in preferences"
msgstr ""
#: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
msgstr "Kunde inte ansluta till SteamGridDB"
#: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences"
msgstr ""
#~ msgid "Steam Install Location"
#~ msgstr "Steam-installationsplats"
#~ msgid "Lutris Install Location"
#~ msgstr "Lutris-installationsplats"
#~ msgid "Heroic Install Location"
#~ msgstr "Heroic-installationsplats"
#~ msgid "Bottles Install Location"
#~ msgstr "Bottles-installationsplats"
#~ msgid "Today"
#~ msgstr "Idag"
#~ msgid "Yesterday"
#~ msgstr "Igår"
#~ msgid "Cache Not Found"
#~ msgstr "Cache inte hittad"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Välj Lutris cache-mapp."
#~ msgid "Installation Not Found"
#~ msgstr "Installationen hittades inte"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Välj konfigurationsmappen {}."
#~ msgid "Select the {} data directory."
#~ msgstr "Välj datamappen {}."
#~ msgid "Importing Games…"
#~ msgstr "Importerar spel…"
#~ msgid "Importing Covers…"
#~ msgstr "Importerar omslagsbilder…"
#~ msgid "No new games found"
#~ msgstr "Inga nya spel hittades"
#~ msgid "1 game imported"
#~ msgstr "1 spel Importerat"
#~ msgid "{} games imported"
#~ msgstr "{} spel importerade"
#~ msgid "Directory to use when importing games"
#~ msgstr "Mapp att använda för importering av spel"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Extra Steam-bibliotek"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Välj andra mappar där du har Steam-spel installerade"
#~ msgid "Clear"
#~ msgstr "Rensa"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Mapp att använda för import av omslagsbilder"
#~ msgid "Details"
#~ msgstr "Detaljer"
#~ msgid "No new games were found on your system."
#~ msgstr "Inga nya spel hittades på ditt system."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Importerade 1 spel."
#~ msgid "Successfully imported {} games."
#~ msgstr "Importerade {} spel."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Du verkar ha flera Steam-bibliotek. Vill du lägga till dem i "
#~ "inställningar?"

538
po/ta.po
View File

@@ -8,8 +8,8 @@ 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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n" "PO-Revision-Date: 2023-05-29 18:48+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.17-dev\n" "X-Generator: Weblate 4.18-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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "கார்ட்ரிட்ஜ்கள்" msgstr "கார்ட்ரிட்ஜ்கள்"
@@ -35,6 +35,10 @@ msgstr "விளையாட்டு துவக்கி"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "உங்கள் எல்லா விளையாட்டுகளையும் தொடங்கவும்" msgstr "உங்கள் எல்லா விளையாட்டுகளையும் தொடங்கவும்"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "விளையாட்டு; துவக்கி; steam;lutris;heroic;பாட்டில்கள்;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -48,43 +52,78 @@ msgstr ""
"மற்றும் மறைக்கலாம் அல்லது ஸ்டீம்கிரிட் டிபி (SteamGridDB) இலிருந்து அட்டைப்பட கலையைப் " "மற்றும் மறைக்கலாம் அல்லது ஸ்டீம்கிரிட் டிபி (SteamGridDB) இலிருந்து அட்டைப்பட கலையைப் "
"பதிவிறக்கலாம்." "பதிவிறக்கலாம்."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "நூலகம்" msgstr "நூலகம்"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "விளையாட்டு விவரங்களைத் திருத்து" msgstr "விளையாட்டு விவரங்களைத் திருத்து"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "விளையாட்டு விவரங்கள்" msgstr "விளையாட்டு விவரங்கள்"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "விருப்பங்கள்" msgstr "விருப்பங்கள்"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "ரத்துசெய்"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "புதிய அட்டை"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "அட்டையை நீக்கு"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "தலைப்பு" msgstr "தலைப்பு"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "விளையாட்டின் தலைப்பு"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "டெவலப்பர்"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "டெவலப்பர் அல்லது வெளியீட்டாளர் (விரும்பினால்)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "செயல்படுத்தக்கூடியது"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "விளையாட்டைத் தொடங்கும் போது திறக்க கோப்பு அல்லது இயக்க கட்டளை"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "மேலும் தகவல்"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "தொகு" msgstr "தொகு"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "மறை" msgstr "மறை"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "அகற்று" msgstr "அகற்று"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "மறை காட்டு" msgstr "மறை காட்டு"
@@ -96,8 +135,8 @@ msgstr "பொது"
msgid "Quit" msgid "Quit"
msgstr "வெளியேறு" msgstr "வெளியேறு"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "தேடு" msgstr "தேடு"
@@ -109,8 +148,7 @@ msgstr "விருப்பங்களைக் காட்டு"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "குறுக்குவழிகள்" msgstr "குறுக்குவழிகள்"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "செயல்தவிர்" msgstr "செயல்தவிர்"
@@ -138,7 +176,7 @@ msgstr "மறைக்கப்பட்ட விளையாட்டுக
msgid "Remove game" msgid "Remove game"
msgstr "விளையாட்டை அகற்று" msgstr "விளையாட்டை அகற்று"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "நடத்தை" msgstr "நடத்தை"
@@ -154,7 +192,7 @@ msgstr "அட்டைப் படம் விளையாட்டை தொ
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "அட்டைப் படத்தின் நடத்தை மற்றும் பிளே பட்டனை மாற்றுகிறது" msgstr "அட்டைப் படத்தின் நடத்தை மற்றும் பிளே பட்டனை மாற்றுகிறது"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "படங்கள்" msgstr "படங்கள்"
@@ -174,344 +212,233 @@ msgstr "ஆபத்து மண்டலம்"
msgid "Remove All Games" msgid "Remove All Games"
msgstr "அனைத்து விளையாட்டுகளையும் அகற்று" msgstr "அனைத்து விளையாட்டுகளையும் அகற்று"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "இறக்குமதி" msgstr "இறக்குமதி"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "மூலங்கள்" msgstr "மூலங்கள்"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam (ஸ்டீம்)" msgstr "Steam (ஸ்டீம்)"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "Steam (ஸ்டீம்) நிறுவல் இடம்" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "அரிப்பு (itch) நிறுவல் இடம்"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "விளையாட்டுகளை இறக்குமதி செய்யும் போது பயன்படுத்த வேண்டிய அடைவு"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "கூடுதல் ஸ்டீம் (Steam) நூலகங்கள்"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "ஸ்டீம் (Steam) கேம்களை நிறுவிய பிற கோப்பகங்களைத் தேர்ந்தெடுக்கவும்"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "தெளிவு"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "லூட்ரிஸ்" msgstr "லூட்ரிஸ்"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" #, fuzzy
msgstr "லூட்ரிஸ் நிறுவல் இடம்" #| msgid "Lutris Cache Location"
msgid "Cache Location"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "லுட்ரிஸ் தற்காலிக சேமிப்பு இடம்" msgstr "லுட்ரிஸ் தற்காலிக சேமிப்பு இடம்"
#: data/gtk/preferences.blp:129 #: data/gtk/preferences.blp:128
msgid "Directory to use when importing game covers"
msgstr "விளையாட்டு அட்டைகளை இறக்குமதி செய்யும் போது பயன்படுத்த வேண்டிய அடைவு"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "ஸ்டீம் (Steam) விளையாட்டுகளை இறக்குமதி செய்யவும்" msgstr "ஸ்டீம் (Steam) விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "Heroic (ஹீரோயிக்)" msgstr "Heroic (ஹீரோயிக்)"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "Heroic (ஹீரோயிக்) நிறுவல் இடம்"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Epic விளையாட்டுகளை இறக்குமதி செய்" msgstr "Epic விளையாட்டுகளை இறக்குமதி செய்"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "GOG விளையாட்டுகளை இறக்குமதி செய்யவும்" msgstr "GOG விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "பக்க ஏற்றப்பட்ட விளையாட்டுகளை இறக்குமதி செய்யவும்" msgstr "பக்க ஏற்றப்பட்ட விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "Bottles (பாட்டில்கள்)" msgstr "Bottles (பாட்டில்கள்)"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "Bottles (பாட்டில்கள்) நிறுவும் இடம்"
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "அரிப்பு (itch)" msgstr "அரிப்பு (itch)"
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "அரிப்பு (itch) நிறுவல் இடம்" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB)" msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB)"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "அங்கீகாரம்" msgstr "அங்கீகாரம்"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "API விசை" msgstr "API விசை"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB) ஐப் பயன்படுத்தவும்" msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB) ஐப் பயன்படுத்தவும்"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "" msgstr ""
"விளையாட்டுகளைச் சேர்க்கும் போது அல்லது இறக்குமதி செய்யும் போது படங்களைப் பதிவிறக்கவும்" "விளையாட்டுகளைச் சேர்க்கும் போது அல்லது இறக்குமதி செய்யும் போது படங்களைப் பதிவிறக்கவும்"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "அதிகாரப்பூர்வ படங்களை விட முன்னுரிமை" msgstr "அதிகாரப்பூர்வ படங்களை விட முன்னுரிமை"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "இயங்குபடம் செய்யப்பட்ட படங்களுக்கு முன்னுரிமை கொடுங்கள்" msgstr "இயங்குபடம் செய்யப்பட்ட படங்களுக்கு முன்னுரிமை கொடுங்கள்"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "விளையாட்டுகள் எதுவும் இல்லை" msgstr "விளையாட்டுகள் எதுவும் இல்லை"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "வேறு தேடலை முயற்சிக்கவும்." msgstr "வேறு தேடலை முயற்சிக்கவும்."
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "விளையாட்டுகள் இல்லை" msgstr "விளையாட்டுகள் இல்லை"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "விளையாட்டுகளைச் சேர்க்க + பொத்தானைப் பயன்படுத்தவும்." msgstr "விளையாட்டுகளைச் சேர்க்க + பொத்தானைப் பயன்படுத்தவும்."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "மறைக்கப்பட்ட விளையாட்டுகள் இல்லை" msgstr "மறைக்கப்பட்ட விளையாட்டுகள் இல்லை"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "நீங்கள் மறைக்கும் விளையாட்டுகள் இங்கே தோன்றும்." msgstr "நீங்கள் மறைக்கும் விளையாட்டுகள் இங்கே தோன்றும்."
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "மீண்டும்" msgstr "மீண்டும்"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "விளையாட்டு தலைப்பு" msgstr "விளையாட்டு தலைப்பு"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "விளையாடு" msgstr "விளையாடு"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "விளையாட்டைச் சேர்க்கவும்" msgstr "விளையாட்டைச் சேர்க்கவும்"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "முதன்மை பட்டியல்" msgstr "முதன்மை பட்டியல்"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "மறைக்கப்பட்ட விளையாட்டுகள்" msgstr "மறைக்கப்பட்ட விளையாட்டுகள்"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "வகைபடுத்து" msgstr "வகைபடுத்து"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "A-Z" msgstr "A-Z"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "Z-A" msgstr "Z-A"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "புதியது" msgstr "புதியது"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "பழமையானது" msgstr "பழமையானது"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "கடைசியாக விளையாடியது" msgstr "கடைசியாக விளையாடியது"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "மறைக்கப்பட்டதைக் காட்டு" msgstr "மறைக்கப்பட்டதைக் காட்டு"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "விசைப்பலகை குறுக்குவழிகள்" msgstr "விசைப்பலகை குறுக்குவழிகள்"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
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:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "K.B.Dharun Krishna <kbdharunkrishna@gmail.com>" msgstr "K.B.Dharun Krishna <kbdharunkrishna@gmail.com>"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} தொடங்கப்பட்டது"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} மறைக்கப்பட்டுள்ளது"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} மறைக்கப்படாதது"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} அகற்றப்பட்டது"
#: src/window.py:262
msgid "Today"
msgstr "இன்று"
#: src/window.py:264
msgid "Yesterday"
msgstr "நேற்று"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "சேர்க்கப்பட்டது: {}" msgstr "சேர்க்கப்பட்டது: {}"
#: src/window.py:315 #: src/window.py:195
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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "கடைசியாக விளையாடியது: {}" msgstr "கடைசியாக விளையாடியது: {}"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "விவரங்கள்"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "நிறுவல் கிடைக்கவில்லை"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "{} உள்ளமைவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "{} தரவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "இருப்பிடத்தை அமைக்கவும்"
#: src/preferences.py:132
msgid "All games removed"
msgstr "அனைத்து விளையாட்டுகளும் அகற்றப்பட்டன"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "தற்காலிக சேமிப்பு கிடைக்கவில்லை"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "லூட்ரிஸ் தற்காலிக சேமிப்பு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"ஸ்டீம்கிரிட் டிபி (SteamGridDB) ஐப் பயன்படுத்த API விசை தேவை. நீங்கள் ஒன்றை {}இங்கே{} "
"உருவாக்கலாம்."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "புதிய விளையாட்டைச் சேர்க்கவும்"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "உறுதிப்படுத்தவும்"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "விண்ணப்பி" msgstr "விண்ணப்பி"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "விளையாட்டின் தலைப்பு" msgstr "புதிய விளையாட்டைச் சேர்க்கவும்"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "டெவலப்பர்" msgstr "உறுதிப்படுத்தவும்"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "டெவலப்பர் அல்லது வெளியீட்டாளர் (விரும்பினால்)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "கோப்பு.txt" msgstr "கோப்பு.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "பயன்பாடு" msgstr "பயன்பாடு"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\பாதை\\டு \\{}" msgstr "C:\\பாதை\\டு \\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/பாதை/டு/ {}" msgstr "/பாதை/டு/ {}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -533,84 +460,173 @@ msgstr ""
"\n" "\n"
"பாதையில் இடைவெளிகள் இருந்தால், அதை இரட்டை மேற்கோள்களில் போர்த்துவதை உறுதிசெய்யவும்!" "பாதையில் இடைவெளிகள் இருந்தால், அதை இரட்டை மேற்கோள்களில் போர்த்துவதை உறுதிசெய்யவும்!"
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "செயல்படுத்தக்கூடியது"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "விளையாட்டைத் தொடங்கும் போது திறக்க கோப்பு அல்லது இயக்க கட்டளை"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "ரத்துசெய்"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "விளையாட்டைச் சேர்க்க முடியவில்லை" msgstr "விளையாட்டைச் சேர்க்க முடியவில்லை"
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "விருப்பத்தேர்வுகளைப் பயன்படுத்த முடியவில்லை"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "விளையாட்டு தலைப்பு காலியாக இருக்கக்கூடாது." msgstr "விளையாட்டு தலைப்பு காலியாக இருக்கக்கூடாது."
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "இயங்கக்கூடியது காலியாக இருக்க முடியாது." msgstr "இயங்கக்கூடியது காலியாக இருக்க முடியாது."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "விருப்பத்தேர்வுகளைப் பயன்படுத்த முடியவில்லை"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} தொடங்கப்பட்டது"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} மறைக்கப்பட்டுள்ளது"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} மறைக்கப்படாதது"
#: src/game.py:171
msgid "{} removed"
msgstr "{} அகற்றப்பட்டது"
#: src/preferences.py:102
msgid "All games removed"
msgstr "அனைத்து விளையாட்டுகளும் அகற்றப்பட்டன"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"ஸ்டீம்கிரிட் டிபி (SteamGridDB) ஐப் பயன்படுத்த API விசை தேவை. நீங்கள் ஒன்றை {}இங்கே{} "
"உருவாக்கலாம்."
#: src/preferences.py:289
msgid "Set Location"
msgstr "இருப்பிடத்தை அமைக்கவும்"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "நிராகரி" msgstr "நிராகரி"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது…" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "அட்டைகளை இறக்குமதி செய்கிறது…" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." #, fuzzy
msgstr "உங்கள் கணினியில் புதிய விளையாட்டுகள் எதுவும் இல்லை." #| msgid "Confirm"
msgid "Configuration"
msgstr "உறுதிப்படுத்தவும்"
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgstr "விளையாட்டு இறக்குமதி செய்யப்பட்டது" msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது." msgstr ""
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" #, fuzzy
msgstr "விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன" #| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "{} விளையாட்டுகள் வெற்றிகரமாக இறக்குமதி செய்யப்பட்டன."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB) உடன் இணைக்க முடியவில்லை" msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB) உடன் இணைக்க முடியவில்லை"
#: src/utils/importer.py:145 #: src/store/managers/sgdb_manager.py:48
msgid "" msgid "Verify your API key in preferences"
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "" msgstr ""
"உங்களிடம் பல ஸ்டீம் (Steam) நூலகங்கள் இருப்பது போல் தெரிகிறது. அவற்றை விருப்பத்தேர்வுகளில் "
"சேர்க்க விரும்புகிறீர்களா?" #~ msgid "Steam Install Location"
#~ msgstr "Steam (ஸ்டீம்) நிறுவல் இடம்"
#~ msgid "Lutris Install Location"
#~ msgstr "லூட்ரிஸ் நிறுவல் இடம்"
#~ msgid "Heroic Install Location"
#~ msgstr "Heroic (ஹீரோயிக்) நிறுவல் இடம்"
#~ msgid "Bottles Install Location"
#~ msgstr "Bottles (பாட்டில்கள்) நிறுவும் இடம்"
#~ msgid "Today"
#~ msgstr "இன்று"
#~ msgid "Yesterday"
#~ msgstr "நேற்று"
#~ msgid "Cache Not Found"
#~ msgstr "தற்காலிக சேமிப்பு கிடைக்கவில்லை"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "லூட்ரிஸ் தற்காலிக சேமிப்பு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#~ msgid "Installation Not Found"
#~ msgstr "நிறுவல் கிடைக்கவில்லை"
#~ msgid "Select the {} configuration directory."
#~ msgstr "{} உள்ளமைவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#~ msgid "Select the {} data directory."
#~ msgstr "{} தரவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#~ msgid "Importing Games…"
#~ msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது…"
#~ msgid "Importing Covers…"
#~ msgstr "அட்டைகளை இறக்குமதி செய்கிறது…"
#~ msgid "No new games found"
#~ msgstr "புதிய விளையாட்டுகள் எதுவும் கண்டறியப்படவில்லை"
#~ msgid "1 game imported"
#~ msgstr "1 விளையாட்டு இறக்குமதி செய்யப்பட்டது"
#~ msgid "{} games imported"
#~ msgstr "{} விளையாட்டுகள் இறக்குமதி செய்யப்பட்டன"
#~ msgid "Directory to use when importing games"
#~ msgstr "விளையாட்டுகளை இறக்குமதி செய்யும் போது பயன்படுத்த வேண்டிய அடைவு"
#~ msgid "Extra Steam Libraries"
#~ msgstr "கூடுதல் ஸ்டீம் (Steam) நூலகங்கள்"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "ஸ்டீம் (Steam) கேம்களை நிறுவிய பிற கோப்பகங்களைத் தேர்ந்தெடுக்கவும்"
#~ msgid "Clear"
#~ msgstr "தெளிவு"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "விளையாட்டு அட்டைகளை இறக்குமதி செய்யும் போது பயன்படுத்த வேண்டிய அடைவு"
#~ msgid "Details"
#~ msgstr "விவரங்கள்"
#~ msgid "No new games were found on your system."
#~ msgstr "உங்கள் கணினியில் புதிய விளையாட்டுகள் எதுவும் இல்லை."
#~ msgid "Successfully imported 1 game."
#~ msgstr "1 விளையாட்டு வெற்றிகரமாக இறக்குமதி செய்யப்பட்டது."
#~ msgid "Successfully imported {} games."
#~ msgstr "{} விளையாட்டுகள் வெற்றிகரமாக இறக்குமதி செய்யப்பட்டன."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "உங்களிடம் பல ஸ்டீம் (Steam) நூலகங்கள் இருப்பது போல் தெரிகிறது. அவற்றை "
#~ "விருப்பத்தேர்வுகளில் சேர்க்க விரும்புகிறீர்களா?"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "உங்கள் விளையாட்டுகளைத் தொடங்கவும்" #~ msgstr "உங்கள் விளையாட்டுகளைத் தொடங்கவும்"

593
po/tr.po Normal file
View File

@@ -0,0 +1,593 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# Sabri Ünal <libreajans@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-05-26 18:10+0000\n"
"Last-Translator: Sabri Ünal <libreajans@gmail.com>\n"
"Language-Team: Turkish <https://hosted.weblate.org/projects/cartridges/"
"cartridges/tr/>\n"
"Language: tr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.18-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146
msgid "Cartridges"
msgstr "Kartuşlar"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Oyun Başlatıcı"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Tüm oyunlarınızı başlatın"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "oyun;başlatıcı;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid ""
"Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login "
"necessary. You can sort and hide games or download cover art from "
"SteamGridDB."
msgstr ""
"Kartuşlar, tüm oyunlarınız için basit bir oyun başlatıcıdır. Oturum açmaya "
"gerek kalmadan Steam, Lutris, Heroic ve daha fazla sağlayıcıdan oyun içe "
"aktarma desteğine sahiptir. Oyunları sıralayabilir, gizleyebilir veya "
"SteamGridDB'den kapak resmi indirebilirsiniz."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Kütüphane"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
msgid "Edit Game Details"
msgstr "Oyun Ayrıntılarını Düzenle"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details"
msgstr "Oyun Ayrıntıları"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239
msgid "Preferences"
msgstr "Tercihler"
#: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "İptal"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Yeni Kapak"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Kapağı Sil"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Başlık"
#: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "Oyunun başlığı"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Geliştirici"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Geliştirici veya yayıncı (isteğe bağlı)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Yürütülebilir"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Oyun başlatılırken açılacak dosya veya çalıştırılacak komut"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Daha Fazla Bilgi"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit"
msgstr "Düzenle"
#: data/gtk/game.blp:107 src/window.py:169
msgid "Hide"
msgstr "Gizle"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:209
msgid "Remove"
msgstr "Kaldır"
#: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide"
msgstr "Göster"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Genel"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Çık"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:323
msgid "Search"
msgstr "Ara"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Tercihleri göster"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Kısayollar"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
msgid "Undo"
msgstr "Geri Al"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Menüyü aç"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Oyunlar"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Yeni oyun ekle"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Oyunları içe aktar"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Gizli oyunları göster"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Oyunu kaldır"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior"
msgstr "Davranış"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Oyunu Başlatıldıktan Sonra Çık"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Kapak Görüntüsü Oyunu Başlatır"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Kapak görüntüsünün ve oyna düğmesinin davranışını değiştirir"
#: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images"
msgstr "Görüntüler"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Yüksek Kaliteli Görüntüler"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr ""
"Oyun kapaklarını, daha çok depolama alanı gerektirmesine rağmen, kayıpsız "
"kaydet"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Tehlikeli Bölge"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Tüm Oyunları Kaldır"
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import"
msgstr "İçe Aktar"
#: data/gtk/preferences.blp:89
msgid "Sources"
msgstr "Kaynaklar"
#: data/gtk/preferences.blp:92
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "itch Kurulu Konumu"
#: data/gtk/preferences.blp:106
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location"
msgstr "Lutris Önbellek Konumu"
#: data/gtk/preferences.blp:128
msgid "Import Steam Games"
msgstr "Steam Oyunlarını İçe Aktar"
#: data/gtk/preferences.blp:138
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:151
msgid "Import Epic Games"
msgstr "Epic Oyunlarını İçe Aktar"
#: data/gtk/preferences.blp:160
msgid "Import GOG Games"
msgstr "GOG Oyunlarını İçe Aktar"
#: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games"
msgstr "Yandan Yüklenmiş Oyunları İçe Aktar"
#: data/gtk/preferences.blp:179
msgid "Bottles"
msgstr "Şişeler"
#: data/gtk/preferences.blp:193
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:207
msgid "Legendary"
msgstr ""
#: data/gtk/preferences.blp:224
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228
msgid "Authentication"
msgstr "Kimlik Doğrulaması"
#: data/gtk/preferences.blp:231
msgid "API Key"
msgstr "API anahtarı"
#: data/gtk/preferences.blp:239
msgid "Use SteamGridDB"
msgstr "SteamGridDB Kullan"
#: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games"
msgstr "Oyun eklerken veya içe aktarırken görüntüleri indir"
#: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images"
msgstr "Resmî Görsellere Yeğle"
#: data/gtk/preferences.blp:258
msgid "Prefer Animated Images"
msgstr "Hareketli Görselleri Yeğle"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Hiçbir Oyun Bulunamadı"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Başka arama dene."
#: data/gtk/window.blp:21
msgid "No Games"
msgstr "Oyun Yok"
#: data/gtk/window.blp:22
msgid "Use the + button to add games."
msgstr "Oyun eklemek için + düğmesini kullanın."
#: data/gtk/window.blp:40
msgid "No Hidden Games"
msgstr "Gizli Oyun Yok"
#: data/gtk/window.blp:41
msgid "Games you hide will appear here."
msgstr "Gizlediğiniz oyunlar burada belirecek."
#: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back"
msgstr "Geri"
#: data/gtk/window.blp:121
msgid "Game Title"
msgstr "Oyun Başlığı"
#: data/gtk/window.blp:176
msgid "Play"
msgstr "Oyna"
#: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game"
msgstr "Oyun Ekle"
#: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu"
msgstr "Ana Menü"
#: data/gtk/window.blp:311
msgid "Hidden Games"
msgstr "Gizli Oyunlar"
#: data/gtk/window.blp:374
msgid "Sort"
msgstr "Sırala"
#: data/gtk/window.blp:377
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:383
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:389
msgid "Newest"
msgstr "En Yeni"
#: data/gtk/window.blp:395
msgid "Oldest"
msgstr "En Eski"
#: data/gtk/window.blp:401
msgid "Last Played"
msgstr "Son Oynanan"
#: data/gtk/window.blp:408
msgid "Show Hidden"
msgstr "Gizlileri Göster"
#: data/gtk/window.blp:421
msgid "Keyboard Shortcuts"
msgstr "Klavye Kısayolları"
#: data/gtk/window.blp:426
msgid "About Cartridges"
msgstr "Kartuşlar Hakkında"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:164
msgid "translator_credits"
msgstr "Sabri Ünal <libreajans@gmail.com>"
#. The variable is the date when the game was added
#: src/window.py:192
msgid "Added: {}"
msgstr "Eklendi: {}"
#: src/window.py:195
msgid "Never"
msgstr "Asla"
#. The variable is the date when the game was last played
#: src/window.py:199
msgid "Last played: {}"
msgstr "Son oynanma: {}"
#: src/details_window.py:72
msgid "Apply"
msgstr "Uygula"
#: src/details_window.py:78
msgid "Add New Game"
msgstr "Yeni Oyun Ekle"
#: src/details_window.py:79
msgid "Confirm"
msgstr "Doğrula"
#. Translate this string as you would translate "file"
#: src/details_window.py:91
msgid "file.txt"
msgstr "dosya.txt"
#. As in software
#: src/details_window.py:93
msgid "program"
msgstr "program"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:98 src/details_window.py:100
msgid "C:\\path\\to\\{}"
msgstr "C:\\yol\\klasör\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:104 src/details_window.py:106
msgid "/path/to/{}"
msgstr "/yol/klasör/{}"
#: src/details_window.py:111
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"\"{}\" yürütülebilirini başlatmak için şu komutu kullanın:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"\"{}\" dosyasını öntanımlı uygulamayla açmak için şunu kullanın:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Yol boşluk içeriyorsa, çift tırnak içine aldığınızdan emin olun!"
#: src/details_window.py:146 src/details_window.py:152
msgid "Couldn't Add Game"
msgstr "Oyun Eklenemedi"
#: src/details_window.py:146 src/details_window.py:181
msgid "Game title cannot be empty."
msgstr "Oyun başlığı boş olamaz."
#: src/details_window.py:152 src/details_window.py:189
msgid "Executable cannot be empty."
msgstr "Çalıştırılabilir boş olamaz."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Tercihler Uygulanamadı"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} başlatıldı"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} gizli"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} görünür"
#: src/game.py:171
msgid "{} removed"
msgstr "{} kaldırıldı"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Tüm oyunlar kaldırıldı"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"SteamGridDBʼyi kullanmak için API anahtarı gereklidir. {}Buradan{} bir tane "
"oluşturabilirsiniz."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Konum Ayarla"
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Vazgeç"
#: src/importer/sources/source.py:106
msgid "Data"
msgstr ""
#: src/importer/sources/source.py:107
msgid "Cache"
msgstr ""
#: src/importer/sources/source.py:108
#, fuzzy
#| msgid "Confirm"
msgid "Configuration"
msgstr "Doğrula"
#. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
#: src/importer/sources/source.py:119
msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/importer/sources/source.py:120
msgid "Pick a new one or disable the source in preferences"
msgstr ""
#: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
msgstr "SteamGridDBʼye bağlanılamadı"
#: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences"
msgstr ""
#~ msgid "Steam Install Location"
#~ msgstr "Steam Kurulu Konumu"
#~ msgid "Lutris Install Location"
#~ msgstr "Lutris Kurulu Konumu"
#~ msgid "Heroic Install Location"
#~ msgstr "Heroic Kurulu Konumu"
#~ msgid "Bottles Install Location"
#~ msgstr "Şişeler Kurulu Konumu"
#~ msgid "Today"
#~ msgstr "Bugün"
#~ msgid "Yesterday"
#~ msgstr "Dün"
#~ msgid "Cache Not Found"
#~ msgstr "Önbellek Bulunamadı"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Lutris önbellek dizinini seç."
#~ msgid "Installation Not Found"
#~ msgstr "Kurulum Bulunamadı"
#~ msgid "Select the {} configuration directory."
#~ msgstr "{} yapılandırma dizinini seç."
#~ msgid "Select the {} data directory."
#~ msgstr "{} veri dizinini seç."
#~ msgid "Importing Games…"
#~ msgstr "Oyunlar İçe Aktarılıyor…"
#~ msgid "Importing Covers…"
#~ msgstr "Kapaklar İçe Aktarılıyor…"
#~ msgid "No new games found"
#~ msgstr "Yeni oyun bulunamadı"
#~ msgid "1 game imported"
#~ msgstr "1 oyun içe aktarıldı"
#~ msgid "{} games imported"
#~ msgstr "{} oyun içe aktarıldı"

553
po/uk.po
View File

@@ -3,28 +3,29 @@
# 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 <contact@kramo.hu>, 2023. # kramo <contact@kramo.hu>, 2023.
# Dan <denqwerta@gmail.com>, 2023. # Dan <denqwerta@gmail.com>, 2023.
# Вова Смірнов <vovasmirnon5895@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-04-11 23:33+0200\n" "POT-Creation-Date: 2023-06-26 12:01+0200\n"
"PO-Revision-Date: 2023-04-14 12:29+0000\n" "PO-Revision-Date: 2023-06-03 18:51+0000\n"
"Last-Translator: Dan <denqwerta@gmail.com>\n" "Last-Translator: Вова Смірнов <vovasmirnon5895@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"
"Language: uk\n" "Language: uk\n"
"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.17-dev\n" "X-Generator: Weblate 4.18-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:47
#: src/main.py:119 #: src/main.py:146
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Картриджі"
#: data/hu.kramo.Cartridges.desktop.in:4 #: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher" msgid "Game Launcher"
@@ -35,6 +36,10 @@ msgstr "Ігровий лаунчер"
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Запустіть усі свої ігри" msgstr "Запустіть усі свої ігри"
#: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgstr "ігри;лаунчер;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
@@ -42,48 +47,83 @@ msgid ""
"necessary. You can sort and hide games or download cover art from " "necessary. You can sort and hide games or download cover art from "
"SteamGridDB." "SteamGridDB."
msgstr "" msgstr ""
"Cartridges - це простий лаунчер для всіх ваших ігор. Він підтримує імпорт " "Картриджі - це простий лаунчер для всіх ваших ігор. Він підтримує імпорт "
"ігор з Steam, Lutris, Heroic тощо без необхідності входу в систему. Ви " "ігор з Steam, Lutris, Heroic тощо без необхідності входу в систему. Ви "
"можете сортувати та приховувати ігри або завантажувати обкладинки з " "можете сортувати та приховувати ігри або завантажувати обкладинки з "
"SteamGridDB." "SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:22 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
msgstr "Бібліотека" msgstr "Бібліотека"
#: data/hu.kramo.Cartridges.metainfo.xml.in:26 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
#: src/utils/create_details_window.py:87
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Редагувати інформацію про гру" msgstr "Редагувати інформацію про гру"
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 data/gtk/window.blp:51 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Подробиці гри" msgstr "Подробиці гри"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 data/gtk/window.blp:402 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/utils/importer.py:94 src/utils/importer.py:123 src/utils/importer.py:148 #: src/details_window.py:239
#: src/utils/steamgriddb.py:116
msgid "Preferences" msgid "Preferences"
msgstr "Параметри" msgstr "Параметри"
#: data/gtk/game.blp:67 src/utils/create_details_window.py:129 #: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Скасувати"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Нова обкладинка"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Видалити обкладинку"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title" msgid "Title"
msgstr "Назва" msgstr "Назва"
#: data/gtk/game.blp:89 data/gtk/game.blp:108 data/gtk/window.blp:170 #: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "Назва гри"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Розробник"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Розробник або видавець (необов'язково)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Виконуваний"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Файл для відкриття або команда для запуску під час запуску гри"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Більше інформації"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "Редагувати" msgstr "Редагувати"
#: data/gtk/game.blp:94 src/window.py:286 #: data/gtk/game.blp:107 src/window.py:169
msgid "Hide" msgid "Hide"
msgstr "Приховати" msgstr "Приховати"
#: data/gtk/game.blp:99 data/gtk/game.blp:118 data/gtk/preferences.blp:56 #: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:186 #: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Видалити" msgstr "Видалити"
#: data/gtk/game.blp:113 src/window.py:283 #: data/gtk/game.blp:126 src/window.py:171
msgid "Unhide" msgid "Unhide"
msgstr "Показати" msgstr "Показати"
@@ -95,8 +135,8 @@ msgstr "Загальний"
msgid "Quit" msgid "Quit"
msgstr "Вийти" msgstr "Вийти"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:205 data/gtk/window.blp:249 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:312 #: data/gtk/window.blp:323
msgid "Search" msgid "Search"
msgstr "Пошук" msgstr "Пошук"
@@ -108,8 +148,7 @@ msgstr "Показати параметри"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Ярлики" msgstr "Ярлики"
#: data/gtk/help-overlay.blp:34 src/main.py:186 src/main.py:242 #: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103
#: src/preferences.py:133
msgid "Undo" msgid "Undo"
msgstr "Відмінити" msgstr "Відмінити"
@@ -137,7 +176,7 @@ msgstr "Показати приховані ігри"
msgid "Remove game" msgid "Remove game"
msgstr "Видалити гру" msgstr "Видалити гру"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:235 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236
msgid "Behavior" msgid "Behavior"
msgstr "Поведінка" msgstr "Поведінка"
@@ -153,7 +192,7 @@ msgstr "Обкладинка запускає гру"
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "Міняє місцями поведінку зображення обкладинки та кнопки відтворення" msgstr "Міняє місцями поведінку зображення обкладинки та кнопки відтворення"
#: data/gtk/preferences.blp:36 src/utils/create_details_window.py:101 #: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images" msgid "Images"
msgstr "Зображення" msgstr "Зображення"
@@ -173,343 +212,232 @@ msgstr "Небезпечна зона"
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Видалити всі ігри" msgstr "Видалити всі ігри"
#: data/gtk/preferences.blp:69 data/gtk/window.blp:427 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
msgstr "Імпорт" msgstr "Імпорт"
#: data/gtk/preferences.blp:73 #: data/gtk/preferences.blp:89
msgid "Sources" msgid "Sources"
msgstr "Джерела" msgstr "Джерела"
#: data/gtk/preferences.blp:76 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:80 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
msgid "Steam Install Location" #: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183
msgstr "Місце встановлення Steam" #: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location"
msgstr "Місце встановлення itch"
#: data/gtk/preferences.blp:81 data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:106
#: data/gtk/preferences.blp:153 data/gtk/preferences.blp:195
#: data/gtk/preferences.blp:210
msgid "Directory to use when importing games"
msgstr "Каталог для імпорту ігор"
#: data/gtk/preferences.blp:89 src/utils/importer.py:143
msgid "Extra Steam Libraries"
msgstr "Додаткові бібліотеки Steam"
#: data/gtk/preferences.blp:90
msgid "Select other directories where you have Steam games installed"
msgstr "Виберіть інші директорії, до яких інстальовано ігри Steam"
#: data/gtk/preferences.blp:96
msgid "Clear"
msgstr "Очистити"
#: data/gtk/preferences.blp:114
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:118 #: data/gtk/preferences.blp:119
msgid "Lutris Install Location" #, fuzzy
msgstr "Місце встановлення Lutris" #| msgid "Lutris Cache Location"
msgid "Cache Location"
#: data/gtk/preferences.blp:128
msgid "Lutris Cache Location"
msgstr "Розташування сховища Lutris" msgstr "Розташування сховища Lutris"
#: data/gtk/preferences.blp:129 #: data/gtk/preferences.blp:128
msgid "Directory to use when importing game covers"
msgstr "Каталог для імпорту обкладинок ігор"
#: data/gtk/preferences.blp:138
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Імпорт ігор Steam" msgstr "Імпорт ігор Steam"
#: data/gtk/preferences.blp:148 #: data/gtk/preferences.blp:138
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:152 #: data/gtk/preferences.blp:151
msgid "Heroic Install Location"
msgstr "Місце встановлення Heroic"
#: data/gtk/preferences.blp:162
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Імпорт Epic Games" msgstr "Імпорт Epic Games"
#: data/gtk/preferences.blp:171 #: data/gtk/preferences.blp:160
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Імпорт ігор GOG" msgstr "Імпорт ігор GOG"
#: data/gtk/preferences.blp:180 #: data/gtk/preferences.blp:169
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Імпорт сторонніх ігор" msgstr "Імпорт сторонніх ігор"
#: data/gtk/preferences.blp:190 #: data/gtk/preferences.blp:179
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:194 #: data/gtk/preferences.blp:193
msgid "Bottles Install Location"
msgstr "Місце встановлення Bottles"
#: data/gtk/preferences.blp:205
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:209 #: data/gtk/preferences.blp:207
msgid "itch Install Location" msgid "Legendary"
msgstr "Місце встановлення itch" msgstr ""
#: data/gtk/preferences.blp:223 #: data/gtk/preferences.blp:224
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:227 #: data/gtk/preferences.blp:228
msgid "Authentication" msgid "Authentication"
msgstr "Аутентифікація" msgstr "Аутентифікація"
#: data/gtk/preferences.blp:230 #: data/gtk/preferences.blp:231
msgid "API Key" msgid "API Key"
msgstr "Ключ API" msgstr "Ключ API"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:239
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Використовувати SteamGridDB" msgstr "Використовувати SteamGridDB"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:240
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Завантаження зображень під час додавання або імпорту ігор" msgstr "Завантаження зображень під час додавання або імпорту ігор"
#: data/gtk/preferences.blp:248 #: data/gtk/preferences.blp:249
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Надавати перевагу офіційним зображенням" msgstr "Надавати перевагу офіційним зображенням"
#: data/gtk/preferences.blp:257 #: data/gtk/preferences.blp:258
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Надавати перевагу анімованим зображенням" msgstr "Надавати перевагу анімованим зображенням"
#: data/gtk/window.blp:6 src/utils/importer.py:91 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Ігор не знайдено" msgstr "Ігор не знайдено"
#: data/gtk/window.blp:7 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search."
msgstr "Спробуйте інший пошук." msgstr "Спробуйте інший пошук."
#: data/gtk/window.blp:14 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Ніяких ігор" msgstr "Ніяких ігор"
#: data/gtk/window.blp:15 #: data/gtk/window.blp:22
msgid "Use the + button to add games." msgid "Use the + button to add games."
msgstr "Використовуйте кнопку +, щоб додати гру." msgstr "Використовуйте кнопку +, щоб додати гру."
#: data/gtk/window.blp:22 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Ніяких прихованих ігор" msgstr "Ніяких прихованих ігор"
#: data/gtk/window.blp:23 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here."
msgstr "Ігри, які ви сховали, з'являться тут." msgstr "Ігри, які ви сховали, з'являться тут."
#: data/gtk/window.blp:44 data/gtk/window.blp:293 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Назад" msgstr "Назад"
#: data/gtk/window.blp:100 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
msgstr "Назва гри" msgstr "Назва гри"
#: data/gtk/window.blp:151 src/game.py:158 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Грати" msgstr "Грати"
#: data/gtk/window.blp:235 data/gtk/window.blp:421 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
msgstr "Додати гру" msgstr "Додати гру"
#: data/gtk/window.blp:242 data/gtk/window.blp:305 #: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu" msgid "Main Menu"
msgstr "Головне меню" msgstr "Головне меню"
#: data/gtk/window.blp:300 #: data/gtk/window.blp:311
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Приховані ігри" msgstr "Приховані ігри"
#: data/gtk/window.blp:360 #: data/gtk/window.blp:374
msgid "Sort" msgid "Sort"
msgstr "Сортувати" msgstr "Сортувати"
#: data/gtk/window.blp:363 #: data/gtk/window.blp:377
msgid "A-Z" msgid "A-Z"
msgstr "А-Я" msgstr "А-Я"
#: data/gtk/window.blp:369 #: data/gtk/window.blp:383
msgid "Z-A" msgid "Z-A"
msgstr "Я-А" msgstr "Я-А"
#: data/gtk/window.blp:375 #: data/gtk/window.blp:389
msgid "Newest" msgid "Newest"
msgstr "Найновіші" msgstr "Найновіші"
#: data/gtk/window.blp:381 #: data/gtk/window.blp:395
msgid "Oldest" msgid "Oldest"
msgstr "Найстаріші" msgstr "Найстаріші"
#: data/gtk/window.blp:387 #: data/gtk/window.blp:401
msgid "Last Played" msgid "Last Played"
msgstr "Остання гра" msgstr "Остання гра"
#: data/gtk/window.blp:394 #: data/gtk/window.blp:408
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Показати приховане" msgstr "Показати приховане"
#: data/gtk/window.blp:407 #: data/gtk/window.blp:421
msgid "Keyboard Shortcuts" msgid "Keyboard Shortcuts"
msgstr "Комбінації клавіш" msgstr "Комбінації клавіш"
#: data/gtk/window.blp:412 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
msgstr "Про Cartridges" msgstr "Про Картриджі"
#. Translators: Replace this with your name for it to show up in the about window #. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:137 #: src/main.py:164
msgid "translator_credits" msgid "translator_credits"
msgstr "kefir2105" msgstr "kefir2105"
#. The variable is the title of the game
#: src/main.py:164
msgid "{} launched"
msgstr "{} запущено"
#. The variable is the title of the game
#: src/main.py:182
msgid "{} hidden"
msgstr "{} приховано"
#. The variable is the title of the game
#: src/main.py:185
msgid "{} unhidden"
msgstr "{} показано"
#. The variable is the title of the game
#: src/main.py:241
msgid "{} removed"
msgstr "{} видалено"
#: src/window.py:262
msgid "Today"
msgstr "Сьогодні"
#: src/window.py:264
msgid "Yesterday"
msgstr "Вчора"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:310 #: src/window.py:192
msgid "Added: {}" msgid "Added: {}"
msgstr "Додано: {}" msgstr "Додано: {}"
#: src/window.py:315 #: src/window.py:195
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:319 #: src/window.py:199
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Останній раз грали: {}" msgstr "Востаннє грали: {}"
#: src/game.py:156 #: src/details_window.py:72
msgid "Details"
msgstr "Деталі"
#: src/preferences.py:54
msgid "Installation Not Found"
msgstr "Встановлення не знайдено"
#. The variable is the name of the game launcher
#: src/preferences.py:56
msgid "Select the {} configuration directory."
msgstr "Виберіть каталог конфігурації {}."
#. The variable is the name of the game launcher
#: src/preferences.py:59
msgid "Select the {} data directory."
msgstr "Виберіть каталог даних {}."
#: src/preferences.py:61 src/preferences.py:240
msgid "Set Location"
msgstr "Встановити місцезнаходження"
#: src/preferences.py:132
msgid "All games removed"
msgstr "Всі ігри видалено"
#: src/preferences.py:237
msgid "Cache Not Found"
msgstr "Кеш не знайдено"
#: src/preferences.py:238
msgid "Select the Lutris cache directory."
msgstr "Виберіть каталог кешу Lutris."
#: src/preferences.py:344
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Для використання SteamGridDB потрібен ключ API. Ви можете згенерувати його {}"
"тут{}."
#: src/utils/create_details_window.py:81
msgid "Add New Game"
msgstr "Додати нову гру"
#: src/utils/create_details_window.py:85
msgid "Confirm"
msgstr "Підтвердити"
#: src/utils/create_details_window.py:96
msgid "Apply" msgid "Apply"
msgstr "Застосувати" msgstr "Застосувати"
#: src/utils/create_details_window.py:130 #: src/details_window.py:78
msgid "The title of the game" msgid "Add New Game"
msgstr "Назва гри" msgstr "Додати нову гру"
#: src/utils/create_details_window.py:135 #: src/details_window.py:79
msgid "Developer" msgid "Confirm"
msgstr "Розробник" msgstr "Підтвердити"
#: src/utils/create_details_window.py:136
msgid "The developer or publisher (optional)"
msgstr "Розробник або видавець (необов'язково)"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/utils/create_details_window.py:147 #: src/details_window.py:91
msgid "file.txt" msgid "file.txt"
msgstr "file.txt" msgstr "file.txt"
#. As in software #. As in software
#: src/utils/create_details_window.py:149 #: src/details_window.py:93
msgid "program" msgid "program"
msgstr "програма" msgstr "програма"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:154 #: src/details_window.py:98 src/details_window.py:100
#: src/utils/create_details_window.py:156
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\path\\to\\{}" msgstr "C:\\шлях\\до\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/utils/create_details_window.py:160 #: src/details_window.py:104 src/details_window.py:106
#: src/utils/create_details_window.py:162
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/path/to/{}" msgstr "/path/to/{}"
#: src/utils/create_details_window.py:166 #: src/details_window.py:111
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -532,83 +460,172 @@ msgstr ""
"\n" "\n"
"Якщо шлях містить пробіли, обов'язково візьміть його в подвійні лапки!" "Якщо шлях містить пробіли, обов'язково візьміть його в подвійні лапки!"
#: src/utils/create_details_window.py:189 #: src/details_window.py:146 src/details_window.py:152
msgid "Executable"
msgstr "Виконуваний"
#: src/utils/create_details_window.py:190
msgid "File to open or command to run when launching the game"
msgstr "Файл для відкриття або команда для запуску під час запуску гри"
#: src/utils/create_details_window.py:202
msgid "Cancel"
msgstr "Скасувати"
#: src/utils/create_details_window.py:259
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:275
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Не вдалося додати гру" msgstr "Не вдалося додати гру"
#: src/utils/create_details_window.py:261 #: src/details_window.py:146 src/details_window.py:181
#: src/utils/create_details_window.py:299
#: src/utils/create_details_window.py:307
msgid "Couldn't Apply Preferences"
msgstr "Не вдалося застосувати параметри"
#: src/utils/create_details_window.py:269
#: src/utils/create_details_window.py:300
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Назва гри не може бути порожньою." msgstr "Назва гри не може бути порожньою."
#: src/utils/create_details_window.py:275 #: src/details_window.py:152 src/details_window.py:189
#: src/utils/create_details_window.py:308
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Виконуваний файл не може бути порожнім." msgstr "Виконуваний файл не може бути порожнім."
#: src/details_window.py:180 src/details_window.py:188
msgid "Couldn't Apply Preferences"
msgstr "Не вдалося застосувати параметри"
#. The variable is the title of the game
#: src/game.py:141
msgid "{} launched"
msgstr "{} запущено"
#. The variable is the title of the game
#: src/game.py:154
msgid "{} hidden"
msgstr "{} приховано"
#: src/game.py:154
msgid "{} unhidden"
msgstr "{} показано"
#: src/game.py:171
msgid "{} removed"
msgstr "{} видалено"
#: src/preferences.py:102
msgid "All games removed"
msgstr "Всі ігри видалено"
#: src/preferences.py:149
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Для використання SteamGridDB потрібен ключ API. Ви можете згенерувати його {}"
"тут{}."
#: src/preferences.py:289
msgid "Set Location"
msgstr "Встановити місцезнаходження"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Відхилити" msgstr "Відхилити"
#: src/utils/importer.py:42 #: src/importer/sources/source.py:106
msgid "Importing Games…" msgid "Data"
msgstr "Імпорт ігор…" msgstr ""
#: src/utils/importer.py:77 #: src/importer/sources/source.py:107
msgid "Importing Covers…" msgid "Cache"
msgstr "Імпорт обкладинок…" msgstr ""
#: src/utils/importer.py:92 #: src/importer/sources/source.py:108
msgid "No new games were found on your system." #, fuzzy
msgstr "У вашій системі не знайдено жодної нової гри." #| msgid "Confirm"
msgid "Configuration"
msgstr "Підтвердити"
#: src/utils/importer.py:100 #. The variables are the type of location (eg. cache) and the source's name (eg. Steam)
msgid "Game Imported" #: src/importer/sources/source.py:119
msgstr "Ігру імпортовано" msgid "Invalid {} Location for {{}}"
msgstr ""
#: src/utils/importer.py:101 #: src/importer/sources/source.py:120
msgid "Successfully imported 1 game." msgid "Pick a new one or disable the source in preferences"
msgstr "Успішно імпортовано 1 гру." msgstr ""
#: src/utils/importer.py:107 #: src/store/managers/sgdb_manager.py:47
msgid "Games Imported" #, fuzzy
msgstr "Ігри імпортовано" #| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB"
#. The variable is the number of games
#: src/utils/importer.py:109
msgid "Successfully imported {} games."
msgstr "Успішно імпортовано {} ігор."
#: src/utils/importer.py:120 src/utils/steamgriddb.py:113
msgid "Couldn't Connect to SteamGridDB"
msgstr "Не вдалося підключитися до SteamGridDB" msgstr "Не вдалося підключитися до SteamGridDB"
#: src/utils/importer.py:145 #: src/store/managers/sgdb_manager.py:48
msgid "" msgid "Verify your API key in preferences"
"Looks like you have multiple Steam libraries. Would you like to add them in "
"preferences?"
msgstr "" msgstr ""
"Схоже, у вас є кілька бібліотек Steam. Бажаєте додати їх у налаштуваннях?"
#~ msgid "Steam Install Location"
#~ msgstr "Місце встановлення Steam"
#~ msgid "Lutris Install Location"
#~ msgstr "Місце встановлення Lutris"
#~ msgid "Heroic Install Location"
#~ msgstr "Місце встановлення Heroic"
#~ msgid "Bottles Install Location"
#~ msgstr "Місце встановлення Bottles"
#~ msgid "Today"
#~ msgstr "Сьогодні"
#~ msgid "Yesterday"
#~ msgstr "Вчора"
#~ msgid "Cache Not Found"
#~ msgstr "Кеш не знайдено"
#~ msgid "Select the Lutris cache directory."
#~ msgstr "Виберіть каталог кешу Lutris."
#~ msgid "Installation Not Found"
#~ msgstr "Встановлення не знайдено"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Виберіть каталог конфігурації {}."
#~ msgid "Select the {} data directory."
#~ msgstr "Виберіть каталог даних {}."
#~ msgid "Importing Games…"
#~ msgstr "Імпорт ігор…"
#~ msgid "Importing Covers…"
#~ msgstr "Імпорт обкладинок…"
#~ msgid "No new games found"
#~ msgstr "Нових ігор не знайдено"
#~ msgid "1 game imported"
#~ msgstr "1 гру імпортовано"
#~ msgid "{} games imported"
#~ msgstr "{} гри імпортовано"
#~ msgid "Directory to use when importing games"
#~ msgstr "Каталог для імпорту ігор"
#~ msgid "Extra Steam Libraries"
#~ msgstr "Додаткові бібліотеки Steam"
#~ msgid "Select other directories where you have Steam games installed"
#~ msgstr "Виберіть інші директорії, до яких інстальовано ігри Steam"
#~ msgid "Clear"
#~ msgstr "Очистити"
#~ msgid "Directory to use when importing game covers"
#~ msgstr "Каталог для імпорту обкладинок ігор"
#~ msgid "Details"
#~ msgstr "Деталі"
#~ msgid "No new games were found on your system."
#~ msgstr "У вашій системі не знайдено жодної нової гри."
#~ msgid "Successfully imported 1 game."
#~ msgstr "Успішно імпортовано 1 гру."
#~ msgid "Successfully imported {} games."
#~ msgstr "Успішно імпортовано {} ігор."
#~ msgid ""
#~ "Looks like you have multiple Steam libraries. Would you like to add them "
#~ "in preferences?"
#~ msgstr ""
#~ "Схоже, у вас є кілька бібліотек Steam. Бажаєте додати їх у налаштуваннях?"
#~ msgid "Launch your games" #~ msgid "Launch your games"
#~ msgstr "Запустіть свої ігри" #~ msgstr "Запустіть свої ігри"

1
src/__builtins__.pyi Normal file
View File

@@ -0,0 +1 @@
def _(_msg: str, /) -> str: ...

View File

View File

@@ -55,6 +55,6 @@ if __name__ == "__main__":
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 src import main
sys.exit(main.main(VERSION)) sys.exit(main.main(VERSION))

270
src/details_window.py Normal file
View File

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

View File

@@ -0,0 +1,28 @@
from threading import Lock
class ErrorProducer:
"""
A mixin for objects that produce errors.
Specifies the report_error and collect_errors methods in a thread-safe manner.
"""
errors: list[Exception] = None
errors_lock: Lock = None
def __init__(self) -> None:
self.errors = []
self.errors_lock = Lock()
def report_error(self, error: Exception):
"""Report an error"""
with self.errors_lock:
self.errors.append(error)
def collect_errors(self) -> list[Exception]:
"""Collect and remove the errors produced by the object"""
with self.errors_lock:
errors = self.errors.copy()
self.errors.clear()
return errors

View File

@@ -0,0 +1,47 @@
from typing import Iterable
class FriendlyError(Exception):
"""
An error that is supposed to be shown to the user in a nice format
Use `raise ... from ...` to preserve context.
"""
title_format: str
title_args: Iterable[str]
subtitle_format: str
subtitle_args: Iterable[str]
@property
def title(self) -> str:
"""Get the gettext translated error title"""
return self.title_format.format(self.title_args)
@property
def subtitle(self) -> str:
"""Get the gettext translated error subtitle"""
return self.subtitle_format.format(self.subtitle_args)
def __init__(
self,
title: str,
subtitle: str,
title_args: Iterable[str] = None,
subtitle_args: Iterable[str] = None,
) -> None:
"""Create a friendly error
:param str title: The error's title, translatable with gettext
:param str subtitle: The error's subtitle, translatable with gettext
"""
super().__init__()
if title is not None:
self.title_format = title
if subtitle is not None:
self.subtitle_format = subtitle
self.title_args = title_args if title_args else ()
self.subtitle_args = subtitle_args if subtitle_args else ()
def __str__(self) -> str:
return f"{self.title} - {self.subtitle}"

View File

@@ -17,23 +17,23 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import json import logging
import os import os
import shlex # pylint: disable=unused-import import shlex
import subprocess import subprocess
import sys from pathlib import Path
from time import time
from gi.repository import Gio, Gtk from gi.repository import Adw, GLib, GObject, Gtk
from .game_cover import GameCover from src import shared
from .save_game import save_game
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/game.ui") # pylint: disable=too-many-instance-attributes
@Gtk.Template(resource_path=shared.PREFIX + "/gtk/game.ui")
class Game(Gtk.Box): class Game(Gtk.Box):
__gtype_name__ = "Game" __gtype_name__ = "Game"
overlay = Gtk.Template.Child()
title = Gtk.Template.Child() title = Gtk.Template.Child()
play_button = Gtk.Template.Child() play_button = Gtk.Template.Child()
cover = Gtk.Template.Child() cover = Gtk.Template.Child()
@@ -41,131 +41,177 @@ class Game(Gtk.Box):
cover_button = Gtk.Template.Child() cover_button = Gtk.Template.Child()
menu_button = Gtk.Template.Child() menu_button = Gtk.Template.Child()
play_revealer = Gtk.Template.Child() play_revealer = Gtk.Template.Child()
title_revealer = Gtk.Template.Child() menu_revealer = Gtk.Template.Child()
game_options = Gtk.Template.Child() game_options = Gtk.Template.Child()
hidden_game_options = Gtk.Template.Child() hidden_game_options = Gtk.Template.Child()
def __init__(self, win, data, **kwargs): loading = 0
filtered = False
added = None
executable = None
game_id = None
source = None
hidden = False
last_played = 0
name = None
developer = None
removed = False
blacklisted = False
game_cover = None
version = 0
def __init__(self, data, **kwargs):
super().__init__(**kwargs) super().__init__(**kwargs)
self.win = win self.win = shared.win
self.added = data["added"] self.app = self.win.get_application()
self.executable = data["executable"] self.version = shared.SPEC_VERSION
self.game_id = data["game_id"]
self.hidden = data["hidden"]
self.last_played = data["last_played"]
self.name = data["name"]
self.developer = data["developer"] if "developer" in data else None
self.removed = "removed" in data
self.blacklisted = "blacklisted" in data
self.loading = 0 self.update_values(data)
self.title.set_label(self.name)
if self.game_id in self.win.game_covers: self.set_play_icon()
self.win.game_covers[self.game_id].add_picture(self.cover)
else:
game_cover = GameCover({self.cover}, self.get_cover_path())
self.win.game_covers[self.game_id] = game_cover
self.event_contoller_motion = Gtk.EventControllerMotion.new() self.event_contoller_motion = Gtk.EventControllerMotion.new()
self.add_controller(self.event_contoller_motion) self.add_controller(self.event_contoller_motion)
self.overlay.set_measure_overlay(self.play_revealer, True) self.event_contoller_motion.connect("enter", self.toggle_play, False)
self.event_contoller_motion.connect("leave", self.toggle_play, None, None)
self.cover_button.connect("clicked", self.main_button_clicked, False)
self.play_button.connect("clicked", self.main_button_clicked, True)
self.set_play_label() shared.schema.connect("changed", self.schema_changed)
self.cover_button.connect("clicked", self.cover_button_clicked) def update_values(self, data):
self.play_button.connect("clicked", self.play_button_clicked) for key, value in data.items():
# Convert executables to strings
if key == "executable" and isinstance(value, list):
value = shlex.join(value)
setattr(self, key, value)
self.event_contoller_motion.connect("enter", self.show_play) def update(self):
self.event_contoller_motion.connect("leave", self.hide_play) self.emit("update-ready", {})
self.win.schema.connect("changed", self.schema_changed) def save(self):
self.emit("save-ready", {})
if self.hidden: def create_toast(self, title, action=None):
self.menu_button.set_menu_model(self.hidden_game_options) toast = Adw.Toast.new(title.format(self.name))
else: toast.set_priority(Adw.ToastPriority.HIGH)
self.menu_button.set_menu_model(self.game_options)
self.menu_button.get_popover().connect("notify::visible", self.hide_play) if action:
toast.set_button_label(_("Undo"))
toast.connect("button-clicked", self.win.on_undo_action, self, action)
if (self, action) in self.win.toasts.keys():
# Dismiss the toast if there already is one
self.win.toasts[(self, action)].dismiss()
self.win.toasts[(self, action)] = toast
self.win.toast_overlay.add_toast(toast)
def launch(self): def launch(self):
# Generate launch arguments, either list (no shell) or a string (for shell). self.last_played = int(time())
self.save()
self.update()
args = ( args = (
["flatpak-spawn", "--host", *self.executable] # Flatpak "flatpak-spawn --host /bin/sh -c " + shlex.quote(self.executable) # Flatpak
if os.getenv("FLATPAK_ID") == "hu.kramo.Cartridges" if os.getenv("FLATPAK_ID") == shared.APP_ID
else shlex.join( else self.executable # Others
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. logging.info("Starting %s: %s", self.name, str(args))
# pylint: disable=consider-using-with
subprocess.Popen( subprocess.Popen(
args, args,
shell=isinstance(args, str), cwd=Path.home(),
shell=True,
start_new_session=True, start_new_session=True,
creationflags=subprocess.CREATE_NEW_PROCESS_GROUP if os.name == "nt" else 0, creationflags=subprocess.CREATE_NEW_PROCESS_GROUP if os.name == "nt" else 0,
) )
if Gio.Settings.new("hu.kramo.Cartridges").get_boolean("exit-after-launch"):
sys.exit()
def toggle_hidden(self): if shared.schema.get_boolean("exit-after-launch"):
data = json.loads( self.app.quit()
(self.win.games_dir / f"{self.game_id}.json").read_text("utf-8")
# The variable is the title of the game
self.create_toast(_("{} launched"))
def toggle_hidden(self, toast=True):
self.hidden = not self.hidden
self.save()
self.update()
if self.win.stack.get_visible_child() == self.win.details_view:
self.win.on_go_back_action()
if toast:
self.create_toast(
# The variable is the title of the game
(_("{} hidden") if self.hidden else _("{} unhidden")).format(
GLib.markup_escape_text(self.name)
),
"hide",
)
def remove_game(self):
# Add "removed=True" to the game properties so it can be deleted on next init
self.removed = True
self.save()
self.update()
if self.win.stack.get_visible_child() == self.win.details_view:
self.win.on_go_back_action()
# The variable is the title of the game
self.create_toast(
_("{} removed").format(GLib.markup_escape_text(self.name)), "remove"
) )
data["hidden"] = not data["hidden"]
save_game(self.win, data)
def get_cover_path(self):
cover_path = self.win.covers_dir / f"{self.game_id}.gif"
if cover_path.is_file():
return cover_path
cover_path = self.win.covers_dir / f"{self.game_id}.tiff"
if cover_path.is_file():
return cover_path
def show_play(self, _widget, *_unused):
self.play_revealer.set_reveal_child(True)
self.title_revealer.set_reveal_child(False)
def hide_play(self, _widget, *_unused):
if not self.menu_button.get_active():
self.play_revealer.set_reveal_child(False)
self.title_revealer.set_reveal_child(True)
def launch_game(self, _widget, *_unused):
self.win.set_active_game(None, None, self.game_id)
self.win.get_application().on_launch_game_action(None)
def cover_button_clicked(self, _widget):
if self.win.schema.get_boolean("cover-launches-game"):
self.launch_game(None)
else:
self.win.show_details_view(None, self.game_id)
def play_button_clicked(self, _widget):
if self.win.schema.get_boolean("cover-launches-game"):
self.win.show_details_view(None, self.game_id)
else:
self.launch_game(None)
def set_play_label(self):
if self.win.schema.get_boolean("cover-launches-game"):
self.play_button.set_label(_("Details"))
else:
self.play_button.set_label(_("Play"))
def schema_changed(self, _settings, key):
if key == "cover-launches-game":
self.set_play_label()
def set_loading(self, state): def set_loading(self, state):
self.loading += state self.loading += state
loading = self.loading > 0 loading = self.loading > 0
self.cover.set_opacity(int(not loading)) self.cover.set_opacity(int(not loading))
self.spinner.set_spinning(loading) self.spinner.set_spinning(loading)
def get_cover_path(self):
cover_path = shared.covers_dir / f"{self.game_id}.gif"
if cover_path.is_file():
return cover_path
cover_path = shared.covers_dir / f"{self.game_id}.tiff"
if cover_path.is_file():
return cover_path
return None
def toggle_play(self, _widget, _prop1, _prop2, state=True):
if not self.menu_button.get_active():
self.play_revealer.set_reveal_child(not state)
self.menu_revealer.set_reveal_child(not state)
def main_button_clicked(self, _widget, button):
if shared.schema.get_boolean("cover-launches-game") ^ button:
self.launch()
else:
self.win.show_details_view(self)
def set_play_icon(self):
self.play_button.set_icon_name(
"help-about-symbolic"
if shared.schema.get_boolean("cover-launches-game")
else "media-playback-start-symbolic"
)
def schema_changed(self, _settings, key):
if key == "cover-launches-game":
self.set_play_icon()
@GObject.Signal(name="update-ready", arg_types=[object])
def update_ready(self, _additional_data) -> None:
"""Signal emitted when the game needs updating"""
@GObject.Signal(name="save-ready", arg_types=[object])
def save_ready(self, _additional_data) -> None:
"""Signal emitted when the game needs saving"""

View File

@@ -17,62 +17,99 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
from gi.repository import GdkPixbuf, Gio, GLib from gi.repository import Gdk, GdkPixbuf, Gio, GLib
from PIL import Image, ImageFilter, ImageStat
from src import shared
class GameCover: class GameCover:
pixbuf = None texture = None
blurred = None
luminance = None
path = None path = None
animation = None animation = None
anim_iter = None anim_iter = None
placeholder_pixbuf = GdkPixbuf.Pixbuf.new_from_resource_at_scale( placeholder = Gdk.Texture.new_from_resource(
"/hu/kramo/Cartridges/library_placeholder.svg", 400, 600, False shared.PREFIX + "/library_placeholder.svg"
)
placeholder_small = Gdk.Texture.new_from_resource(
shared.PREFIX + "/library_placeholder_small.svg"
) )
def __init__(self, pictures, path=None): def __init__(self, pictures, path=None):
self.pictures = pictures self.pictures = pictures
self.new_pixbuf(path) self.new_cover(path)
# 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(self, path): def create_func(self, path):
self.animation = GdkPixbuf.PixbufAnimation.new_from_file(str(path)) self.animation = GdkPixbuf.PixbufAnimation.new_from_file(str(path))
self.anim_iter = self.animation.get_iter() self.anim_iter = self.animation.get_iter()
def wrapper(task, *_unused): def wrapper(task, *_args):
self.update_animation((task, self.animation)) self.update_animation((task, self.animation))
return wrapper return wrapper
def new_pixbuf(self, path=None): def new_cover(self, path=None):
self.animation = None self.animation = None
self.pixbuf = None self.texture = None
self.blurred = None
self.luminance = None
self.path = path self.path = path
if path: if path:
if str(path).rsplit(".", maxsplit=1)[-1] == "gif": if path.suffix == ".gif":
task = Gio.Task.new() task = Gio.Task.new()
task.run_in_thread(self.create_func(self.path)) task.run_in_thread(self.create_func(self.path))
else: else:
self.pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale( self.texture = Gdk.Texture.new_from_filename(str(path))
str(path), 200, 300, False
)
if not self.animation: if not self.animation:
self.set_pixbuf(self.pixbuf) self.set_texture(self.texture)
def get_pixbuf(self): def get_texture(self):
return self.animation.get_static_image() if self.animation else self.pixbuf return (
Gdk.Texture.new_for_pixbuf(self.animation.get_static_image())
if self.animation
else self.texture
)
def get_animation(self): def get_blurred(self):
return self.path if self.animation else None if not self.blurred:
if self.path:
with Image.open(self.path) as image:
image = (
image.convert("RGB")
.resize((100, 150))
.filter(ImageFilter.GaussianBlur(20))
)
tmp_path = Gio.File.new_tmp(None)[0].get_path()
image.save(tmp_path, "tiff", compression=None)
self.blurred = Gdk.Texture.new_from_filename(tmp_path)
stat = ImageStat.Stat(image.convert("L"))
# Luminance values for light and dark mode
self.luminance = [
min((stat.mean[0] + stat.extrema[0][0]) / 510, 0.7),
max((stat.mean[0] + stat.extrema[0][1]) / 510, 0.3),
]
else:
self.blurred = self.placeholder_small
self.luminance = (0.3, 0.5)
return self.blurred
def add_picture(self, picture): def add_picture(self, picture):
self.pictures.add(picture) self.pictures.add(picture)
if not self.animation: if not self.animation:
self.set_pixbuf(self.pixbuf) self.set_texture(self.texture)
def set_pixbuf(self, pixbuf): def set_texture(self, texture):
self.pictures.discard( self.pictures.discard(
picture for picture in self.pictures if not picture.is_visible() picture for picture in self.pictures if not picture.is_visible()
) )
@@ -80,15 +117,13 @@ class GameCover:
self.animation = None self.animation = None
else: else:
for picture in self.pictures: for picture in self.pictures:
if not pixbuf: picture.set_paintable(texture or self.placeholder)
pixbuf = self.placeholder_pixbuf
picture.set_pixbuf(pixbuf)
def update_animation(self, data): def update_animation(self, data):
if self.animation == data[1]: if self.animation == data[1]:
self.anim_iter.advance() self.anim_iter.advance()
self.set_pixbuf(self.anim_iter.get_pixbuf()) self.set_texture(Gdk.Texture.new_for_pixbuf(self.anim_iter.get_pixbuf()))
delay_time = self.anim_iter.get_delay_time() delay_time = self.anim_iter.get_delay_time()
GLib.timeout_add( GLib.timeout_add(

319
src/importer/importer.py Normal file
View File

@@ -0,0 +1,319 @@
# importer.py
#
# Copyright 2022-2023 kramo
# Copyright 2023 Geoffrey Coulaud
#
# 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 logging
from gi.repository import Adw, GLib, Gtk
from src import shared
from src.errors.error_producer import ErrorProducer
from src.errors.friendly_error import FriendlyError
from src.game import Game
from src.importer.sources.location import UnresolvableLocationError
from src.importer.sources.source import Source
from src.store.managers.async_manager import AsyncManager
from src.store.pipeline import Pipeline
from src.utils.task import Task
# pylint: disable=too-many-instance-attributes
class Importer(ErrorProducer):
"""A class in charge of scanning sources for games"""
progressbar = None
import_statuspage = None
import_dialog = None
summary_toast = None
sources: set[Source] = None
n_source_tasks_created: int = 0
n_source_tasks_done: int = 0
n_pipelines_done: int = 0
game_pipelines: set[Pipeline] = None
def __init__(self):
super().__init__()
self.game_pipelines = set()
self.sources = set()
@property
def n_games_added(self):
return sum(
1 if not (pipeline.game.blacklisted or pipeline.game.removed) else 0
for pipeline in self.game_pipelines
)
@property
def pipelines_progress(self):
progress = sum(pipeline.progress for pipeline in self.game_pipelines)
try:
progress = progress / len(self.game_pipelines)
except ZeroDivisionError:
progress = 0
return progress
@property
def sources_progress(self):
try:
progress = self.n_source_tasks_done / self.n_source_tasks_created
except ZeroDivisionError:
progress = 0
return progress
@property
def finished(self):
return (
self.n_source_tasks_created == self.n_source_tasks_done
and len(self.game_pipelines) == self.n_pipelines_done
)
def add_source(self, source):
self.sources.add(source)
def run(self):
"""Use several Gio.Task to import games from added sources"""
self.create_dialog()
# Collect all errors and reset the cancellables for the managers
# - Only one importer exists at any given time
# - Every import starts fresh
self.collect_errors()
for manager in shared.store.managers.values():
manager.collect_errors()
if isinstance(manager, AsyncManager):
manager.reset_cancellable()
for source in self.sources:
logging.debug("Importing games from source %s", source.id)
task = Task.new(None, None, self.source_callback, (source,))
self.n_source_tasks_created += 1
task.set_task_data((source,))
task.run_in_thread(self.source_task_thread_func)
self.progress_changed_callback()
def create_dialog(self):
"""Create the import dialog"""
self.progressbar = Gtk.ProgressBar(margin_start=12, margin_end=12)
self.import_statuspage = Adw.StatusPage(
title=_("Importing Games…"),
child=self.progressbar,
)
self.import_dialog = Adw.Window(
content=self.import_statuspage,
modal=True,
default_width=350,
default_height=-1,
transient_for=shared.win,
deletable=False,
)
self.import_dialog.present()
def source_task_thread_func(self, _task, _obj, data, _cancellable):
"""Source import task code"""
source: Source
source, *_rest = data
# Early exit if not available or not installed
if not source.is_available:
logging.info("Source %s skipped, not available", source.id)
return
try:
iterator = iter(source)
except UnresolvableLocationError:
logging.info("Source %s skipped, bad location", source.id)
return
# Get games from source
logging.info("Scanning source %s", source.id)
while True:
# Handle exceptions raised when iterating
try:
iteration_result = next(iterator)
except StopIteration:
break
except Exception as error: # pylint: disable=broad-exception-caught
logging.exception("%s in %s", type(error).__name__, source.id)
self.report_error(error)
continue
# Handle the result depending on its type
if isinstance(iteration_result, Game):
game = iteration_result
additional_data = {}
elif isinstance(iteration_result, tuple):
game, additional_data = iteration_result
elif iteration_result is None:
continue
else:
# Warn source implementers that an invalid type was produced
# Should not happen on production code
logging.warning(
"%s produced an invalid iteration return type %s",
source.id,
type(iteration_result),
)
continue
# Register game
pipeline: Pipeline = shared.store.add_game(game, additional_data)
if pipeline is not None:
logging.info("Imported %s (%s)", game.name, game.game_id)
pipeline.connect("advanced", self.pipeline_advanced_callback)
self.game_pipelines.add(pipeline)
def update_progressbar(self):
"""Update the progressbar to show the overall import progress"""
# Reserve 10% for the sources discovery, the rest is the pipelines
self.progressbar.set_fraction(
(0.1 * self.sources_progress) + (0.9 * self.pipelines_progress)
)
def source_callback(self, _obj, _result, data):
"""Callback executed when a source is fully scanned"""
source, *_rest = data
logging.debug("Import done for source %s", source.id)
self.n_source_tasks_done += 1
self.progress_changed_callback()
def pipeline_advanced_callback(self, pipeline: Pipeline):
"""Callback called when a pipeline for a game has advanced"""
if pipeline.is_done:
self.n_pipelines_done += 1
self.progress_changed_callback()
def progress_changed_callback(self):
"""
Callback called when the import process has progressed
Triggered when:
* All sources have been started
* A source finishes
* A pipeline finishes
"""
self.update_progressbar()
if self.finished:
self.import_callback()
def import_callback(self):
"""Callback called when importing has finished"""
logging.info("Import done")
self.import_dialog.close()
self.summary_toast = self.create_summary_toast()
self.create_error_dialog()
def create_error_dialog(self):
"""Dialog containing all errors raised by importers"""
# Collect all errors that happened in the importer and the managers
errors: list[Exception] = []
errors.extend(self.collect_errors())
for manager in shared.store.managers.values():
errors.extend(manager.collect_errors())
# Filter out non friendly errors
errors = set(
tuple(
(error.title, error.subtitle)
for error in (
filter(lambda error: isinstance(error, FriendlyError), errors)
)
)
)
# No error to display
if not errors:
self.timeout_toast()
return
# Create error dialog
dialog = Adw.MessageDialog()
dialog.set_heading(_("Warning"))
dialog.add_response("close", _("Dismiss"))
dialog.add_response("open_preferences_import", _("Preferences"))
dialog.set_default_response("open_preferences_import")
dialog.connect("response", self.dialog_response_callback)
dialog.set_transient_for(shared.win)
if len(errors) == 1:
dialog.set_heading((error := next(iter(errors)))[0])
dialog.set_body(error[1])
else:
# Display the errors in a list
list_box = Gtk.ListBox()
list_box.set_selection_mode(Gtk.SelectionMode.NONE)
list_box.set_css_classes(["boxed-list"])
list_box.set_margin_top(8)
for error in errors:
row = Adw.ActionRow.new()
row.set_title(error[0])
row.set_subtitle(error[1])
list_box.append(row)
dialog.set_body(_("The following errors occured during import:"))
dialog.set_extra_child(list_box)
dialog.present()
def create_summary_toast(self):
"""N games imported toast"""
toast = Adw.Toast(timeout=0, priority=Adw.ToastPriority.HIGH)
if self.n_games_added == 0:
toast.set_title(_("No new games found"))
toast.set_button_label(_("Preferences"))
toast.connect(
"button-clicked",
self.dialog_response_callback,
"open_preferences",
"import",
)
elif self.n_games_added == 1:
toast.set_title(_("1 game imported"))
elif self.n_games_added > 1:
# The variable is the number of games
toast.set_title(_("{} games imported").format(self.n_games_added))
shared.win.toast_overlay.add_toast(toast)
return toast
def open_preferences(self, page=None, expander_row=None):
return shared.win.get_application().on_preferences_action(
page_name=page, expander_row=expander_row
)
def timeout_toast(self, *_args):
"""Manually timeout the toast after the user has dismissed all warnings"""
GLib.timeout_add_seconds(5, self.summary_toast.dismiss)
def dialog_response_callback(self, _widget, response, *args):
"""Handle after-import dialogs callback"""
logging.debug("After-import dialog response: %s (%s)", response, str(args))
if response == "open_preferences":
self.open_preferences(*args)
elif response == "open_preferences_import":
self.open_preferences(*args).connect("close-request", self.timeout_toast)
else:
self.timeout_toast()

View File

@@ -0,0 +1,101 @@
# bottles_source.py
#
# Copyright 2022-2023 kramo
# Copyright 2023 Geoffrey Coulaud
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
from pathlib import Path
from time import time
import yaml
from src import shared
from src.game import Game
from src.importer.sources.location import Location
from src.importer.sources.source import (
SourceIterationResult,
SourceIterator,
URLExecutableSource,
)
class BottlesSourceIterator(SourceIterator):
source: "BottlesSource"
def generator_builder(self) -> SourceIterationResult:
"""Generator method producing games"""
data = self.source.data_location["library.yml"].read_text("utf-8")
library: dict = yaml.safe_load(data)
added_time = int(time())
for entry in library.values():
# Build game
values = {
"source": self.source.id,
"added": added_time,
"name": entry["name"],
"game_id": self.source.game_id_format.format(game_id=entry["id"]),
"executable": self.source.executable_format.format(
bottle_name=entry["bottle"]["name"], game_name=entry["name"]
),
}
game = Game(values)
# Get official cover path
try:
# This will not work if both Cartridges and Bottles are installed via Flatpak
# as Cartridges can't access directories picked via Bottles' file picker portal
bottles_location = Path(
yaml.safe_load(
self.source.data_location["data.yml"].read_text("utf-8")
)["custom_bottles_path"]
)
except (FileNotFoundError, KeyError):
bottles_location = self.source.data_location.root / "bottles"
bottle_path = entry["bottle"]["path"]
additional_data = {}
if entry["thumbnail"]:
image_name = entry["thumbnail"].split(":")[1]
image_path = bottles_location / bottle_path / "grids" / image_name
additional_data = {"local_image_path": image_path}
# Produce game
yield (game, additional_data)
class BottlesSource(URLExecutableSource):
"""Generic Bottles source"""
name = "Bottles"
iterator_class = BottlesSourceIterator
url_format = 'bottles:run/"{bottle_name}"/"{game_name}"'
available_on = set(("linux",))
data_location = Location(
schema_key="bottles-location",
candidates=(
"~/.var/app/com.usebottles.bottles/data/bottles/",
shared.data_dir / "bottles/",
),
paths={
"library.yml": (False, "library.yml"),
"data.yml": (False, "data.yml"),
},
)

View File

@@ -0,0 +1,134 @@
# flatpak_source.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
import re
from pathlib import Path
from time import time
import subprocess
from xdg import IconTheme
from src import shared
from src.game import Game
from src.importer.sources.location import Location
from src.importer.sources.source import Source, SourceIterationResult, SourceIterator
class FlatpakSourceIterator(SourceIterator):
source: "FlatpakSource"
def generator_builder(self) -> SourceIterationResult:
"""Generator method producing games"""
added_time = int(time())
IconTheme.icondirs.append(self.source.data_location["icons"])
try:
process = subprocess.run(
("flatpak-spawn", "--host", "flatpak", "list", "--columns=application"),
capture_output=True,
encoding="utf-8",
check=True,
)
flatpak_ids = process.stdout.split("\n")
to_remove = (
{"hu.kramo.Cartridges"}
if shared.schema.get_boolean("flatpak-import-launchers")
else {
"hu.kramo.Cartridges",
"com.valvesoftware.Steam",
"net.lutris.Lutris",
"com.heroicgameslauncher.hgl",
"com.usebottles.Bottles",
"io.itch.itch",
}
)
for item in to_remove:
if item in flatpak_ids:
flatpak_ids.remove(item)
except subprocess.CalledProcessError:
return
for entry in (self.source.data_location["applications"]).iterdir():
flatpak_id = entry.stem
if flatpak_id not in flatpak_ids:
continue
with entry.open("r", encoding="utf-8") as open_file:
string = open_file.read()
desktop_values = {"Name": None, "Icon": None, "Categories": None}
for key in desktop_values:
if regex := re.findall(f"{key}=(.*)\n", string):
desktop_values[key] = regex[0]
if not desktop_values["Name"]:
continue
if not desktop_values["Categories"]:
continue
if not "Game" in desktop_values["Categories"].split(";"):
continue
values = {
"source": self.source.id,
"added": added_time,
"name": desktop_values["Name"],
"game_id": self.source.game_id_format.format(game_id=flatpak_id),
"executable": self.source.executable_format.format(
flatpak_id=flatpak_id
),
}
game = Game(values)
additional_data = {}
if icon_name := desktop_values["Icon"]:
if icon_path := IconTheme.getIconPath(icon_name, 512):
additional_data = {"local_icon_path": Path(icon_path)}
else:
pass
# Produce game
yield (game, additional_data)
class FlatpakSource(Source):
"""Generic Flatpak source"""
name = "Flatpak"
iterator_class = FlatpakSourceIterator
executable_format = "flatpak run {flatpak_id}"
available_on = set(("linux",))
data_location = Location(
schema_key="flatpak-location",
candidates=(
"/var/lib/flatpak/exports/",
shared.data_dir / "flatpak" / "exports",
),
paths={
"applications": (True, "share/applications"),
"icons": (True, "share/icons"),
},
)

View File

@@ -0,0 +1,157 @@
# heroic_source.py
#
# Copyright 2022-2023 kramo
# Copyright 2023 Geoffrey Coulaud
#
# 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 logging
from hashlib import sha256
from json import JSONDecodeError
from time import time
from typing import Optional, TypedDict
from src import shared
from src.game import Game
from src.importer.sources.location import Location
from src.importer.sources.source import (
URLExecutableSource,
SourceIterationResult,
SourceIterator,
)
class HeroicLibraryEntry(TypedDict):
app_name: str
installed: Optional[bool]
runner: str
title: str
developer: str
art_square: str
class HeroicSubSource(TypedDict):
service: str
path: tuple[str]
class HeroicSourceIterator(SourceIterator):
source: "HeroicSource"
sub_sources: dict[str, HeroicSubSource] = {
"sideload": {
"service": "sideload",
"path": ("sideload_apps", "library.json"),
},
"legendary": {
"service": "epic",
"path": ("store_cache", "legendary_library.json"),
},
"gog": {
"service": "gog",
"path": ("store_cache", "gog_library.json"),
},
}
def game_from_library_entry(
self, entry: HeroicLibraryEntry, added_time: int
) -> SourceIterationResult:
"""Helper method used to build a Game from a Heroic library entry"""
# Skip games that are not installed
if not entry["is_installed"]:
return None
# Build game
app_name = entry["app_name"]
runner = entry["runner"]
service = self.sub_sources[runner]["service"]
values = {
"source": self.source.id,
"added": added_time,
"name": entry["title"],
"developer": entry["developer"],
"game_id": self.source.game_id_format.format(
service=service, game_id=app_name
),
"executable": self.source.executable_format.format(app_name=app_name),
}
game = Game(values)
# Get the image path from the heroic cache
# Filenames are derived from the URL that heroic used to get the file
uri: str = entry["art_square"]
if service == "epic":
uri += "?h=400&resize=1&w=300"
digest = sha256(uri.encode()).hexdigest()
image_path = self.source.config_location.root / "images-cache" / digest
additional_data = {"local_image_path": image_path}
return (game, additional_data)
def generator_builder(self) -> SourceIterationResult:
"""Generator method producing games from all the Heroic sub-sources"""
for sub_source in self.sub_sources.values():
# Skip disabled sub-sources
if not shared.schema.get_boolean("heroic-import-" + sub_source["service"]):
continue
# Load games from JSON
file = self.source.config_location.root.joinpath(*sub_source["path"])
try:
library = json.load(file.open())["library"]
except (JSONDecodeError, OSError, KeyError):
# Invalid library.json file, skip it
logging.warning("Couldn't open Heroic file: %s", str(file))
continue
added_time = int(time())
for entry in library:
try:
result = self.game_from_library_entry(entry, added_time)
except KeyError:
# Skip invalid games
logging.warning("Invalid Heroic game skipped in %s", str(file))
continue
yield result
class HeroicSource(URLExecutableSource):
"""Generic Heroic Games Launcher source"""
name = "Heroic"
iterator_class = HeroicSourceIterator
url_format = "heroic://launch/{app_name}"
available_on = set(("linux", "win32"))
config_location = Location(
schema_key="heroic-location",
candidates=(
"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/",
shared.config_dir / "heroic",
shared.appdata_dir / "heroic",
),
paths={
"config.json": (False, "config.json"),
},
)
@property
def game_id_format(self) -> str:
"""The string format used to construct game IDs"""
return self.name.lower() + "_{service}_{game_id}"

View File

@@ -0,0 +1,95 @@
# itch_source.py
#
# Copyright 2022-2023 kramo
# Copyright 2023 Geoffrey Coulaud
#
# 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 shutil import rmtree
from sqlite3 import connect
from time import time
from src import shared
from src.game import Game
from src.importer.sources.location import Location
from src.importer.sources.source import (
SourceIterationResult,
SourceIterator,
URLExecutableSource,
)
from src.utils.sqlite import copy_db
class ItchSourceIterator(SourceIterator):
source: "ItchSource"
def generator_builder(self) -> SourceIterationResult:
"""Generator method producing games"""
# Query the database
db_request = """
SELECT
games.id,
games.title,
games.cover_url,
games.still_cover_url,
caves.id
FROM
'caves'
INNER JOIN
'games'
ON
caves.game_id = games.id
;
"""
db_path = copy_db(self.source.config_location["butler.db"])
connection = connect(db_path)
cursor = connection.execute(db_request)
added_time = int(time())
# Create games from the db results
for row in cursor:
values = {
"added": added_time,
"source": self.source.id,
"name": row[1],
"game_id": self.source.game_id_format.format(game_id=row[0]),
"executable": self.source.executable_format.format(cave_id=row[4]),
}
additional_data = {"online_cover_url": row[3] or row[2]}
game = Game(values)
yield (game, additional_data)
# Cleanup
rmtree(str(db_path.parent))
class ItchSource(URLExecutableSource):
name = "Itch"
iterator_class = ItchSourceIterator
url_format = "itch://caves/{cave_id}/launch"
available_on = set(("linux", "win32"))
config_location = Location(
schema_key="itch-location",
candidates=(
"~/.var/app/io.itch.itch/config/itch/",
shared.config_dir / "itch",
shared.appdata_dir / "itch",
),
paths={"butler.db": (False, "db/butler.db")},
)

View File

@@ -0,0 +1,105 @@
# legendary_source.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 logging
from json import JSONDecodeError
from time import time
from typing import Generator
from src import shared
from src.game import Game
from src.importer.sources.location import Location
from src.importer.sources.source import Source, SourceIterationResult, SourceIterator
class LegendarySourceIterator(SourceIterator):
source: "LegendarySource"
def game_from_library_entry(
self, entry: dict, added_time: int
) -> SourceIterationResult:
# Skip non-games
if entry["is_dlc"]:
return None
# Build game
app_name = entry["app_name"]
values = {
"added": added_time,
"source": self.source.id,
"name": entry["title"],
"game_id": self.source.game_id_format.format(game_id=app_name),
"executable": self.source.executable_format.format(app_name=app_name),
}
data = {}
# Get additional metadata from file (optional)
metadata_file = self.source.data_location["metadata"] / f"{app_name}.json"
try:
metadata = json.load(metadata_file.open())
values["developer"] = metadata["metadata"]["developer"]
for image_entry in metadata["metadata"]["keyImages"]:
if image_entry["type"] == "DieselGameBoxTall":
data["online_cover_url"] = image_entry["url"]
break
except (JSONDecodeError, OSError, KeyError):
pass
game = Game(values)
return (game, data)
def generator_builder(self) -> Generator[SourceIterationResult, None, None]:
# Open library
file = self.source.data_location["installed.json"]
try:
library: dict = json.load(file.open())
except (JSONDecodeError, OSError):
logging.warning("Couldn't open Legendary file: %s", str(file))
return
added_time = int(time())
# Generate games from library
for entry in library.values():
try:
result = self.game_from_library_entry(entry, added_time)
except KeyError as error:
# Skip invalid games
logging.warning(
"Invalid Legendary game skipped in %s", str(file), exc_info=error
)
continue
yield result
class LegendarySource(Source):
name = "Legendary"
executable_format = "legendary launch {app_name}"
available_on = set(("linux", "win32"))
iterator_class = LegendarySourceIterator
data_location: Location = Location(
schema_key="legendary-location",
candidates=(shared.config_dir / "legendary",),
paths={
"installed.json": (False, "installed.json"),
"metadata": (True, "metadata"),
},
)

View File

@@ -0,0 +1,84 @@
import logging
from pathlib import Path
from typing import Callable, Mapping, Iterable
from os import PathLike
from src import shared
PathSegment = str | PathLike | Path
PathSegments = Iterable[PathSegment]
Candidate = PathSegments | Callable[[], PathSegments]
class UnresolvableLocationError(Exception):
pass
class Location:
"""
Class representing a filesystem location
* A location may have multiple candidate roots
* The path in the schema is always favored
* From the candidate root, multiple subpaths should exist for it to be valid
* When resolved, the schema is updated with the picked chosen
"""
schema_key: str
candidates: Iterable[Candidate]
paths: Mapping[str, tuple[bool, PathSegments]]
root: Path = None
def __init__(
self,
schema_key: str,
candidates: Iterable[Candidate],
paths: Mapping[str, tuple[bool, PathSegments]],
) -> None:
super().__init__()
self.schema_key = schema_key
self.candidates = candidates
self.paths = paths
def check_candidate(self, candidate: Path) -> bool:
"""Check if a candidate root has the necessary files and directories"""
for type_is_dir, subpath in self.paths.values():
subpath = Path(candidate) / Path(subpath)
if type_is_dir:
if not subpath.is_dir():
return False
else:
if not subpath.is_file():
return False
return True
def resolve(self) -> None:
"""Choose a root path from the candidates for the location.
If none fits, raise a UnresolvableLocationError"""
if self.root is not None:
return
# Get the schema candidate
schema_candidate = shared.schema.get_string(self.schema_key)
# Find the first matching candidate
for candidate in (schema_candidate, *self.candidates):
candidate = Path(candidate).expanduser()
if not self.check_candidate(candidate):
continue
self.root = candidate
break
else:
# No good candidate found
raise UnresolvableLocationError()
# Update the schema with the found candidate
value = str(candidate)
shared.schema.set_string(self.schema_key, value)
logging.debug("Resolved value for schema key %s: %s", self.schema_key, value)
def __getitem__(self, key: str):
"""Get the computed path from its key for the location"""
self.resolve()
return self.root / self.paths[key][1]

View File

@@ -0,0 +1,124 @@
# lutris_source.py
#
# Copyright 2022-2023 kramo
# Copyright 2023 Geoffrey Coulaud
#
# 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 shutil import rmtree
from sqlite3 import connect
from time import time
from src import shared
from src.game import Game
from src.importer.sources.location import Location
from src.importer.sources.source import (
SourceIterationResult,
SourceIterator,
URLExecutableSource,
)
from src.utils.sqlite import copy_db
class LutrisSourceIterator(SourceIterator):
source: "LutrisSource"
def generator_builder(self) -> SourceIterationResult:
"""Generator method producing games"""
# Query the database
request = """
SELECT id, name, slug, runner, hidden
FROM 'games'
WHERE
name IS NOT NULL
AND slug IS NOT NULL
AND configPath IS NOT NULL
AND installed
AND (runner IS NOT "steam" OR :import_steam)
AND (runner IS NOT "flatpak" OR :import_flatpak)
;
"""
params = {
"import_steam": shared.schema.get_boolean("lutris-import-steam"),
"import_flatpak": shared.schema.get_boolean("lutris-import-flatpak"),
}
db_path = copy_db(self.source.data_location["pga.db"])
connection = connect(db_path)
cursor = connection.execute(request, params)
added_time = int(time())
# Create games from the DB results
for row in cursor:
# Create game
values = {
"added": added_time,
"hidden": row[4],
"name": row[1],
"source": f"{self.source.id}_{row[3]}",
"game_id": self.source.game_id_format.format(
game_id=row[2], game_internal_id=row[0]
),
"executable": self.source.executable_format.format(game_id=row[2]),
}
game = Game(values)
# Get official image path
image_path = self.source.cache_location["coverart"] / f"{row[2]}.jpg"
additional_data = {"local_image_path": image_path}
# Produce game
yield (game, additional_data)
# Cleanup
rmtree(str(db_path.parent))
class LutrisSource(URLExecutableSource):
"""Generic Lutris source"""
name = "Lutris"
iterator_class = LutrisSourceIterator
url_format = "lutris:rungameid/{game_id}"
available_on = set(("linux",))
# FIXME possible bug: location picks ~/.var... and cache_lcoation picks ~/.local...
data_location = Location(
schema_key="lutris-location",
candidates=(
"~/.var/app/net.lutris.Lutris/data/lutris/",
shared.data_dir / "lutris",
),
paths={
"pga.db": (False, "pga.db"),
},
)
cache_location = Location(
schema_key="lutris-cache-location",
candidates=(
"~/.var/app/net.lutris.Lutris/cache/lutris/",
shared.cache_dir / "lutris",
),
paths={
"coverart": (True, "coverart"),
},
)
@property
def game_id_format(self):
return super().game_id_format + "_{game_internal_id}"

View File

@@ -0,0 +1,130 @@
# source.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 sys
from abc import abstractmethod
from collections.abc import Iterable, Iterator
from typing import Any, Generator, Optional
from src.game import Game
from src.importer.sources.location import Location
# Type of the data returned by iterating on a Source
SourceIterationResult = None | Game | tuple[Game, tuple[Any]]
class SourceIterator(Iterator):
"""Data producer for a source of games"""
source: "Source" = None
generator: Generator = None
def __init__(self, source: "Source") -> None:
super().__init__()
self.source = source
self.generator = self.generator_builder()
def __iter__(self) -> "SourceIterator":
return self
def __next__(self) -> SourceIterationResult:
return next(self.generator)
@abstractmethod
def generator_builder(self) -> Generator[SourceIterationResult, None, None]:
"""
Method that returns a generator that produces games
* Should be implemented as a generator method
* May yield `None` when an iteration hasn't produced a game
* In charge of handling per-game errors
* Returns when exhausted
"""
class Source(Iterable):
"""Source of games. E.g an installed app with a config file that lists game directories"""
name: str
variant: str = None
available_on: set[str] = set()
data_location: Optional[Location] = None
cache_location: Optional[Location] = None
config_location: Optional[Location] = None
iterator_class: type[SourceIterator]
@property
def full_name(self) -> str:
"""The source's full name"""
full_name_ = self.name
if self.variant is not None:
full_name_ += f" ({self.variant})"
return full_name_
@property
def id(self) -> str: # pylint: disable=invalid-name
"""The source's identifier"""
id_ = self.name.lower()
if self.variant is not None:
id_ += f"_{self.variant.lower()}"
return id_
@property
def game_id_format(self) -> str:
"""The string format used to construct game IDs"""
return self.id + "_{game_id}"
@property
def is_available(self):
return sys.platform in self.available_on
@property
@abstractmethod
def executable_format(self) -> str:
"""The executable format used to construct game executables"""
def __iter__(self) -> SourceIterator:
"""
Get an iterator for the source
:raises UnresolvableLocationError: Not iterable if any of the locations are unresolvable
"""
for location_name in ("data", "cache", "config"):
location = getattr(self, f"{location_name}_location", None)
if location is None:
continue
location.resolve()
return self.iterator_class(self)
# pylint: disable=abstract-method
class URLExecutableSource(Source):
"""Source class that use custom URLs to start games"""
url_format: str
@property
def executable_format(self) -> str:
match sys.platform:
case "win32":
return "start " + self.url_format
case "linux":
return "xdg-open " + self.url_format
case other:
raise NotImplementedError(
f"No URL handler command available for {other}"
)

View File

@@ -0,0 +1,130 @@
# steam_source.py
#
# Copyright 2022-2023 kramo
# Copyright 2023 Geoffrey Coulaud
#
# 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 re
from pathlib import Path
from time import time
from typing import Iterable
from src import shared
from src.game import Game
from src.importer.sources.source import (
SourceIterationResult,
SourceIterator,
URLExecutableSource,
)
from src.utils.steam import SteamFileHelper, SteamInvalidManifestError
from src.importer.sources.location import Location
class SteamSourceIterator(SourceIterator):
source: "SteamSource"
def get_manifest_dirs(self) -> Iterable[Path]:
"""Get dirs that contain steam app manifests"""
libraryfolders_path = self.source.data_location["libraryfolders.vdf"]
with open(libraryfolders_path, "r", encoding="utf-8") as file:
contents = file.read()
return [
Path(path) / "steamapps"
for path in re.findall('"path"\\s+"(.*)"\n', contents, re.IGNORECASE)
]
def get_manifests(self) -> Iterable[Path]:
"""Get app manifests"""
manifests = set()
for steamapps_dir in self.get_manifest_dirs():
if not steamapps_dir.is_dir():
continue
manifests.update(
[
manifest
for manifest in steamapps_dir.glob("appmanifest_*.acf")
if manifest.is_file()
]
)
return manifests
def generator_builder(self) -> SourceIterationResult:
"""Generator method producing games"""
appid_cache = set()
manifests = self.get_manifests()
added_time = int(time())
for manifest in manifests:
# Get metadata from manifest
steam = SteamFileHelper()
try:
local_data = steam.get_manifest_data(manifest)
except (OSError, SteamInvalidManifestError):
continue
# Skip non installed games
installed_mask = 4
if not int(local_data["stateflags"]) & installed_mask:
continue
# Skip duplicate appids
appid = local_data["appid"]
if appid in appid_cache:
continue
appid_cache.add(appid)
# Build game from local data
values = {
"added": added_time,
"name": local_data["name"],
"source": self.source.id,
"game_id": self.source.game_id_format.format(game_id=appid),
"executable": self.source.executable_format.format(game_id=appid),
}
game = Game(values)
# Add official cover image
image_path = (
self.source.data_location["librarycache"]
/ f"{appid}_library_600x900.jpg"
)
additional_data = {"local_image_path": image_path, "steam_appid": appid}
# Produce game
yield (game, additional_data)
class SteamSource(URLExecutableSource):
name = "Steam"
available_on = set(("linux", "win32"))
iterator_class = SteamSourceIterator
url_format = "steam://rungameid/{game_id}"
data_location = Location(
schema_key="steam-location",
candidates=(
"~/.var/app/com.valvesoftware.Steam/data/Steam/",
shared.data_dir / "Steam",
"~/.steam",
shared.programfiles32_dir / "Steam",
),
paths={
"libraryfolders.vdf": (False, "steamapps/libraryfolders.vdf"),
"librarycache": (True, "appcache/librarycache"),
},
)

View File

@@ -0,0 +1,115 @@
# lutris_source.py
#
# Copyright 2022-2023 kramo
# Copyright 2023 Geoffrey Coulaud
#
# 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 time import time
from typing import Generator, Iterable
from configparser import ConfigParser
from pathlib import Path
import os
from src import shared
from src.game import Game
from src.importer.sources.location import Location
from src.importer.sources.source import (
SourceIterationResult,
SourceIterator,
Source,
)
class YuzuSourceIterator(SourceIterator):
source: "YuzuSource"
extensions = (".xci", ".nsp", ".nso", ".nro")
def iter_game_dirs(self) -> Iterable[tuple[bool, Path]]:
"""
Get the rom directories from the parsed config
The returned tuple indicates if the dir should be scanned recursively,
then its path.
"""
# Get the config data
config = ConfigParser()
if not config.read(
self.source.data_location["qt-config.ini"], encoding="utf-8"
):
return
# Iterate through the dirs
n_dirs = config.getint("UI", r"Paths\gamedirs\size", fallback=0)
for i in range(1, n_dirs + 1):
deep = config.getboolean(
"UI", f"Paths\\gamedirs\\{i}\\deep_scan", fallback=False
)
path = Path(config.get("UI", f"Paths\\gamedirs\\{i}\\path", fallback=None))
if path is None:
continue
yield deep, path
def iter_rom_files(
self, root: Path, recursive: bool = False
) -> Generator[Path, None, None]:
"""Generator method to iterate through rom files"""
if not recursive:
for path in root.iterdir():
if not path.is_file():
continue
if not path.suffix in self.extensions:
continue
yield path
else:
for dir_path, _dirs, file_names in os.walk(root):
for filename in file_names:
path = Path(dir_path) / filename
if path.suffix in self.extensions:
continue
yield path
def generator_builder(self) -> Generator[SourceIterationResult, None, None]:
"""Generator method producing games"""
added_time = int(time())
# Get the games
for recursive_search, game_dir in self.iter_game_dirs():
for path in self.iter_rom_files(game_dir, recursive_search):
values = {
# TODO add game_id
"added": added_time,
"source": self.source.id,
"executable": f"yuzu {str(path)}", # HACK change depending on the variant
}
game = Game(values)
additional_data = {}
yield game, additional_data
class YuzuSource(Source):
config_location = Location(
"yuzu-location",
(
"~/.var/app/org.yuzu_emu.yuzu/config/yuzu",
shared.config_dir / "yuzu",
"~/.config/yuzu",
# TODO windows path
),
{"qt-config.ini": (False, "qt-config.ini")},
)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,44 @@
# color_log_formatter.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 logging import Formatter, LogRecord
class ColorLogFormatter(Formatter):
"""Formatter that outputs logs in a colored format"""
RESET = "\033[0m"
DIM = "\033[2m"
BOLD = "\033[1m"
RED = "\033[31m"
YELLOW = "\033[33m"
def format(self, record: LogRecord):
super_format = super().format(record)
match record.levelname:
case "CRITICAL":
return self.BOLD + self.RED + super_format + self.RESET
case "ERROR":
return self.RED + super_format + self.RESET
case "WARNING":
return self.YELLOW + super_format + self.RESET
case "DEBUG":
return self.DIM + super_format + self.RESET
case _other:
return super_format

View File

@@ -0,0 +1,128 @@
# session_file_handler.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 lzma
from io import StringIO
from logging import StreamHandler
from lzma import FORMAT_XZ, PRESET_DEFAULT
from os import PathLike
from pathlib import Path
from src import shared
class SessionFileHandler(StreamHandler):
"""
A logging handler that writes to a new file on every app restart.
The files are compressed and older sessions logs are kept up to a small limit.
"""
NUMBER_SUFFIX_POSITION = 1
backup_count: int
filename: Path
log_file: StringIO = None
def create_dir(self) -> None:
"""Create the log dir if needed"""
self.filename.parent.mkdir(exist_ok=True, parents=True)
def path_is_logfile(self, path: Path) -> bool:
return path.is_file() and path.name.startswith(self.filename.stem)
def path_has_number(self, path: Path) -> bool:
try:
int(path.suffixes[self.NUMBER_SUFFIX_POSITION][1:])
except (ValueError, IndexError):
return False
return True
def get_path_number(self, path: Path) -> int:
"""Get the number extension in the filename as an int"""
suffixes = path.suffixes
number = (
0
if not self.path_has_number(path)
else int(suffixes[self.NUMBER_SUFFIX_POSITION][1:])
)
return number
def set_path_number(self, path: Path, number: int) -> str:
"""Set or add the number extension in the filename"""
suffixes = path.suffixes
if self.path_has_number(path):
suffixes.pop(self.NUMBER_SUFFIX_POSITION)
suffixes.insert(self.NUMBER_SUFFIX_POSITION, f".{number}")
stem = path.name.split(".", maxsplit=1)[0]
new_name = stem + "".join(suffixes)
return new_name
def file_sort_key(self, path: Path) -> int:
"""Key function used to sort files"""
return self.get_path_number(path) if self.path_has_number(path) else 0
def get_logfiles(self) -> list[Path]:
"""Get the log files"""
logfiles = list(filter(self.path_is_logfile, self.filename.parent.iterdir()))
logfiles.sort(key=self.file_sort_key, reverse=True)
return logfiles
def rotate_file(self, path: Path):
"""Rotate a file's number suffix and remove it if it's too old"""
# If uncompressed, compress
if not path.name.endswith(".xz"):
new_path = path.with_suffix(path.suffix + ".xz")
with (
lzma.open(
new_path, "wt", format=FORMAT_XZ, preset=PRESET_DEFAULT
) as lzma_file,
open(path, "r", encoding="utf-8") as original_file,
):
lzma_file.write(original_file.read())
path.unlink()
path = new_path
# Rename with new number suffix
new_number = self.get_path_number(path) + 1
new_path_name = self.set_path_number(path, new_number)
path = path.rename(path.with_name(new_path_name))
# Remove older files
if new_number > self.backup_count:
path.unlink()
return
def rotate(self) -> None:
"""Rotate the numbered suffix on the log files and remove old ones"""
for path in self.get_logfiles():
self.rotate_file(path)
def __init__(self, filename: PathLike, backup_count: int = 2) -> None:
self.filename = Path(filename)
self.backup_count = backup_count
self.create_dir()
self.rotate()
self.log_file = open(self.filename, "w", encoding="utf-8")
shared.log_files = self.get_logfiles()
super().__init__(self.log_file)
def close(self) -> None:
self.log_file.close()
super().close()

109
src/logging/setup.py Normal file
View File

@@ -0,0 +1,109 @@
# setup.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 logging
import logging.config as logging_dot_config
import os
import platform
import subprocess
import sys
from src import shared
def setup_logging():
"""Intitate the app's logging"""
is_dev = shared.PROFILE == "development"
profile_app_log_level = "DEBUG" if is_dev else "INFO"
profile_lib_log_level = "INFO" if is_dev else "WARNING"
app_log_level = os.environ.get("LOGLEVEL", profile_app_log_level).upper()
lib_log_level = os.environ.get("LIBLOGLEVEL", profile_lib_log_level).upper()
log_filename = shared.cache_dir / "cartridges" / "logs" / "cartridges.log"
config = {
"version": 1,
"formatters": {
"file_formatter": {
"format": "%(asctime)s - %(levelname)s: %(message)s",
"datefmt": "%M:%S",
},
"console_formatter": {
"format": "%(name)s %(levelname)s - %(message)s",
"class": "src.logging.color_log_formatter.ColorLogFormatter",
},
},
"handlers": {
"file_handler": {
"class": "src.logging.session_file_handler.SessionFileHandler",
"formatter": "file_formatter",
"level": "DEBUG",
"filename": log_filename,
"backup_count": 2,
},
"app_console_handler": {
"class": "logging.StreamHandler",
"formatter": "console_formatter",
"level": app_log_level,
},
"lib_console_handler": {
"class": "logging.StreamHandler",
"formatter": "console_formatter",
"level": lib_log_level,
},
},
"loggers": {
"PIL": {
"handlers": ["lib_console_handler", "file_handler"],
"propagate": False,
"level": "NOTSET",
},
"urllib3": {
"handlers": ["lib_console_handler", "file_handler"],
"propagate": False,
"level": "NOTSET",
},
},
"root": {
"level": "NOTSET",
"handlers": ["app_console_handler", "file_handler"],
},
}
logging_dot_config.dictConfig(config)
def log_system_info():
"""Log system debug information"""
logging.debug("Starting %s v%s (%s)", shared.APP_ID, shared.VERSION, shared.PROFILE)
logging.debug("Python version: %s", sys.version)
if os.getenv("FLATPAK_ID") == shared.APP_ID:
process = subprocess.run(
("flatpak-spawn", "--host", "flatpak", "--version"),
capture_output=True,
encoding="utf-8",
check=False,
)
logging.debug("Flatpak version: %s", process.stdout.rstrip())
logging.debug("Platform: %s", platform.platform())
if os.name == "posix":
for key, value in platform.uname()._asdict().items():
logging.debug("\t%s: %s", key.title(), value)
logging.debug("" * 37)

View File

@@ -17,8 +17,9 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import json
import lzma
import sys import sys
import time
import gi import gi
@@ -28,272 +29,256 @@ gi.require_version("Adw", "1")
# pylint: disable=wrong-import-position # pylint: disable=wrong-import-position
from gi.repository import Adw, Gio, GLib, Gtk from gi.repository import Adw, Gio, GLib, Gtk
from .bottles_importer import bottles_importer from src import shared
from .create_details_window import create_details_window from src.details_window import DetailsWindow
from .get_games import get_games from src.game import Game
from .heroic_importer import heroic_importer from src.importer.importer import Importer
from .importer import Importer from src.importer.sources.bottles_source import BottlesSource
from .itch_importer import itch_importer from src.importer.sources.flatpak_source import FlatpakSource
from .lutris_importer import lutris_importer from src.importer.sources.heroic_source import HeroicSource
from .preferences import PreferencesWindow from src.importer.sources.itch_source import ItchSource
from .save_game import save_game from src.importer.sources.legendary_source import LegendarySource
from .steam_importer import steam_importer from src.importer.sources.lutris_source import LutrisSource
from .window import CartridgesWindow from src.importer.sources.steam_source import SteamSource
from src.logging.setup import log_system_info, setup_logging
from src.preferences import PreferencesWindow
from src.store.managers.display_manager import DisplayManager
from src.store.managers.file_manager import FileManager
from src.store.managers.local_cover_manager import LocalCoverManager
from src.store.managers.online_cover_manager import OnlineCoverManager
from src.store.managers.sgdb_manager import SGDBManager
from src.store.managers.steam_api_manager import SteamAPIManager
from src.store.store import Store
from src.window import CartridgesWindow
class CartridgesApplication(Adw.Application): class CartridgesApplication(Adw.Application):
def __init__(self): win = None
super().__init__(
application_id="hu.kramo.Cartridges", flags=Gio.ApplicationFlags.FLAGS_NONE
)
self.create_action("quit", self.on_quit_action, ["<primary>q"])
self.create_action("about", self.on_about_action)
self.create_action(
"preferences", self.on_preferences_action, ["<primary>comma"]
)
self.create_action("launch_game", self.on_launch_game_action)
self.create_action("hide_game", self.on_hide_game_action)
self.create_action("edit_game", self.on_edit_game_action)
self.create_action("add_game", self.on_add_game_action, ["<primary>n"])
self.create_action("import", self.on_import_action, ["<primary>i"])
self.create_action(
"remove_game_details_view",
self.on_remove_game_details_view_action,
["Delete"],
)
self.create_action("remove_game", self.on_remove_game_action)
self.create_action("igdb_search", self.on_igdb_search_action)
self.create_action("sgdb_search", self.on_sgdb_search_action)
self.create_action("protondb_search", self.on_protondb_search_action)
self.create_action("lutris_search", self.on_lutris_search_action)
self.create_action("hltb_search", self.on_hltb_search_action)
self.win = None def __init__(self):
shared.store = Store()
super().__init__(
application_id=shared.APP_ID, flags=Gio.ApplicationFlags.FLAGS_NONE
)
def do_activate(self): # pylint: disable=arguments-differ def do_activate(self): # pylint: disable=arguments-differ
"""Called on app creation"""
# Set fallback icon-name
Gtk.Window.set_default_icon_name(shared.APP_ID)
# Create the main window # Create the main window
self.win = self.props.active_window # pylint: disable=no-member self.win = self.props.active_window # pylint: disable=no-member
if not self.win: if not self.win:
self.win = CartridgesWindow(application=self) shared.win = self.win = CartridgesWindow(application=self)
# Save window geometry # Save window geometry
state_settings = Gio.Settings(schema_id="hu.kramo.Cartridge.State") shared.state_schema.bind(
state_settings.bind(
"width", self.win, "default-width", Gio.SettingsBindFlags.DEFAULT "width", self.win, "default-width", Gio.SettingsBindFlags.DEFAULT
) )
state_settings.bind( shared.state_schema.bind(
"height", self.win, "default-height", Gio.SettingsBindFlags.DEFAULT "height", self.win, "default-height", Gio.SettingsBindFlags.DEFAULT
) )
state_settings.bind( shared.state_schema.bind(
"is-maximized", self.win, "maximized", Gio.SettingsBindFlags.DEFAULT "is-maximized", self.win, "maximized", Gio.SettingsBindFlags.DEFAULT
) )
self.win.present() # Load games from disk
shared.store.add_manager(FileManager(), False)
shared.store.add_manager(DisplayManager())
self.load_games_from_disk()
# Create actions for the main window # Add rest of the managers for game imports
self.create_action( shared.store.add_manager(LocalCoverManager())
"show_hidden", self.win.on_show_hidden_action, ["<primary>h"], self.win shared.store.add_manager(SteamAPIManager())
shared.store.add_manager(OnlineCoverManager())
shared.store.add_manager(SGDBManager())
shared.store.enable_manager_in_pipelines(FileManager)
# Create actions
self.create_actions(
{
("quit", ("<primary>q",)),
("about",),
("preferences", ("<primary>comma",)),
("launch_game",),
("hide_game",),
("edit_game",),
("add_game", ("<primary>n",)),
("import", ("<primary>i",)),
("remove_game_details_view", ("Delete",)),
("remove_game",),
("igdb_search",),
("sgdb_search",),
("protondb_search",),
("lutris_search",),
("hltb_search",),
("show_hidden", ("<primary>h",), self.win),
("go_back", ("<alt>Left",), self.win),
("go_to_parent", ("<alt>Up",), self.win),
("go_home", ("<alt>Home",), self.win),
("toggle_search", ("<primary>f",), self.win),
("escape", ("Escape",), self.win),
("undo", ("<primary>z",), self.win),
("open_menu", ("F10",), self.win),
("close", ("<primary>w",), self.win),
}
) )
self.create_action(
"go_back", self.win.on_go_back_action, ["<alt>Left"], self.win sort_action = Gio.SimpleAction.new_stateful(
)
self.create_action(
"go_to_parent", self.win.on_go_to_parent_action, ["<alt>Up"], self.win
)
self.create_action(
"toggle_search", self.win.on_toggle_search_action, ["<primary>f"], self.win
)
self.create_action("escape", self.win.on_escape_action, ["Escape"], self.win)
self.create_action("undo", self.win.on_undo_action, ["<primary>z"], self.win)
self.create_action("open_menu", self.win.on_open_menu_action, ["F10"], self.win)
self.win.sort = Gio.SimpleAction.new_stateful(
"sort_by", GLib.VariantType.new("s"), GLib.Variant("s", "a-z") "sort_by", GLib.VariantType.new("s"), GLib.Variant("s", "a-z")
) )
self.win.add_action(self.win.sort) sort_action.connect("activate", self.win.on_sort_action)
self.win.sort.connect("activate", self.win.on_sort_action) self.win.add_action(sort_action)
self.win.on_sort_action(self.win.sort, state_settings.get_value("sort-mode")) self.win.on_sort_action(sort_action, shared.state_schema.get_value("sort-mode"))
self.win.present()
def load_games_from_disk(self):
if shared.games_dir.is_dir():
for game_file in shared.games_dir.iterdir():
data = json.load(game_file.open())
game = Game(data)
shared.store.add_game(game, {"skip_save": True})
def on_about_action(self, *_args):
# Get the debug info from the log files
debug_str = ""
for i, path in enumerate(shared.log_files):
# Add a horizontal line between runs
if i > 0:
debug_str += "" * 37 + "\n"
# Add the run's logs
log_file = (
lzma.open(path, "rt", encoding="utf-8")
if path.name.endswith(".xz")
else open(path, "r", encoding="utf-8")
)
debug_str += log_file.read()
log_file.close()
def on_about_action(self, _widget, _callback=None):
about = Adw.AboutWindow( about = Adw.AboutWindow(
transient_for=self.win, transient_for=self.win,
application_name=_("Cartridges"), application_name=_("Cartridges"),
application_icon="hu.kramo.Cartridges", application_icon=shared.APP_ID,
developer_name="kramo", developer_name="kramo",
version="1.4.1", version=shared.VERSION,
developers=[ developers=[
"kramo https://kramo.hu", "kramo https://kramo.hu",
"Paweł Lidwin https://github.com/imLinguin",
"Domenico https://github.com/Domefemia",
"Bananaman https://github.com/Bananaman",
"Geoffrey Coulaud https://geoffrey-coulaud.fr", "Geoffrey Coulaud https://geoffrey-coulaud.fr",
"Arcitec https://github.com/Arcitec",
"Domenico https://github.com/Domefemia",
"Paweł Lidwin https://github.com/imLinguin",
"Rafael Mardojai CM https://mardojai.com", "Rafael Mardojai CM https://mardojai.com",
], ],
designers=["kramo https://kramo.hu"], designers=("kramo https://kramo.hu",),
copyright="© 2022-2023 kramo", copyright="© 2022-2023 kramo",
license_type=Gtk.License.GPL_3_0, license_type=Gtk.License.GPL_3_0,
issue_url="https://github.com/kra-mo/cartridges/issues/new", issue_url="https://github.com/kra-mo/cartridges/issues/new",
website="https://github.com/kra-mo/cartridges", website="https://github.com/kra-mo/cartridges",
# 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
translator_credits=_("translator_credits"), translator_credits=_("translator_credits"),
debug_info=debug_str,
) )
about.present() about.present()
def on_preferences_action( def on_preferences_action(
self, _widget, _callback=None, page_name=None, expander_row=None self, _action=None, _parameter=None, page_name=None, expander_row=None
): ):
win = PreferencesWindow(self.win) win = PreferencesWindow()
if page_name: if page_name:
win.set_visible_page_name(page_name) win.set_visible_page_name(page_name)
if expander_row: if expander_row:
getattr(win, expander_row).set_expanded(True) getattr(win, expander_row).set_expanded(True)
win.present() win.present()
def on_launch_game_action(self, _widget, _callback=None): return win
# Launch the game and update the last played value
game_id = self.win.active_game_id def on_launch_game_action(self, *_args):
last_played = int(time.time()) self.win.active_game.launch()
data = get_games(self.win, [game_id])[game_id] def on_hide_game_action(self, *_args):
data["last_played"] = last_played self.win.active_game.toggle_hidden()
save_game(self.win, data)
self.win.games[game_id].launch() def on_edit_game_action(self, *_args):
DetailsWindow(self.win.active_game)
# Update state def on_add_game_action(self, *_args):
self.win.games[game_id].last_played = last_played DetailsWindow()
self.win.library.invalidate_sort()
self.win.hidden_library.invalidate_sort() def on_import_action(self, *_args):
importer = Importer()
if shared.schema.get_boolean("lutris"):
importer.add_source(LutrisSource())
if shared.schema.get_boolean("steam"):
importer.add_source(SteamSource())
if shared.schema.get_boolean("heroic"):
importer.add_source(HeroicSource())
if shared.schema.get_boolean("bottles"):
importer.add_source(BottlesSource())
if shared.schema.get_boolean("flatpak"):
importer.add_source(FlatpakSource())
if shared.schema.get_boolean("itch"):
importer.add_source(ItchSource())
if shared.schema.get_boolean("legendary"):
importer.add_source(LegendarySource())
importer.run()
def on_remove_game_action(self, *_args):
self.win.active_game.remove_game()
def on_remove_game_details_view_action(self, *_args):
if self.win.stack.get_visible_child() == self.win.details_view: if self.win.stack.get_visible_child() == self.win.details_view:
self.win.show_details_view(None, game_id) self.on_remove_game_action()
title = self.win.games[game_id].name
# The variable is the title of the game
toast = Adw.Toast.new(_("{} launched").format(title))
toast.set_priority(Adw.ToastPriority.HIGH)
self.win.toast_overlay.add_toast(toast)
def on_hide_game_action(self, _widget, _callback=None, game_id=None, toast=True):
if not game_id:
game_id = self.win.active_game_id
if self.win.stack.get_visible_child() == self.win.details_view:
self.win.on_go_back_action(None, None)
self.win.games[game_id].toggle_hidden()
self.win.update_games([game_id])
if not toast:
return
title = self.win.games[game_id].name
if self.win.games[game_id].hidden:
# The variable is the title of the game
toast = Adw.Toast.new(_("{} hidden").format(title))
else:
# The variable is the title of the game
toast = Adw.Toast.new(_("{} unhidden").format(title))
toast.set_button_label(_("Undo"))
toast.connect("button-clicked", self.win.on_undo_action, game_id, "hide")
toast.set_priority(Adw.ToastPriority.HIGH)
if (game_id, "hide") in self.win.toasts.keys():
# Dismiss the toast if there already is one
self.win.toasts[(game_id, "hide")].dismiss()
self.win.toasts[(game_id, "hide")] = toast
self.win.toast_overlay.add_toast(toast)
def on_edit_game_action(self, _widget, _callback=None):
create_details_window(self.win, self.win.active_game_id)
def on_add_game_action(self, _widget, _callback=None):
create_details_window(self.win)
def on_import_action(self, _widget, _callback=None):
self.win.importer = Importer(self.win)
self.win.importer.blocker = True
if self.win.schema.get_boolean("steam"):
steam_importer(self.win)
if self.win.schema.get_boolean("lutris"):
lutris_importer(self.win)
if self.win.schema.get_boolean("heroic"):
heroic_importer(self.win)
if self.win.schema.get_boolean("bottles"):
bottles_importer(self.win)
if self.win.schema.get_boolean("itch"):
itch_importer(self.win)
self.win.importer.blocker = False
if self.win.importer.import_dialog.is_visible and self.win.importer.queue == 0:
self.win.importer.queue = 1
self.win.importer.save_game()
def on_remove_game_action(self, _widget, _callback=None):
# Add "removed=True" to the game properties so it can be deleted on next init
game_id = self.win.active_game_id
data = get_games(self.win, [game_id])[game_id]
data["removed"] = True
save_game(self.win, data)
self.win.update_games([game_id])
if self.win.stack.get_visible_child() == self.win.details_view:
self.win.on_go_back_action(None, None)
title = self.win.games[game_id].name
# The variable is the title of the game
toast = Adw.Toast.new(_("{} removed").format(title))
toast.set_button_label(_("Undo"))
toast.connect("button-clicked", self.win.on_undo_action, game_id, "remove")
toast.set_priority(Adw.ToastPriority.HIGH)
self.win.toasts[(game_id, "remove")] = toast
self.win.toast_overlay.add_toast(toast)
def on_remove_game_details_view_action(self, _widget, _callback=None):
if self.win.stack.get_visible_child() == self.win.details_view:
self.on_remove_game_action(None)
def on_quit_action(self, _widget, _callback=None):
self.quit()
def search(self, uri): def search(self, uri):
Gio.AppInfo.launch_default_for_uri( Gio.AppInfo.launch_default_for_uri(f"{uri}{self.win.active_game.name}")
f"{uri}{self.win.games[self.win.active_game_id].name}"
)
def on_igdb_search_action(self, _widget, _callback=None): def on_igdb_search_action(self, *_args):
self.search("https://www.igdb.com/search?type=1&q=") self.search("https://www.igdb.com/search?type=1&q=")
def on_sgdb_search_action(self, _widget, _callback=None): def on_sgdb_search_action(self, *_args):
self.search("https://www.steamgriddb.com/search/grids?term=") self.search("https://www.steamgriddb.com/search/grids?term=")
def on_protondb_search_action(self, _widget, _callback=None): def on_protondb_search_action(self, *_args):
self.search("https://www.protondb.com/search?q=") self.search("https://www.protondb.com/search?q=")
def on_lutris_search_action(self, _widget, _callback=None): def on_lutris_search_action(self, *_args):
self.search("https://lutris.net/games?q=") self.search("https://lutris.net/games?q=")
def on_hltb_search_action(self, _widget, _callback=None): def on_hltb_search_action(self, *_args):
self.search("https://howlongtobeat.com/?q=") self.search("https://howlongtobeat.com/?q=")
def create_action(self, name, callback, shortcuts=None, win=None): def on_quit_action(self, *_args):
action = Gio.SimpleAction.new(name, None) self.quit()
action.connect("activate", callback)
if not win: def create_actions(self, actions):
self.add_action(action) for action in actions:
if shortcuts: simple_action = Gio.SimpleAction.new(action[0], None)
self.set_accels_for_action(f"app.{name}", shortcuts)
else: scope = action[2] if action[2:3] else self
win.add_action(action) simple_action.connect("activate", getattr(scope, f"on_{action[0]}_action"))
if shortcuts:
self.set_accels_for_action(f"win.{name}", shortcuts) if action[1:2]:
self.set_accels_for_action(
f"app.{action[0]}" if scope == self else f"win.{action[0]}",
action[1],
)
scope.add_action(simple_action)
def main(version): # pylint: disable=unused-argument def main(_version):
"""App entry point"""
setup_logging()
log_system_info()
app = CartridgesApplication() app = CartridgesApplication()
return app.run(sys.argv) return app.run(sys.argv)

View File

@@ -1,12 +1,4 @@
moduledir = join_paths(pkgdatadir, 'cartridges') moduledir = join_paths(pkgdatadir, 'src')
python = import('python')
conf = configuration_data()
conf.set('PYTHON', python.find_installation('python3').path())
conf.set('VERSION', meson.project_version())
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
conf.set('pkgdatadir', pkgdatadir)
configure_file( configure_file(
input: 'cartridges.in', input: 'cartridges.in',
@@ -16,26 +8,24 @@ configure_file(
install_dir: get_option('bindir') install_dir: get_option('bindir')
) )
cartridges_sources = [ install_subdir('importer', install_dir: moduledir)
'__init__.py', install_subdir('utils', install_dir: moduledir)
'main.py', install_subdir('store', install_dir: moduledir)
'window.py', install_subdir('logging', install_dir: moduledir)
'preferences.py', install_subdir('errors', install_dir: moduledir)
'game.py', install_data(
'game_cover.py', [
'importers/steam_importer.py', 'main.py',
'importers/lutris_importer.py', 'window.py',
'importers/heroic_importer.py', 'preferences.py',
'importers/bottles_importer.py', 'details_window.py',
'importers/itch_importer.py', 'game.py',
'utils/importer.py', 'game_cover.py',
'utils/steamgriddb.py', configure_file(
'utils/get_games.py', input: 'shared.py.in',
'utils/save_game.py', output: 'shared.py',
'utils/save_cover.py', configuration: conf
'utils/create_dialog.py', )
'utils/create_details_window.py', ],
'utils/check_install.py' install_dir: moduledir
] )
install_data(cartridges_sources, install_dir: moduledir)

View File

@@ -17,66 +17,26 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import os import logging
import re
from pathlib import Path from pathlib import Path
from shutil import move from shutil import rmtree
from gi.repository import Adw, Gio, GLib, Gtk from gi.repository import Adw, Gio, GLib, Gtk
from .bottles_importer import bottles_installed from src import shared
from .create_dialog import create_dialog from src.importer.sources.bottles_source import BottlesSource
from .get_games import get_games from src.importer.sources.flatpak_source import FlatpakSource
from .heroic_importer import heroic_installed from src.importer.sources.heroic_source import HeroicSource
from .itch_importer import itch_installed from src.importer.sources.itch_source import ItchSource
from .lutris_importer import lutris_cache_exists, lutris_installed from src.importer.sources.legendary_source import LegendarySource
from .save_game import save_game from src.importer.sources.lutris_source import LutrisSource
from .steam_importer import steam_installed from src.importer.sources.source import Source
from src.importer.sources.steam_source import SteamSource
from src.utils.create_dialog import create_dialog
class ImportPreferences: @Gtk.Template(resource_path=shared.PREFIX + "/gtk/preferences.ui")
def __init__(
self,
win,
source_id,
name,
check_func,
expander_row,
file_chooser_button,
config=False,
):
def set_dir(_source, result, _unused):
try:
path = Path(win.file_chooser.select_folder_finish(result).get_path())
except GLib.GError:
return
def response(widget, response):
if response == "choose_folder":
win.choose_folder(widget, set_dir)
if not check_func(win, path):
create_dialog(
win,
_("Installation Not Found"),
# The variable is the name of the game launcher
_("Select the {} configuration directory.").format(name) if config
# The variable is the name of the game launcher
else _("Select the {} data directory.").format(name),
"choose_folder",
_("Set Location"),
).connect("response", response)
win.schema.bind(
source_id,
expander_row,
"enable-expansion",
Gio.SettingsBindFlags.DEFAULT,
)
file_chooser_button.connect("clicked", win.choose_folder, set_dir)
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/preferences.ui")
class PreferencesWindow(Adw.PreferencesWindow): class PreferencesWindow(Adw.PreferencesWindow):
__gtype_name__ = "PreferencesWindow" __gtype_name__ = "PreferencesWindow"
@@ -89,238 +49,107 @@ class PreferencesWindow(Adw.PreferencesWindow):
exit_after_launch_switch = Gtk.Template.Child() exit_after_launch_switch = Gtk.Template.Child()
cover_launches_game_switch = Gtk.Template.Child() cover_launches_game_switch = Gtk.Template.Child()
high_quality_images_switch = Gtk.Template.Child() high_quality_images_switch = Gtk.Template.Child()
remove_all_games_button = Gtk.Template.Child()
steam_expander_row = Gtk.Template.Child() steam_expander_row = Gtk.Template.Child()
steam_file_chooser_button = Gtk.Template.Child() steam_data_action_row = Gtk.Template.Child()
steam_extra_file_chooser_button = Gtk.Template.Child() steam_data_file_chooser_button = Gtk.Template.Child()
steam_clear_button_revealer = Gtk.Template.Child()
steam_clear_button = Gtk.Template.Child()
lutris_expander_row = Gtk.Template.Child() lutris_expander_row = Gtk.Template.Child()
lutris_file_chooser_button = Gtk.Template.Child() lutris_data_action_row = Gtk.Template.Child()
lutris_data_file_chooser_button = Gtk.Template.Child()
lutris_cache_action_row = Gtk.Template.Child()
lutris_cache_file_chooser_button = Gtk.Template.Child() lutris_cache_file_chooser_button = Gtk.Template.Child()
lutris_steam_switch = Gtk.Template.Child() lutris_import_steam_switch = Gtk.Template.Child()
lutris_import_flatpak_switch = Gtk.Template.Child()
heroic_expander_row = Gtk.Template.Child() heroic_expander_row = Gtk.Template.Child()
heroic_file_chooser_button = Gtk.Template.Child() heroic_config_action_row = Gtk.Template.Child()
heroic_epic_switch = Gtk.Template.Child() heroic_config_file_chooser_button = Gtk.Template.Child()
heroic_gog_switch = Gtk.Template.Child() heroic_import_epic_switch = Gtk.Template.Child()
heroic_sideloaded_switch = Gtk.Template.Child() heroic_import_gog_switch = Gtk.Template.Child()
heroic_import_sideload_switch = Gtk.Template.Child()
bottles_expander_row = Gtk.Template.Child() bottles_expander_row = Gtk.Template.Child()
bottles_file_chooser_button = Gtk.Template.Child() bottles_data_action_row = Gtk.Template.Child()
bottles_data_file_chooser_button = Gtk.Template.Child()
itch_expander_row = Gtk.Template.Child() itch_expander_row = Gtk.Template.Child()
itch_file_chooser_button = Gtk.Template.Child() itch_config_action_row = Gtk.Template.Child()
itch_config_file_chooser_button = Gtk.Template.Child()
legendary_expander_row = Gtk.Template.Child()
legendary_config_action_row = Gtk.Template.Child()
legendary_config_file_chooser_button = Gtk.Template.Child()
flatpak_expander_row = Gtk.Template.Child()
flatpak_data_action_row = Gtk.Template.Child()
flatpak_data_file_chooser_button = Gtk.Template.Child()
flatpak_import_launchers_switch = Gtk.Template.Child()
sgdb_key_group = Gtk.Template.Child() sgdb_key_group = Gtk.Template.Child()
sgdb_key_entry_row = Gtk.Template.Child() sgdb_key_entry_row = Gtk.Template.Child()
sgdb_download_switch = Gtk.Template.Child() sgdb_switch = Gtk.Template.Child()
sgdb_switch_row = Gtk.Template.Child()
sgdb_prefer_switch = Gtk.Template.Child() sgdb_prefer_switch = Gtk.Template.Child()
sgdb_animated_switch = Gtk.Template.Child() sgdb_animated_switch = Gtk.Template.Child()
def __init__(self, win, **kwargs): danger_zone_group = Gtk.Template.Child()
reset_action_row = Gtk.Template.Child()
reset_button = Gtk.Template.Child()
remove_all_games_button = Gtk.Template.Child()
removed_games = set()
def __init__(self, **kwargs):
super().__init__(**kwargs) super().__init__(**kwargs)
self.schema = win.schema self.win = shared.win
self.win = win
self.file_chooser = Gtk.FileDialog() self.file_chooser = Gtk.FileDialog()
self.set_transient_for(win) self.set_transient_for(self.win)
self.toast = Adw.Toast.new(_("All games removed")) self.toast = Adw.Toast.new(_("All games removed"))
self.toast.set_button_label(_("Undo")) self.toast.set_button_label(_("Undo"))
self.toast.connect("button-clicked", self.undo_remove_all, None) self.toast.connect("button-clicked", self.undo_remove_all, None)
self.toast.set_priority(Adw.ToastPriority.HIGH) self.toast.set_priority(Adw.ToastPriority.HIGH)
shortcut_controller = Gtk.ShortcutController()
shortcut_controller.add_shortcut( (shortcut_controller := Gtk.ShortcutController()).add_shortcut(
Gtk.Shortcut.new( Gtk.Shortcut.new(
Gtk.ShortcutTrigger.parse_string("<primary>z"), Gtk.ShortcutTrigger.parse_string("<primary>z"),
Gtk.CallbackAction.new(self.undo_remove_all), Gtk.CallbackAction.new(self.undo_remove_all),
) )
) )
self.add_controller(shortcut_controller) self.add_controller(shortcut_controller)
self.removed_games = []
# General # General
self.schema.bind(
"exit-after-launch",
self.exit_after_launch_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.schema.bind(
"cover-launches-game",
self.cover_launches_game_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.schema.bind(
"high-quality-images",
self.high_quality_images_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.remove_all_games_button.connect("clicked", self.remove_all_games) self.remove_all_games_button.connect("clicked", self.remove_all_games)
# Steam # Debug
ImportPreferences( if shared.PROFILE == "development":
self, self.reset_action_row.set_visible(True)
"steam", self.reset_button.connect("clicked", self.reset_app)
"Steam", self.set_default_size(-1, 560)
steam_installed,
self.steam_expander_row,
self.steam_file_chooser_button,
)
def update_revealer(): # Sources settings
if self.schema.get_strv("steam-extra-dirs"): for source_class in (
self.steam_clear_button_revealer.set_reveal_child(True) BottlesSource,
FlatpakSource,
HeroicSource,
ItchSource,
LegendarySource,
LutrisSource,
SteamSource,
):
source = source_class()
if not source.is_available:
expander_row = getattr(self, f"{source.id}_expander_row")
expander_row.remove()
else: else:
self.steam_clear_button_revealer.set_reveal_child(False) self.init_source_row(source)
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:
return
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)
# Lutris
ImportPreferences(
self,
"lutris",
"Lutris",
lutris_installed,
self.lutris_expander_row,
self.lutris_file_chooser_button,
)
self.schema.bind(
"lutris-import-steam",
self.lutris_steam_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
def set_cache_dir(_source, result, _unused):
try:
path = Path(self.file_chooser.select_folder_finish(result).get_path())
except GLib.GError:
return
def response(widget, response):
if response == "choose_folder":
self.choose_folder(widget, set_cache_dir)
if not lutris_cache_exists(path).exists():
create_dialog(
self.win,
_("Cache Not Found"),
_("Select the Lutris cache directory."),
"choose_folder",
_("Set Location"),
).connect("response", response)
self.lutris_cache_file_chooser_button.connect(
"clicked", self.choose_folder, set_cache_dir
)
if os.name == "nt":
self.sources_group.remove(self.lutris_expander_row)
# Heroic
ImportPreferences(
self,
"heroic",
"Heroic",
heroic_installed,
self.heroic_expander_row,
self.heroic_file_chooser_button,
True,
)
self.schema.bind(
"heroic-import-epic",
self.heroic_epic_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.schema.bind(
"heroic-import-gog",
self.heroic_gog_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.schema.bind(
"heroic-import-sideload",
self.heroic_sideloaded_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
# Bottles
ImportPreferences(
self,
"bottles",
"Bottles",
bottles_installed,
self.bottles_expander_row,
self.bottles_file_chooser_button,
)
if os.name == "nt":
self.sources_group.remove(self.bottles_expander_row)
# itch
ImportPreferences(
self,
"itch",
"itch",
itch_installed,
self.itch_expander_row,
self.itch_file_chooser_button,
True,
)
# SteamGridDB # SteamGridDB
self.schema.bind( def sgdb_key_changed(*_args):
"sgdb", shared.schema.set_string("sgdb-key", self.sgdb_key_entry_row.get_text())
self.sgdb_download_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.schema.bind( self.sgdb_key_entry_row.set_text(shared.schema.get_string("sgdb-key"))
"sgdb-prefer",
self.sgdb_prefer_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
self.schema.bind(
"sgdb-animated",
self.sgdb_animated_switch,
"active",
Gio.SettingsBindFlags.DEFAULT,
)
def sgdb_key_changed(_widget):
self.schema.set_string("sgdb-key", self.sgdb_key_entry_row.get_text())
self.sgdb_key_entry_row.set_text(self.schema.get_string("sgdb-key"))
self.sgdb_key_entry_row.connect("changed", sgdb_key_changed) self.sgdb_key_entry_row.connect("changed", sgdb_key_changed)
self.sgdb_key_group.set_description( self.sgdb_key_group.set_description(
@@ -331,49 +160,165 @@ class PreferencesWindow(Adw.PreferencesWindow):
) )
) )
def choose_folder(self, _widget, function): def set_sgdb_sensitive(widget):
self.file_chooser.select_folder(self.win, None, function, None) if not widget.get_text():
shared.schema.set_boolean("sgdb", False)
def undo_remove_all(self, _widget, _unused): self.sgdb_switch_row.set_sensitive(widget.get_text())
deleted_covers_dir = self.win.cache_dir / "cartridges" / "deleted_covers"
for game_id in self.removed_games: self.sgdb_key_entry_row.connect("changed", set_sgdb_sensitive)
data = get_games(self.win, [game_id])[game_id] set_sgdb_sensitive(self.sgdb_key_entry_row)
if "removed" in data:
data.pop("removed")
save_game(self.win, data)
cover_path = deleted_covers_dir / f"{game_id}.tiff" # Switches
if not cover_path.is_file(): self.bind_switches(
cover_path = deleted_covers_dir / f"{game_id}.gif" (
if not cover_path.is_file(): "exit-after-launch",
continue "cover-launches-game",
"high-quality-images",
"lutris-import-steam",
"lutris-import-flatpak",
"heroic-import-epic",
"heroic-import-gog",
"heroic-import-sideload",
"flatpak-import-launchers",
"sgdb",
"sgdb-prefer",
"sgdb-animated",
)
)
move(cover_path, self.win.covers_dir / cover_path.name) def get_switch(self, setting):
return getattr(self, f'{setting.replace("-", "_")}_switch')
self.win.update_games(self.removed_games) def bind_switches(self, settings):
self.removed_games = [] for setting in settings:
shared.schema.bind(
setting,
self.get_switch(setting),
"active",
Gio.SettingsBindFlags.DEFAULT,
)
def choose_folder(self, _widget, callback, callback_data=None):
self.file_chooser.select_folder(self.win, None, callback, callback_data)
def undo_remove_all(self, *_args):
for game in self.removed_games:
game.removed = False
game.save()
game.update()
self.removed_games = set()
self.toast.dismiss() self.toast.dismiss()
def remove_all_games(self, _widget): def remove_all_games(self, *_args):
deleted_covers_dir = self.win.cache_dir / "cartridges" / "deleted_covers" for game in shared.store.games.values():
deleted_covers_dir.mkdir(parents=True, exist_ok=True) if not game.removed:
self.removed_games.add(game)
for game in get_games(self.win).values(): game.removed = True
if "removed" not in game: game.save()
self.removed_games.append(game["game_id"]) game.update()
game["removed"] = True
save_game(self.win, game)
cover_path = self.win.games[game["game_id"]].get_cover_path()
if not cover_path:
continue
if cover_path.is_file():
move(cover_path, deleted_covers_dir / cover_path.name)
self.win.update_games(self.win.games)
if self.win.stack.get_visible_child() == self.win.details_view: if self.win.stack.get_visible_child() == self.win.details_view:
self.win.on_go_back_action(None, None) self.win.on_go_back_action()
self.add_toast(self.toast) self.add_toast(self.toast)
def reset_app(self, *_args):
rmtree(shared.data_dir / "cartridges", True)
rmtree(shared.config_dir / "cartridges", True)
rmtree(shared.cache_dir / "cartridges", True)
for key in (
(settings_schema_source := Gio.SettingsSchemaSource.get_default())
.lookup(shared.APP_ID, True)
.list_keys()
):
shared.schema.reset(key)
for key in settings_schema_source.lookup(
shared.APP_ID + ".State", True
).list_keys():
shared.state_schema.reset(key)
shared.win.get_application().quit()
def update_source_action_row_paths(self, source):
"""Set the dir subtitle for a source's action rows"""
for location in ("data", "config", "cache"):
# Get the action row to subtitle
action_row = getattr(self, f"{source.id}_{location}_action_row", None)
if not action_row:
continue
# Historically "location" meant data or config, so the key stays shared
infix = "-cache" if location == "cache" else ""
key = f"{source.id}{infix}-location"
path = Path(shared.schema.get_string(key)).expanduser()
# Remove the path if the dir is picked via the Flatpak portal
subtitle = re.sub("/run/user/\\d*/doc/.*/", "", str(path))
action_row.set_subtitle(subtitle)
def init_source_row(self, source: Source):
"""Initialize a preference row for a source class"""
def set_dir(_widget, result, location_name):
"""Callback called when a dir picker button is clicked"""
try:
path = Path(self.file_chooser.select_folder_finish(result).get_path())
except GLib.GError:
return
# Good picked location
location = getattr(source, f"{location_name}_location")
if location.check_candidate(path):
# Set the schema
infix = "-cache" if location_name == "cache" else ""
key = f"{source.id}{infix}-location"
value = str(path)
shared.schema.set_string(key, value)
# Update the row
self.update_source_action_row_paths(source)
logging.debug("User-set value for schema key %s: %s", key, value)
# Bad picked location, inform user
else:
if location_name == "cache":
title = "Cache directory not found"
subtitle_format = "Select the {} cache directory."
else:
title = "Installation directory not found"
subtitle_format = "Select the {} installation directory."
dialog = create_dialog(
self,
_(title),
_(subtitle_format).format(source.name),
"choose_folder",
_("Set Location"),
)
def on_response(widget, response):
if response == "choose_folder":
self.choose_folder(widget, set_dir, location_name)
dialog.connect("response", on_response)
# Bind expander row activation to source being enabled
expander_row = getattr(self, f"{source.id}_expander_row")
shared.schema.bind(
source.id,
expander_row,
"enable-expansion",
Gio.SettingsBindFlags.DEFAULT,
)
# Connect dir picker buttons
for location in ("data", "config", "cache"):
button = getattr(self, f"{source.id}_{location}_file_chooser_button", None)
if button is not None:
button.connect("clicked", self.choose_folder, set_dir, location)
# Set the source row subtitles
self.update_source_action_row_paths(source)

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

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

View File

@@ -0,0 +1,64 @@
# async_manager.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 typing import Callable, Any
from gi.repository import Gio
from src.game import Game
from src.store.managers.manager import Manager
from src.utils.task import Task
class AsyncManager(Manager):
"""Manager that can run asynchronously"""
blocking = False
cancellable: Gio.Cancellable = None
def __init__(self) -> None:
super().__init__()
self.cancellable = Gio.Cancellable()
def cancel_tasks(self):
"""Cancel all tasks for this manager"""
self.cancellable.cancel()
def reset_cancellable(self):
"""Reset the cancellable for this manager.
Already scheduled Tasks will no longer be cancellable."""
self.cancellable = Gio.Cancellable()
def process_game(
self, game: Game, additional_data: dict, callback: Callable[["Manager"], Any]
) -> None:
"""Create a task to process the game in a separate thread"""
task = Task.new(None, self.cancellable, self._task_callback, (callback,))
task.set_task_data((game, additional_data))
task.run_in_thread(self._task_thread_func)
def _task_thread_func(self, _task, _source_object, data, _cancellable):
"""Task thread entry point"""
game, additional_data, *_rest = data
self.execute_resilient_manager_logic(game, additional_data)
def _task_callback(self, _source_object, _result, data):
"""Method run after the task is done"""
callback, *_rest = data
callback(self)

View File

@@ -0,0 +1,72 @@
# display_manager.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 src.game import Game
from src.game_cover import GameCover
from src.store.managers.manager import Manager
from src.store.managers.sgdb_manager import SGDBManager
from src.store.managers.steam_api_manager import SteamAPIManager
class DisplayManager(Manager):
"""Manager in charge of adding a game to the UI"""
run_after = (SteamAPIManager, SGDBManager)
signals = {"update-ready"}
def manager_logic(self, game: Game, _additional_data: dict) -> None:
if game.get_parent():
game.get_parent().get_parent().remove(game)
if game.get_parent():
game.get_parent().set_child()
game.menu_button.set_menu_model(
game.hidden_game_options if game.hidden else game.game_options
)
game.title.set_label(game.name)
game.menu_button.get_popover().connect(
"notify::visible", game.toggle_play, None
)
game.menu_button.get_popover().connect(
"notify::visible", game.win.set_active_game, game
)
if game.game_id in game.win.game_covers:
game.game_cover = game.win.game_covers[game.game_id]
game.game_cover.add_picture(game.cover)
else:
game.game_cover = GameCover({game.cover}, game.get_cover_path())
game.win.game_covers[game.game_id] = game.game_cover
if (
game.win.stack.get_visible_child() == game.win.details_view
and game.win.active_game == game
):
game.win.show_details_view(game)
if not game.removed and not game.blacklisted:
if game.hidden:
game.win.hidden_library.append(game)
else:
game.win.library.append(game)
game.get_parent().set_focusable(False)
game.win.set_library_child()

View File

@@ -0,0 +1,59 @@
# file_manager.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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
from src import shared
from src.game import Game
from src.store.managers.async_manager import AsyncManager
from src.store.managers.steam_api_manager import SteamAPIManager
class FileManager(AsyncManager):
"""Manager in charge of saving a game to a file"""
run_after = (SteamAPIManager,)
signals = {"save-ready"}
def manager_logic(self, game: Game, additional_data: dict) -> None:
if additional_data.get("skip_save"): # Skip saving when loading games from disk
return
shared.games_dir.mkdir(parents=True, exist_ok=True)
attrs = (
"added",
"executable",
"game_id",
"source",
"hidden",
"last_played",
"name",
"developer",
"removed",
"blacklisted",
"version",
)
json.dump(
{attr: getattr(game, attr) for attr in attrs if attr},
(shared.games_dir / f"{game.game_id}.json").open("w"),
indent=4,
sort_keys=True,
)

View File

@@ -0,0 +1,71 @@
# local_cover_manager.py
#
# Copyright 2023 Geoffrey Coulaud
# Copyright 2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
from gi.repository import GdkPixbuf
from src import shared
from src.game import Game
from src.store.managers.manager import Manager
from src.store.managers.steam_api_manager import SteamAPIManager
from src.utils.save_cover import resize_cover, save_cover
class LocalCoverManager(Manager):
"""Manager in charge of adding the local cover image of the game"""
run_after = (SteamAPIManager,)
def manager_logic(self, game: Game, additional_data: dict) -> None:
if image_path := additional_data.get("local_image_path"):
if not image_path.is_file():
return
save_cover(game.game_id, resize_cover(image_path))
elif icon_path := additional_data.get("local_icon_path"):
cover_width, cover_height = shared.image_size
dest_width = cover_width * 0.7
dest_height = cover_width * 0.7
dest_x = cover_width * 0.15
dest_y = (cover_height - dest_height) / 2
image = GdkPixbuf.Pixbuf.new_from_file(str(icon_path)).scale_simple(
dest_width, dest_height, GdkPixbuf.InterpType.BILINEAR
)
cover = image.scale_simple(
1, 2, GdkPixbuf.InterpType.BILINEAR
).scale_simple(cover_width, cover_height, GdkPixbuf.InterpType.BILINEAR)
image.composite(
cover,
dest_x,
dest_y,
dest_width,
dest_height,
dest_x,
dest_y,
1,
1,
GdkPixbuf.InterpType.BILINEAR,
255,
)
save_cover(game.game_id, resize_cover(pixbuf=cover))

View File

@@ -0,0 +1,120 @@
# manager.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 logging
from abc import abstractmethod
from time import sleep
from typing import Any, Callable, Container
from src.errors.error_producer import ErrorProducer
from src.errors.friendly_error import FriendlyError
from src.game import Game
class Manager(ErrorProducer):
"""Class in charge of handling a post creation action for games.
* May connect to signals on the game to handle them.
* May cancel its running tasks on critical error,
in that case a new cancellable must be generated for new tasks to run.
* May be retried on some specific error types
"""
run_after: Container[type["Manager"]] = tuple()
blocking: bool = True
retryable_on: Container[type[Exception]] = tuple()
continue_on: Container[type[Exception]] = tuple()
signals: Container[type[str]] = set()
retry_delay: int = 3
max_tries: int = 3
@property
def name(self):
return type(self).__name__
@abstractmethod
def manager_logic(self, game: Game, additional_data: dict) -> None:
"""
Manager specific logic triggered by the run method
* Implemented by final child classes
* May block its thread
* May raise retryable exceptions that will trigger a retry if possible
* May raise other exceptions that will be reported
"""
def execute_resilient_manager_logic(self, game: Game, additional_data: dict):
"""Handle errors (retry, ignore or raise) that occur in the manager logic"""
# Keep track of the number of tries
tries = 1
def handle_error(error: Exception):
nonlocal tries
# If FriendlyError, handle its cause instead
base_error = error
if isinstance(error, FriendlyError):
error = error.__cause__
log_args = (
type(error).__name__,
self.name,
f"{game.name} ({game.game_id})",
)
out_of_retries_format = "Out of retries dues to %s in %s for %s"
retrying_format = "Retrying %s in %s for %s"
unretryable_format = "Unretryable %s in %s for %s"
if error in self.continue_on:
# Handle skippable errors (skip silently)
return
if error in self.retryable_on:
if tries > self.max_tries:
# Handle being out of retries
logging.error(out_of_retries_format, *log_args)
self.report_error(base_error)
else:
# Handle retryable errors
logging.error(retrying_format, *log_args)
sleep(self.retry_delay)
tries += 1
try_manager_logic()
else:
# Handle unretryable errors
logging.error(unretryable_format, *log_args, exc_info=error)
self.report_error(base_error)
def try_manager_logic():
try:
self.manager_logic(game, additional_data)
except Exception as error: # pylint: disable=broad-exception-caught
handle_error(error)
try_manager_logic()
def process_game(
self, game: Game, additional_data: dict, callback: Callable[["Manager"], Any]
) -> None:
"""Pass the game through the manager"""
self.execute_resilient_manager_logic(game, additional_data)
callback(self)

View File

@@ -0,0 +1,126 @@
# online_cover_manager.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 logging
from pathlib import Path
import requests
from gi.repository import Gio, GdkPixbuf
from requests.exceptions import HTTPError, SSLError
from PIL import Image
from src import shared
from src.game import Game
from src.store.managers.local_cover_manager import LocalCoverManager
from src.store.managers.manager import Manager
from src.utils.save_cover import resize_cover, save_cover
class OnlineCoverManager(Manager):
"""Manager that downloads game covers from URLs"""
run_after = (LocalCoverManager,)
retryable_on = (HTTPError, SSLError)
def save_composited_cover(
self,
game: Game,
image_file: Gio.File,
original_width: int,
original_height: int,
target_width: int,
target_height: int,
) -> None:
"""Save the image composited with a background blur to fit the cover size"""
logging.debug(
"Compositing image for %s (%s) %dx%d -> %dx%d",
game.name,
game.game_id,
original_width,
original_height,
target_width,
target_height,
)
# Load game image
image = GdkPixbuf.Pixbuf.new_from_stream(image_file.read())
# Create background blur of the size of the cover
cover = image.scale_simple(2, 2, GdkPixbuf.InterpType.BILINEAR).scale_simple(
target_width, target_height, GdkPixbuf.InterpType.BILINEAR
)
# Center the image above the blurred background
scale = min(target_width / original_width, target_height / original_height)
left_padding = (target_width - original_width * scale) / 2
top_padding = (target_height - original_height * scale) / 2
image.composite(
cover,
# Top left of overwritten area on the destination
left_padding,
top_padding,
# Size of the overwritten area on the destination
original_width * scale,
original_height * scale,
# Offset
left_padding,
top_padding,
# Scale to apply to the resized image
scale,
scale,
# Compositing stuff
GdkPixbuf.InterpType.BILINEAR,
255,
)
# Resize and save the cover
save_cover(game.game_id, resize_cover(pixbuf=cover))
def manager_logic(self, game: Game, additional_data: dict) -> None:
# Ensure that we have a cover to download
cover_url = additional_data.get("online_cover_url")
if not cover_url:
return
# Download cover
image_file = Gio.File.new_tmp()[0]
image_path = Path(image_file.get_path())
with requests.get(cover_url, timeout=5) as cover:
cover.raise_for_status()
image_path.write_bytes(cover.content)
# Get image size
cover_width, cover_height = shared.image_size
with Image.open(image_path) as pil_image:
width, height = pil_image.size
# Composite if the image is shorter and the stretch amount is too high
aspect_ratio = width / height
target_aspect_ratio = cover_width / cover_height
is_taller = aspect_ratio < target_aspect_ratio
resized_height = height / width * cover_width
stretch = 1 - (resized_height / cover_height)
max_stretch = 0.12
if is_taller or stretch <= max_stretch:
save_cover(game.game_id, resize_cover(image_path))
else:
self.save_composited_cover(
game, image_file, width, height, cover_width, cover_height
)

View File

@@ -0,0 +1,49 @@
# sgdb_manager.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 json import JSONDecodeError
from requests.exceptions import HTTPError, SSLError
from src.errors.friendly_error import FriendlyError
from src.game import Game
from src.store.managers.async_manager import AsyncManager
from src.store.managers.local_cover_manager import LocalCoverManager
from src.store.managers.online_cover_manager import OnlineCoverManager
from src.store.managers.steam_api_manager import SteamAPIManager
from src.utils.steamgriddb import SGDBAuthError, SGDBHelper
class SGDBManager(AsyncManager):
"""Manager in charge of downloading a game's cover from steamgriddb"""
run_after = (SteamAPIManager, LocalCoverManager, OnlineCoverManager)
retryable_on = (HTTPError, SSLError, ConnectionError, JSONDecodeError)
def manager_logic(self, game: Game, _additional_data: dict) -> None:
try:
sgdb = SGDBHelper()
sgdb.conditionaly_update_cover(game)
except SGDBAuthError as error:
# If invalid auth, cancel all SGDBManager tasks
self.cancellable.cancel()
raise FriendlyError(
_("Couldn't Authenticate SteamGridDB"),
_("Verify your API key in preferences"),
) from error

View File

@@ -0,0 +1,56 @@
# steam_api_manager.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 requests.exceptions import HTTPError, SSLError
from src.game import Game
from src.store.managers.async_manager import AsyncManager
from src.utils.steam import (
SteamGameNotFoundError,
SteamAPIHelper,
SteamNotAGameError,
SteamRateLimiter,
)
class SteamAPIManager(AsyncManager):
"""Manager in charge of completing a game's data from the Steam API"""
retryable_on = (HTTPError, SSLError)
steam_api_helper: SteamAPIHelper = None
steam_rate_limiter: SteamRateLimiter = None
def __init__(self) -> None:
super().__init__()
self.steam_rate_limiter = SteamRateLimiter()
self.steam_api_helper = SteamAPIHelper(self.steam_rate_limiter)
def manager_logic(self, game: Game, additional_data: dict) -> None:
# Skip non-steam games
appid = additional_data.get("steam_appid", None)
if appid is None:
return
# Get online metadata
try:
online_data = self.steam_api_helper.get_api_data(appid=appid)
except (SteamNotAGameError, SteamGameNotFoundError):
game.update_values({"blacklisted": True})
else:
game.update_values(online_data)

110
src/store/pipeline.py Normal file
View File

@@ -0,0 +1,110 @@
# pipeline.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 logging
from typing import Iterable
from gi.repository import GObject
from src.game import Game
from src.store.managers.manager import Manager
class Pipeline(GObject.Object):
"""Class representing a set of managers for a game"""
game: Game
additional_data: dict
waiting: set[Manager]
running: set[Manager]
done: set[Manager]
def __init__(
self, game: Game, additional_data: dict, managers: Iterable[Manager]
) -> None:
super().__init__()
self.game = game
self.additional_data = additional_data
self.waiting = set(managers)
self.running = set()
self.done = set()
@property
def not_done(self) -> set[Manager]:
"""Get the managers that are not done yet"""
return self.waiting | self.running
@property
def is_done(self) -> bool:
return len(self.waiting) == 0 and len(self.running) == 0
@property
def blocked(self) -> set[Manager]:
"""Get the managers that cannot run because their dependencies aren't done"""
blocked = set()
for waiting in self.waiting:
for not_done in self.not_done:
if waiting == not_done:
continue
if type(not_done) in waiting.run_after:
blocked.add(waiting)
return blocked
@property
def ready(self) -> set[Manager]:
"""Get the managers that can be run"""
return self.waiting - self.blocked
@property
def progress(self) -> float:
"""Get the pipeline progress. Should only be a rough idea."""
n_done = len(self.done)
n_total = len(self.waiting) + len(self.running) + n_done
try:
progress = n_done / n_total
except ZeroDivisionError:
progress = 1
return progress
def advance(self):
"""Spawn tasks for managers that are able to run for a game"""
# Separate blocking / async managers
managers = self.ready
blocking = set(filter(lambda manager: manager.blocking, managers))
parallel = managers - blocking
# Schedule parallel managers, then run the blocking ones
for manager in (*parallel, *blocking):
self.waiting.remove(manager)
self.running.add(manager)
manager.process_game(self.game, self.additional_data, self.manager_callback)
def manager_callback(self, manager: Manager) -> None:
"""Method called by a manager when it's done"""
logging.debug("%s done for %s", manager.name, self.game.game_id)
self.running.remove(manager)
self.done.add(manager)
self.emit("advanced")
self.advance()
@GObject.Signal(name="advanced")
def advanced(self) -> None:
"""Signal emitted when the pipeline has advanced"""

106
src/store/store.py Normal file
View File

@@ -0,0 +1,106 @@
# store.py
#
# Copyright 2023 Geoffrey Coulaud
#
# 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 logging
from src import shared
from src.game import Game
from src.store.managers.manager import Manager
from src.store.pipeline import Pipeline
class Store:
"""Class in charge of handling games being added to the app."""
managers: dict[type[Manager], Manager]
pipeline_managers: set[Manager]
pipelines: dict[str, Pipeline]
games: dict[str, Game]
def __init__(self) -> None:
self.managers = {}
self.pipeline_managers = set()
self.pipelines = {}
self.games = {}
def add_manager(self, manager: Manager, in_pipeline=True):
"""Add a manager to the store"""
manager_type = type(manager)
self.managers[manager_type] = manager
if in_pipeline:
self.enable_manager_in_pipelines(manager_type)
def enable_manager_in_pipelines(self, manager_type: type[Manager]):
"""Make a manager run in new pipelines"""
self.pipeline_managers.add(self.managers[manager_type])
def cleanup_game(self, game: Game) -> None:
"""Remove a game's files"""
for path in (
shared.games_dir / f"{game.game_id}.json",
shared.covers_dir / f"{game.game_id}.tiff",
shared.covers_dir / f"{game.game_id}.gif",
):
path.unlink(missing_ok=True)
def add_game(
self, game: Game, additional_data: dict, run_pipeline=True
) -> Pipeline | None:
"""Add a game to the app"""
# Ignore games from a newer spec version
if game.version > shared.SPEC_VERSION:
return None
# Scanned game is already removed, just clean it up
if game.removed:
self.cleanup_game(game)
return None
# Handle game duplicates
stored_game = self.games.get(game.game_id)
if not stored_game:
# New game, do as normal
logging.debug("New store game %s (%s)", game.name, game.game_id)
elif stored_game.removed:
# Will replace a removed game, cleanup its remains
logging.debug(
"New store game %s (%s) (replacing a removed one)",
game.name,
game.game_id,
)
self.cleanup_game(stored_game)
else:
# Duplicate game, ignore it
logging.debug("Duplicate store game %s (%s)", game.name, game.game_id)
return None
# Connect signals
for manager in self.managers.values():
for signal in manager.signals:
game.connect(signal, manager.execute_resilient_manager_logic)
# Run the pipeline for the game
if not run_pipeline:
return None
pipeline = Pipeline(game, additional_data, self.pipeline_managers)
self.games[game.game_id] = game
self.pipelines[game.game_id] = pipeline
pipeline.advance()
return pipeline

View File

@@ -1,32 +1,32 @@
# check_install.py # check_install.py
# #
# Copyright 2022-2023 kramo # Copyright 2022-2023 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # (at your option) any later version.
# #
# This program is distributed in the hope that it will be useful, # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
from pathlib import Path from pathlib import Path
def check_install(check, locations, setting=None, subdirs=(Path(),)): # TODO delegate to the sources
for location in locations: def check_install(check, locations, setting=None, subdirs=(Path(),)):
for subdir in (Path(),) + subdirs: for location in locations:
if (location / subdir / check).is_file() or ( for subdir in (Path(),) + subdirs:
location / subdir / check if (location / subdir / check).exists():
).exists(): if setting:
if setting: setting[0].set_string(setting[1], str(location / subdir))
setting[0].set_string(setting[1], str(location / subdir)) return location / subdir
return location / subdir return False

View File

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

View File

@@ -1,155 +0,0 @@
# importer.py
#
# Copyright 2022-2023 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
from pathlib import Path
from gi.repository import Adw, Gtk
from .create_dialog import create_dialog
from .save_cover import save_cover
from .save_game import save_game
from .steamgriddb import SGDBSave
class Importer:
def __init__(self, win):
self.win = win
self.total_queue = 0
self.queue = 0
self.games_no = 0
self.blocker = False
self.games = set()
self.sgdb_exception = None
self.progressbar = Gtk.ProgressBar(margin_start=12, margin_end=12)
self.import_statuspage = Adw.StatusPage(
title=_("Importing Games…"),
child=self.progressbar,
)
self.import_dialog = Adw.Window(
content=self.import_statuspage,
modal=True,
default_width=350,
default_height=-1,
transient_for=win,
deletable=False,
)
self.import_dialog.present()
def save_game(self, values=None, cover_path=None, pixbuf=None):
if values:
save_game(self.win, values)
if cover_path or pixbuf:
save_cover(self.win, values["game_id"], cover_path, pixbuf)
self.games.add((values["game_id"], values["name"]))
self.games_no += 1
if "blacklisted" in values:
self.games_no -= 1
self.queue -= 1
self.update_progressbar()
if self.queue == 0 and not self.blocker:
if self.games:
self.total_queue = len(self.games)
self.queue = len(self.games)
self.import_statuspage.set_title(_("Importing Covers…"))
self.update_progressbar()
SGDBSave(self.win, self.games, self)
else:
self.done()
def done(self):
self.update_progressbar()
if self.queue == 0:
self.import_dialog.close()
if self.games_no == 0:
create_dialog(
self.win,
_("No Games Found"),
_("No new games were found on your system."),
"open_preferences",
_("Preferences"),
).connect("response", self.response, "import")
elif self.games_no == 1:
create_dialog(
self.win,
_("Game Imported"),
_("Successfully imported 1 game."),
).connect("response", self.response, "import")
elif self.games_no > 1:
games_no = self.games_no
create_dialog(
self.win,
_("Games Imported"),
# The variable is the number of games
_("Successfully imported {} games.").format(games_no),
).connect("response", self.response, "import")
def response(self, _widget, response, page_name=None, expander_row=None):
if response == "open_preferences":
self.win.get_application().on_preferences_action(
None, page_name=page_name, expander_row=expander_row
)
elif self.sgdb_exception:
create_dialog(
self.win,
_("Couldn't Connect to SteamGridDB"),
self.sgdb_exception,
"open_preferences",
_("Preferences"),
).connect("response", self.response, "sgdb")
self.sgdb_exception = None
elif (
self.win.schema.get_boolean("steam")
and self.win.schema.get_boolean("steam-extra-dirs-hint")
and not self.win.schema.get_strv("steam-extra-dirs")
):
steam_library_path = (
Path(self.win.schema.get_string("steam-location"))
/ "steamapps"
/ "libraryfolders.vdf"
)
if (
steam_library_path.exists()
and steam_library_path.read_text("utf-8").count('"path"') > 1
):
self.win.schema.set_boolean("steam-extra-dirs-hint", False)
create_dialog(
self.win,
_("Extra Steam Libraries"),
_(
"Looks like you have multiple Steam libraries. Would you like to add them in preferences?"
),
"open_preferences",
_("Preferences"),
).connect("response", self.response, "import", "steam_expander_row")
def update_progressbar(self):
try:
self.progressbar.set_fraction(1 - (self.queue / self.total_queue))
except ZeroDivisionError:
self.progressbar.set_fraction(1)

Some files were not shown because too many files have changed in this diff Show More