Compare commits

...

143 Commits

Author SHA1 Message Date
Rilic
0440eee5d4 Convert to new importer format 2023-08-03 20:32:28 +01:00
Rilic
436a54ba5b Merge remote-tracking branch 'upstream/main' into dolphin-importer 2023-08-03 19:30:16 +01:00
Geoffrey Coulaud
1aff1347e3 Managers refactor (#164)
The main reason for this is the compositing of both local and online covers with the same logic.  
It was a problem raised in #146 with some covers getting stretched.

Changes:
- Renamed and simplified managers methods
- Created a generic `cover manager`
- Added more retryable errors to `steam api manager`
- Removed `local cover manager` and `online cover manager`
- Reduced dependency on `PIL`
2023-07-31 18:44:18 +02:00
Paweł Lidwin
e4dc1253ae Specify runner in heroic protocol (#163)
* improv: specify runner in heroic protocol to avoid appName collisions

* Update styling

Co-authored-by: kramo <93832451+kra-mo@users.noreply.github.com>

---------

Co-authored-by: kramo <93832451+kra-mo@users.noreply.github.com>
2023-07-27 18:38:34 +02:00
kramo
459e13ad05 v2.1.1 2023-07-27 11:13:14 +02:00
Weblate (bot)
e554cf8678 Translations update from Hosted Weblate (#155)
* Update translation files

Updated by "Update PO files to match POT (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.

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
2023-07-27 11:10:45 +02:00
kramo
f0afdcc943 Merge pull request #160 from kra-mo/id-fix
Fix source id being translated
2023-07-27 11:08:42 +02:00
GeoffreyCoulaud
d3a6eaa4d1 Fix source id being translated
- Additional fix, lutris source db subpath
2023-07-27 04:34:33 +02:00
kramo
1404878e28 Merge pull request #158 from kra-mo/locations-improvements
Locations improvements
2023-07-26 16:01:32 +02:00
GeoffreyCoulaud
fa8a15addf Moved invalid location message to location 2023-07-26 15:27:28 +02:00
GeoffreyCoulaud
04d0e9e90e Clarified location sub paths 2023-07-26 04:43:10 +02:00
GeoffreyCoulaud
0677eae0a2 Removed unused import 2023-07-26 03:55:23 +02:00
GeoffreyCoulaud
f3dcdbf0d2 Using a named tuple to store source locations 2023-07-26 03:53:17 +02:00
kramo
0b577d2480 Update translations 2023-07-25 20:34:35 +02:00
kramo
ca73023bc9 v2.1 2023-07-25 20:32:46 +02:00
Weblate (bot)
b8cd1fd741 Translations update from Hosted Weblate (#152)
* Translated using Weblate (Italian)

Currently translated at 100.0% (121 of 121 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (121 of 121 strings)

Added translation using Weblate (Czech)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: foo expert <deferred_water346@simplelogin.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/cs/
Translation: Cartridges/Cartridges

* Translated using Weblate (Polish)

Currently translated at 100.0% (121 of 121 strings)

Co-authored-by: Michaks <fexwex3@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pl/
Translation: Cartridges/Cartridges

* Translated using Weblate (French)

Currently translated at 100.0% (121 of 121 strings)

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: Giasko <dibiame@hotmail.it>
Co-authored-by: foo expert <deferred_water346@simplelogin.com>
Co-authored-by: Michaks <fexwex3@gmail.com>
Co-authored-by: rene-coty <irenee.thirion@e.email>
2023-07-25 20:29:01 +02:00
kramo
26e8d6d2c6 Merge pull request #150 from kra-mo/heroic-fixes-and-improvements
Heroic fixes and improvements
2023-07-25 20:23:54 +02:00
Rilic
b378110779 Launch Dolphin games without main Dolphin window 2023-07-25 15:11:38 +01:00
Rilic
5708f48db8 Finish Dolphin importer, fix cache reader bug 2023-07-23 22:22:18 +01:00
Rilic
9618fb7fff Implement initial framework for Dolphin importer
- Uses cache reading code from Lutris by strycore. https://github.com/lutris/lutris/blob/master/lutris/util/dolphin/cache_reader.py#L23
2023-07-23 20:24:09 +01:00
GeoffreyCoulaud
7bcb113a33 extracted get_hidden_app_names to a method 2023-07-22 00:06:16 +02:00
GeoffreyCoulaud
fbf076660d Better heroic store file parsing 2023-07-22 00:04:02 +02:00
GeoffreyCoulaud
b1992a9466 Fix heroic legendary path detection 2023-07-21 14:39:07 +02:00
kramo
c347d9b0f4 v2.0.6 2023-07-21 09:45:18 +02:00
kramo
9cd4d7048c Don't blacklist Steam mods - #151 2023-07-21 09:39:32 +02:00
GeoffreyCoulaud
da777d3605 Permission for heroic flatpak's legendary files 2023-07-20 21:06:30 +02:00
GeoffreyCoulaud
4587720934 using cached_property for sub-source paths 2023-07-20 21:06:04 +02:00
GeoffreyCoulaud
270fa2092c Fixed heroic location candidates priority 2023-07-20 20:56:28 +02:00
kramo
82dddd1c5c Skip missing hidden key 2023-07-20 19:52:59 +02:00
kramo
3d17b5a920 Properly capitalize Pylint 2023-07-20 19:15:19 +02:00
kramo
2c67dd23ab Update contributing guidelines 2023-07-20 19:11:24 +02:00
kramo
45d1ddaa7d Add Matrix space to Readme 2023-07-20 11:56:55 +02:00
GeoffreyCoulaud
bb4870e99d Add debug message to local cover manager 2023-07-20 11:33:55 +02:00
GeoffreyCoulaud
190b446de5 More debug messages + fix sideloaded heroic games 2023-07-20 11:26:05 +02:00
GeoffreyCoulaud
52b6c47c8d More renaming to iterable + fixes to heroic 2023-07-20 10:58:23 +02:00
GeoffreyCoulaud
0df123975c Fix some syntax 2023-07-20 10:35:07 +02:00
GeoffreyCoulaud
7f576d1bd3 SourceIterator is actually just SourceIterable 2023-07-20 10:32:43 +02:00
GeoffreyCoulaud
30152cd10a simplified SourceIterator 2023-07-20 10:29:39 +02:00
GeoffreyCoulaud
2acdedf033 Added heroic import amazon to ui + fixes 2023-07-20 10:29:27 +02:00
GeoffreyCoulaud
a399113ff9 fixed typo 2023-07-19 13:12:07 +02:00
GeoffreyCoulaud
8839db272b better legendary sub-source library path detection 2023-07-19 13:00:29 +02:00
GeoffreyCoulaud
a0bfca01d6 WIP added support for heroic hidden
TODO
- Test all of that
2023-07-19 05:33:55 +02:00
GeoffreyCoulaud
0601fd5ebb Converted genexps to setcomps 2023-07-19 05:32:47 +02:00
GeoffreyCoulaud
15da65fccf WIP heroic source refactor
- Fixed installed games lookup
- Added support for amazon games

TODO
- Test (obviously)
- Consider getting hidden value
2023-07-19 05:01:17 +02:00
GeoffreyCoulaud
00ff297867 Steam source debug info on skip 2023-07-18 14:23:43 +02:00
GeoffreyCoulaud
fbb2ccec57 silence pil 2023-07-18 14:20:19 +02:00
kramo
be6338cdd4 v2.0.5 2023-07-17 09:59:47 +02:00
kramo
bb7fded0e5 Fix Windows migration 2023-07-17 09:57:09 +02:00
kramo
7d91b84a87 Merge pull request #144 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-07-17 09:56:09 +02:00
Hosted Weblate
3002cef448 Translated using Weblate (Polish)
Currently translated at 100.0% (121 of 121 strings)

Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pl/
Translation: Cartridges/Cartridges
2023-07-16 00:51:44 +02:00
Hosted Weblate
89f6dcad19 Translated using Weblate (Portuguese (Brazil))
Currently translated at 91.7% (111 of 121 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Vítor Fernandes Almado <vfalmado@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt_BR/
Translation: Cartridges/Cartridges
2023-07-16 00:51:44 +02:00
Hosted Weblate
5c62b7ba02 Translated using Weblate (Turkish)
Currently translated at 100.0% (121 of 121 strings)

Co-authored-by: Sabri Ünal <libreajans@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/tr/
Translation: Cartridges/Cartridges
2023-07-16 00:51:44 +02:00
kramo
a1c5a4bdd8 Mark source names as translatable 2023-07-13 14:51:55 +02:00
kramo
6114f65204 Lowercase itch source name 2023-07-13 14:46:31 +02:00
kramo
5be70bba52 Add extra sources to desktop entry 2023-07-09 14:26:44 +02:00
kramo
99ef85daf3 Update release description 2023-07-09 10:01:45 +02:00
kramo
719cedba67 Merge pull request #142 from weblate/weblate-cartridges-cartridges
Translations update from Hosted Weblate
2023-07-09 10:00:49 +02:00
Hosted Weblate
19432a1fe7 Translated using Weblate (Swedish)
Currently translated at 100.0% (121 of 121 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Luna Jernberg <droidbittin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/sv/
Translation: Cartridges/Cartridges
2023-07-09 10:00:26 +02:00
Hosted Weblate
220d00141f Translated using Weblate (Tamil)
Currently translated at 100.0% (121 of 121 strings)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ta/
Translation: Cartridges/Cartridges
2023-07-09 10:00:26 +02:00
Hosted Weblate
633e2a6c5d Translated using Weblate (Italian)
Currently translated at 100.0% (121 of 121 strings)

Co-authored-by: Alessandro Iepure <alessandro.iepure@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/it/
Translation: Cartridges/Cartridges
2023-07-09 10:00:26 +02:00
Hosted Weblate
bc25afa494 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (121 of 121 strings)

Co-authored-by: Dan <jonweblin2205@protonmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges
2023-07-09 10:00:26 +02:00
Hosted Weblate
6bf246a8e6 Translated using Weblate (Dutch)
Currently translated at 100.0% (121 of 121 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/nl/
Translation: Cartridges/Cartridges
2023-07-09 10:00:26 +02:00
Hosted Weblate
ac71bc6ecb Translated using Weblate (Russian)
Currently translated at 100.0% (121 of 121 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
2023-07-09 10:00:26 +02:00
Hosted Weblate
d7d6270bbc Translated using Weblate (Spanish)
Currently translated at 100.0% (121 of 121 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Óscar Fernández Díaz <oscfdezdz@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/es/
Translation: Cartridges/Cartridges
2023-07-09 10:00:26 +02:00
Hosted Weblate
cd986c3f5e Translated using Weblate (Arabic)
Currently translated at 100.0% (121 of 121 strings)

Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ar/
Translation: Cartridges/Cartridges
2023-07-09 10:00:26 +02:00
kramo
c3bd7ee736 v2.0.4 2023-07-09 10:00:10 +02:00
kramo
b4bfe38765 Backport new game fix - closes #143 2023-07-09 09:59:03 +02:00
kramo
a0c46bbc74 v2.0.3 2023-07-08 16:01:32 +02:00
kramo
6a06f7329d Disallow Legendary on Windows to fix Heroic 2023-07-08 16:00:57 +02:00
kramo
16db07511a Merge pull request #141 from kra-mo/fix-windows-data-location
Migrate old windows data location to the current one
2023-07-08 15:52:54 +02:00
GeoffreyCoulaud
34863901fd Various tweaks
- Removed unnecessary comments
- Renamed path variables from file to path
- Don't check for XDG_DATA_HOME
- Move files instead of copying them
- Format json dump
2023-07-08 15:38:38 +02:00
GeoffreyCoulaud
3f5f8b71e8 Manually imported - Migrate covers, log message 2023-07-08 15:25:59 +02:00
GeoffreyCoulaud
618a98ee89 Handle manually added games separately 2023-07-08 15:09:30 +02:00
GeoffreyCoulaud
867e4d3cce Fixes to initial code 2023-07-08 14:35:43 +02:00
GeoffreyCoulaud
3c019796c2 Initial code 2023-07-08 13:54:43 +02:00
kramo
1c8448c1e1 Update docs 2023-07-08 12:36:05 +02:00
kramo
dad3dcafb7 v2.0.2 2023-07-08 12:18:01 +02:00
kramo
c6ef2ea0b4 uuuuuuuuuuuuuughhhhhhhhhhhhhhhhhhhhhhh 2023-07-08 12:14:37 +02:00
kramo
e4d9f8ba45 Merge pull request #140 from kra-mo/store-improvements
Store improvements
2023-07-07 18:30:55 +02:00
GeoffreyCoulaud
87a4319360 Store improvements
- Store games by source
- Added convenience dunder methods (contains, iter, len, getitem)
- Added store.get
- Changed `enable_in_pipeline` for `toggle_in_pipeline`
2023-07-07 18:06:07 +02:00
kramo
dc232e1e43 Fix cache dir, add debug_info_filename to about 2023-07-06 10:25:00 +02:00
kramo
39be891452 v2.0.1 2023-07-06 10:05:29 +02:00
kramo
c3cad7c793 Fix default Steam path because fuck me 2023-07-06 10:02:11 +02:00
kramo
2952322759 Fix Windows artifact path 2023-07-05 22:57:42 +02:00
kramo
653bc8668c Fix Inno Setup paths 2023-07-05 22:53:08 +02:00
kramo
1a23851000 Add endif to meson.build 2023-07-05 22:35:43 +02:00
kramo
560d1cd273 Properly configure Windows with meson 2023-07-05 22:28:02 +02:00
kramo
dc0d7304f1 Don't allow multiple imports at once 2023-07-05 15:54:12 +02:00
kramo
0100e7176c v2.0 2023-07-05 15:14:35 +02:00
Weblate (bot)
23aaabd425 Translations update from Hosted Weblate (#119)
* Update translation files

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

Translated using Weblate (Arabic)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Translated using Weblate (Arabic)

Currently translated at 100.0% (112 of 112 strings)

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (112 of 112 strings)

Update translation files

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

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

* Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Russian)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Translated using Weblate (Russian)

Currently translated at 100.0% (115 of 115 strings)

Update translation files

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

Update translation files

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

Translated using Weblate (Russian)

Currently translated at 99.1% (116 of 117 strings)

Translated using Weblate (Russian)

Currently translated at 98.2% (115 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.

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (117 of 117 strings)

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

* Update translation files

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

Translated using Weblate (Italian)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Co-authored-by: Hosted Weblate <hosted@weblate.org>
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.

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Translated using Weblate (Tamil)

Currently translated at 100.0% (112 of 112 strings)

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (118 of 118 strings)

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Translated using Weblate (Swedish)

Currently translated at 100.0% (112 of 112 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: Luna Jernberg <droidbittin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/sv/
Translation: Cartridges/Cartridges

* Translated using Weblate (French)

Currently translated at 100.0% (121 of 121 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% (120 of 120 strings)

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Update translation files

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

Co-authored-by: Geoffrey Coulaud <geoffrey.coulaud+github@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (121 of 121 strings)

Update translation files

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (120 of 120 strings)

Update translation files

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (118 of 118 strings)

Update translation files

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

Update translation files

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

Update translation files

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (115 of 115 strings)

Update translation files

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

Update translation files

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

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

---------

Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: Dan <jonweblin2205@protonmail.com>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Luna Jernberg <droidbittin@gmail.com>
Co-authored-by: Geoffrey Coulaud <geoffrey.coulaud+github@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: kramo <contact@kramo.hu>
2023-07-05 15:13:26 +02:00
kramo
2ad1863577 Update translations 2023-07-05 14:37:02 +02:00
Geoffrey Coulaud
0297275540 Merge pull request #136 from kra-mo/fix-invalid-location-text
Changed invalid location texts
2023-07-05 14:35:13 +02:00
GeoffreyCoulaud
a4bebdd4a9 Changed invalid location textx 2023-07-05 14:34:14 +02:00
kramo
8524a891cf Fix GLib screaming at me 2023-07-05 14:16:59 +02:00
Geoffrey Coulaud
a6fafc3963 Merge pull request #135 from kra-mo/fix-heroic
Fix heroic
2023-07-05 14:14:01 +02:00
GeoffreyCoulaud
2d324997fd Fix heroic 2023-07-05 14:13:42 +02:00
kramo
9ed1f84879 Fix animatied covers not updating in time 2023-07-05 14:13:16 +02:00
kramo
253bef9507 Fix Legendary location 2023-07-05 13:50:35 +02:00
Geoffrey Coulaud
95c637699a Merge pull request #134 from kra-mo/fix-lutris-id
Fix lutris ID
2023-07-05 13:40:17 +02:00
GeoffreyCoulaud
da22751035 Fix lutris ID 2023-07-05 13:39:45 +02:00
kramo
0500b8ebe1 Fix Lutris source executable 2023-07-05 13:33:21 +02:00
kramo
a2c77a5852 Add SVG to supported image formats 2023-07-04 19:29:18 +02:00
kramo
0efa05514c Exclude devel Cartridges from Flatpak imports 2023-07-03 22:24:44 +02:00
kramo
3a20eb7399 Revert __pycache__ cleanup for now 2023-07-03 17:52:33 +02:00
kramo
a7d0842ebc Clean up Cartridges.iss 2023-07-03 17:16:15 +02:00
kramo
220c9a4bb7 Fix update logic when hiding games 2023-07-03 15:10:14 +02:00
kramo
e388623c03 Make sure all measurements are divisible by 3 2023-07-03 14:40:08 +02:00
kramo
e320e58ffc Fix Appstream ID 2023-07-03 12:43:33 +02:00
kramo
c9a1104b44 Revert test 2023-07-02 14:46:54 +02:00
kramo
ee5740c21c Test Actions 2023-07-02 14:46:37 +02:00
kramo
1498326f45 Exit differently 2023-07-02 13:03:34 +02:00
kramo
69fc7e1b03 Remove test module 2023-07-02 12:55:19 +02:00
kramo
8a3397bef5 This should work 2023-07-02 12:54:49 +02:00
kramo
d87048ee64 Test worked 2023-07-02 12:26:56 +02:00
kramo
3d6601238d Actions Test 2023-07-02 12:21:55 +02:00
kramo
a7393ba9b9 Rename Windows Action 2023-07-02 01:25:08 +02:00
kramo
c2f429a29c Fix Flatpak action caching 2023-07-02 00:57:54 +02:00
kramo
8fadcc8524 oops 2023-07-02 00:53:20 +02:00
kramo
c544901519 I'm one with the cloud ☁️ (#130) 2023-07-02 00:51:28 +02:00
kramo
7756f75bb9 Test Release Action 2023-07-01 20:18:26 +02:00
Geoffrey Coulaud
fabd9828f6 Merge pull request #129 from kra-mo/online-managers-improvements
Retry all online managers on ConnectionError
2023-07-01 18:52:26 +02:00
GeoffreyCoulaud
29e022327b Retry all online managers on ConnectionError 2023-07-01 18:51:50 +02:00
Geoffrey Coulaud
49fb3705e4 Merge pull request #128 from kra-mo/windows-logging-fix
Windows fixes
2023-07-01 18:29:47 +02:00
GeoffreyCoulaud
0c6cfc14f0 Fix hiding unavailable source rows 2023-07-01 18:27:11 +02:00
GeoffreyCoulaud
75a5255806 Sepcified utf-8 for lzma log backups 2023-07-01 18:14:10 +02:00
Geoffrey Coulaud
dd1dd2b7e5 Merge pull request #127 from kra-mo/sources-paths-fix
Sources paths fix
2023-07-01 17:10:47 +02:00
GeoffreyCoulaud
4a204442b5 Using new shared paths in sources 2023-07-01 15:53:52 +02:00
GeoffreyCoulaud
fb0c47c1f1 Re added hardcoded candidates for linux
- Real fix would be to get the XDG_*_DIR
2023-07-01 15:17:12 +02:00
GeoffreyCoulaud
3af968fee7 Simplified source available on 2023-07-01 15:10:40 +02:00
kramo
9fbb45cfa5 Fix Steam API developers 2023-07-01 14:30:26 +02:00
kramo
bbfe478ac3 Fix Legendary location labels 2023-07-01 13:58:47 +02:00
kramo
339ec1c20a Update translations 2023-07-01 13:48:30 +02:00
kramo
97e40e0a80 Fix Legendary, warning for missing locations 2023-07-01 13:44:14 +02:00
kramo
95d47815ab Add translation comments 2023-07-01 11:36:45 +02:00
kramo
772bf30468 Fix translations 2023-07-01 11:35:17 +02:00
kramo
7311015549 Fix translations 2023-07-01 11:30:44 +02:00
kramo
e7d2f58416 Merge pull request #126 from kra-mo/kra-mo-patch-1
Update README.md
2023-07-01 11:23:46 +02:00
kramo
a040b058d2 Update README.md 2023-07-01 11:23:38 +02:00
kramo
7be20c64bd Update translations 2023-07-01 11:15:55 +02:00
kramo
036e5814f3 Fix Flatpak custom paths 2023-07-01 11:11:16 +02:00
kramo
e46c9b6a30 Fix Flatpak desktop entry search 2023-07-01 10:54:48 +02:00
kramo
495755f278 More reliance on GLib 2023-07-01 10:44:15 +02:00
kramo
1f25bed842 Move away from PyXDG 2023-07-01 10:05:16 +02:00
77 changed files with 4650 additions and 2573 deletions

View File

@@ -23,6 +23,9 @@ A clear and concise description of what you expected to happen.
**Screenshots** **Screenshots**
If applicable, add screenshots to help explain your problem. If applicable, add screenshots to help explain your problem.
**Logs**
If applicable, attatch your logs from `Main Menu > About Cartridges > Troubleshooting > Debugging Information` to the issue.
**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]

View File

@@ -2,20 +2,40 @@ on:
push: push:
branches: [main] branches: [main]
pull_request: pull_request:
name: "Build for Windows" name: CI
concurrency:
group: release-${{ github.sha }}
jobs: jobs:
flatpak:
name: Flatpak
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Flatpak Builder
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
with:
bundle: hu.kramo.Cartridges.Devel.flatpak
manifest-path: flatpak/hu.kramo.Cartridges.Devel.json
windows: windows:
name: "Build" name: Windows
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: MSYS2
- name: Setup MSYS2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
with: with:
msystem: UCRT64 msystem: UCRT64
update: true update: true
install: mingw-w64-ucrt-x86_64-gtk4 mingw-w64-ucrt-x86_64-libadwaita mingw-w64-ucrt-x86_64-python-gobject mingw-w64-ucrt-x86_64-python-yaml mingw-w64-ucrt-x86_64-python-requests mingw-w64-ucrt-x86_64-python-pillow mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-ca-certificates mingw-w64-ucrt-x86_64-meson git install: mingw-w64-ucrt-x86_64-gtk4 mingw-w64-ucrt-x86_64-libadwaita mingw-w64-ucrt-x86_64-python-gobject mingw-w64-ucrt-x86_64-python-yaml mingw-w64-ucrt-x86_64-python-requests mingw-w64-ucrt-x86_64-python-pillow mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-ca-certificates mingw-w64-ucrt-x86_64-meson git
- name: Compile - name: Compile
shell: msys2 {0} shell: msys2 {0}
run: | run: |
@@ -23,10 +43,18 @@ jobs:
ninja -C _build install ninja -C _build install
pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git
find /ucrt64/share/locale/ -type f ! -name "*cartridges.mo" -delete find /ucrt64/share/locale/ -type f ! -name "*cartridges.mo" -delete
- name: "Inno Setup"
run: iscc ".\_build\Cartridges.iss" - name: Test
- name: "Upload Artifact" shell: msys2 {0}
run: |
set +e
timeout 2 cartridges; [ "$?" -eq "124" ]
- name: Inno Setup
run: iscc ".\_build\windows\Cartridges.iss"
- name: Upload Artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: "Installer" name: Windows Installer
path: "_build/Output/Cartridges Setup.exe" path: _build/windows/Output/Cartridges Setup.exe

View File

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

45
.github/workflows/publish-release.yml vendored Normal file
View File

@@ -0,0 +1,45 @@
on:
push:
tags:
"*"
name: Publish Release
concurrency:
group: release-${{ github.sha }}
jobs:
publish-release:
name: Publish Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download workflow artifact
uses: dawidd6/action-download-artifact@v2.27.0
with:
workflow: ci.yml
commit: ${{ github.sha }}
- name: Get release notes
shell: python
run: |
import re, textwrap
open_file = open("./data/hu.kramo.Cartridges.metainfo.xml.in", "r", encoding="utf-8")
string = open_file.read()
open_file.close()
string = re.findall("<release.*>\s*<description.*>\n([\s\S]*?)\s*</description>\s*<\/release>", string)[0]
string = textwrap.dedent(string)
open_file = open("release_notes", "w", encoding="utf-8")
open_file.write(string)
open_file.close()
- name: Get tag name
id: get_tag_name
run: echo tag_name=${GITHUB_REF#refs/tags/} >> $GITHUB_OUTPUT
- name: Publish release
uses: softprops/action-gh-release@v0.1.15
with:
files: Windows Installer/Cartridges Setup.exe
fail_on_unmatched_files: true
tag_name: ${{ steps.get_tag_name.outputs.tag_name }}
body_path: release_notes

View File

@@ -2,9 +2,9 @@
ignore=importers ignore=importers
[MESSAGES CONTROL] [MESSAGES CONTROL]
disable=raw-checker-failed, disable=raw-checker-failed,
bad-inline-option, bad-inline-option,
locally-disabled, locally-disabled,

View File

@@ -1,7 +1,14 @@
# Contributing # Contributing
## Code ## Code
Fork the repository, make your changes, then create a pull request.
Be sure to follow the [code style](#code-style) of the project.
### Adding a feature
[Create an issue](https://github.com/kra-mo/cartridges/issues/new) or join the [Discord](https://discord.gg/4KSFh3AmQR)/[Matrix](https://matrix.to/#/#cartridges:matrix.org) to discuss it with the maintainers. We will provide additional guidance.
### Fixing a bug
Fork the repository, make your changes, then create a pull request. Be sure to mention the GitHub issue you're fixing if one was already open.
## Translations ## Translations
### Weblate ### Weblate
@@ -17,13 +24,13 @@ The project can be translated on [Weblate](https://hosted.weblate.org/engage/car
# Building # Building
## GNOME Builder ## GNOME Builder
1. Install [GNOME Builder](https://flathub.org/apps/details/org.gnome.Builder). 1. Install [GNOME Builder](https://flathub.org/apps/org.gnome.Builder).
2. Click "Clone Repository" with `https://github.com/kra-mo/cartridges.git` as the URL. 2. Click "Clone Repository" with `https://github.com/kra-mo/cartridges.git` as the URL.
3. Click on the build button (hammer) at the top. 3. Click on the build button (hammer) at the top.
## 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/ci.yml).
3. Build it via Meson. 3. Build it via Meson.
## Meson ## Meson
@@ -33,3 +40,23 @@ cd cartridges
meson setup build meson setup build
ninja -C build install ninja -C build install
``` ```
# Code style
All code is auto-formatted with [Black](https://github.com/psf/black) and linted with [Pylint](https://github.com/pylint-dev/pylint). Imports are sorted by [isort](https://github.com/pycqa/isort).
VSCode extensions are available for all of these and you can set them up with the following `settings.json` configuration:
```json
"python.formatting.provider": "none",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
},
"isort.args":["--profile", "black"],
```
For other code editors, you can install them via `pip` and invoke them via the command line.

View File

@@ -1,33 +1,30 @@
[circle-url]: https://circle.gnome.org
[circle-image]: https://circle.gnome.org/assets/button/badge.svg
[weblate-url]: https://hosted.weblate.org/engage/cartridges/
[weblate-image]: https://hosted.weblate.org/widgets/cartridges/-/cartridges/svg-badge.svg
[discord-url]: https://discord.gg/4KSFh3AmQR
[discord-image]: https://img.shields.io/discord/1088155799299313754?color=%235865F2&label=discord&logo=discord&logoColor=%23FFFFFF&style=for-the-badge
[matrix-url]: https://matrix.to/#/#cartridges:matrix.org
[matrix-image]: https://img.shields.io/matrix/cartridges:matrix.org?label=Matrix&logo=matrix&color=%230dbd8b&style=for-the-badge
[flathub-url]: https://flathub.org/apps/hu.kramo.Cartridges
[flathub-image]: https://img.shields.io/flathub/v/hu.kramo.Cartridges?logo=flathub&style=for-the-badge
[installs-image]: https://img.shields.io/flathub/downloads/hu.kramo.Cartridges?style=for-the-badge
<div align="center"> <div align="center">
<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] [![GNOME Circle][circle-image]][circle-url]
[![Flathub][flathub-image]][flathub-url] [![Translation Status][weblate-image]][weblate-url]
[![Build status][github-actions-image]][github-actions-url]
[![Translation Status][weblate-image]][weblate-url]
[![License][license-image]][license-url]
[![Code style][code-style-image]][code-style-url]
[![Discord][discord-image]][discord-url]
[circle-url]: https://circle.gnome.org [![Flathub][flathub-image]][flathub-url]
[circle-image]: https://circle.gnome.org/assets/button/badge.svg [![Discord][discord-image]][discord-url]
[github-actions-url]: https://github.com/kra-mo/cartridges [![Matrix][matrix-image]][matrix-url]
[github-actions-image]: https://github.com/kra-mo/cartridges/actions/workflows/flatpak-builder.yml/badge.svg [![Installs][installs-image]][flathub-url]
[license-url]: https://github.com/kra-mo/cartridges/blob/main/LICENSE
[license-image]: https://img.shields.io/github/license/kra-mo/cartridges
[code-style-url]: https://github.com/psf/black
[code-style-image]: https://img.shields.io/badge/code%20style-black-000000?style=flat
[weblate-url]: https://hosted.weblate.org/engage/cartridges/
[weblate-image]: https://hosted.weblate.org/widgets/cartridges/-/cartridges/svg-badge.svg
[discord-url]: https://discord.gg/4KSFh3AmQR
[discord-image]: https://img.shields.io/discord/1088155799299313754?color=%235865F2&label=discord&logo=discord&logoColor=%23FFFFFF
[flathub-url]: https://flathub.org/apps/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>
@@ -39,15 +36,21 @@ 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 various sources:
- Support for multiple Steam install locations - Steam
- Lutris
- Heroic
- Bottles
- itch
- Legendary
- Flatpak
- Hiding games - Hiding games
- Searching and sorting by title, date added and last played - Searching and sorting by title, date added and last played
- Automatically downloading cover art from [SteamGridDB](https://www.steamgriddb.com/) - Automatically downloading cover art from [SteamGridDB](https://www.steamgriddb.com/)
- Searching for games on various databases - Searching for games on various databases
- Animated covers - Animated covers
For updates and questions, join our [Discord server][discord-url]! For updates and questions, join our [Discord server][discord-url] (bridged to [Matrix](https://matrix.to/#/#cartridges:matrix.org))!
# Installation # Installation

View File

@@ -29,6 +29,30 @@ Cartridges is a simple game launcher for all of your games. It has support for i
<foaf:accountName>kra-mo</foaf:accountName> <foaf:accountName>kra-mo</foaf:accountName>
</foaf:OnlineAccount> </foaf:OnlineAccount>
</foaf:account> </foaf:account>
<foaf:account>
<foaf:OnlineAccount>
<foaf:accountServiceHomepage rdf:resource="https://gitlab.gnome.org"/>
<foaf:accountName>kramo</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
</foaf:Person>
</maintainer>
<maintainer>
<foaf:Person>
<foaf:name>Geoffrey Coulaud</foaf:name>
<foaf:mbox rdf:resource="mailto:geoffrey.coulaud@gmail.com" />
<foaf:account>
<foaf:OnlineAccount>
<foaf:accountServiceHomepage rdf:resource="https://github.com"/>
<foaf:accountName>GeoffreyCoulaud</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
<foaf:account>
<foaf:OnlineAccount>
<foaf:accountServiceHomepage rdf:resource="https://gitlab.gnome.org"/>
<foaf:accountName>GeoffreyCoulaud</foaf:accountName>
</foaf:OnlineAccount>
</foaf:account>
</foaf:Person> </foaf:Person>
</maintainer> </maintainer>

View File

@@ -81,8 +81,8 @@ template $Game : Box {
ellipsize: end; ellipsize: end;
hexpand: true; hexpand: true;
halign: start; halign: start;
margin-top: 14; margin-top: 15;
margin-bottom: 14; margin-bottom: 15;
margin-start: 12; margin-start: 12;
margin-end: 12; margin-end: 12;
} }

View File

@@ -174,6 +174,15 @@ template $PreferencesWindow : Adw.PreferencesWindow {
} }
} }
Adw.ActionRow {
title: _("Import Amazon Games");
activatable-widget: heroic_import_amazon_switch;
Switch heroic_import_amazon_switch {
valign: center;
}
}
Adw.ActionRow { Adw.ActionRow {
title: _("Import Sideloaded Games"); title: _("Import Sideloaded Games");
activatable-widget: heroic_import_sideload_switch; activatable-widget: heroic_import_sideload_switch;
@@ -198,6 +207,20 @@ template $PreferencesWindow : Adw.PreferencesWindow {
} }
} }
Adw.ExpanderRow dolphin_expander_row {
title: _("Dolphin");
show-enable-switch: true;
Adw.ActionRow dolphin_cache_action_row {
title: _("Cache Location");
Button dolphin_cache_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
}
}
}
Adw.ExpanderRow itch_expander_row { Adw.ExpanderRow itch_expander_row {
title: _("itch"); title: _("itch");
show-enable-switch: true; show-enable-switch: true;

View File

@@ -147,7 +147,7 @@ template $CartridgesWindow : Adw.ApplicationWindow {
Box { Box {
orientation: horizontal; orientation: horizontal;
margin-top: 16; margin-top: 15;
hexpand: true; hexpand: true;
halign: start; halign: start;
@@ -285,10 +285,10 @@ template $CartridgesWindow : Adw.ApplicationWindow {
valign: start; valign: start;
column-spacing: 12; column-spacing: 12;
row-spacing: 12; row-spacing: 12;
margin-top: 16; margin-top: 15;
margin-bottom: 16; margin-bottom: 15;
margin-start: 16; margin-start: 15;
margin-end: 16; margin-end: 15;
selection-mode: none; selection-mode: none;
} }
} }
@@ -351,10 +351,10 @@ template $CartridgesWindow : Adw.ApplicationWindow {
valign: start; valign: start;
column-spacing: 12; column-spacing: 12;
row-spacing: 12; row-spacing: 12;
margin-top: 16; margin-top: 15;
margin-bottom: 16; margin-bottom: 15;
margin-start: 16; margin-start: 15;
margin-end: 16; margin-end: 15;
selection-mode: none; selection-mode: none;
} }
} }

View File

@@ -7,5 +7,5 @@ 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; Keywords=gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;
StartupNotify=true StartupNotify=true

View File

@@ -14,7 +14,7 @@
<default>true</default> <default>true</default>
</key> </key>
<key name="steam-location" type="s"> <key name="steam-location" type="s">
<default>"~/.steam/"</default> <default>"~/.steam/steam"</default>
</key> </key>
<key name="lutris" type="b"> <key name="lutris" type="b">
<default>true</default> <default>true</default>
@@ -43,6 +43,9 @@
<key name="heroic-import-gog" type="b"> <key name="heroic-import-gog" type="b">
<default>true</default> <default>true</default>
</key> </key>
<key name="heroic-import-amazon" type="b">
<default>true</default>
</key>
<key name="heroic-import-sideload" type="b"> <key name="heroic-import-sideload" type="b">
<default>true</default> <default>true</default>
</key> </key>
@@ -52,6 +55,12 @@
<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="dolphin" type="b">
<default>true</default>
</key>
<key name="dolphin-cache-location" type="s">
<default>"~/.var/app/org.DolphinEmu.dolphin-emu/cache/dolphin-emu/"</default>
</key>
<key name="itch" type="b"> <key name="itch" type="b">
<default>true</default> <default>true</default>
</key> </key>
@@ -68,7 +77,7 @@
<default>true</default> <default>true</default>
</key> </key>
<key name="flatpak-location" type="s"> <key name="flatpak-location" type="s">
<default>"/var/lib/flatpak/exports/"</default> <default>"/var/lib/flatpak/"</default>
</key> </key>
<key name="flatpak-import-launchers" type="b"> <key name="flatpak-import-launchers" type="b">
<default>false</default> <default>false</default>

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>@APP_ID@.desktop</id> <id>@APP_ID@</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>
@@ -44,12 +44,34 @@
</screenshots> </screenshots>
<content_rating type="oars-1.1" /> <content_rating type="oars-1.1" />
<releases> <releases>
<release version="1.5.6" date="2023-06-19"> <release version="2.1.1" date="2023-07-27">
<description translatable="no"> <description translatable="no">
<ul> <ul>
<li>Fixes an issue with importing Bottles games without covers</li> <li>Fixes an issue with translations</li>
<li>Translations since 2.1</li>
</ul>
</description>
</release>
<release version="2.1" date="2023-07-25">
<description translatable="no">
<ul>
<li>Added support for Amazon Games in the Heroic importer</li>
<li>Translations since 2.0</li>
</ul>
</description>
</release>
<release version="2.0" date="2023-07-05">
<description translatable="no">
<p>After months of work, Cartridges 2.0 is here:</p>
<ul>
<li>New import source: Legendary</li>
<li>New import source: Flatpak</li>
<li>Importing games should be much quicker</li>
<li>Error handling has been improved</li>
<li>Various UX improvements</li>
<li>Translations since 1.5</li> <li>Translations since 1.5</li>
</ul> </ul>
<p>Thanks to the new import backend, adding new sources is much easier and a lot more are coming soon!</p>
</description> </description>
</release> </release>
<release version="1.5" date="2023-05-23"> <release version="1.5" date="2023-05-23">

View File

@@ -49,9 +49,9 @@ Stored as a string.
### source ### source
A unique ID for the source of the game in lowercase, without spaces. A unique ID for the source of the game in lowercase, without spaces or underscores.
If a source provides multiple internal sources, these should be separately labeled, but share a common prefix. eg. `heoic_gog`, `heroic_epic`. If a source provides multiple internal sources, these should be separately labeled, but share a common prefix. eg. `heoic_gog`, `heroic_epic`. This is the only place you should use an underscore.
Stored as a string. Stored as a string.

View File

@@ -12,9 +12,11 @@
"--socket=wayland", "--socket=wayland",
"--talk-name=org.freedesktop.Flatpak", "--talk-name=org.freedesktop.Flatpak",
"--filesystem=host:ro", "--filesystem=host:ro",
"--filesystem=~/.var/app/org.DolphinEmu.dolphin-emu: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.heroicgameslauncher.hgl/config/legendary/: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" "--filesystem=/var/lib/flatpak:ro"
@@ -97,20 +99,6 @@
"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"
}
]
} }
] ]
}, },

View File

@@ -1,5 +1,5 @@
project('cartridges', project('cartridges',
version: '1.5.6', version: '2.1.1',
meson_version: '>= 0.59.0', meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2', 'werror=false', ], default_options: [ 'warning_level=2', 'werror=false', ],
) )
@@ -33,13 +33,9 @@ subdir('data')
subdir('src') subdir('src')
subdir('po') subdir('po')
configure_file( if host_machine.system() == 'windows'
input: './windows/Cartridges.iss.in', subdir('windows')
output: 'Cartridges.iss', endif
configuration: conf,
install: true,
install_dir: '.'
)
gnome.post_install( gnome.post_install(
glib_compile_schemas: true, glib_compile_schemas: true,

View File

@@ -19,3 +19,4 @@ pl
sv sv
tr tr
el el
cs

201
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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-05-26 18:10+0000\n" "PO-Revision-Date: 2023-07-09 07:59+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.18-dev\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "خراطيش" msgstr "خراطيش"
@@ -36,7 +36,9 @@ msgid "Launch all your games"
msgstr "شغِّل كلَّ ألعابك" msgstr "شغِّل كلَّ ألعابك"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "لعب;مشغل;ستيم;لوترس;هروك;قوارير;إتش;هيرويك;بوتلز;" msgstr "لعب;مشغل;ستيم;لوترس;هروك;قوارير;إتش;هيرويك;بوتلز;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -63,7 +65,7 @@ msgid "Game Details"
msgstr "تفاصيل اللعبة" msgstr "تفاصيل اللعبة"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "التفضيلات" msgstr "التفضيلات"
@@ -112,7 +114,7 @@ msgstr "معلومات أكثر"
msgid "Edit" msgid "Edit"
msgstr "حرِّر" msgstr "حرِّر"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "أخفِ" msgstr "أخفِ"
@@ -121,7 +123,7 @@ msgstr "أخفِ"
msgid "Remove" msgid "Remove"
msgstr "أزل" msgstr "أزل"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "اكشف" msgstr "اكشف"
@@ -146,7 +148,7 @@ msgstr "أظهر التفضيلات"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "الاختصارات" msgstr "الاختصارات"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "تراجع" msgstr "تراجع"
@@ -174,7 +176,7 @@ msgstr "أظهر الألعاب المخفية"
msgid "Remove game" msgid "Remove game"
msgstr "أزل اللعبة" msgstr "أزل اللعبة"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "السلوك" msgstr "السلوك"
@@ -223,80 +225,95 @@ msgid "Steam"
msgstr "ستيم" msgstr "ستيم"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#, fuzzy #: data/gtk/preferences.blp:243
#| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
msgstr "موضع تثبيت إتش" msgstr "موضع التثبيت"
#: data/gtk/preferences.blp:106 #: data/gtk/preferences.blp:106
msgid "Lutris" msgid "Lutris"
msgstr "لوترس" msgstr "لوترس"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location" msgid "Cache Location"
msgstr "موضع ذكرة لوترس المؤقَّتة" msgstr "موضع الذاكرة المؤقتة"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "استورد ألعابًا من ستيم" msgstr "استورد ألعابًا من ستيم"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "استورد ألعاب فلاتباك"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "هِرُوِك" msgstr "هِرُوِك"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "استورد ألعاب أَبِك" msgstr "استورد ألعاب أَبِك"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "استورد ألعاب جي‌أو‌جي" msgstr "استورد ألعاب جي‌أو‌جي"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "استورد ألعابًا من ستيم"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "استورد ألعابًا مثبَّتةً بغير متجر" msgstr "استورد ألعابًا مثبَّتةً بغير متجر"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "قوارير" msgstr "قوارير"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "إتش" msgstr "إتش"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "لجندري"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "فلاتباك"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "استورد مشغِّلات ألعاب"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "الاستيثاق" msgstr "الاستيثاق"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "مفتاح واجهة البرمجة" msgstr "مفتاح واجهة البرمجة"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "استخدم SteamGridDB" msgstr "استخدم SteamGridDB"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "نزِّل الصور حينما تنزِّل أو تستورد الألعاب" msgstr "نزِّل الصور حينما تنزِّل أو تستورد الألعاب"
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "فضِّلها على الصور الرسمية" msgstr "فضِّلها على الصور الرسمية"
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "فضِّل الصور المتحرِّكة" msgstr "فضِّل الصور المتحرِّكة"
@@ -385,21 +402,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Ali Aljishi <ahj696@hotmail.com>" msgstr "Ali Aljishi <ahj696@hotmail.com>"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "أضيفت في: {}" msgstr "أضيفت في: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "لُعبت آخر مرَّة في: {}" msgstr "لُعبت آخر مرَّة في: {}"
@@ -416,26 +433,26 @@ msgid "Confirm"
msgstr "أكِّد" msgstr "أكِّد"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "ملف.txt" msgstr "ملف.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/المسار/إلى/{}" msgstr "/المسار/إلى/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -457,51 +474,78 @@ msgstr ""
"\n" "\n"
"ولا تنسَ إحاطة المسار بعلامتي تنصيص مزدوجتين حالما تضمَّن مسافات!" "ولا تنسَ إحاطة المسار بعلامتي تنصيص مزدوجتين حالما تضمَّن مسافات!"
#: src/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "تعذَّرت إضافة اللعبة" msgstr "تعذَّرت إضافة اللعبة"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "لا يجوز كون عنوان اللعبة فارغًا." msgstr "لا يجوز كون عنوان اللعبة فارغًا."
#: src/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "لا يجوز كون ملفِّ التنفيذ فارغًا." msgstr "لا يجوز كون ملفِّ التنفيذ فارغًا."
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "تعذَّر تطبيق التفضيلات" msgstr "تعذَّر تطبيق التفضيلات"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "بُدئت {}" msgstr "بُدئت {}"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "أٌخفيت {}" msgstr "أٌخفيت {}"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "أٌظهرت {}" msgstr "أٌظهرت {}"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "أزيلت {}" msgstr "أزيلت {}"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "أُزيلت كلُّ الألعاب" msgstr "أُزيلت كلُّ الألعاب"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"تحتاج مفتاح واجهة برمجة حال ما أردت استخدام SteamGridDB، {}هنا تولِّده{}." "تحتاج مفتاح واجهة برمجة حال ما أردت استخدام SteamGridDB، {}هنا تولِّده{}."
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr "لم يُعثر على التثبيت"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "حدِّد مجلَّدًا صالحًا."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "مجلَّد غير صالح"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "حدِّد مجلَّد ذاكرة {} المؤقتة."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "حدِّد مجلَّد ضبط {}."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "حدِّد مجلَّد بيانات {}."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "عيِّن الموضع" msgstr "عيِّن الموضع"
@@ -509,38 +553,23 @@ msgstr "عيِّن الموضع"
msgid "Dismiss" msgid "Dismiss"
msgstr "تجاهل" 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "تعذَّر الاتصال ب‍ SteamGridDB" msgstr "تعذَّر استيثاق SteamGridDB"
#: src/store/managers/sgdb_manager.py:48 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr "أكِّد مفتاح واجهة البرمجة في التفضيلات"
#, fuzzy
#~| msgid "The Steam directory cannot be found."
#~ msgid "Directory not Valid"
#~ msgstr "تعذَّر العثور على مجلَّد ستيم."
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "أكِّد"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "موضع تثبيت ستيم" #~ msgstr "موضع تثبيت ستيم"
@@ -566,15 +595,6 @@ msgstr ""
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "حدِّد مجلَّد ذاكرة لوترس المؤقَّتة." #~ msgstr "حدِّد مجلَّد ذاكرة لوترس المؤقَّتة."
#~ msgid "Installation Not Found"
#~ msgstr "لم يُعثر على التثبيت"
#~ msgid "Select the {} configuration directory."
#~ msgstr "حدِّد مجلَّد ضبط {}."
#~ msgid "Select the {} data directory."
#~ msgstr "حدِّد مجلَّد بيانات {}."
#~ msgid "Importing Games…" #~ msgid "Importing Games…"
#~ msgstr "تُستورد الألعاب…" #~ msgstr "تُستورد الألعاب…"
@@ -695,9 +715,6 @@ msgstr ""
#~ msgid "No new games were found in the Steam library." #~ msgid "No new games were found in the Steam library."
#~ msgstr "لم يُعثر على ألعاب جديدة في مكتبة ستيم." #~ msgstr "لم يُعثر على ألعاب جديدة في مكتبة ستيم."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "تعذَّر العثور على مجلَّد ستيم."
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "يُتواصل مع ستيم" #~ msgstr "يُتواصل مع ستيم"

View File

@@ -8,7 +8,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-06-26 22:22+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -19,7 +19,7 @@ msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:153 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "" msgstr ""
@@ -33,7 +33,7 @@ msgid "Launch all your games"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -57,7 +57,7 @@ msgid "Game Details"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "" msgstr ""
@@ -106,7 +106,7 @@ msgstr ""
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "" msgstr ""
@@ -115,7 +115,7 @@ msgstr ""
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "" msgstr ""
@@ -140,7 +140,7 @@ msgstr ""
msgid "Shortcuts" msgid "Shortcuts"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "" msgstr ""
@@ -168,7 +168,7 @@ msgstr ""
msgid "Remove game" msgid "Remove game"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "" msgstr ""
@@ -217,8 +217,9 @@ msgid "Steam"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#: data/gtk/preferences.blp:243
msgid "Install Location" msgid "Install Location"
msgstr "" msgstr ""
@@ -234,59 +235,75 @@ msgstr ""
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr ""
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
msgid "Import Amazon Games"
msgstr ""
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr ""
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr ""
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "" msgstr ""
@@ -375,21 +392,21 @@ 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:171 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "" msgstr ""
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "" msgstr ""
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "" msgstr ""
@@ -406,26 +423,26 @@ msgid "Confirm"
msgstr "" msgstr ""
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr ""
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "" msgstr ""
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -438,50 +455,77 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "" msgstr ""
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "" msgstr ""
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "" msgstr ""
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "" msgstr ""
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "" msgstr ""
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "" msgstr ""
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "" msgstr ""
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr ""
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr ""
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "" msgstr ""

561
po/cs.po Normal file
View File

@@ -0,0 +1,561 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# foo expert <deferred_water346@simplelogin.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-07-24 13:05+0000\n"
"Last-Translator: foo expert <deferred_water346@simplelogin.com>\n"
"Language-Team: Czech <https://hosted.weblate.org/projects/cartridges/"
"cartridges/cs/>\n"
"Language: cs\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>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Weblate 5.0-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:170
msgid "Cartridges"
msgstr "Kazety"
#: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Spouštěč her"
#: data/hu.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7
msgid "Launch all your games"
msgstr "Spusťte všechny vaše hry"
#: data/hu.kramo.Cartridges.desktop.in:11
#, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "hraní;spouštěč;steam;lutris;heroic;láhve;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 ""
"Kazety jsou jednoduchý spouštěč pro všechny vaše hry. Podporuje importovaní "
"her ze služeb Steam, Lutris, Heroic a dalších bez nutnosti přihlášení. Hry "
"můžete třídit a skrývat nebo stahovat obálky ze služby SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library"
msgstr "Knihovna"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
msgid "Edit Game Details"
msgstr "Upravit podrobnosti o hře"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details"
msgstr "Podrobnosti o hře"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:241
msgid "Preferences"
msgstr "Předvolby"
#: data/gtk/details-window.blp:25
msgid "Cancel"
msgstr "Zrušit"
#: data/gtk/details-window.blp:57
msgid "New Cover"
msgstr "Nový obal"
#: data/gtk/details-window.blp:75
msgid "Delete Cover"
msgstr "Odstranit obal"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80
msgid "Title"
msgstr "Název"
#: data/gtk/details-window.blp:102
msgid "The title of the game"
msgstr "Název hry"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer"
msgstr "Vývojář"
#: data/gtk/details-window.blp:113
msgid "The developer or publisher (optional)"
msgstr "Vývojář nebo vydavatel (nepovinné)"
#: data/gtk/details-window.blp:123 data/gtk/details-window.blp:155
msgid "Executable"
msgstr "Spustitelný soubor"
#: data/gtk/details-window.blp:124
msgid "File to open or command to run when launching the game"
msgstr "Soubor nebo příkaz pro spuštění hry"
#: data/gtk/details-window.blp:130
msgid "More Info"
msgstr "Více informací"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit"
msgstr "Upravit"
#: data/gtk/game.blp:107 src/window.py:171
msgid "Hide"
msgstr "Skrýt"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56
#: data/gtk/window.blp:209
msgid "Remove"
msgstr "Odstranit"
#: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide"
msgstr "Odkrýt"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Obecné"
#: data/gtk/help-overlay.blp:14
msgid "Quit"
msgstr "Ukončit"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:323
msgid "Search"
msgstr "Vyhledávání"
#: data/gtk/help-overlay.blp:24
msgid "Show preferences"
msgstr "Zobrazit předvolby"
#: data/gtk/help-overlay.blp:29
msgid "Shortcuts"
msgstr "Zkratky"
#: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo"
msgstr "Zpět"
#: data/gtk/help-overlay.blp:39
msgid "Open menu"
msgstr "Otevřít nabídku"
#: data/gtk/help-overlay.blp:45
msgid "Games"
msgstr "Hry"
#: data/gtk/help-overlay.blp:48
msgid "Add new game"
msgstr "Přidat novou hru"
#: data/gtk/help-overlay.blp:53
msgid "Import games"
msgstr "Importovat hry"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Zobrazit skryté hry"
#: data/gtk/help-overlay.blp:63
msgid "Remove game"
msgstr "Odstranit hru"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior"
msgstr "Chování"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Ukončit po spuštění her"
#: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game"
msgstr "Obrázek na obálce spouští hru"
#: data/gtk/preferences.blp:26
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Vymění chování obrázku na obálce a tlačítka pro přehrávání"
#: data/gtk/preferences.blp:36 src/details_window.py:81
msgid "Images"
msgstr "Obrázky"
#: data/gtk/preferences.blp:39
msgid "High Quality Images"
msgstr "Vysoce kvalitní obrázky"
#: data/gtk/preferences.blp:40
msgid "Save game covers losslessly at the cost of storage"
msgstr "Ukládat obaly her bezztrátově na úkor většího místa na disku"
#: data/gtk/preferences.blp:50
msgid "Danger Zone"
msgstr "Nebezpečná zóna"
#: data/gtk/preferences.blp:53
msgid "Remove All Games"
msgstr "Odstranit všechny hry"
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import"
msgstr "Import"
#: data/gtk/preferences.blp:89
msgid "Sources"
msgstr "Zdroje"
#: data/gtk/preferences.blp:92
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#: data/gtk/preferences.blp:243
msgid "Install Location"
msgstr "Umístění instalace"
#: data/gtk/preferences.blp:106
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:119
msgid "Cache Location"
msgstr "Umístění dočasných souborů"
#: data/gtk/preferences.blp:128
msgid "Import Steam Games"
msgstr "Importovat Steam hry"
#: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "Importovat Flatpak hry"
#: data/gtk/preferences.blp:147
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:160
msgid "Import Epic Games"
msgstr "Importovat Epic Games hry"
#: data/gtk/preferences.blp:169
msgid "Import GOG Games"
msgstr "Importovat GOG hry"
#: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Importovat Steam hry"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games"
msgstr "Importovat ručně načtené hry"
#: data/gtk/preferences.blp:197
msgid "Bottles"
msgstr "Láhve"
#: data/gtk/preferences.blp:211
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:225
msgid "Legendary"
msgstr "Legendary"
#: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "Importovat spouštěče her"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:269
msgid "Authentication"
msgstr "Ověření"
#: data/gtk/preferences.blp:272
msgid "API Key"
msgstr "Klíč API"
#: data/gtk/preferences.blp:280
msgid "Use SteamGridDB"
msgstr "Používat SteamGridDB"
#: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games"
msgstr "Stahovat obrázky při přidávání nebo importování her"
#: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images"
msgstr "Upřednostnit před oficiálními obrázky"
#: data/gtk/preferences.blp:299
msgid "Prefer Animated Images"
msgstr "Upřednostnit animované obrázky"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Nebyly nalezeny žádné hry"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search."
msgstr "Zkuste hledat něco jiného."
#: data/gtk/window.blp:21
msgid "No Games"
msgstr "Žádné hry"
#: data/gtk/window.blp:22
msgid "Use the + button to add games."
msgstr "Tlačítkem + můžete přidávat hry."
#: data/gtk/window.blp:40
msgid "No Hidden Games"
msgstr "Žádné skryté hry"
#: data/gtk/window.blp:41
msgid "Games you hide will appear here."
msgstr "Hry, které skryjete, se zobrazí zde."
#: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back"
msgstr "Zpět"
#: data/gtk/window.blp:121
msgid "Game Title"
msgstr "Název hry"
#: data/gtk/window.blp:176
msgid "Play"
msgstr "Hrát"
#: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game"
msgstr "Přidat hru"
#: data/gtk/window.blp:250 data/gtk/window.blp:316
msgid "Main Menu"
msgstr "Hlavní nabídka"
#: data/gtk/window.blp:311
msgid "Hidden Games"
msgstr "Skryté hry"
#: data/gtk/window.blp:374
msgid "Sort"
msgstr "Třídit"
#: 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 "Nejnovější"
#: data/gtk/window.blp:395
msgid "Oldest"
msgstr "Nejstarší"
#: data/gtk/window.blp:401
msgid "Last Played"
msgstr "Naposledy hráno"
#: data/gtk/window.blp:408
msgid "Show Hidden"
msgstr "Zobrazit Skryté"
#: data/gtk/window.blp:421
msgid "Keyboard Shortcuts"
msgstr "Klávesové zkratky"
#: data/gtk/window.blp:426
msgid "About Cartridges"
msgstr "O Kazetách"
#. Translators: Replace this with your name for it to show up in the about window
#: src/main.py:188
msgid "translator_credits"
msgstr "ooo.i.love.foo"
#. The variable is the date when the game was added
#: src/window.py:194
msgid "Added: {}"
msgstr "Přidáno: {}"
#: src/window.py:197
msgid "Never"
msgstr "Nikdy"
#. The variable is the date when the game was last played
#: src/window.py:201
msgid "Last played: {}"
msgstr "Naposledy hráno: {}"
#: src/details_window.py:72
msgid "Apply"
msgstr "Použít"
#: src/details_window.py:78
msgid "Add New Game"
msgstr "Přidat novou hru"
#: src/details_window.py:79
msgid "Confirm"
msgstr "Potvrdit"
#. Translate this string as you would translate "file"
#: src/details_window.py:92
msgid "file.txt"
msgstr "soubor.txt"
#. As in software
#: src/details_window.py:94
msgid "program"
msgstr "program"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:99 src/details_window.py:101
msgid "C:\\path\\to\\{}"
msgstr "C:\\cesta\\k\\{}"
#. Translate this string as you would translate "path to {}"
#: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}"
msgstr "/cesta/k/{}"
#: src/details_window.py:112
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 ""
"Chcete-li spustit spustitelný soubor \"{}\", použijte příkaz:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Chcete-li otevřít soubor \"{}\" pomocí výchozí aplikace, použijte příkaz:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Pokud cesta obsahuje mezery, nezapomeňte ji zabalit do dvojitých uvozovek!"
#: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game"
msgstr "Nelze přidat hru"
#: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty."
msgstr "Název hry nemůže být prázdný."
#: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty."
msgstr "Spustitelný soubor nemůže být prázdný."
#: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences"
msgstr "Nelze použít předvolby"
#. The variable is the title of the game
#: src/game.py:138
msgid "{} launched"
msgstr "{} spuštěno"
#. The variable is the title of the game
#: src/game.py:152
msgid "{} hidden"
msgstr "{} skryto"
#: src/game.py:152
msgid "{} unhidden"
msgstr "{} odkryto"
#: src/game.py:169
msgid "{} removed"
msgstr "{} odstraněno"
#: src/preferences.py:112
msgid "All games removed"
msgstr "Všechny hry odstraněny"
#: src/preferences.py:160
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"K používání služby SteamGridDB je vyžadován klíč API. Můžete si ho "
"vygenerovat {}zde{}."
#: src/preferences.py:285
msgid "Installation Not Found"
msgstr "Instalace nebyla nalezena"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "Vyberte platný adresář."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "Neplatný adresář"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "Vyberte adresář {} mezipaměti."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "Vyberte konfigurační adresář {}."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "Vyberte datový adresář {}."
#: src/preferences.py:365
msgid "Set Location"
msgstr "Nastavit umístění"
#: src/utils/create_dialog.py:25
msgid "Dismiss"
msgstr "Zahodit"
#: src/store/managers/sgdb_manager.py:47
msgid "Couldn't Authenticate SteamGridDB"
msgstr "Nelze ověřit SteamGridDB"
#: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences"
msgstr "Ověřte váš klíč API v předvolbách"

193
po/de.po
View File

@@ -8,7 +8,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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-04-17 17:20+0000\n" "PO-Revision-Date: 2023-04-17 17:20+0000\n"
"Last-Translator: Ettore Atalan <atalanttore@googlemail.com>\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/"
@@ -22,7 +22,7 @@ msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
@@ -36,7 +36,7 @@ msgid "Launch all your games"
msgstr "Starte all deine Spiele" msgstr "Starte all deine Spiele"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -64,7 +64,7 @@ msgid "Game Details"
msgstr "Spieldetails" msgstr "Spieldetails"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Einstellungen" msgstr "Einstellungen"
@@ -113,7 +113,7 @@ msgstr ""
msgid "Edit" msgid "Edit"
msgstr "Bearbeiten" msgstr "Bearbeiten"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Verstecken" msgstr "Verstecken"
@@ -122,7 +122,7 @@ msgstr "Verstecken"
msgid "Remove" msgid "Remove"
msgstr "Entfernen" msgstr "Entfernen"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Unverstecken" msgstr "Unverstecken"
@@ -147,7 +147,7 @@ msgstr "Einstellungen anzeigen"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Kürzel" msgstr "Kürzel"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Rückgängig" msgstr "Rückgängig"
@@ -175,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:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Verhalten" msgstr "Verhalten"
@@ -224,8 +224,9 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#: data/gtk/preferences.blp:243
#, fuzzy #, fuzzy
#| msgid "itch Install Location" #| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
@@ -245,59 +246,81 @@ msgstr "Lutris-Cacheort"
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Steam-Spiele importieren" msgstr "Steam-Spiele importieren"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Flatpak Games"
msgstr "Steam-Spiele importieren"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Epic Games importieren" msgstr "Epic Games importieren"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "GOG-Spiele importieren" msgstr "GOG-Spiele importieren"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Steam-Spiele importieren"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Sideloaded-Spiele importieren" msgstr "Sideloaded-Spiele importieren"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr ""
#: data/gtk/preferences.blp:252
#, fuzzy
#| msgid "Game Launcher"
msgid "Import Game Launchers"
msgstr "Spiele-Launcher"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Authentifizierung" msgstr "Authentifizierung"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "API-Schlüssel" msgstr "API-Schlüssel"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "SteamGridDB benutzen" msgstr "SteamGridDB benutzen"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
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:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Über offizielien Images bevorzugen" msgstr "Über offizielien Images bevorzugen"
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Animierte Bilder bevorzugen" msgstr "Animierte Bilder bevorzugen"
@@ -386,21 +409,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Feliks Weber" msgstr "Feliks Weber"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Hinzugefügt: {}" msgstr "Hinzugefügt: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Zuletzt gespielt: {}" msgstr "Zuletzt gespielt: {}"
@@ -417,26 +440,26 @@ msgid "Confirm"
msgstr "Bestätigen" msgstr "Bestätigen"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "datei.txt" msgstr "datei.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/pfad/zu/{}" msgstr "/pfad/zu/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -459,52 +482,89 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Konnte Spiel nicht hinzufügen" msgstr "Konnte Spiel nicht hinzufügen"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
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/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
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 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Einstellungen konnten nicht angewendet werden" msgstr "Einstellungen konnten nicht angewendet werden"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} gestartet" msgstr "{} gestartet"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} versteckt" msgstr "{} versteckt"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} unversteckt" msgstr "{} unversteckt"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} entfernt" msgstr "{} entfernt"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Alle Spiele entfernt" msgstr "Alle Spiele entfernt"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"Für die Nutzung von SteamGridDB ist ein API-Schlüssel erforderlich. Sie " "Für die Nutzung von SteamGridDB ist ein API-Schlüssel erforderlich. Sie "
"können ihn {}hier{} generieren." "können ihn {}hier{} generieren."
#: src/preferences.py:289 #: src/preferences.py:285
#, fuzzy
#| msgid "Installation Not Found"
msgid "Installation Not Found"
msgstr "Installation nicht gefunden"
#: src/preferences.py:287
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select a valid directory."
msgstr "Wähle das Datenverzeichnis von {} aus."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:353
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} cache directory."
msgstr "Wähle das Datenverzeichnis von {} aus."
#. The variable is the name of the source
#: src/preferences.py:356
#, fuzzy
#| msgid "Select the {} configuration directory."
msgid "Select the {} configuration directory."
msgstr "Wähle das Konfigurationsverzeichnis von {} aus."
#. The variable is the name of the source
#: src/preferences.py:359
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} data directory."
msgstr "Wähle das Datenverzeichnis von {} aus."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Ort festlegen" msgstr "Ort festlegen"
@@ -512,29 +572,6 @@ msgstr "Ort festlegen"
msgid "Dismiss" msgid "Dismiss"
msgstr "Verstanden" msgstr "Verstanden"
#: 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 "Bestätigen"
#. 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy #, fuzzy
#| msgid "Couldn't Connect to SteamGridDB" #| msgid "Couldn't Connect to SteamGridDB"
@@ -545,6 +582,16 @@ msgstr "Verbindung zu SteamGridDB konnte nicht hergestellt werden"
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr ""
#, fuzzy
#~| msgid "Cache Not Found"
#~ msgid "Directory not Valid"
#~ msgstr "Cache nicht gefunden"
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Bestätigen"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Steam-Installationsort" #~ msgstr "Steam-Installationsort"
@@ -563,21 +610,9 @@ msgstr ""
#~ msgid "Yesterday" #~ msgid "Yesterday"
#~ msgstr "Gestern" #~ msgstr "Gestern"
#~ msgid "Cache Not Found"
#~ msgstr "Cache nicht gefunden"
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Wähle das Lutris-Cache-Verzeichnis aus." #~ 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…" #~ msgid "Importing Games…"
#~ msgstr "Spiele werden importiert…" #~ msgstr "Spiele werden importiert…"

195
po/el.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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-05-29 18:48+0000\n" "PO-Revision-Date: 2023-05-29 18:48+0000\n"
"Last-Translator: yiannis ioannides <sub@wai.ai>\n" "Last-Translator: yiannis ioannides <sub@wai.ai>\n"
"Language-Team: Greek <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Greek <https://hosted.weblate.org/projects/cartridges/"
@@ -20,7 +20,7 @@ msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Κασέτες" msgstr "Κασέτες"
@@ -34,7 +34,9 @@ msgid "Launch all your games"
msgstr "Εκκινήστε όλα σας τα παιχνίδια" msgstr "Εκκινήστε όλα σας τα παιχνίδια"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "gaming;εκκινητής;steam;lutris;heroic;bottles;itch;" msgstr "gaming;εκκινητής;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -63,7 +65,7 @@ msgid "Game Details"
msgstr "Λεπτομέρειες Παιχνιδιού" msgstr "Λεπτομέρειες Παιχνιδιού"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Προτιμήσεις" msgstr "Προτιμήσεις"
@@ -113,7 +115,7 @@ msgstr "Περισσότερες Πληροφορίες"
msgid "Edit" msgid "Edit"
msgstr "Επεξεργασία" msgstr "Επεξεργασία"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Απόκρυψη" msgstr "Απόκρυψη"
@@ -122,7 +124,7 @@ msgstr "Απόκρυψη"
msgid "Remove" msgid "Remove"
msgstr "Αφαίρεση" msgstr "Αφαίρεση"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Φανέρωση" msgstr "Φανέρωση"
@@ -147,7 +149,7 @@ msgstr "Εμφάνιση προτιμήσεων"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Συντομεύσεις" msgstr "Συντομεύσεις"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Αναίρεση" msgstr "Αναίρεση"
@@ -175,7 +177,7 @@ msgstr "Εμφάνιση κρυμμένων παιχνιδιών"
msgid "Remove game" msgid "Remove game"
msgstr "Αφαίρεση παιχνιδιού" msgstr "Αφαίρεση παιχνιδιού"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Συμπεριφορά" msgstr "Συμπεριφορά"
@@ -225,8 +227,9 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#: data/gtk/preferences.blp:243
#, fuzzy #, fuzzy
#| msgid "itch Install Location" #| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
@@ -246,59 +249,81 @@ msgstr "Τοποθεσία cache του Lutris"
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Εισαγωγή Παιχνιδιών Steam" msgstr "Εισαγωγή Παιχνιδιών Steam"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Flatpak Games"
msgstr "Εισαγωγή Παιχνιδιών Steam"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Εισαγωγή Παιχνιδιών Epic" msgstr "Εισαγωγή Παιχνιδιών Epic"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Εισαγωγή Παιχνιδιών GOG" msgstr "Εισαγωγή Παιχνιδιών GOG"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Εισαγωγή Παιχνιδιών Steam"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Εισαγωγή Παιχνιδιών Μέσω Sideloading" msgstr "Εισαγωγή Παιχνιδιών Μέσω Sideloading"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr ""
#: data/gtk/preferences.blp:252
#, fuzzy
#| msgid "Game Launcher"
msgid "Import Game Launchers"
msgstr "Πρόγραμμα Εκκίνησης Παιχνιδιών"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Επιβεβαίωση" msgstr "Επιβεβαίωση"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "Κλειδί API" msgstr "Κλειδί API"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Χρήση SteamGridDB" msgstr "Χρήση SteamGridDB"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Λήψη εικόνων κατά τη διάρκεια πρόσθεσης ή εισαγωγής παιχνιδιών" msgstr "Λήψη εικόνων κατά τη διάρκεια πρόσθεσης ή εισαγωγής παιχνιδιών"
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Προτίμηση Επίσημων Εικόνων" msgstr "Προτίμηση Επίσημων Εικόνων"
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Προτίμηση Κινούμενων Εικόνων" msgstr "Προτίμηση Κινούμενων Εικόνων"
@@ -387,21 +412,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Yiannis Ioannides" msgstr "Yiannis Ioannides"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Προστέθηκε: {}" msgstr "Προστέθηκε: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Τελευταία αναπαραγωγή: {}" msgstr "Τελευταία αναπαραγωγή: {}"
@@ -418,26 +443,26 @@ msgid "Confirm"
msgstr "Επιβεβαίωση" msgstr "Επιβεβαίωση"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "αρχειο.txt" msgstr "αρχειο.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/προς/φάκελο/{}" msgstr "/προς/φάκελο/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -461,52 +486,89 @@ msgstr ""
"Αν η διεύθυνση φακέλου περιέχει κενά, φροντίστε να την περικλείσετε σε διπλά " "Αν η διεύθυνση φακέλου περιέχει κενά, φροντίστε να την περικλείσετε σε διπλά "
"εισαγωγικά!" "εισαγωγικά!"
#: src/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Αδυναμία προσθήκης παιχνιδιού" msgstr "Αδυναμία προσθήκης παιχνιδιού"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Ο τίτλος παιχνιδιού δεν μπορεί να είναι κενός." msgstr "Ο τίτλος παιχνιδιού δεν μπορεί να είναι κενός."
#: src/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Η εφαρμογή δεν μπορεί να είναι κενή." msgstr "Η εφαρμογή δεν μπορεί να είναι κενή."
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Αδυναμία Εφαρμογής Προτιμήσεων" msgstr "Αδυναμία Εφαρμογής Προτιμήσεων"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} εκκινήθη" msgstr "{} εκκινήθη"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} αποκρύφθηκε" msgstr "{} αποκρύφθηκε"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} φανερώθηκε" msgstr "{} φανερώθηκε"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} αφαιρέθηκε" msgstr "{} αφαιρέθηκε"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Όλα τα παιχνίδια αφαιρέθηκαν" msgstr "Όλα τα παιχνίδια αφαιρέθηκαν"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"Για τη χρήση του SteamGridDB απαιτείται ένα κλειδί API. Μπορείτε να " "Για τη χρήση του SteamGridDB απαιτείται ένα κλειδί API. Μπορείτε να "
"δημιουργήσετε ένα {}εδώ{}." "δημιουργήσετε ένα {}εδώ{}."
#: src/preferences.py:289 #: src/preferences.py:285
#, fuzzy
#| msgid "Installation Not Found"
msgid "Installation Not Found"
msgstr "Η εγκατάσταση δεν βρέθηκε"
#: src/preferences.py:287
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select a valid directory."
msgstr "Επιλέξτε τον κατάλογο δεδομένων {}."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:353
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} cache directory."
msgstr "Επιλέξτε τον κατάλογο δεδομένων {}."
#. The variable is the name of the source
#: src/preferences.py:356
#, fuzzy
#| msgid "Select the {} configuration directory."
msgid "Select the {} configuration directory."
msgstr "Επιλέξτε τον κατάλογο διαμόρφωσης {}."
#. The variable is the name of the source
#: src/preferences.py:359
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} data directory."
msgstr "Επιλέξτε τον κατάλογο δεδομένων {}."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Ορίστε Τοποθεσία" msgstr "Ορίστε Τοποθεσία"
@@ -514,29 +576,6 @@ msgstr "Ορίστε Τοποθεσία"
msgid "Dismiss" msgid "Dismiss"
msgstr "Απόρριψη" 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy #, fuzzy
#| msgid "Couldn't Connect to SteamGridDB" #| msgid "Couldn't Connect to SteamGridDB"
@@ -547,6 +586,16 @@ msgstr "Η σύνδεση στο SteamGridDB δεν μπόρεσε να πραγ
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr ""
#, fuzzy
#~| msgid "Cache Not Found"
#~ msgid "Directory not Valid"
#~ msgstr "Τα cache δεν βρέθηκαν"
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Επιβεβαίωση"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Τοποθεσία Εγκατάστασης Steam" #~ msgstr "Τοποθεσία Εγκατάστασης Steam"
@@ -565,21 +614,9 @@ msgstr ""
#~ msgid "Yesterday" #~ msgid "Yesterday"
#~ msgstr "Χθες" #~ msgstr "Χθες"
#~ msgid "Cache Not Found"
#~ msgstr "Τα cache δεν βρέθηκαν"
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Επιλέξτε τη τοποθεσία cache του Lutris." #~ msgstr "Επιλέξτε τη τοποθεσία cache του Lutris."
#~ msgid "Installation Not Found"
#~ msgstr "Η εγκατάσταση δεν βρέθηκε"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Επιλέξτε τον κατάλογο διαμόρφωσης {}."
#~ msgid "Select the {} data directory."
#~ msgstr "Επιλέξτε τον κατάλογο δεδομένων {}."
#~ msgid "Importing Games…" #~ msgid "Importing Games…"
#~ msgstr "Εισαγωγή παιχνιδιών…" #~ msgstr "Εισαγωγή παιχνιδιών…"

228
po/es.po
View File

@@ -8,9 +8,10 @@ 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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-05-28 10:11+0000\n" "PO-Revision-Date: 2023-07-08 14:52+0000\n"
"Last-Translator: gallegonovato <fran-carro@hotmail.es>\n" "Last-Translator: Óscar Fernández Díaz <oscfdezdz@users.noreply.hosted."
"weblate.org>\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"
"Language: es\n" "Language: es\n"
@@ -18,11 +19,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.18-dev\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartuchos" msgstr "Cartuchos"
@@ -36,7 +37,9 @@ msgid "Launch all your games"
msgstr "Lance todos sus juegos" msgstr "Lance todos sus juegos"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "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
@@ -46,9 +49,9 @@ 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 es un lanzador simple para todos tus juegos. Admite la " "Cartuchos es un sencillo lanzador de juegos para todos sus juegos. Tiene "
"importación de tus juegos de Steam, Lutris, Heroic y más sin necesidad de " "soporte para importar juegos de Steam, Lutris, Heroic y más sin necesidad de "
"una cuenta. Puedes ordenar y ocultar juegos, o descargar carátulas de " "iniciar sesión. Puede ordenar y ocultar juegos o descargar portadas de "
"SteamGridDB." "SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
@@ -64,7 +67,7 @@ msgid "Game Details"
msgstr "Detalles del juego" msgstr "Detalles del juego"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Preferencias" msgstr "Preferencias"
@@ -74,11 +77,11 @@ msgstr "Cancelar"
#: data/gtk/details-window.blp:57 #: data/gtk/details-window.blp:57
msgid "New Cover" msgid "New Cover"
msgstr "Nueva caratula" msgstr "Portada nueva"
#: data/gtk/details-window.blp:75 #: data/gtk/details-window.blp:75
msgid "Delete Cover" msgid "Delete Cover"
msgstr "Borrar la caratula" msgstr "Borrar portada"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106 #: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80 #: data/gtk/game.blp:80
@@ -113,7 +116,7 @@ msgstr "Más información"
msgid "Edit" msgid "Edit"
msgstr "Editar" msgstr "Editar"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Ocultar" msgstr "Ocultar"
@@ -122,9 +125,9 @@ msgstr "Ocultar"
msgid "Remove" msgid "Remove"
msgstr "Eliminar" msgstr "Eliminar"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Mostrar" msgstr "Desocultar"
#: 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"
@@ -147,7 +150,7 @@ msgstr "Mostrar preferencias"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Atajos" msgstr "Atajos"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Deshacer" msgstr "Deshacer"
@@ -175,9 +178,9 @@ 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:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Conducta" msgstr "Comportamiento"
#: data/gtk/preferences.blp:16 #: data/gtk/preferences.blp:16
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
@@ -206,11 +209,11 @@ msgstr "Guarda las partidas sin pérdidas a costa del almacenamiento"
#: data/gtk/preferences.blp:50 #: data/gtk/preferences.blp:50
msgid "Danger Zone" msgid "Danger Zone"
msgstr "Zona peligrosa" msgstr "Zona de peligro"
#: data/gtk/preferences.blp:53 #: data/gtk/preferences.blp:53
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Quitar todos los juegos" msgstr "Eliminar todos los juegos"
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442 #: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:442
msgid "Import" msgid "Import"
@@ -225,80 +228,95 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#, fuzzy #: data/gtk/preferences.blp:243
#| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
msgstr "Ubicación de la instalación de itch" msgstr "Ruta de instalación"
#: data/gtk/preferences.blp:106 #: data/gtk/preferences.blp:106
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location" msgid "Cache Location"
msgstr "Ubicación de la caché de Lutris" msgstr "Ruta de la caché"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importar juegos de Steam" msgstr "Importar juegos de Steam"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "Importar juegos Flatpak"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importar juegos de Epic" msgstr "Importar juegos de Epic"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importar juegos de GOG" msgstr "Importar juegos de GOG"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Importar juegos de Steam"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importar juegos descargados" msgstr "Importar juegos descargados"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "Legendario"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "Importar lanzadores de juegos"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Autentificación" msgstr "Autenticación"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "Código API" msgstr "Clave API"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Utiliza SteamGridDB" msgstr "Usar SteamGridDB"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
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:249 #: data/gtk/preferences.blp:290
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:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Prefiero las imágenes animadas" msgstr "Prefiero las imágenes animadas"
@@ -387,21 +405,21 @@ 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:164 #: src/main.py:188
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 date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Añadido: {}" msgstr "Añadido: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Último jugado: {}" msgstr "Último jugado: {}"
@@ -418,26 +436,26 @@ msgid "Confirm"
msgstr "Confirmar" msgstr "Confirmar"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "archivo.txt" msgstr "archivo.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/ruta/hasta/{}" msgstr "/ruta/hasta/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -459,52 +477,79 @@ msgstr ""
"\n" "\n"
"Si la ruta contiene espacios, ¡asegúrese de entrecomillarla!" "Si la ruta contiene espacios, ¡asegúrese de entrecomillarla!"
#: src/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
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/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
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/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
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 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "No se pudieron aplicar las preferencias" msgstr "No se pudieron aplicar las preferencias"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} comenzó" msgstr "{} comenzó"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} oculto" msgstr "{} oculto"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} visible" msgstr "{} visible"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} eliminado" msgstr "{} eliminado"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Todos los juegos eliminados" msgstr "Todos los juegos eliminados"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"Se necesita una clave API para utilizar SteamGridDB. Puedes generar una {}" "Se necesita una clave API para utilizar SteamGridDB. Puedes generar una {}"
"aquí{}." "aquí{}."
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr "Instalación no encontrada"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "Selecciona un directorio válido."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "Directorio incorrecto"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "Seleccione el directorio de la caché {}."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "Seleccione el directorio de configuración {}."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "Seleccione el directorio de datos {}."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Escoger la ubicación" msgstr "Escoger la ubicación"
@@ -512,38 +557,23 @@ msgstr "Escoger la ubicación"
msgid "Dismiss" msgid "Dismiss"
msgstr "Descartar" msgstr "Descartar"
#: 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "No se puede conectar a SteamGridDB" msgstr "No se ha podido autenticar SteamGridDB"
#: src/store/managers/sgdb_manager.py:48 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr "Verifica tu clave API en las preferencias"
#, fuzzy
#~| msgid "The Steam directory cannot be found."
#~ msgid "Directory not Valid"
#~ msgstr "No se encuentra el directorio de Steam."
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Confirmar"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Ubicación de la instalación de Steam" #~ msgstr "Ubicación de la instalación de Steam"
@@ -569,15 +599,6 @@ msgstr ""
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Selecciona el directorio de la caché de Lutris." #~ 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…" #~ msgid "Importing Games…"
#~ msgstr "Importando juegos…" #~ msgstr "Importando juegos…"
@@ -703,8 +724,5 @@ msgstr ""
#~ msgid "No new games were found in the Steam library." #~ msgid "No new games were found in the Steam library."
#~ msgstr "No se han encontrado juegos nuevos en la biblioteca de Steam." #~ msgstr "No se han encontrado juegos nuevos en la biblioteca de Steam."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "No se encuentra el directorio de Steam."
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "Hablando con Steam" #~ msgstr "Hablando con Steam"

159
po/fa.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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-04-22 10:48+0000\n" "PO-Revision-Date: 2023-04-22 10:48+0000\n"
"Last-Translator: سید حسین موسوی فرد <shmf1385@protonmail.com>\n" "Last-Translator: سید حسین موسوی فرد <shmf1385@protonmail.com>\n"
"Language-Team: Persian <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Persian <https://hosted.weblate.org/projects/cartridges/"
@@ -20,7 +20,7 @@ msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "کارتریج‌ها" msgstr "کارتریج‌ها"
@@ -34,7 +34,7 @@ msgid "Launch all your games"
msgstr "اجرای همهٔ بازی‌های شما" msgstr "اجرای همهٔ بازی‌های شما"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -61,7 +61,7 @@ msgid "Game Details"
msgstr "جزییات بازی" msgstr "جزییات بازی"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "ترجیحات" msgstr "ترجیحات"
@@ -110,7 +110,7 @@ msgstr ""
msgid "Edit" msgid "Edit"
msgstr "ویرایش" msgstr "ویرایش"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "پنهان کردن" msgstr "پنهان کردن"
@@ -119,7 +119,7 @@ msgstr "پنهان کردن"
msgid "Remove" msgid "Remove"
msgstr "حذف" msgstr "حذف"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "پیدا کردن" msgstr "پیدا کردن"
@@ -144,7 +144,7 @@ msgstr "نمایش ترجیحات"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "میانبرها" msgstr "میانبرها"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "برگردان" msgstr "برگردان"
@@ -172,7 +172,7 @@ msgstr "نمایش بازی‌های پنهان"
msgid "Remove game" msgid "Remove game"
msgstr "حذف کردن بازی" msgstr "حذف کردن بازی"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "" msgstr ""
@@ -221,8 +221,9 @@ msgid "Steam"
msgstr "استیم" msgstr "استیم"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#: data/gtk/preferences.blp:243
msgid "Install Location" msgid "Install Location"
msgstr "" msgstr ""
@@ -238,59 +239,81 @@ msgstr ""
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
#, fuzzy
#| msgid "Import games"
msgid "Import Flatpak Games"
msgstr "درون‌ریزی بازی"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import games"
msgid "Import Amazon Games"
msgstr "درون‌ریزی بازی"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr ""
#: data/gtk/preferences.blp:252
#, fuzzy
#| msgid "Game Launcher"
msgid "Import Game Launchers"
msgstr "اجراگر بازی"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "" msgstr ""
@@ -379,21 +402,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "" msgstr ""
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "" msgstr ""
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "" msgstr ""
@@ -410,26 +433,26 @@ msgid "Confirm"
msgstr "" msgstr ""
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr ""
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "" msgstr ""
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -442,50 +465,77 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "" msgstr ""
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "" msgstr ""
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "" msgstr ""
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "" msgstr ""
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "" msgstr ""
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "" msgstr ""
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "" msgstr ""
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr ""
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr ""
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "" msgstr ""
@@ -493,27 +543,6 @@ msgstr ""
msgid "Dismiss" msgid "Dismiss"
msgstr "" 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 #: src/store/managers/sgdb_manager.py:47
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "" msgstr ""

179
po/fi.po
View File

@@ -10,7 +10,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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-05-07 15:38+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/"
@@ -24,7 +24,7 @@ msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
@@ -38,7 +38,7 @@ msgid "Launch all your games"
msgstr "Käynnistä kaikki pelisi" msgstr "Käynnistä kaikki pelisi"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -71,7 +71,7 @@ msgid "Game Details"
msgstr "Pelin tiedot" msgstr "Pelin tiedot"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Asetukset" msgstr "Asetukset"
@@ -122,7 +122,7 @@ msgstr ""
msgid "Edit" msgid "Edit"
msgstr "Muokkaa" msgstr "Muokkaa"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Piilota" msgstr "Piilota"
@@ -131,7 +131,7 @@ msgstr "Piilota"
msgid "Remove" msgid "Remove"
msgstr "Poista" msgstr "Poista"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Näytä" msgstr "Näytä"
@@ -156,7 +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/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Kumoa" msgstr "Kumoa"
@@ -184,7 +184,7 @@ msgstr "Näytä piilotetut pelit"
msgid "Remove game" msgid "Remove game"
msgstr "Poista peli" msgstr "Poista peli"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Toiminta" msgstr "Toiminta"
@@ -233,8 +233,9 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#: data/gtk/preferences.blp:243
#, fuzzy #, fuzzy
#| msgid "itch Install Location" #| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
@@ -254,59 +255,81 @@ msgstr "Lutris-välimuistin sijainti"
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Tuo Steam-pelejä" msgstr "Tuo Steam-pelejä"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Flatpak Games"
msgstr "Tuo Steam-pelejä"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Tuo Epic-pelejä" msgstr "Tuo Epic-pelejä"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Tuo GOG-pelejä" msgstr "Tuo GOG-pelejä"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Tuo Steam-pelejä"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Tuo Sideload-pelejä" msgstr "Tuo Sideload-pelejä"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Pullot" msgstr "Pullot"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr ""
#: data/gtk/preferences.blp:252
#, fuzzy
#| msgid "Game Launcher"
msgid "Import Game Launchers"
msgstr "Pelin käynnistin"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Tunnistautuminen" msgstr "Tunnistautuminen"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "API-avain" msgstr "API-avain"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Käytä SteamGridDB:tä" msgstr "Käytä SteamGridDB:tä"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Lataa kuvat pelejä lisätessä tai tuotaessa" msgstr "Lataa kuvat pelejä lisätessä tai tuotaessa"
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Suosi virallisten kuvien sijaan" msgstr "Suosi virallisten kuvien sijaan"
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Suosi animoituja kuvia" msgstr "Suosi animoituja kuvia"
@@ -395,21 +418,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Linux Sauna" msgstr "Linux Sauna"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Lisätty: {}" msgstr "Lisätty: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Viimeksi pelattu: {}" msgstr "Viimeksi pelattu: {}"
@@ -426,26 +449,26 @@ msgid "Confirm"
msgstr "Vahvista" msgstr "Vahvista"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "file.txt" msgstr "file.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/polku/kansioon/{}" msgstr "/polku/kansioon/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -468,52 +491,81 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Peliä ei voitu lisätä" msgstr "Peliä ei voitu lisätä"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
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/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
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 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Asetuksia ei voitu ottaa käyttöön" msgstr "Asetuksia ei voitu ottaa käyttöön"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} käynnistetty" msgstr "{} käynnistetty"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} piilotettu" msgstr "{} piilotettu"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} palautettu näkyviin" msgstr "{} palautettu näkyviin"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} poistettu" msgstr "{} poistettu"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Kaikki pelit poistettu" msgstr "Kaikki pelit poistettu"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"API-avain on pakollinen, jos haluat käyttää SteamGridDB:tä. Voit luoda " "API-avain on pakollinen, jos haluat käyttää SteamGridDB:tä. Voit luoda "
"avaimen {}täällä{}." "avaimen {}täällä{}."
#: src/preferences.py:289 #: src/preferences.py:285
#, fuzzy
#| msgid "Installation Not Found"
msgid "Installation Not Found"
msgstr "Asennusta ei löydy"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr ""
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Aseta sijainti" msgstr "Aseta sijainti"
@@ -521,29 +573,6 @@ msgstr "Aseta sijainti"
msgid "Dismiss" msgid "Dismiss"
msgstr "Hylkää" msgstr "Hylkää"
#: 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 "Vahvista"
#. 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy #, fuzzy
#| msgid "Couldn't Connect to SteamGridDB" #| msgid "Couldn't Connect to SteamGridDB"
@@ -554,6 +583,16 @@ msgstr "Ei voitu yhdistää SteamGridDB:hen"
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr ""
#, fuzzy
#~| msgid "The Steam directory cannot be found."
#~ msgid "Directory not Valid"
#~ msgstr "Steam-hakemistoa ei löydy."
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Vahvista"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Steam-asennuksen sijainti" #~ msgstr "Steam-asennuksen sijainti"
@@ -575,9 +614,6 @@ msgstr ""
#~ msgid "Cache Not Found" #~ msgid "Cache Not Found"
#~ msgstr "Välimuistia ei löydy" #~ msgstr "Välimuistia ei löydy"
#~ msgid "Installation Not Found"
#~ msgstr "Asennusta ei löydy"
#~ msgid "Importing Games…" #~ msgid "Importing Games…"
#~ msgstr "Tuodaan pelejä…" #~ msgstr "Tuodaan pelejä…"
@@ -711,8 +747,5 @@ msgstr ""
#~ msgid "No new games were found in the Steam library." #~ msgid "No new games were found in the Steam library."
#~ msgstr "Steam-kirjastosta ei löytynyt uusia pelejä." #~ msgstr "Steam-kirjastosta ei löytynyt uusia pelejä."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Steam-hakemistoa ei löydy."
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "Yhdistetään Steam-kirjastoon" #~ msgstr "Yhdistetään Steam-kirjastoon"

206
po/fr.po
View File

@@ -6,12 +6,13 @@
# rene-coty <irenee.thirion@e.email>, 2023. # rene-coty <irenee.thirion@e.email>, 2023.
# John Donne <akheron@zaclys.net>, 2023. # John Donne <akheron@zaclys.net>, 2023.
# "Yannick A." <pify@live.fr>, 2023. # "Yannick A." <pify@live.fr>, 2023.
# Geoffrey Coulaud <geoffrey.coulaud+github@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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-05-28 10:11+0000\n" "PO-Revision-Date: 2023-07-24 13:05+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"
@@ -20,13 +21,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.18-dev\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartouches"
#: data/hu.kramo.Cartridges.desktop.in:4 #: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher" msgid "Game Launcher"
@@ -38,7 +39,9 @@ msgid "Launch all your games"
msgstr "Lancez tous vos jeux" msgstr "Lancez tous vos jeux"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "gaming;jeux;lanceur;steam;lutris;heroic;bouteilles;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
@@ -48,7 +51,7 @@ 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 est un lanceur de jeux simple pour tous vos jeux. Il prend en " "Cartouches est un lanceur de jeux simple pour tous vos jeux. Il prend en "
"charge limportation des jeux depuis Steam, Lutris, Heroic et dautres " "charge limportation des jeux depuis Steam, Lutris, Heroic et dautres "
"encore, sans nécessiter de connexion. Vous pouvez trier et masquer les jeux " "encore, sans nécessiter de connexion. Vous pouvez trier et masquer les jeux "
"ou télécharger la pochette depuis SteamGridDB." "ou télécharger la pochette depuis SteamGridDB."
@@ -66,7 +69,7 @@ msgid "Game Details"
msgstr "Détails du jeu" msgstr "Détails du jeu"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Préférences" msgstr "Préférences"
@@ -115,7 +118,7 @@ msgstr "Plus dinformations"
msgid "Edit" msgid "Edit"
msgstr "Modifier" msgstr "Modifier"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Masquer" msgstr "Masquer"
@@ -124,7 +127,7 @@ msgstr "Masquer"
msgid "Remove" msgid "Remove"
msgstr "Supprimer" msgstr "Supprimer"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Ne plus masquer" msgstr "Ne plus masquer"
@@ -149,7 +152,7 @@ msgstr "Afficher les préférences"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Raccourcis" msgstr "Raccourcis"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Annuler" msgstr "Annuler"
@@ -177,7 +180,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:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Comportement" msgstr "Comportement"
@@ -229,80 +232,95 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#, fuzzy #: data/gtk/preferences.blp:243
#| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
msgstr "Emplacement dinstallation de Itch" msgstr "Emplacement d'installation"
#: data/gtk/preferences.blp:106 #: data/gtk/preferences.blp:106
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location" msgid "Cache Location"
msgstr "Emplacement du cache de Lutris" msgstr "Emplacement du cache"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importer les jeux de Steam" msgstr "Importer les jeux de Steam"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "Importer des jeux Flatpak"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importer les jeux d'Epic Games" msgstr "Importer les jeux d'Epic Games"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importer les jeux de GOG" msgstr "Importer les jeux de GOG"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Importer les jeux de Steam"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importer des jeux Sideloaded" msgstr "Importer des jeux Sideloaded"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "Légendaire"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "Importer des lanceurs de jeux"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Authentification" msgstr "Authentification"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "Clé API" msgstr "Clé API"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Utiliser SteamGridDB" msgstr "Utiliser SteamGridDB"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
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:249 #: data/gtk/preferences.blp:290
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:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Préférer les images animées" msgstr "Préférer les images animées"
@@ -388,24 +406,24 @@ msgstr "Raccourcis clavier"
#: data/gtk/window.blp:426 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
msgstr "À propos de Cartridges" msgstr "À propos de Cartouches"
#. 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Irénée Thirion" msgstr "Irénée Thirion"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Ajouté : {}" msgstr "Ajouté : {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Dernière session : {}" msgstr "Dernière session : {}"
@@ -422,26 +440,26 @@ msgid "Confirm"
msgstr "Confirmer" msgstr "Confirmer"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "fichier.txt" msgstr "fichier.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/chemin/vers/{}" msgstr "/chemin/vers/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -465,52 +483,79 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Impossible dajouter le jeu" msgstr "Impossible dajouter le jeu"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
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/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Lexécutable ne peut pas être vide." msgstr "Lexécutable ne peut pas être vide."
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Impossible dappliquer les préférences" msgstr "Impossible dappliquer les préférences"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} lancé" msgstr "{} lancé"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} masqué" msgstr "{} masqué"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} affiché" msgstr "{} affiché"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} retiré" msgstr "{} retiré"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Tous les jeux ont été supprimés" msgstr "Tous les jeux ont été supprimés"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"Une clé API est requise pour utiliser SteamGridDB. Vous pouvez en générer " "Une clé API est requise pour utiliser SteamGridDB. Vous pouvez en générer "
"une {}ici{}." "une {}ici{}."
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr "Installation introuvable"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "Sélectionnez un répertoire valide."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "Répertoire invalide"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "Sélectionnez le répertoire de cache de {}."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "Sélectionnez le répertoire de configuration de {}."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "Sélectionnez le répertoire de données de {}."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Définir lemplacement" msgstr "Définir lemplacement"
@@ -518,38 +563,23 @@ msgstr "Définir lemplacement"
msgid "Dismiss" msgid "Dismiss"
msgstr "Fermer" msgstr "Fermer"
#: 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 "Confirmer"
#. 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "Impossible de se connecter à SteamGridDB" msgstr "Impossible de se connecter à SteamGridDB"
#: src/store/managers/sgdb_manager.py:48 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr "Vérifiez votre clé API dans les préférences"
#, fuzzy
#~| msgid "The Steam directory cannot be found."
#~ msgid "Directory not Valid"
#~ msgstr "Le répertoire Steam est introuvable."
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Confirmer"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Emplacement de linstallation de Steam" #~ msgstr "Emplacement de linstallation de Steam"
@@ -575,15 +605,6 @@ msgstr ""
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Sélectionnez le répertoire du cache de Lutris." #~ 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…" #~ msgid "Importing Games…"
#~ msgstr "Importation des jeux…" #~ msgstr "Importation des jeux…"
@@ -710,9 +731,6 @@ msgstr ""
#~ msgid "No new games were found in the Steam library." #~ msgid "No new games were found in the Steam library."
#~ msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Steam." #~ msgstr "Aucun nouveau jeu n'a été trouvé dans la bibliothèque Steam."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Le répertoire Steam est introuvable."
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "Parler à Steam" #~ msgstr "Parler à Steam"

193
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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-06-26 10:05+0000\n" "PO-Revision-Date: 2023-07-05 13:13+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.18.1\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Kazetták" msgstr "Kazetták"
@@ -36,7 +36,9 @@ 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 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "játék;indító;steam;lutris;heroic;palackok;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
@@ -63,7 +65,7 @@ msgid "Game Details"
msgstr "Játék Tulajdonságai" msgstr "Játék Tulajdonságai"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Beállítások" msgstr "Beállítások"
@@ -112,7 +114,7 @@ msgstr "Több infó"
msgid "Edit" msgid "Edit"
msgstr "Szerkesztés" msgstr "Szerkesztés"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Elrejtés" msgstr "Elrejtés"
@@ -121,7 +123,7 @@ msgstr "Elrejtés"
msgid "Remove" msgid "Remove"
msgstr "Eltávolítás" msgstr "Eltávolítás"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Elrejtés visszavonása" msgstr "Elrejtés visszavonása"
@@ -146,7 +148,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/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Visszavonás" msgstr "Visszavonás"
@@ -174,7 +176,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:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Működés" msgstr "Működés"
@@ -223,8 +225,9 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#: data/gtk/preferences.blp:243
msgid "Install Location" msgid "Install Location"
msgstr "Telepítés helye" msgstr "Telepítés helye"
@@ -240,59 +243,77 @@ msgstr "Gyorsítótár helye"
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:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "Flatpak játékok importálása"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
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:160 #: data/gtk/preferences.blp:169
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:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Steam játékok importálása"
#: data/gtk/preferences.blp:187
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:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Palackok" msgstr "Palackok"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "Legendary" msgstr "Legendary"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "Játékindítók importálása"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Hitelesítés" msgstr "Hitelesítés"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "API kulcs" msgstr "API kulcs"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "SteamGridDB használata" msgstr "SteamGridDB használata"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
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:249 #: data/gtk/preferences.blp:290
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:258 #: data/gtk/preferences.blp:299
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"
@@ -381,21 +402,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "kramo https://kramo.hu" msgstr "kramo https://kramo.hu"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Hozzáadva: {}" msgstr "Hozzáadva: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Legutóbbi játékmenet: {}" msgstr "Legutóbbi játékmenet: {}"
@@ -412,26 +433,26 @@ msgid "Confirm"
msgstr "Megerősítés" msgstr "Megerősítés"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "fájl.txt" msgstr "fájl.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/útvonal/ide/{}" msgstr "/útvonal/ide/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -454,52 +475,79 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
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/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
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/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
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 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Nem lehet menteni a beállításokat" msgstr "Nem lehet menteni a beállításokat"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} elindítva" msgstr "{} elindítva"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} elrejtve" msgstr "{} elrejtve"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} elrejtése visszavonva" msgstr "{} elrejtése visszavonva"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} eltávolítva" msgstr "{} eltávolítva"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Az összes játék eltávolítva" msgstr "Az összes játék eltávolítva"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"Egy API kulcs szükséges a SteamGridDB használatához. {}Itt{} generálhat " "Egy API kulcs szükséges a SteamGridDB használatához. {}Itt{} generálhat "
"egyet." "egyet."
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr "A telepítés nem található"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "Válasszon ki egy érvényes mappát."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "Érvénytelen mappa"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "Válassza ki {} gyorsítótár mappáját."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "Válassza ki {} konfigurációs mappáját."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "Válassza ki {} adatok mappáját."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Mappa kiválasztása" msgstr "Mappa kiválasztása"
@@ -507,27 +555,6 @@ msgstr "Mappa kiválasztása"
msgid "Dismiss" msgid "Dismiss"
msgstr "Rendben" msgstr "Rendben"
#: src/importer/sources/source.py:106
msgid "Data"
msgstr "Adatok"
#: src/importer/sources/source.py:107
msgid "Cache"
msgstr "Gyorsítótár"
#: src/importer/sources/source.py:108
msgid "Configuration"
msgstr "Konfigurációk"
#. 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 "Érvénytelen {} mappa ennek a forrásnak: {{}}"
#: src/importer/sources/source.py:120
msgid "Pick a new one or disable the source in preferences"
msgstr "Válasszon egy újat, vagy kapcsolja ki a forrást a beállításokban"
#: src/store/managers/sgdb_manager.py:47 #: src/store/managers/sgdb_manager.py:47
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "Nem lehet hitelesíteni SteamGridDB-t" msgstr "Nem lehet hitelesíteni SteamGridDB-t"
@@ -536,6 +563,26 @@ msgstr "Nem lehet hitelesíteni SteamGridDB-t"
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "Ellenőrizze az API kulcsát a beállításokban" msgstr "Ellenőrizze az API kulcsát a beállításokban"
#, fuzzy
#~| msgid "The Steam directory cannot be found."
#~ msgid "Directory not Valid"
#~ msgstr "A Steam mappa nem található."
#~ msgid "Data"
#~ msgstr "Adatok"
#~ msgid "Cache"
#~ msgstr "Gyorsítótár"
#~ msgid "Configuration"
#~ msgstr "Konfigurációk"
#~ msgid "Invalid {} Location for {{}}"
#~ msgstr "Érvénytelen {} mappa ennek a forrásnak: {{}}"
#~ msgid "Pick a new one or disable the source in preferences"
#~ msgstr "Válasszon egy újat, vagy kapcsolja ki a forrást a beállításokban"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Steam telepítés helye" #~ msgstr "Steam telepítés helye"
@@ -560,15 +607,6 @@ msgstr "Ellenőrizze az API kulcsát a beállításokban"
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Válassza ki Lutris gyorsítótár mappáját." #~ 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…" #~ msgid "Importing Games…"
#~ msgstr "Játékok importálása folyamatban…" #~ msgstr "Játékok importálása folyamatban…"
@@ -688,9 +726,6 @@ msgstr "Ellenőrizze az API kulcsát a beállításokban"
#~ msgid "No new games were found in the Steam library." #~ msgid "No new games were found in the Steam library."
#~ msgstr "Nem találhatóak új játékok a Steam könyvtárban." #~ msgstr "Nem találhatóak új játékok a Steam könyvtárban."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "A Steam mappa nem található."
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "Adatok lekérése a Steam-ből" #~ msgstr "Adatok lekérése a Steam-ből"

208
po/it.po
View File

@@ -4,13 +4,14 @@
# Alessandro Iepure <alessandro.iepure@gmail.com>, 2023. # Alessandro Iepure <alessandro.iepure@gmail.com>, 2023.
# albanobattistella <albano_battistella@hotmail.com>, 2023. # albanobattistella <albano_battistella@hotmail.com>, 2023.
# kramo <contact@kramo.hu>, 2023. # kramo <contact@kramo.hu>, 2023.
# Giasko <dibiame@hotmail.it>, 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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-05-26 18:10+0000\n" "PO-Revision-Date: 2023-07-21 12:16+0000\n"
"Last-Translator: albanobattistella <albano_battistella@hotmail.com>\n" "Last-Translator: Giasko <dibiame@hotmail.it>\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 +19,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.18-dev\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartucce" msgstr "Cartucce"
@@ -36,7 +37,9 @@ msgid "Launch all your games"
msgstr "Avvia tutti i tuoi giochi" msgstr "Avvia tutti i tuoi giochi"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "gioco;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
@@ -64,7 +67,7 @@ msgid "Game Details"
msgstr "Dettagli del gioco" msgstr "Dettagli del gioco"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Preferenze" msgstr "Preferenze"
@@ -87,7 +90,7 @@ msgstr "Titolo"
#: data/gtk/details-window.blp:102 #: data/gtk/details-window.blp:102
msgid "The title of the game" msgid "The title of the game"
msgstr "Titolo del gioco" msgstr "Il titolo del gioco"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117 #: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer" msgid "Developer"
@@ -113,7 +116,7 @@ msgstr "Altre informazioni"
msgid "Edit" msgid "Edit"
msgstr "Modifica" msgstr "Modifica"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Nascondi" msgstr "Nascondi"
@@ -122,7 +125,7 @@ msgstr "Nascondi"
msgid "Remove" msgid "Remove"
msgstr "Rimuovi" msgstr "Rimuovi"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Mostra" msgstr "Mostra"
@@ -132,7 +135,7 @@ msgstr "Generale"
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14
msgid "Quit" msgid "Quit"
msgstr "Chiudi" msgstr "Esci"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:323 #: data/gtk/window.blp:323
@@ -147,7 +150,7 @@ msgstr "Mostra preferenze"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Scorciatoie da tastiera" msgstr "Scorciatoie da tastiera"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Annulla" msgstr "Annulla"
@@ -175,7 +178,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:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Comportamento" msgstr "Comportamento"
@@ -225,80 +228,95 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#, fuzzy #: data/gtk/preferences.blp:243
#| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
msgstr "itch Posizione di installazione" msgstr "Posizione di installazione"
#: data/gtk/preferences.blp:106 #: data/gtk/preferences.blp:106
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location" msgid "Cache Location"
msgstr "Posizione della cache di Lutris" msgstr "Posizione della cache"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importa giochi da Steam" msgstr "Importa giochi da Steam"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "Importa giochi da Flatpak"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importa giochi da Epic Games" msgstr "Importa giochi da Epic Games"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importa giochi da GOG" msgstr "Importa giochi da GOG"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Importa giochi da Steam"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importa giochi da aggiunti manualmente" msgstr "Importa giochi da aggiunti manualmente"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "Legendary"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "Importa launcher di giochi"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Autenticazione" msgstr "Autenticazione"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "Chiave API" msgstr "Chiave API"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Usa SteamGridDB" msgstr "Usa SteamGridDB"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
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:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Preferisci alle immagini ufficiali" msgstr "Preferisci alle immagini ufficiali"
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Preferisci immagini animate" msgstr "Preferisci immagini animate"
@@ -387,21 +405,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Alessandro Iepure https://ale.iepure.me" msgstr "Alessandro Iepure https://ale.iepure.me"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Aggiunto il: {}" msgstr "Aggiunto il: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Ultima riproduzione: {}" msgstr "Ultima riproduzione: {}"
@@ -418,26 +436,26 @@ msgid "Confirm"
msgstr "Conferma" msgstr "Conferma"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "file.txt" msgstr "file.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/percorso/to/{}" msgstr "/percorso/to/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -459,52 +477,79 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Impossibile aggiungere il gioco" msgstr "Impossibile aggiungere il gioco"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
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/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
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 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Impossibile applicare le preferenze" msgstr "Impossibile applicare le preferenze"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} avviato" msgstr "{} avviato"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} nascosto" msgstr "{} nascosto"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} visibile" msgstr "{} visibile"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} rimosso" msgstr "{} rimosso"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Tutti i giochi sono stati rimossi" msgstr "Tutti i giochi sono stati rimossi"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"Per utilizzare SteamGridDB è necessaria una chiave API. Puoi generarne una {}" "Per utilizzare SteamGridDB è necessaria una chiave API. Puoi generarne una {}"
"qui{}." "qui{}."
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr "Installazione non trovata"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "Seleziona una directory valida."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "Directory non valida"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "Seleziona la directory della cache per {}."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "Selezionare la directory di configurazione per {}."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "Seleziona la directory dati per {}."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Imposta percorso" msgstr "Imposta percorso"
@@ -512,38 +557,23 @@ msgstr "Imposta percorso"
msgid "Dismiss" msgid "Dismiss"
msgstr "Chiudi" msgstr "Chiudi"
#: 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 "Conferma"
#. 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "Impossibile connettersi a SteamGridDB" msgstr "Impossibile autenticare SteamGridDB"
#: src/store/managers/sgdb_manager.py:48 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr "Verifica la tua chiave API nelle preferenze"
#, fuzzy
#~| msgid "The Steam directory cannot be found."
#~ msgid "Directory not Valid"
#~ msgstr "Non è possibile trovare il percorso per Steam."
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Conferma"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Percorso Installazione Steam" #~ msgstr "Percorso Installazione Steam"
@@ -569,15 +599,6 @@ msgstr ""
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Selezionare la directory della cache di Lutris." #~ 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…" #~ msgid "Importing Games…"
#~ msgstr "Import dei giochi in corso…" #~ msgstr "Import dei giochi in corso…"
@@ -702,9 +723,6 @@ msgstr ""
#~ msgid "No new games were found in the Steam library." #~ msgid "No new games were found in the Steam library."
#~ msgstr "Nessun nuovo gioco trovato nella libreria di Steam." #~ msgstr "Nessun nuovo gioco trovato nella libreria di Steam."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Non è possibile trovare il percorso per Steam."
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "Parlando con Steam" #~ msgstr "Parlando con Steam"

159
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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+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/"
@@ -20,7 +20,7 @@ msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "카트리지" msgstr "카트리지"
@@ -34,7 +34,7 @@ msgid "Launch all your games"
msgstr "모든 게임을 실행합니다" msgstr "모든 게임을 실행합니다"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -66,7 +66,7 @@ msgid "Game Details"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "" msgstr ""
@@ -115,7 +115,7 @@ msgstr ""
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "" msgstr ""
@@ -124,7 +124,7 @@ msgstr ""
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "" msgstr ""
@@ -149,7 +149,7 @@ msgstr ""
msgid "Shortcuts" msgid "Shortcuts"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "" msgstr ""
@@ -183,7 +183,7 @@ msgstr ""
msgid "Remove game" msgid "Remove game"
msgstr "게임이 없습니다" msgstr "게임이 없습니다"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "" msgstr ""
@@ -232,8 +232,9 @@ msgid "Steam"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#: data/gtk/preferences.blp:243
msgid "Install Location" msgid "Install Location"
msgstr "" msgstr ""
@@ -251,59 +252,81 @@ msgstr ""
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "게임이 없습니다" msgstr "게임이 없습니다"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
#, fuzzy
#| msgid "No Games"
msgid "Import Flatpak Games"
msgstr "게임이 없습니다"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "No Games"
msgid "Import Amazon Games"
msgstr "게임이 없습니다"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr ""
#: data/gtk/preferences.blp:252
#, fuzzy
#| msgid "Game Launcher"
msgid "Import Game Launchers"
msgstr "게임 런처"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "" msgstr ""
@@ -392,21 +415,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "" msgstr ""
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "" msgstr ""
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "" msgstr ""
@@ -423,26 +446,26 @@ msgid "Confirm"
msgstr "" msgstr ""
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr ""
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "" msgstr ""
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -455,50 +478,77 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "" msgstr ""
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "" msgstr ""
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "" msgstr ""
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "" msgstr ""
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "" msgstr ""
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "" msgstr ""
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "" msgstr ""
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr ""
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr ""
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "" msgstr ""
@@ -506,27 +556,6 @@ msgstr ""
msgid "Dismiss" msgid "Dismiss"
msgstr "" 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 #: src/store/managers/sgdb_manager.py:47
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "" msgstr ""

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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+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/"
@@ -21,7 +21,7 @@ msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
@@ -35,7 +35,7 @@ msgid "Launch all your games"
msgstr "Start alle spillene dine" msgstr "Start alle spillene dine"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -63,7 +63,7 @@ msgid "Game Details"
msgstr "Spilldetaljer" msgstr "Spilldetaljer"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Innstillinger" msgstr "Innstillinger"
@@ -112,7 +112,7 @@ msgstr ""
msgid "Edit" msgid "Edit"
msgstr "Rediger" msgstr "Rediger"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Skjul" msgstr "Skjul"
@@ -121,7 +121,7 @@ msgstr "Skjul"
msgid "Remove" msgid "Remove"
msgstr "Fjern" msgstr "Fjern"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Opphev fjerning" msgstr "Opphev fjerning"
@@ -147,7 +147,7 @@ msgstr "Vis innstillinger"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Snarveier" msgstr "Snarveier"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Angre" msgstr "Angre"
@@ -177,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:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
#, fuzzy #, fuzzy
msgid "Behavior" msgid "Behavior"
msgstr "Adferd" msgstr "Adferd"
@@ -227,8 +227,9 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#: data/gtk/preferences.blp:243
#, fuzzy #, fuzzy
#| msgid "Heroic Install Location" #| msgid "Heroic Install Location"
msgid "Install Location" msgid "Install Location"
@@ -250,64 +251,86 @@ msgstr "Posisjon for Lutris-hurtiglager"
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importer sideinnlastede spill" msgstr "Importer sideinnlastede spill"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
#, fuzzy
#| msgid "Import Sideloaded Games"
msgid "Import Flatpak Games"
msgstr "Importer sideinnlastede spill"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importer Epic-spill" msgstr "Importer Epic-spill"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importer GOG-spill" msgstr "Importer GOG-spill"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Sideloaded Games"
msgid "Import Amazon Games"
msgstr "Importer sideinnlastede spill"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importer sideinnlastede spill" msgstr "Importer sideinnlastede spill"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
#, fuzzy #, fuzzy
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr ""
#: data/gtk/preferences.blp:252
#, fuzzy
#| msgid "Game Launcher"
msgid "Import Game Launchers"
msgstr "Spillutvalgstarter"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Identitetsbekreftelse" msgstr "Identitetsbekreftelse"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
#, fuzzy #, fuzzy
msgid "API Key" msgid "API Key"
msgstr "API-nøkkel" msgstr "API-nøkkel"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Bruk SteamGridDB" msgstr "Bruk SteamGridDB"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
#, 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:249 #: data/gtk/preferences.blp:290
#, 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:258 #: data/gtk/preferences.blp:299
#, fuzzy #, fuzzy
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Foretrekk over offisielle bilder" msgstr "Foretrekk over offisielle bilder"
@@ -397,21 +420,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Allan Nordhøy, <epost@anotheragency.no>" msgstr "Allan Nordhøy, <epost@anotheragency.no>"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Tillagt: {}" msgstr "Tillagt: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Sist spilt: {}" msgstr "Sist spilt: {}"
@@ -428,26 +451,26 @@ msgid "Confirm"
msgstr "Bekreft" msgstr "Bekreft"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "fil.txt" msgstr "fil.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/sti/til/{}" msgstr "/sti/til/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -470,53 +493,90 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Kunne ikke legge til spill" msgstr "Kunne ikke legge til spill"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
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/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
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 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Kunne ikke ta i bruk endringer" msgstr "Kunne ikke ta i bruk endringer"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} startet" msgstr "{} startet"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
#, fuzzy #, fuzzy
#| msgid "Show Hidden" #| msgid "Show Hidden"
msgid "{} hidden" msgid "{} hidden"
msgstr "{} skjult" msgstr "{} skjult"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} synlig" msgstr "{} synlig"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} fjernet" msgstr "{} fjernet"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Alle spill fjernet" msgstr "Alle spill fjernet"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"En API-nøkkel kreves for å bruke SteamGridDB. Du kan generere en {}her{}." "En API-nøkkel kreves for å bruke SteamGridDB. Du kan generere en {}her{}."
#: src/preferences.py:289 #: src/preferences.py:285
#, fuzzy
#| msgid "Installation Not Found"
msgid "Installation Not Found"
msgstr "Fant ikke installasjonen"
#: src/preferences.py:287
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select a valid directory."
msgstr "Velg {}-datamappen."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:353
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} cache directory."
msgstr "Velg {}-datamappen."
#. The variable is the name of the source
#: src/preferences.py:356
#, fuzzy
#| msgid "Select the {} configuration directory."
msgid "Select the {} configuration directory."
msgstr "Velg {}-oppsettsmappen."
#. The variable is the name of the source
#: src/preferences.py:359
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} data directory."
msgstr "Velg {}-datamappen."
#: src/preferences.py:365
#, fuzzy #, fuzzy
#| msgid "Set Steam Location" #| msgid "Set Steam Location"
msgid "Set Location" msgid "Set Location"
@@ -526,29 +586,6 @@ msgstr "Velg mappe"
msgid "Dismiss" msgid "Dismiss"
msgstr "Forkast" msgstr "Forkast"
#: 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 "Bekreft"
#. 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy #, fuzzy
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
@@ -558,6 +595,16 @@ msgstr "Kunne ikke koble til SteamGridDB"
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr ""
#, fuzzy
#~| msgid "The Steam directory cannot be found."
#~ msgid "Directory not Valid"
#~ msgstr "Kunne ikke finne Steam-mappen."
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Bekreft"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Installasjonssted for Steam" #~ msgstr "Installasjonssted for Steam"
@@ -584,15 +631,6 @@ msgstr ""
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Velg {name}-datamappen." #~ 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…" #~ msgid "Importing Games…"
#~ msgstr "Importerer spill …" #~ msgstr "Importerer spill …"
@@ -728,9 +766,6 @@ msgstr ""
#~ msgid "No new games were found in the Steam library." #~ msgid "No new games were found in the Steam library."
#~ msgstr "Fant ingen nye spill i Steam-biblioteket." #~ msgstr "Fant ingen nye spill i Steam-biblioteket."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Kunne ikke finne Steam-mappen."
#, fuzzy #, fuzzy
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "Snakker med Steam" #~ msgstr "Snakker med Steam"

213
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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-05-29 18:48+0000\n" "PO-Revision-Date: 2023-07-08 14:52+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.18-dev\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
@@ -35,7 +35,9 @@ msgid "Launch all your games"
msgstr "Start al uw games op" msgstr "Start al uw games op"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "" msgstr ""
"gaming;launcher;steam;lutris;heroic;bottles;itch;spelen;games;starten;" "gaming;launcher;steam;lutris;heroic;bottles;itch;spelen;games;starten;"
"opstarten;" "opstarten;"
@@ -65,7 +67,7 @@ msgid "Game Details"
msgstr "Game-details" msgstr "Game-details"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Voorkeuren" msgstr "Voorkeuren"
@@ -115,7 +117,7 @@ msgstr "Meer info"
msgid "Edit" msgid "Edit"
msgstr "Bewerken" msgstr "Bewerken"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Verbergen" msgstr "Verbergen"
@@ -124,7 +126,7 @@ msgstr "Verbergen"
msgid "Remove" msgid "Remove"
msgstr "Verwijderen" msgstr "Verwijderen"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Niet meer verbergen" msgstr "Niet meer verbergen"
@@ -134,7 +136,7 @@ msgstr "Algemeen"
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14
msgid "Quit" msgid "Quit"
msgstr "Sluiten" msgstr "Afsluiten"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257 #: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:323 #: data/gtk/window.blp:323
@@ -149,7 +151,7 @@ msgstr "Voorkeuren tonen"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Sneltoetsen" msgstr "Sneltoetsen"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Ongedaan maken" msgstr "Ongedaan maken"
@@ -177,7 +179,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:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Gedrag" msgstr "Gedrag"
@@ -227,80 +229,95 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#, fuzzy #: data/gtk/preferences.blp:243
#| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
msgstr "Installatielocatie van itch" msgstr "Installatielocatie"
#: data/gtk/preferences.blp:106 #: data/gtk/preferences.blp:106
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location" msgid "Cache Location"
msgstr "Cache-locatie van Lutris" msgstr "Cache-locatie"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Steam-games importeren" msgstr "Steam-games importeren"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "Flatpak-games importeren"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Epic-games importeren" msgstr "Epic-games importeren"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "GOG-games importeren" msgstr "GOG-games importeren"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Steam-games importeren"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Gesideloade games importeren" msgstr "Gesideloade games importeren"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "Legendary"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "Game-launchers importeren"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Authenticatie" msgstr "Authenticatie"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "API-sleutel" msgstr "API-sleutel"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "SteamGridDB gebruiken" msgstr "SteamGridDB gebruiken"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
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:249 #: data/gtk/preferences.blp:290
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:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Voorkeur geven aan geanimeerde afbeeldingen" msgstr "Voorkeur geven aan geanimeerde afbeeldingen"
@@ -310,7 +327,7 @@ msgstr "Geen games gevonden"
#: data/gtk/window.blp:7 data/gtk/window.blp:15 #: 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:21 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
@@ -318,7 +335,7 @@ msgstr "Geen games"
#: data/gtk/window.blp:22 #: 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:40 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
@@ -326,7 +343,7 @@ msgstr "Geen verborgen games"
#: data/gtk/window.blp:41 #: 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:64 data/gtk/window.blp:304 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
@@ -389,21 +406,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Philip Goto https://flipflop97.github.io/" msgstr "Philip Goto https://flipflop97.github.io/"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Toegevoegd op {}" msgstr "Toegevoegd op {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Laatst gespeeld: {}" msgstr "Laatst gespeeld: {}"
@@ -420,26 +437,26 @@ msgid "Confirm"
msgstr "Bevestigen" msgstr "Bevestigen"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "bestand.txt" msgstr "bestand.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/pad/naar/{}" msgstr "/pad/naar/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -463,52 +480,79 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Kon game niet toevoegen" msgstr "Kon game niet toevoegen"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
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/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
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 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Kon voorkeuren niet toepassen" msgstr "Kon voorkeuren niet toepassen"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} gestart" msgstr "{} gestart"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} verborgen" msgstr "{} verborgen"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} hersteld" msgstr "{} hersteld"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} verwijderd" msgstr "{} verwijderd"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Alle games verwijderd" msgstr "Alle games verwijderd"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"Een API-sleutel is vereist om SteamGridDB te gebruiken. U kunt er {}hier{} " "Een API-sleutel is vereist om SteamGridDB te gebruiken. U kunt er {}hier{} "
"één genereren." "één genereren."
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr "Installatie niet gevonden"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "Selecteer een geldige map."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "Ongeldige map"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "Selecteer de cache-map van {}."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "Selecteer de configuratiemap van {}."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "Selecteer de gegevensmap van {}."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Locatie instellen" msgstr "Locatie instellen"
@@ -516,38 +560,23 @@ msgstr "Locatie instellen"
msgid "Dismiss" msgid "Dismiss"
msgstr "Sluiten" msgstr "Sluiten"
#: 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 "Bevestigen"
#. 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "Kan geen verbinding maken met SteamGridDB" msgstr "Kan SteamGridDB niet authenticeren"
#: src/store/managers/sgdb_manager.py:48 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr "Verifieer uw API-sleutel onder voorkeuren"
#, fuzzy
#~| msgid "The Steam directory cannot be found."
#~ msgid "Directory not Valid"
#~ msgstr "Steam-map kan niet worden gevonden"
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Bevestigen"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Installatielocatie van Steam" #~ msgstr "Installatielocatie van Steam"
@@ -573,15 +602,6 @@ msgstr ""
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Selecteer de cache-map van Lutris" #~ 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…" #~ msgid "Importing Games…"
#~ msgstr "Games importeren…" #~ msgstr "Games importeren…"
@@ -704,9 +724,6 @@ msgstr ""
#~ msgid "No new games were found in the Steam library." #~ msgid "No new games were found in the Steam library."
#~ msgstr "Geen nieuwe games gevonden in de Steam-bibliotheek" #~ msgstr "Geen nieuwe games gevonden in de Steam-bibliotheek"
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Steam-map kan niet worden gevonden"
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "Steam-bibliotheek aan het ophalen" #~ msgstr "Steam-bibliotheek aan het ophalen"

239
po/pl.po
View File

@@ -3,13 +3,15 @@
# This file is distributed under the same license as the Cartridges package. # This file is distributed under the same license as the Cartridges package.
# Artur Wróblewski <krypalkora1984@gmail.com>, 2023. # Artur Wróblewski <krypalkora1984@gmail.com>, 2023.
# Kshyso <Kshysio@protonmail.com>, 2023. # Kshyso <Kshysio@protonmail.com>, 2023.
# Eryk Michalak <gnu.ewm@protonmail.com>, 2023.
# Michaks <fexwex3@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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-06-10 16:48+0000\n" "PO-Revision-Date: 2023-07-24 13:05+0000\n"
"Last-Translator: Kshyso <Kshysio@protonmail.com>\n" "Last-Translator: Michaks <fexwex3@gmail.com>\n"
"Language-Team: Polish <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Polish <https://hosted.weblate.org/projects/cartridges/"
"cartridges/pl/>\n" "cartridges/pl/>\n"
"Language: pl\n" "Language: pl\n"
@@ -18,13 +20,13 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n" "|| n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.18-dev\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Kartridże"
#: data/hu.kramo.Cartridges.desktop.in:4 #: data/hu.kramo.Cartridges.desktop.in:4
msgid "Game Launcher" msgid "Game Launcher"
@@ -36,8 +38,10 @@ msgid "Launch all your games"
msgstr "Uruchom wszystkie swoje gry" msgstr "Uruchom wszystkie swoje gry"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
msgstr "" #| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "gry;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 ""
@@ -56,16 +60,16 @@ msgstr "Biblioteka"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67 #: data/hu.kramo.Cartridges.metainfo.xml.in:34 src/details_window.py:67
msgid "Edit Game Details" msgid "Edit Game Details"
msgstr "Edytuj detale gry" msgstr "Edycja szczegółów gry"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71 #: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
msgid "Game Details" msgid "Game Details"
msgstr "Detale gry" msgstr "Szczegóły gry"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Ustawienia" msgstr "Preferencje"
#: data/gtk/details-window.blp:25 #: data/gtk/details-window.blp:25
msgid "Cancel" msgid "Cancel"
@@ -73,11 +77,11 @@ msgstr "Anuluj"
#: data/gtk/details-window.blp:57 #: data/gtk/details-window.blp:57
msgid "New Cover" msgid "New Cover"
msgstr "Nowa Okładka" msgstr "Nowa okładka"
#: data/gtk/details-window.blp:75 #: data/gtk/details-window.blp:75
msgid "Delete Cover" msgid "Delete Cover"
msgstr "Usuń Okładkę" msgstr "Usuń osłonę"
#: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106 #: data/gtk/details-window.blp:101 data/gtk/details-window.blp:106
#: data/gtk/game.blp:80 #: data/gtk/game.blp:80
@@ -86,7 +90,7 @@ msgstr "Tytuł"
#: data/gtk/details-window.blp:102 #: data/gtk/details-window.blp:102
msgid "The title of the game" msgid "The title of the game"
msgstr "Tytuł gry" msgstr "Tytuł Gry"
#: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117 #: data/gtk/details-window.blp:112 data/gtk/details-window.blp:117
msgid "Developer" msgid "Developer"
@@ -107,13 +111,13 @@ msgstr ""
#: data/gtk/details-window.blp:130 #: data/gtk/details-window.blp:130
msgid "More Info" msgid "More Info"
msgstr "" msgstr "Więcej informacji"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195 #: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195
msgid "Edit" msgid "Edit"
msgstr "Edytuj" msgstr "Edytuj"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Ukryj" msgstr "Ukryj"
@@ -122,7 +126,7 @@ msgstr "Ukryj"
msgid "Remove" msgid "Remove"
msgstr "Usuń" msgstr "Usuń"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Odkryj" msgstr "Odkryj"
@@ -147,9 +151,9 @@ msgstr "Pokaż preferencje"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Skróty" msgstr "Skróty"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Cofnij" msgstr "Wróć"
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:39
msgid "Open menu" msgid "Open menu"
@@ -161,7 +165,7 @@ msgstr "Gry"
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:48
msgid "Add new game" msgid "Add new game"
msgstr "Dodaj nową grę" msgstr "Dodaj nową gre"
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:53
msgid "Import games" msgid "Import games"
@@ -175,7 +179,7 @@ msgstr "Pokaż ukryte gry"
msgid "Remove game" msgid "Remove game"
msgstr "Usuń grę" msgstr "Usuń grę"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Zachowanie" msgstr "Zachowanie"
@@ -185,7 +189,7 @@ msgstr "Wyjdź po uruchomieniu gry"
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:25
msgid "Cover Image Launches Game" msgid "Cover Image Launches Game"
msgstr "Obraz okładki startera gier" msgstr "Obraz okładki uruchamia grę"
#: 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"
@@ -224,80 +228,95 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#, fuzzy #: data/gtk/preferences.blp:243
#| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
msgstr "Położenie instalacji itch" msgstr "Lokalizacja instalacji"
#: data/gtk/preferences.blp:106 #: data/gtk/preferences.blp:106
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location" msgid "Cache Location"
msgstr "Lokalizacja Lutris Cache" msgstr "Lokalizacja pamięci podręcznej"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importuj gry Steam" msgstr "Importuj gry Steam"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "Importuj gry Flatpak"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Zaimportuj Epic Games" msgstr "Zaimportuj Epic Games"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importuj gry z GOG" msgstr "Importuj gry z GOG"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Importuj gry Steam"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importuj gry w wersji Sideloaded" msgstr "Importuj gry w wersji Sideloaded"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Butelki" msgstr "Butelki"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "Legendarne"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "Importuj programy uruchamiające gry"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Uwierzytelnianie" msgstr "Uwierzytelnianie"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "Klucz API" msgstr "Klucz API"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Użyj SteamGridDB" msgstr "Użyj SteamGridDB"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Pobieranie obrazów podczas dodawania lub importowania gier" msgstr "Pobieranie obrazów podczas dodawania lub importowania gier"
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Preferuj ponad Oficjalne zdjęcia" msgstr "Preferuj ponad Oficjalne zdjęcia"
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Preferuj animowane obrazy" msgstr "Preferuj animowane obrazy"
@@ -327,7 +346,7 @@ msgstr "Gry, które ukryjesz, pojawią się tutaj."
#: data/gtk/window.blp:64 data/gtk/window.blp:304 #: data/gtk/window.blp:64 data/gtk/window.blp:304
msgid "Back" msgid "Back"
msgstr "Cofnij" msgstr "Powrót"
#: data/gtk/window.blp:121 #: data/gtk/window.blp:121
msgid "Game Title" msgid "Game Title"
@@ -335,7 +354,7 @@ msgstr "Tytuł gry"
#: data/gtk/window.blp:176 #: data/gtk/window.blp:176
msgid "Play" msgid "Play"
msgstr "Uruchom" msgstr "Graj"
#: data/gtk/window.blp:243 data/gtk/window.blp:435 #: data/gtk/window.blp:243 data/gtk/window.blp:435
msgid "Add Game" msgid "Add Game"
@@ -383,24 +402,24 @@ msgstr "Skróty klawiaturowe"
#: data/gtk/window.blp:426 #: data/gtk/window.blp:426
msgid "About Cartridges" msgid "About Cartridges"
msgstr "O Cartridges" msgstr "O Kartridżach"
#. 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "kredyty tłumacza" msgstr "kredyty tłumacza"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Dodano: {}" msgstr "Dodano: {}"
#: src/window.py:195 #: src/window.py:197
msgid "Never" msgid "Never"
msgstr "Nigdy" msgstr "Nigdy"
#. 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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Ostatnio grane: {}" msgstr "Ostatnio grane: {}"
@@ -410,33 +429,33 @@ msgstr "Zastosuj"
#: src/details_window.py:78 #: src/details_window.py:78
msgid "Add New Game" msgid "Add New Game"
msgstr "Dodaj nową grę" msgstr "Dodaj nową Grę"
#: src/details_window.py:79 #: src/details_window.py:79
msgid "Confirm" msgid "Confirm"
msgstr "Potwierdź" msgstr "Potwierdź"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "plik.txt" msgstr "plik.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\scieżka\\do\\{}" msgstr "C:\\scieżka\\do\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/ścieżka/do/{}" msgstr "/ścieżka/do/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -458,91 +477,103 @@ msgstr ""
"\n" "\n"
"Jeśli ścieżka zawiera spacje, pamiętaj, aby zawinąć ją w podwójne cudzysłowy!" "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 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Nie można było dodać gry" msgstr "Nie można było dodać gry"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Tytuł gry nie może być pusty." msgstr "Tytuł gry nie może być pusty."
#: src/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Plik wykonywalny nie może być pusty." msgstr "Plik wykonywalny nie może być pusty."
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Nie można zastosować preferencji" msgstr "Nie można zastosować preferencji"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} uruchomiony" msgstr "{} uruchomiony"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} ukryte" msgstr "{} ukryte"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} nieukryty" msgstr "{} nieukryty"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} usunięty" msgstr "{} usunięty"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Wszystkie gry usunięte" msgstr "Wszystkie gry usunięte"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"Do korzystania z SteamGridDB wymagany jest klucz API. Możesz go wygenerować " "Do korzystania z SteamGridDB wymagany jest klucz API. Możesz go wygenerować "
"{} tutaj{}." "{} tutaj{}."
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr "Nie znaleziono instalacji"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "Wybierz prawidłowy katalog."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "Nieprawidłowy katalog"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "Wybierz katalog pamięci podręcznej {}."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "Wybierz katalog konfiguracyjny {}."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "Wybierz katalog z danymi {}."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Ustaw lokacje" msgstr "Ustaw położenie"
#: src/utils/create_dialog.py:25 #: src/utils/create_dialog.py:25
msgid "Dismiss" msgid "Dismiss"
msgstr "Odrzucić" 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "Nie można połączyć się z SteamGridDB" msgstr "Nie można uwierzytelnić SteamGridDB"
#: src/store/managers/sgdb_manager.py:48 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr "Zweryfikuj swój klucz API w preferencjach"
#, fuzzy
#~| msgid "Cache Not Found"
#~ msgid "Directory not Valid"
#~ msgstr "Nie znaleziono pamięci podręcznej"
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Potwierdź"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Lokalizacja instalacji Steam" #~ msgstr "Lokalizacja instalacji Steam"
@@ -562,21 +593,9 @@ msgstr ""
#~ msgid "Yesterday" #~ msgid "Yesterday"
#~ msgstr "Wczoraj" #~ msgstr "Wczoraj"
#~ msgid "Cache Not Found"
#~ msgstr "Nie znaleziono pamięci podręcznej"
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Wybierz katalog pamięci podręcznej Lutris." #~ 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…" #~ msgid "Importing Games…"
#~ msgstr "Importowanie gier…" #~ msgstr "Importowanie gier…"

195
po/pt.po
View File

@@ -9,7 +9,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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-06-04 22:47+0000\n" "PO-Revision-Date: 2023-06-04 22:47+0000\n"
"Last-Translator: João Alves <joao.2003.couto@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/"
@@ -23,7 +23,7 @@ msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
@@ -37,7 +37,9 @@ msgid "Launch all your games"
msgstr "Inicie todos os seus jogos" msgstr "Inicie todos os seus jogos"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "gaming;iniciador;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
@@ -65,7 +67,7 @@ msgid "Game Details"
msgstr "Detalhes do jogo" msgstr "Detalhes do jogo"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Preferências" msgstr "Preferências"
@@ -114,7 +116,7 @@ msgstr "Mais informação"
msgid "Edit" msgid "Edit"
msgstr "Editar" msgstr "Editar"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Ocultar" msgstr "Ocultar"
@@ -123,7 +125,7 @@ msgstr "Ocultar"
msgid "Remove" msgid "Remove"
msgstr "Remover" msgstr "Remover"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Exibir" msgstr "Exibir"
@@ -148,7 +150,7 @@ msgstr "Mostrar preferências"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Atalhos" msgstr "Atalhos"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Desfazer" msgstr "Desfazer"
@@ -176,7 +178,7 @@ msgstr "Exibir jogos ocultados"
msgid "Remove game" msgid "Remove game"
msgstr "Remover jogo" msgstr "Remover jogo"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Comportamento" msgstr "Comportamento"
@@ -225,8 +227,9 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#: data/gtk/preferences.blp:243
#, fuzzy #, fuzzy
#| msgid "itch Install Location" #| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
@@ -246,59 +249,81 @@ msgstr "Local do cache do Lutris"
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importar jogos da Steam" msgstr "Importar jogos da Steam"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Flatpak Games"
msgstr "Importar jogos da Steam"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importar jogos da Epic Games" msgstr "Importar jogos da Epic Games"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importar jogos do GOG" msgstr "Importar jogos do GOG"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Importar jogos da Steam"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importar jogos adicionados manualmente" msgstr "Importar jogos adicionados manualmente"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr ""
#: data/gtk/preferences.blp:252
#, fuzzy
#| msgid "Game Launcher"
msgid "Import Game Launchers"
msgstr "Iniciador de jogos"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Autenticação" msgstr "Autenticação"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "Chave da API" msgstr "Chave da API"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Usar SteamGridDB" msgstr "Usar SteamGridDB"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
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:249 #: data/gtk/preferences.blp:290
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:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Preferir imagens animadas" msgstr "Preferir imagens animadas"
@@ -387,21 +412,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Pedro Sader Azevedo" msgstr "Pedro Sader Azevedo"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Adicionado: {}" msgstr "Adicionado: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Última vez jogado" msgstr "Última vez jogado"
@@ -418,26 +443,26 @@ msgid "Confirm"
msgstr "Confirmar" msgstr "Confirmar"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "arquivo.txt" msgstr "arquivo.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/caminho/para/{}" msgstr "/caminho/para/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -459,52 +484,89 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
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/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
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/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
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 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Não foi possível aplicar as preferências" msgstr "Não foi possível aplicar as preferências"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} iniciado" msgstr "{} iniciado"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} está oculto" msgstr "{} está oculto"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} está exposto" msgstr "{} está exposto"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} removido" msgstr "{} removido"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Todos os jogos foram removidos" msgstr "Todos os jogos foram removidos"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"Uma chave da API é necessária para usar a SteamGridDB. Você pode gerar uma " "Uma chave da API é necessária para usar a SteamGridDB. Você pode gerar uma "
"chave {}aqui{}." "chave {}aqui{}."
#: src/preferences.py:289 #: src/preferences.py:285
#, fuzzy
#| msgid "Installation Not Found"
msgid "Installation Not Found"
msgstr "Instalação não encontrada"
#: src/preferences.py:287
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select a valid directory."
msgstr "Selecione o diretório de informações de {}."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:353
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} cache directory."
msgstr "Selecione o diretório de informações de {}."
#. The variable is the name of the source
#: src/preferences.py:356
#, fuzzy
#| msgid "Select the {} configuration directory."
msgid "Select the {} configuration directory."
msgstr "Selecione o diretório de configuração de {}."
#. The variable is the name of the source
#: src/preferences.py:359
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} data directory."
msgstr "Selecione o diretório de informações de {}."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Definir local" msgstr "Definir local"
@@ -512,29 +574,6 @@ msgstr "Definir local"
msgid "Dismiss" msgid "Dismiss"
msgstr "Dispensar" 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy #, fuzzy
#| msgid "Couldn't Connect to SteamGridDB" #| msgid "Couldn't Connect to SteamGridDB"
@@ -545,6 +584,16 @@ msgstr "Não foi possível conectar à SteamGridDB"
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr ""
#, fuzzy
#~| msgid "The Steam directory cannot be found."
#~ msgid "Directory not Valid"
#~ msgstr "O diretório da Steam não foi encontrado."
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Confirmar"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Local de instalação da Steam" #~ msgstr "Local de instalação da Steam"
@@ -569,15 +618,6 @@ msgstr ""
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Selecione o diretório de cache do Lutris." #~ 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…" #~ msgid "Importing Games…"
#~ msgstr "Importando jogos…" #~ msgstr "Importando jogos…"
@@ -703,8 +743,5 @@ msgstr ""
#~ msgid "No new games were found in the Steam library." #~ msgid "No new games were found in the Steam library."
#~ msgstr "Nenhum jogo novo foi encontrado na biblioteca da Steam." #~ msgstr "Nenhum jogo novo foi encontrado na biblioteca da Steam."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "O diretório da Steam não foi encontrado."
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "Falando com a Steam" #~ msgstr "Falando com a Steam"

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.
# Henrique Machado <henriquecamposrj@gmail.com>, 2023. # Henrique Machado <henriquecamposrj@gmail.com>, 2023.
# Vinícius Gama Santos <vinny.stalck@protonmail.com>, 2023. # Vinícius Gama Santos <vinny.stalck@protonmail.com>, 2023.
# Vítor Fernandes Almado <vfalmado@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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-06-02 15:40+0000\n" "PO-Revision-Date: 2023-07-11 15:52+0000\n"
"Last-Translator: Vinícius Gama Santos <vinny.stalck@protonmail.com>\n" "Last-Translator: Vítor Fernandes Almado <vfalmado@gmail.com>\n"
"Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/" "Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/"
"cartridges/cartridges/pt_BR/>\n" "cartridges/cartridges/pt_BR/>\n"
"Language: pt_BR\n" "Language: pt_BR\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.18-dev\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartuchos" msgstr "Cartuchos"
@@ -35,7 +36,9 @@ msgid "Launch all your games"
msgstr "Inicie todos os seus jogos" msgstr "Inicie todos os seus jogos"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "jogos;gaming;launcher;steam;lutris;heroic;bottles;itch;" msgstr "jogos;gaming;launcher;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -63,7 +66,7 @@ msgid "Game Details"
msgstr "Detalhes do jogo" msgstr "Detalhes do jogo"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Preferências" msgstr "Preferências"
@@ -112,7 +115,7 @@ msgstr "Mais informações"
msgid "Edit" msgid "Edit"
msgstr "Editar" msgstr "Editar"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Esconder" msgstr "Esconder"
@@ -121,7 +124,7 @@ msgstr "Esconder"
msgid "Remove" msgid "Remove"
msgstr "Remover" msgstr "Remover"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Exibir" msgstr "Exibir"
@@ -146,7 +149,7 @@ msgstr "Mostrar preferências"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Atalhos" msgstr "Atalhos"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Desfazer" msgstr "Desfazer"
@@ -174,7 +177,7 @@ msgstr "Exibir jogos ocultos"
msgid "Remove game" msgid "Remove game"
msgstr "Remover jogo" msgstr "Remover jogo"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Comportamento" msgstr "Comportamento"
@@ -223,8 +226,9 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#: data/gtk/preferences.blp:243
#, fuzzy #, fuzzy
#| msgid "itch Install Location" #| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
@@ -244,59 +248,81 @@ msgstr "Local do cache do Lutris"
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importar jogos do Steam" msgstr "Importar jogos do Steam"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Flatpak Games"
msgstr "Importar jogos do Steam"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importar jogos da Epic Games" msgstr "Importar jogos da Epic Games"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importar jogos do GOG" msgstr "Importar jogos do GOG"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Importar jogos do Steam"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importar jogos adicionados manualmente" msgstr "Importar jogos adicionados manualmente"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Garrafas" msgstr "Garrafas"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "Lendário"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
#, fuzzy
#| msgid "Game Launcher"
msgid "Import Game Launchers"
msgstr "Iniciador de jogos"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Autenticação" msgstr "Autenticação"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "Chave da API" msgstr "Chave da API"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Usar SteamGridDB" msgstr "Usar SteamGridDB"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Baixar imagens ao adicionar ou importar jogos" msgstr "Baixar imagens ao adicionar ou importar jogos"
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
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:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Preferir imagens animadas" msgstr "Preferir imagens animadas"
@@ -385,21 +411,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Pedro Sader Azevedo, Vinícius \"Stalck\"" msgstr "Pedro Sader Azevedo, Vinícius \"Stalck\""
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Adicionado: {}" msgstr "Adicionado: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Jogado pela última vez: {}" msgstr "Jogado pela última vez: {}"
@@ -416,26 +442,26 @@ msgid "Confirm"
msgstr "Confirmar" msgstr "Confirmar"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "arquivo.txt" msgstr "arquivo.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/caminho/para/{}" msgstr "/caminho/para/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -457,52 +483,89 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
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/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
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/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
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 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Não foi possível aplicar as preferências" msgstr "Não foi possível aplicar as preferências"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} iniciado" msgstr "{} iniciado"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} ocultado" msgstr "{} ocultado"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} exibido" msgstr "{} exibido"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} removido" msgstr "{} removido"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Todos os jogos foram removidos" msgstr "Todos os jogos foram removidos"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"Uma chave de API é necessária para utilizar o SteamGridDB. Você pode gerar " "Uma chave de API é necessária para utilizar o SteamGridDB. Você pode gerar "
"uma {}aqui{}." "uma {}aqui{}."
#: src/preferences.py:289 #: src/preferences.py:285
#, fuzzy
#| msgid "Installation Not Found"
msgid "Installation Not Found"
msgstr "Instalação não encontrada"
#: src/preferences.py:287
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select a valid directory."
msgstr "Selecione o diretório de dados do(a) {}."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "Diretório inválido"
#. The variable is the name of the source
#: src/preferences.py:353
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} cache directory."
msgstr "Selecione o diretório de dados do(a) {}."
#. The variable is the name of the source
#: src/preferences.py:356
#, fuzzy
#| msgid "Select the {} configuration directory."
msgid "Select the {} configuration directory."
msgstr "Selecione o diretório de configuração do(a) {}."
#. The variable is the name of the source
#: src/preferences.py:359
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} data directory."
msgstr "Selecione o diretório de dados do(a) {}."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Definir local" msgstr "Definir local"
@@ -510,29 +573,6 @@ msgstr "Definir local"
msgid "Dismiss" msgid "Dismiss"
msgstr "Dispensar" 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy #, fuzzy
#| msgid "Couldn't Connect to SteamGridDB" #| msgid "Couldn't Connect to SteamGridDB"
@@ -541,7 +581,17 @@ msgstr "Não foi possível conectar-se ao SteamGridDB"
#: src/store/managers/sgdb_manager.py:48 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr "Verifique sua chave API nas preferências"
#, fuzzy
#~| msgid "Cache Not Found"
#~ msgid "Directory not Valid"
#~ msgstr "Cache não encontrado"
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Confirmar"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Local de instalação do Steam" #~ msgstr "Local de instalação do Steam"
@@ -561,21 +611,9 @@ msgstr ""
#~ msgid "Yesterday" #~ msgid "Yesterday"
#~ msgstr "Ontem" #~ msgstr "Ontem"
#~ msgid "Cache Not Found"
#~ msgstr "Cache não encontrado"
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Selecione o diretório de cache do Lutris." #~ 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…" #~ msgid "Importing Games…"
#~ msgstr "Importando jogos…" #~ msgstr "Importando jogos…"

157
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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+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/"
@@ -21,7 +21,7 @@ msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/hu.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartușe" msgstr "Cartușe"
@@ -35,7 +35,7 @@ msgid "Launch all your games"
msgstr "Lansați toate jocurile dvs" msgstr "Lansați toate jocurile dvs"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -67,7 +67,7 @@ msgid "Game Details"
msgstr "Detalii joc" msgstr "Detalii joc"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Preferințe" msgstr "Preferințe"
@@ -116,7 +116,7 @@ msgstr ""
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "" msgstr ""
@@ -125,7 +125,7 @@ msgstr ""
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "" msgstr ""
@@ -150,7 +150,7 @@ msgstr ""
msgid "Shortcuts" msgid "Shortcuts"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "" msgstr ""
@@ -178,7 +178,7 @@ msgstr ""
msgid "Remove game" msgid "Remove game"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "" msgstr ""
@@ -227,8 +227,9 @@ msgid "Steam"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#: data/gtk/preferences.blp:243
msgid "Install Location" msgid "Install Location"
msgstr "" msgstr ""
@@ -244,59 +245,79 @@ msgstr ""
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr ""
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Game Launcher"
msgid "Import Amazon Games"
msgstr "Lansator de jocuri"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr ""
#: data/gtk/preferences.blp:252
#, fuzzy
#| msgid "Game Launcher"
msgid "Import Game Launchers"
msgstr "Lansator de jocuri"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "" msgstr ""
@@ -385,21 +406,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "" msgstr ""
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "" msgstr ""
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "" msgstr ""
@@ -416,26 +437,26 @@ msgid "Confirm"
msgstr "" msgstr ""
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr ""
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "" msgstr ""
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -448,50 +469,77 @@ 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/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "" msgstr ""
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "" msgstr ""
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "" msgstr ""
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "" msgstr ""
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "" msgstr ""
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "" msgstr ""
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "" msgstr ""
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr ""
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr ""
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr ""
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr ""
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "" msgstr ""
@@ -499,27 +547,6 @@ msgstr ""
msgid "Dismiss" msgid "Dismiss"
msgstr "" 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 #: src/store/managers/sgdb_manager.py:47
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "" msgstr ""

210
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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-06-26 04:40+0000\n" "PO-Revision-Date: 2023-07-08 14:52+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"
@@ -18,11 +18,11 @@ msgstr ""
"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 && n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.18.1\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Картриджи" msgstr "Картриджи"
@@ -36,7 +36,9 @@ msgid "Launch all your games"
msgstr "Запустите все свои игры" msgstr "Запустите все свои игры"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "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
@@ -64,7 +66,7 @@ msgid "Game Details"
msgstr "Подробности об игре" msgstr "Подробности об игре"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Параметры" msgstr "Параметры"
@@ -113,7 +115,7 @@ msgstr "Дополнительная информация"
msgid "Edit" msgid "Edit"
msgstr "Редактировать" msgstr "Редактировать"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Скрыть" msgstr "Скрыть"
@@ -122,7 +124,7 @@ msgstr "Скрыть"
msgid "Remove" msgid "Remove"
msgstr "Удалить" msgstr "Удалить"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Показать" msgstr "Показать"
@@ -147,7 +149,7 @@ msgstr "Показать параметры"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Комбинации клавиш" msgstr "Комбинации клавиш"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Вернуть" msgstr "Вернуть"
@@ -175,7 +177,7 @@ msgstr "Показать скрытые игры"
msgid "Remove game" msgid "Remove game"
msgstr "Удалить игру" msgstr "Удалить игру"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Поведение" msgstr "Поведение"
@@ -224,80 +226,95 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#, fuzzy #: data/gtk/preferences.blp:243
#| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
msgstr "Место установки itch" msgstr "Место установки"
#: data/gtk/preferences.blp:106 #: data/gtk/preferences.blp:106
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location" msgid "Cache Location"
msgstr "Расположение кэша Lutris" msgstr "Расположение кэша"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Импорт игр Steam" msgstr "Импорт игр Steam"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "Импорт игр Flatpak"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Импорт игр Epic" msgstr "Импорт игр Epic"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Импорт игр GOG" msgstr "Импорт игр GOG"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Импорт игр Steam"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Импорт сторонних игр" msgstr "Импорт сторонних игр"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "Legendary"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "Импорт средств запуска игр"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Аутентификация" msgstr "Аутентификация"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "API-ключ" msgstr "API-ключ"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Использовать SteamGridDB" msgstr "Использовать SteamGridDB"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Загрузка изображений при добавлении или импорте игр" msgstr "Загрузка изображений при добавлении или импорте игр"
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Отдавать предпочтение официальным изображениям" msgstr "Отдавать предпочтение официальным изображениям"
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Отдавать предпочтение анимированным изображениям" msgstr "Отдавать предпочтение анимированным изображениям"
@@ -386,23 +403,23 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Ser82-png" msgstr "Ser82-png"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Добавлено: {}" msgstr "Добавлено: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Последняя игра: {}" msgstr "Последний раз запускалась: {}"
#: src/details_window.py:72 #: src/details_window.py:72
msgid "Apply" msgid "Apply"
@@ -417,26 +434,26 @@ msgid "Confirm"
msgstr "Подтвердить" msgstr "Подтвердить"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "file.txt" msgstr "file.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/путь/к/{}" msgstr "/путь/к/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -458,52 +475,79 @@ msgstr ""
"\n" "\n"
"Если путь содержит пробелы, обязательно заключите его в двойные кавычки!" "Если путь содержит пробелы, обязательно заключите его в двойные кавычки!"
#: src/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Не удалось добавить игру" msgstr "Не удалось добавить игру"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Название игры не может быть пустым." msgstr "Название игры не может быть пустым."
#: src/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Исполняемый файл не может быть пустым." msgstr "Исполняемый файл не может быть пустым."
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Не удалось применить параметры" msgstr "Не удалось применить параметры"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} - запущена" msgstr "{} - запущена"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} - скрытая" msgstr "{} - скрытая"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} - не скрыта" msgstr "{} - не скрыта"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} удалена" msgstr "{} удалена"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Все игры удалены" msgstr "Все игры удалены"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"Для использования SteamGridDB требуется ключ API. Вы можете сгенерировать " "Для использования SteamGridDB требуется ключ API. Вы можете сгенерировать "
"его {}здесь{}." "его {}здесь{}."
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr "Установка не найдена"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "Выберите действующий каталог."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "Неверный каталог"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "Выберите каталог кэша {}."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "Выберите каталог конфигурации {}."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "Выберите каталог данных {}."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Установить расположение" msgstr "Установить расположение"
@@ -511,38 +555,30 @@ msgstr "Установить расположение"
msgid "Dismiss" msgid "Dismiss"
msgstr "Отклонить" 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "Не удалось подключиться к SteamGridDB" msgstr "Не удалось пройти аутентификацию SteamGridDB"
#: src/store/managers/sgdb_manager.py:48 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr "Проверьте ключ API-ключ в параметрах"
#, fuzzy
#~| msgid "The Steam directory cannot be found."
#~ msgid "Directory not Valid"
#~ msgstr "Не удалось найти каталог Steam."
#~ msgid "Cache"
#~ msgstr "Кэш"
#~ msgid "Configuration"
#~ msgstr "Конфигурация"
#~ msgid "Invalid {} Location for {{}}"
#~ msgstr "Неверное расположение {} для {{}}"
#~ msgid "Pick a new one or disable the source in preferences"
#~ msgstr "Выберите новый или отключите имеющийся источник в параметрах"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Место установки Steam" #~ msgstr "Место установки Steam"
@@ -568,15 +604,6 @@ msgstr ""
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Выберите каталог кэша Lutris." #~ msgstr "Выберите каталог кэша Lutris."
#~ msgid "Installation Not Found"
#~ msgstr "Установка не найдена"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Выберите каталог конфигурации {}."
#~ msgid "Select the {} data directory."
#~ msgstr "Выберите каталог данных {}."
#~ msgid "Importing Games…" #~ msgid "Importing Games…"
#~ msgstr "Импорт игр…" #~ msgstr "Импорт игр…"
@@ -701,8 +728,5 @@ msgstr ""
#~ msgid "No new games were found in the Steam library." #~ msgid "No new games were found in the Steam library."
#~ msgstr "В библиотеке Steam новых игр не найдено." #~ msgstr "В библиотеке Steam новых игр не найдено."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Не удалось найти каталог Steam."
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "Общение со Steam" #~ msgstr "Общение со Steam"

204
po/sv.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.
# micke <mikanybe@gmail.com>, 2023. # micke <mikanybe@gmail.com>, 2023.
# micke <micke@users.noreply.hosted.weblate.org>, 2023. # micke <micke@users.noreply.hosted.weblate.org>, 2023.
# Luna Jernberg <droidbittin@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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-06-02 15:40+0000\n" "PO-Revision-Date: 2023-07-08 14:52+0000\n"
"Last-Translator: micke <micke@users.noreply.hosted.weblate.org>\n" "Last-Translator: Luna Jernberg <droidbittin@gmail.com>\n"
"Language-Team: Swedish <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Swedish <https://hosted.weblate.org/projects/cartridges/"
"cartridges/sv/>\n" "cartridges/sv/>\n"
"Language: sv\n" "Language: sv\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.18-dev\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
@@ -35,7 +36,9 @@ msgid "Launch all your games"
msgstr "Starta alla dina spel" msgstr "Starta alla dina spel"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "gaming;spelstartare;steam;lutris;heroic;bottles;itch;" msgstr "gaming;spelstartare;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -62,7 +65,7 @@ msgid "Game Details"
msgstr "Speldetaljer" msgstr "Speldetaljer"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Inställningar" msgstr "Inställningar"
@@ -111,7 +114,7 @@ msgstr "Mer info"
msgid "Edit" msgid "Edit"
msgstr "Redigera" msgstr "Redigera"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Dölj" msgstr "Dölj"
@@ -120,7 +123,7 @@ msgstr "Dölj"
msgid "Remove" msgid "Remove"
msgstr "Ta bort" msgstr "Ta bort"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Visa" msgstr "Visa"
@@ -145,7 +148,7 @@ msgstr "Visa inställningar"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Genvägar" msgstr "Genvägar"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Ångra" msgstr "Ångra"
@@ -173,7 +176,7 @@ msgstr "Visa dolda spel"
msgid "Remove game" msgid "Remove game"
msgstr "Ta bort spel" msgstr "Ta bort spel"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Beteende" msgstr "Beteende"
@@ -223,80 +226,95 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#, fuzzy #: data/gtk/preferences.blp:243
#| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
msgstr "itch-installationsplats" msgstr "Plats för installation"
#: data/gtk/preferences.blp:106 #: data/gtk/preferences.blp:106
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location" msgid "Cache Location"
msgstr "Plats för Lutris cache" msgstr "Plats för cacheminne"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importera Steam-spel" msgstr "Importera Steam-spel"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "Importera Flatpak-spel"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importera Epic Games" msgstr "Importera Epic Games"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importera GOG-spel" msgstr "Importera GOG-spel"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Importera Steam-spel"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importera sidoladdade spel" msgstr "Importera sidoladdade spel"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "Legendary"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "Importera spelstartare"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Autentisering" msgstr "Autentisering"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "API-nyckel" msgstr "API-nyckel"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Använd SteamGridDB" msgstr "Använd SteamGridDB"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Ladda ner bilder när spel läggs till eller importeras" msgstr "Ladda ner bilder när spel läggs till eller importeras"
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Föredra framför officiella bilder" msgstr "Föredra framför officiella bilder"
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Föredra animerade bilder" msgstr "Föredra animerade bilder"
@@ -385,21 +403,21 @@ msgid "About Cartridges"
msgstr "Om Cartridges" msgstr "Om 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Micke" msgstr "Micke"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Tillagt: {}" msgstr "Tillagt: {}"
#: src/window.py:195 #: src/window.py:197
msgid "Never" msgid "Never"
msgstr "Aldrig" msgstr "Aldrig"
#. 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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Senast spelat: {}" msgstr "Senast spelat: {}"
@@ -416,26 +434,26 @@ msgid "Confirm"
msgstr "Bekräfta" msgstr "Bekräfta"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "fil.txt" msgstr "fil.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\sökväg\\till\\{}" msgstr "C:\\sökväg\\till\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/sökväg/till/{}" msgstr "/sökväg/till/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -458,51 +476,78 @@ msgstr ""
"Om sökvägen innehåller mellanslag, se till att den omsluts av dubbla " "Om sökvägen innehåller mellanslag, se till att den omsluts av dubbla "
"citationstecken!" "citationstecken!"
#: src/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Kunde inte lägga till spelet" msgstr "Kunde inte lägga till spelet"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Spelets titel kan inte vara tom." msgstr "Spelets titel kan inte vara tom."
#: src/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Den körbara filen kan inte vara tom." msgstr "Den körbara filen kan inte vara tom."
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Kunde inte tillämpa inställningar" msgstr "Kunde inte tillämpa inställningar"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} startat" msgstr "{} startat"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} dolt" msgstr "{} dolt"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} synlig" msgstr "{} synlig"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} borttaget" msgstr "{} borttaget"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Alla spel togs bort" msgstr "Alla spel togs bort"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"En API-nyckel krävs för att använda SteamGridDB. Du kan generera en {}här{}." "En API-nyckel krävs för att använda SteamGridDB. Du kan generera en {}här{}."
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr "Installation hittades inte"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "Välj en giltig katalog."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "Ogiltig katalog"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "Välj {} cachekatalog."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "Välj {} konfigurationskatalog."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "Välj {} datakatalog."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Ange plats" msgstr "Ange plats"
@@ -510,38 +555,23 @@ msgstr "Ange plats"
msgid "Dismiss" msgid "Dismiss"
msgstr "Avvisa" 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "Kunde inte ansluta till SteamGridDB" msgstr "Kunde inte autentisera SteamGridDB"
#: src/store/managers/sgdb_manager.py:48 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr "Verifiera din API-nyckel i inställningar"
#, fuzzy
#~| msgid "Cache Not Found"
#~ msgid "Directory not Valid"
#~ msgstr "Cache inte hittad"
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Bekräfta"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Steam-installationsplats" #~ msgstr "Steam-installationsplats"
@@ -561,21 +591,9 @@ msgstr ""
#~ msgid "Yesterday" #~ msgid "Yesterday"
#~ msgstr "Igår" #~ msgstr "Igår"
#~ msgid "Cache Not Found"
#~ msgstr "Cache inte hittad"
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Välj Lutris cache-mapp." #~ 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…" #~ msgid "Importing Games…"
#~ msgstr "Importerar spel…" #~ msgstr "Importerar spel…"

232
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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-05-29 18:48+0000\n" "PO-Revision-Date: 2023-07-09 07:59+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.18-dev\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "கார்ட்ரிட்ஜ்கள்" msgstr "கார்ட்ரிட்ஜ்கள்"
@@ -36,7 +36,9 @@ msgid "Launch all your games"
msgstr "உங்கள் எல்லா விளையாட்டுகளையும் தொடங்கவும்" msgstr "உங்கள் எல்லா விளையாட்டுகளையும் தொடங்கவும்"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "விளையாட்டு; துவக்கி; steam;lutris;heroic;பாட்டில்கள்;itch;" msgstr "விளையாட்டு; துவக்கி; steam;lutris;heroic;பாட்டில்கள்;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -46,11 +48,10 @@ 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 ""
"உங்கள் எல்லா விளையாட்டுகளுக்கும் கேட்ரிட்ஜ்கள் ஒரு எளிய விளையாட்டு துவக்கி ஆகும். ஸ்டீம் " "உங்கள் எல்லா விளையாட்டுகளுக்கும் கேட்ரிட்ஜ்கள் ஒரு எளிய விளையாட்டு துவக்கி ஆகும். Steam, "
"(Steam), லுட்ரிஸ் (Lutris), வீரம் (Heroic) மற்றும் பலவற்றிலிருந்து விளையாட்டுகளை " "Lutris, Heroic மற்றும் பலவற்றிலிருந்து விளையாட்டுகளை இறக்குமதி செய்வதற்கான ஆதரவை இது "
"இறக்குமதி செய்வதற்கான ஆதரவை இது கொண்டுள்ளது. நீங்கள் விளையாட்டுகளை வரிசைப்படுத்தலாம் " "கொண்டுள்ளது. நீங்கள் விளையாட்டுகளை வரிசைப்படுத்தலாம் மற்றும் மறைக்கலாம் அல்லது SteamGridDB "
"மற்றும் மறைக்கலாம் அல்லது ஸ்டீம்கிரிட் டிபி (SteamGridDB) இலிருந்து அட்டைப்பட கலையைப் " "இலிருந்து அட்டைப்பட கலையைப் பதிவிறக்கலாம்."
"பதிவிறக்கலாம்."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 #: data/hu.kramo.Cartridges.metainfo.xml.in:30
msgid "Library" msgid "Library"
@@ -65,7 +66,7 @@ msgid "Game Details"
msgstr "விளையாட்டு விவரங்கள்" msgstr "விளையாட்டு விவரங்கள்"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "விருப்பங்கள்" msgstr "விருப்பங்கள்"
@@ -114,7 +115,7 @@ msgstr "மேலும் தகவல்"
msgid "Edit" msgid "Edit"
msgstr "தொகு" msgstr "தொகு"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "மறை" msgstr "மறை"
@@ -123,7 +124,7 @@ msgstr "மறை"
msgid "Remove" msgid "Remove"
msgstr "அகற்று" msgstr "அகற்று"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "மறை காட்டு" msgstr "மறை காட்டு"
@@ -148,7 +149,7 @@ msgstr "விருப்பங்களைக் காட்டு"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "குறுக்குவழிகள்" msgstr "குறுக்குவழிகள்"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "செயல்தவிர்" msgstr "செயல்தவிர்"
@@ -176,7 +177,7 @@ msgstr "மறைக்கப்பட்ட விளையாட்டுக
msgid "Remove game" msgid "Remove game"
msgstr "விளையாட்டை அகற்று" msgstr "விளையாட்டை அகற்று"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "நடத்தை" msgstr "நடத்தை"
@@ -222,84 +223,99 @@ msgstr "மூலங்கள்"
#: data/gtk/preferences.blp:92 #: data/gtk/preferences.blp:92
msgid "Steam" msgid "Steam"
msgstr "Steam (ஸ்டீம்)" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#, fuzzy #: data/gtk/preferences.blp:243
#| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
msgstr "அரிப்பு (itch) நிறுவல் இடம்" msgstr "நிறுவல் இடம்"
#: data/gtk/preferences.blp:106 #: data/gtk/preferences.blp:106
msgid "Lutris" msgid "Lutris"
msgstr "லூட்ரிஸ்" msgstr "Lutris"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location" msgid "Cache Location"
msgstr "லுட்ரிஸ் தற்காலிக சேமிப்பு இடம்" msgstr "தற்காலிக சேமிப்பு இடம்"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "ஸ்டீம் (Steam) விளையாட்டுகளை இறக்குமதி செய்யவும்" msgstr "Steam விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "Flatpak கேம்களை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic (ஹீரோயிக்)" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Epic விளையாட்டுகளை இறக்குமதி செய்" msgstr "Epic விளையாட்டுகளை இறக்குமதி செய்"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "GOG விளையாட்டுகளை இறக்குமதி செய்யவும்" msgstr "GOG விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Steam விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "பக்க ஏற்றப்பட்ட விளையாட்டுகளை இறக்குமதி செய்யவும்" msgstr "பக்க ஏற்றப்பட்ட விளையாட்டுகளை இறக்குமதி செய்யவும்"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Bottles (பாட்டில்கள்)" msgstr "பாட்டில்கள்"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "அரிப்பு (itch)" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "Legendary"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "விளையாட்டு துவக்கிகளை இறக்குமதி செய்"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB)" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "அங்கீகாரம்" msgstr "அங்கீகாரம்"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "API விசை" msgstr "API விசை"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB) ஐப் பயன்படுத்தவும்" msgstr "SteamGridDB ஐப் பயன்படுத்தவும்"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "" msgstr ""
"விளையாட்டுகளைச் சேர்க்கும் போது அல்லது இறக்குமதி செய்யும் போது படங்களைப் பதிவிறக்கவும்" "விளையாட்டுகளைச் சேர்க்கும் போது அல்லது இறக்குமதி செய்யும் போது படங்களைப் பதிவிறக்கவும்"
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "அதிகாரப்பூர்வ படங்களை விட முன்னுரிமை" msgstr "அதிகாரப்பூர்வ படங்களை விட முன்னுரிமை"
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "இயங்குபடம் செய்யப்பட்ட படங்களுக்கு முன்னுரிமை கொடுங்கள்" msgstr "இயங்குபடம் செய்யப்பட்ட படங்களுக்கு முன்னுரிமை கொடுங்கள்"
@@ -388,21 +404,21 @@ 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:164 #: src/main.py:188
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 date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "சேர்க்கப்பட்டது: {}" msgstr "சேர்க்கப்பட்டது: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "கடைசியாக விளையாடியது: {}" msgstr "கடைசியாக விளையாடியது: {}"
@@ -419,26 +435,26 @@ msgid "Confirm"
msgstr "உறுதிப்படுத்தவும்" msgstr "உறுதிப்படுத்தவும்"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "கோப்பு.txt" msgstr "கோப்பு.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/பாதை/டு/ {}" msgstr "/பாதை/டு/ {}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -460,52 +476,77 @@ msgstr ""
"\n" "\n"
"பாதையில் இடைவெளிகள் இருந்தால், அதை இரட்டை மேற்கோள்களில் போர்த்துவதை உறுதிசெய்யவும்!" "பாதையில் இடைவெளிகள் இருந்தால், அதை இரட்டை மேற்கோள்களில் போர்த்துவதை உறுதிசெய்யவும்!"
#: src/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "விளையாட்டைச் சேர்க்க முடியவில்லை" msgstr "விளையாட்டைச் சேர்க்க முடியவில்லை"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "விளையாட்டு தலைப்பு காலியாக இருக்கக்கூடாது." msgstr "விளையாட்டு தலைப்பு காலியாக இருக்கக்கூடாது."
#: src/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "இயங்கக்கூடியது காலியாக இருக்க முடியாது." msgstr "இயங்கக்கூடியது காலியாக இருக்க முடியாது."
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "விருப்பத்தேர்வுகளைப் பயன்படுத்த முடியவில்லை" msgstr "விருப்பங்களைப் பயன்படுத்த முடியவில்லை"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} தொடங்கப்பட்டது" msgstr "{} தொடங்கப்பட்டது"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} மறைக்கப்பட்டுள்ளது" msgstr "{} மறைக்கப்பட்டுள்ளது"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} மறைக்கப்படாதது" msgstr "{} மறைக்கப்படாதது"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} அகற்றப்பட்டது" msgstr "{} அகற்றப்பட்டது"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "அனைத்து விளையாட்டுகளும் அகற்றப்பட்டன" msgstr "அனைத்து விளையாட்டுகளும் அகற்றப்பட்டன"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr "SteamGridDB ஐப் பயன்படுத்த API விசை தேவை. நீங்கள் ஒன்றை {}இங்கே{} உருவாக்கலாம்."
"ஸ்டீம்கிரிட் டிபி (SteamGridDB) ஐப் பயன்படுத்த API விசை தேவை. நீங்கள் ஒன்றை {}இங்கே{} "
"உருவாக்கலாம்."
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr "நிறுவல் கிடைக்கவில்லை"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "சரியான கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "தவறான கோப்பகம்"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "{} கேச் கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "{} கட்டமைப்பு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "{} தரவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "இருப்பிடத்தை அமைக்கவும்" msgstr "இருப்பிடத்தை அமைக்கவும்"
@@ -513,38 +554,23 @@ msgstr "இருப்பிடத்தை அமைக்கவும்"
msgid "Dismiss" msgid "Dismiss"
msgstr "நிராகரி" 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "ஸ்டீம்கிரிட் டிபி (SteamGridDB) உடன் இணைக்க முடியவில்லை" msgstr "SteamGridDB ஐ அங்கீகரிக்க முடியவில்லை"
#: src/store/managers/sgdb_manager.py:48 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr "உங்கள் API விசையை விருப்பங்களில் சரிபார்க்கவும்"
#, fuzzy
#~| msgid "The Steam directory cannot be found."
#~ msgid "Directory not Valid"
#~ msgstr "Steam (ஸ்டீம்) கோப்பகத்தைக் கண்டறிய முடியவில்லை."
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "உறுதிப்படுத்தவும்"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Steam (ஸ்டீம்) நிறுவல் இடம்" #~ msgstr "Steam (ஸ்டீம்) நிறுவல் இடம்"
@@ -570,15 +596,6 @@ msgstr ""
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "லூட்ரிஸ் தற்காலிக சேமிப்பு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்." #~ msgstr "லூட்ரிஸ் தற்காலிக சேமிப்பு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#~ msgid "Installation Not Found"
#~ msgstr "நிறுவல் கிடைக்கவில்லை"
#~ msgid "Select the {} configuration directory."
#~ msgstr "{} உள்ளமைவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#~ msgid "Select the {} data directory."
#~ msgstr "{} தரவு கோப்பகத்தைத் தேர்ந்தெடுக்கவும்."
#~ msgid "Importing Games…" #~ msgid "Importing Games…"
#~ msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது…" #~ msgstr "விளையாட்டுகளை இறக்குமதி செய்கிறது…"
@@ -704,9 +721,6 @@ msgstr ""
#~ msgid "No new games were found in the Steam library." #~ msgid "No new games were found in the Steam library."
#~ msgstr "Steam (ஸ்டீம்) நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை." #~ msgstr "Steam (ஸ்டீம்) நூலகத்தில் புதிய விளையாட்டுகள் எதுவும் இல்லை."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Steam (ஸ்டீம்) கோப்பகத்தைக் கண்டறிய முடியவில்லை."
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "ஸ்டிமுடன் (Steam) பேசுகிறேன்" #~ msgstr "ஸ்டிமுடன் (Steam) பேசுகிறேன்"

201
po/tr.po
View File

@@ -6,8 +6,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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-05-26 18:10+0000\n" "PO-Revision-Date: 2023-07-15 22:51+0000\n"
"Last-Translator: Sabri Ünal <libreajans@gmail.com>\n" "Last-Translator: Sabri Ünal <libreajans@gmail.com>\n"
"Language-Team: Turkish <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Turkish <https://hosted.weblate.org/projects/cartridges/"
"cartridges/tr/>\n" "cartridges/tr/>\n"
@@ -16,11 +16,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.18-dev\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Kartuşlar" msgstr "Kartuşlar"
@@ -34,7 +34,9 @@ msgid "Launch all your games"
msgstr "Tüm oyunlarınızı başlatın" msgstr "Tüm oyunlarınızı başlatın"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "oyun;başlatıcı;steam;lutris;heroic;bottles;itch;" msgstr "oyun;başlatıcı;steam;lutris;heroic;bottles;itch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/hu.kramo.Cartridges.metainfo.xml.in:9
@@ -62,7 +64,7 @@ msgid "Game Details"
msgstr "Oyun Ayrıntıları" msgstr "Oyun Ayrıntıları"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Tercihler" msgstr "Tercihler"
@@ -111,7 +113,7 @@ msgstr "Daha Fazla Bilgi"
msgid "Edit" msgid "Edit"
msgstr "Düzenle" msgstr "Düzenle"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Gizle" msgstr "Gizle"
@@ -120,7 +122,7 @@ msgstr "Gizle"
msgid "Remove" msgid "Remove"
msgstr "Kaldır" msgstr "Kaldır"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Göster" msgstr "Göster"
@@ -145,7 +147,7 @@ msgstr "Tercihleri göster"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Kısayollar" msgstr "Kısayollar"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Geri Al" msgstr "Geri Al"
@@ -173,7 +175,7 @@ msgstr "Gizli oyunları göster"
msgid "Remove game" msgid "Remove game"
msgstr "Oyunu kaldır" msgstr "Oyunu kaldır"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Davranış" msgstr "Davranış"
@@ -224,80 +226,95 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#, fuzzy #: data/gtk/preferences.blp:243
#| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
msgstr "itch Kurulu Konumu" msgstr "Kurulu Konumu"
#: data/gtk/preferences.blp:106 #: data/gtk/preferences.blp:106
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location" msgid "Cache Location"
msgstr "Lutris Önbellek Konumu" msgstr "Önbellek Konumu"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Steam Oyunlarını İçe Aktar" msgstr "Steam Oyunlarını İçe Aktar"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "Flatpak Oyunlarını İçe Aktarın"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Epic Oyunlarını İçe Aktar" msgstr "Epic Oyunlarını İçe Aktar"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "GOG Oyunlarını İçe Aktar" msgstr "GOG Oyunlarını İçe Aktar"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Steam Oyunlarını İçe Aktar"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Yandan Yüklenmiş Oyunları İçe Aktar" msgstr "Yandan Yüklenmiş Oyunları İçe Aktar"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Şişeler" msgstr "Şişeler"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "Efsanevi"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "Oyun Başlatıcıları İçe Aktar"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Kimlik Doğrulaması" msgstr "Kimlik Doğrulaması"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "API anahtarı" msgstr "API anahtarı"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "SteamGridDB Kullan" msgstr "SteamGridDB Kullan"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Oyun eklerken veya içe aktarırken görüntüleri indir" msgstr "Oyun eklerken veya içe aktarırken görüntüleri indir"
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Resmî Görsellere Yeğle" msgstr "Resmî Görsellere Yeğle"
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Hareketli Görselleri Yeğle" msgstr "Hareketli Görselleri Yeğle"
@@ -386,21 +403,21 @@ msgid "About Cartridges"
msgstr "Kartuşlar Hakkında" msgstr "Kartuşlar Hakkında"
#. 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "Sabri Ünal <libreajans@gmail.com>" msgstr "Sabri Ünal <libreajans@gmail.com>"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Eklendi: {}" msgstr "Eklendi: {}"
#: src/window.py:195 #: src/window.py:197
msgid "Never" msgid "Never"
msgstr "Asla" msgstr "Asla"
#. 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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Son oynanma: {}" msgstr "Son oynanma: {}"
@@ -417,26 +434,26 @@ msgid "Confirm"
msgstr "Doğrula" msgstr "Doğrula"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "dosya.txt" msgstr "dosya.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\yol\\klasör\\{}" msgstr "C:\\yol\\klasör\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/yol/klasör/{}" msgstr "/yol/klasör/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -458,52 +475,79 @@ msgstr ""
"\n" "\n"
"Yol boşluk içeriyorsa, çift tırnak içine aldığınızdan emin olun!" "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 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Oyun Eklenemedi" msgstr "Oyun Eklenemedi"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Oyun başlığı boş olamaz." msgstr "Oyun başlığı boş olamaz."
#: src/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Çalıştırılabilir boş olamaz." msgstr "Çalıştırılabilir boş olamaz."
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Tercihler Uygulanamadı" msgstr "Tercihler Uygulanamadı"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} başlatıldı" msgstr "{} başlatıldı"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} gizli" msgstr "{} gizli"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} görünür" msgstr "{} görünür"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} kaldırıldı" msgstr "{} kaldırıldı"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Tüm oyunlar kaldırıldı" msgstr "Tüm oyunlar kaldırıldı"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"SteamGridDBʼyi kullanmak için API anahtarı gereklidir. {}Buradan{} bir tane " "SteamGridDBʼyi kullanmak için API anahtarı gereklidir. {}Buradan{} bir tane "
"oluşturabilirsiniz." "oluşturabilirsiniz."
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr "Kurulum Bulunamadı"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "Geçerli bir dizin seçin."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "Geçersiz Dizin"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "{} önbellek dizinini seç."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "{} yapılandırma dizinini seç."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "{} veri dizinini seç."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Konum Ayarla" msgstr "Konum Ayarla"
@@ -511,38 +555,23 @@ msgstr "Konum Ayarla"
msgid "Dismiss" msgid "Dismiss"
msgstr "Vazgeç" 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "SteamGridDBʼye bağlanılamadı" msgstr "SteamGridDB Kimlik Doğrulaması Yapılamadı"
#: src/store/managers/sgdb_manager.py:48 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr "Tercihlerde API anahtarınızı doğrulayın"
#, fuzzy
#~| msgid "Cache Not Found"
#~ msgid "Directory not Valid"
#~ msgstr "Önbellek Bulunamadı"
#, fuzzy
#~| msgid "Confirm"
#~ msgid "Configuration"
#~ msgstr "Doğrula"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Steam Kurulu Konumu" #~ msgstr "Steam Kurulu Konumu"
@@ -562,21 +591,9 @@ msgstr ""
#~ msgid "Yesterday" #~ msgid "Yesterday"
#~ msgstr "Dün" #~ msgstr "Dün"
#~ msgid "Cache Not Found"
#~ msgstr "Önbellek Bulunamadı"
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Lutris önbellek dizinini seç." #~ 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…" #~ msgid "Importing Games…"
#~ msgstr "Oyunlar İçe Aktarılıyor…" #~ msgstr "Oyunlar İçe Aktarılıyor…"

214
po/uk.po
View File

@@ -4,13 +4,14 @@
# kramo <contact@kramo.hu>, 2023. # kramo <contact@kramo.hu>, 2023.
# Dan <denqwerta@gmail.com>, 2023. # Dan <denqwerta@gmail.com>, 2023.
# Вова Смірнов <vovasmirnon5895@gmail.com>, 2023. # Вова Смірнов <vovasmirnon5895@gmail.com>, 2023.
# Dan <jonweblin2205@protonmail.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-06-26 12:01+0200\n" "POT-Creation-Date: 2023-07-25 20:33+0200\n"
"PO-Revision-Date: 2023-06-03 18:51+0000\n" "PO-Revision-Date: 2023-07-08 14:52+0000\n"
"Last-Translator: Вова Смірнов <vovasmirnon5895@gmail.com>\n" "Last-Translator: Dan <jonweblin2205@protonmail.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"
@@ -19,11 +20,11 @@ msgstr ""
"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 && n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.18-dev\n" "X-Generator: Weblate 5.0-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:47 #: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47
#: src/main.py:146 #: src/main.py:170
msgid "Cartridges" msgid "Cartridges"
msgstr "Картриджі" msgstr "Картриджі"
@@ -37,7 +38,9 @@ msgid "Launch all your games"
msgstr "Запустіть усі свої ігри" msgstr "Запустіть усі свої ігри"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/hu.kramo.Cartridges.desktop.in:11
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;" #, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgstr "ігри;лаунчер;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
@@ -65,7 +68,7 @@ msgid "Game Details"
msgstr "Подробиці гри" msgstr "Подробиці гри"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416 #: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:416
#: src/details_window.py:239 #: src/details_window.py:241
msgid "Preferences" msgid "Preferences"
msgstr "Параметри" msgstr "Параметри"
@@ -114,7 +117,7 @@ msgstr "Більше інформації"
msgid "Edit" msgid "Edit"
msgstr "Редагувати" msgstr "Редагувати"
#: data/gtk/game.blp:107 src/window.py:169 #: data/gtk/game.blp:107 src/window.py:171
msgid "Hide" msgid "Hide"
msgstr "Приховати" msgstr "Приховати"
@@ -123,7 +126,7 @@ msgstr "Приховати"
msgid "Remove" msgid "Remove"
msgstr "Видалити" msgstr "Видалити"
#: data/gtk/game.blp:126 src/window.py:171 #: data/gtk/game.blp:126 src/window.py:173
msgid "Unhide" msgid "Unhide"
msgstr "Показати" msgstr "Показати"
@@ -148,7 +151,7 @@ msgstr "Показати параметри"
msgid "Shortcuts" msgid "Shortcuts"
msgstr "Ярлики" msgstr "Ярлики"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:103 #: data/gtk/help-overlay.blp:34 src/game.py:102 src/preferences.py:113
msgid "Undo" msgid "Undo"
msgstr "Відмінити" msgstr "Відмінити"
@@ -176,7 +179,7 @@ msgstr "Показати приховані ігри"
msgid "Remove game" msgid "Remove game"
msgstr "Видалити гру" msgstr "Видалити гру"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:236 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:277
msgid "Behavior" msgid "Behavior"
msgstr "Поведінка" msgstr "Поведінка"
@@ -225,80 +228,95 @@ msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110 #: data/gtk/preferences.blp:96 data/gtk/preferences.blp:110
#: data/gtk/preferences.blp:142 data/gtk/preferences.blp:183 #: data/gtk/preferences.blp:151 data/gtk/preferences.blp:201
#: data/gtk/preferences.blp:197 data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:215 data/gtk/preferences.blp:229
#, fuzzy #: data/gtk/preferences.blp:243
#| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
msgstr "Місце встановлення itch" msgstr "Місце встановлення"
#: data/gtk/preferences.blp:106 #: data/gtk/preferences.blp:106
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:119
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location" msgid "Cache Location"
msgstr "Розташування сховища Lutris" msgstr "Розташування кешу"
#: data/gtk/preferences.blp:128 #: data/gtk/preferences.blp:128
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Імпорт ігор Steam" msgstr "Імпорт ігор Steam"
#: data/gtk/preferences.blp:138 #: data/gtk/preferences.blp:137
msgid "Import Flatpak Games"
msgstr "Імпортувати ігри Flatpak"
#: data/gtk/preferences.blp:147
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:151 #: data/gtk/preferences.blp:160
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Імпорт Epic Games" msgstr "Імпорт Epic Games"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:169
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Імпорт ігор GOG" msgstr "Імпорт ігор GOG"
#: data/gtk/preferences.blp:169 #: data/gtk/preferences.blp:178
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games"
msgstr "Імпорт ігор Steam"
#: data/gtk/preferences.blp:187
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Імпорт сторонніх ігор" msgstr "Імпорт сторонніх ігор"
#: data/gtk/preferences.blp:179 #: data/gtk/preferences.blp:197
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:211
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:207 #: data/gtk/preferences.blp:225
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "Легендарний"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:239
msgid "Flatpak"
msgstr "Flatpak"
#: data/gtk/preferences.blp:252
msgid "Import Game Launchers"
msgstr "Імпортувати ігрові лаунчери"
#: data/gtk/preferences.blp:265
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:228 #: data/gtk/preferences.blp:269
msgid "Authentication" msgid "Authentication"
msgstr "Аутентифікація" msgstr "Аутентифікація"
#: data/gtk/preferences.blp:231 #: data/gtk/preferences.blp:272
msgid "API Key" msgid "API Key"
msgstr "Ключ API" msgstr "Ключ API"
#: data/gtk/preferences.blp:239 #: data/gtk/preferences.blp:280
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Використовувати SteamGridDB" msgstr "Використовувати SteamGridDB"
#: data/gtk/preferences.blp:240 #: data/gtk/preferences.blp:281
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Завантаження зображень під час додавання або імпорту ігор" msgstr "Завантаження зображень під час додавання або імпорту ігор"
#: data/gtk/preferences.blp:249 #: data/gtk/preferences.blp:290
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Надавати перевагу офіційним зображенням" msgstr "Надавати перевагу офіційним зображенням"
#: data/gtk/preferences.blp:258 #: data/gtk/preferences.blp:299
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Надавати перевагу анімованим зображенням" msgstr "Надавати перевагу анімованим зображенням"
@@ -387,21 +405,21 @@ 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:164 #: src/main.py:188
msgid "translator_credits" msgid "translator_credits"
msgstr "kefir2105" msgstr "kefir2105"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:192 #: src/window.py:194
msgid "Added: {}" msgid "Added: {}"
msgstr "Додано: {}" msgstr "Додано: {}"
#: src/window.py:195 #: src/window.py:197
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:199 #: src/window.py:201
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Востаннє грали: {}" msgstr "Востаннє грали: {}"
@@ -418,26 +436,26 @@ msgid "Confirm"
msgstr "Підтвердити" msgstr "Підтвердити"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:91 #: src/details_window.py:92
msgid "file.txt" msgid "file.txt"
msgstr "file.txt" msgstr "file.txt"
#. As in software #. As in software
#: src/details_window.py:93 #: src/details_window.py:94
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/details_window.py:98 src/details_window.py:100 #: src/details_window.py:99 src/details_window.py:101
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/details_window.py:104 src/details_window.py:106 #: src/details_window.py:105 src/details_window.py:107
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/path/to/{}" msgstr "/path/to/{}"
#: src/details_window.py:111 #: src/details_window.py:112
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -460,52 +478,79 @@ msgstr ""
"\n" "\n"
"Якщо шлях містить пробіли, обов'язково візьміть його в подвійні лапки!" "Якщо шлях містить пробіли, обов'язково візьміть його в подвійні лапки!"
#: src/details_window.py:146 src/details_window.py:152 #: src/details_window.py:147 src/details_window.py:153
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Не вдалося додати гру" msgstr "Не вдалося додати гру"
#: src/details_window.py:146 src/details_window.py:181 #: src/details_window.py:147 src/details_window.py:183
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Назва гри не може бути порожньою." msgstr "Назва гри не може бути порожньою."
#: src/details_window.py:152 src/details_window.py:189 #: src/details_window.py:153 src/details_window.py:191
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Виконуваний файл не може бути порожнім." msgstr "Виконуваний файл не може бути порожнім."
#: src/details_window.py:180 src/details_window.py:188 #: src/details_window.py:182 src/details_window.py:190
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Не вдалося застосувати параметри" msgstr "Не вдалося застосувати параметри"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:141 #: src/game.py:138
msgid "{} launched" msgid "{} launched"
msgstr "{} запущено" msgstr "{} запущено"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:154 #: src/game.py:152
msgid "{} hidden" msgid "{} hidden"
msgstr "{} приховано" msgstr "{} приховано"
#: src/game.py:154 #: src/game.py:152
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} показано" msgstr "{} показано"
#: src/game.py:171 #: src/game.py:169
msgid "{} removed" msgid "{} removed"
msgstr "{} видалено" msgstr "{} видалено"
#: src/preferences.py:102 #: src/preferences.py:112
msgid "All games removed" msgid "All games removed"
msgstr "Всі ігри видалено" msgstr "Всі ігри видалено"
#: src/preferences.py:149 #: src/preferences.py:160
msgid "" msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}." "An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr "" msgstr ""
"Для використання SteamGridDB потрібен ключ API. Ви можете згенерувати його {}" "Для використання SteamGridDB потрібен ключ API. Ви можете згенерувати його {}"
"тут{}." "тут{}."
#: src/preferences.py:289 #: src/preferences.py:285
msgid "Installation Not Found"
msgstr "Встановлення не знайдено"
#: src/preferences.py:287
msgid "Select a valid directory."
msgstr "Виберіть правильний каталог."
#: src/preferences.py:349
msgid "Invalid Directory"
msgstr "Неправильний каталог"
#. The variable is the name of the source
#: src/preferences.py:353
msgid "Select the {} cache directory."
msgstr "Виберіть каталог кешу {}."
#. The variable is the name of the source
#: src/preferences.py:356
msgid "Select the {} configuration directory."
msgstr "Виберіть каталог конфігурації {}."
#. The variable is the name of the source
#: src/preferences.py:359
msgid "Select the {} data directory."
msgstr "Виберіть каталог даних {}."
#: src/preferences.py:365
msgid "Set Location" msgid "Set Location"
msgstr "Встановити місцезнаходження" msgstr "Встановити місцезнаходження"
@@ -513,38 +558,33 @@ msgstr "Встановити місцезнаходження"
msgid "Dismiss" msgid "Dismiss"
msgstr "Відхилити" 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 #: src/store/managers/sgdb_manager.py:47
#, fuzzy
#| msgid "Couldn't Connect to SteamGridDB"
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "Не вдалося підключитися до SteamGridDB" msgstr "Не вдалося автентифікувати SteamGridDB"
#: src/store/managers/sgdb_manager.py:48 #: src/store/managers/sgdb_manager.py:48
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr "Перевірте свій API-ключ у параметрах"
#, fuzzy
#~| msgid "The Steam directory cannot be found."
#~ msgid "Directory not Valid"
#~ msgstr "Каталог Steam знайти неможливо."
#~ msgid "Data"
#~ msgstr "Дані"
#~ msgid "Cache"
#~ msgstr "Кеш"
#~ msgid "Configuration"
#~ msgstr "Конфігурація"
#~ msgid "Invalid {} Location for {{}}"
#~ msgstr "Недійсний {} Місце для {{}}"
#~ msgid "Pick a new one or disable the source in preferences"
#~ msgstr "Виберіть новий або вимкніть джерело у параметрах"
#~ msgid "Steam Install Location" #~ msgid "Steam Install Location"
#~ msgstr "Місце встановлення Steam" #~ msgstr "Місце встановлення Steam"
@@ -570,15 +610,6 @@ msgstr ""
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Виберіть каталог кешу Lutris." #~ msgstr "Виберіть каталог кешу Lutris."
#~ msgid "Installation Not Found"
#~ msgstr "Встановлення не знайдено"
#~ msgid "Select the {} configuration directory."
#~ msgstr "Виберіть каталог конфігурації {}."
#~ msgid "Select the {} data directory."
#~ msgstr "Виберіть каталог даних {}."
#~ msgid "Importing Games…" #~ msgid "Importing Games…"
#~ msgstr "Імпорт ігор…" #~ msgstr "Імпорт ігор…"
@@ -703,9 +734,6 @@ msgstr ""
#~ msgid "No new games were found in the Steam library." #~ msgid "No new games were found in the Steam library."
#~ msgstr "У бібліотеці Steam не знайдено жодної нової гри." #~ msgstr "У бібліотеці Steam не знайдено жодної нової гри."
#~ msgid "The Steam directory cannot be found."
#~ msgstr "Каталог Steam знайти неможливо."
#~ msgid "Talking to Steam" #~ msgid "Talking to Steam"
#~ msgstr "Спілкування зі Steam" #~ msgstr "Спілкування зі Steam"

View File

@@ -81,6 +81,7 @@ class DetailsWindow(Adw.Window):
image_filter = Gtk.FileFilter(name=_("Images")) image_filter = Gtk.FileFilter(name=_("Images"))
for extension in Image.registered_extensions(): for extension in Image.registered_extensions():
image_filter.add_suffix(extension[1:]) image_filter.add_suffix(extension[1:])
image_filter.add_suffix("svg") # Gdk.Texture supports .svg but PIL doesn't
file_filters = Gio.ListStore.new(Gtk.FileFilter) file_filters = Gio.ListStore.new(Gtk.FileFilter)
file_filters.append(image_filter) file_filters.append(image_filter)
@@ -114,7 +115,7 @@ class DetailsWindow(Adw.Window):
self.exec_info_label.set_label(exec_info_text) self.exec_info_label.set_label(exec_info_text)
def clear_info_selection(*_args): def clear_info_selection(*_args):
self.exec_info_label.select_region(0, 0) self.exec_info_label.select_region(-1, -1)
self.exec_info_popover.connect("show", clear_info_selection) self.exec_info_popover.connect("show", clear_info_selection)
@@ -154,20 +155,22 @@ class DetailsWindow(Adw.Window):
return return
# Increment the number after the game id (eg. imported_1, imported_2) # Increment the number after the game id (eg. imported_1, imported_2)
source_id = "imported"
numbers = [0] numbers = [0]
game_id: str game_id: str
for game_id in shared.store.games: for game_id in shared.store.source_games.get(source_id, set()):
prefix = "imported_" prefix = "imported_"
if not game_id.startswith(prefix): if not game_id.startswith(prefix):
continue continue
numbers.append(int(game_id.replace(prefix, "", 1))) numbers.append(int(game_id.replace(prefix, "", 1)))
game_number = max(numbers) + 1 game_number = max(numbers) + 1
self.game = Game( self.game = Game(
{ {
"game_id": f"imported_{game_number}", "game_id": f"imported_{game_number}",
"hidden": False, "hidden": False,
"source": "imported", "source": source_id,
"added": int(time()), "added": int(time()),
} }
) )

View File

@@ -140,11 +140,12 @@ class Game(Gtk.Box):
def toggle_hidden(self, toast=True): def toggle_hidden(self, toast=True):
self.hidden = not self.hidden self.hidden = not self.hidden
self.save() self.save()
self.update()
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() self.win.on_go_back_action()
self.update()
if toast: if toast:
self.create_toast( self.create_toast(
# The variable is the title of the game # The variable is the title of the game

View File

@@ -61,8 +61,8 @@ class GameCover:
if path: if path:
if path.suffix == ".gif": if path.suffix == ".gif":
task = Gio.Task.new() self.task = Gio.Task.new()
task.run_in_thread(self.create_func(self.path)) self.task.run_in_thread(self.create_func(self.path))
else: else:
self.texture = Gdk.Texture.new_from_filename(str(path)) self.texture = Gdk.Texture.new_from_filename(str(path))
@@ -108,6 +108,8 @@ class GameCover:
self.pictures.add(picture) self.pictures.add(picture)
if not self.animation: if not self.animation:
self.set_texture(self.texture) self.set_texture(self.texture)
else:
self.update_animation((self.task, self.animation))
def set_texture(self, texture): def set_texture(self, texture):
self.pictures.discard( self.pictures.discard(
@@ -131,5 +133,3 @@ class GameCover:
self.update_animation, self.update_animation,
data, data,
) )
else:
data[0].return_value(False)

View File

@@ -91,6 +91,8 @@ class Importer(ErrorProducer):
def run(self): def run(self):
"""Use several Gio.Task to import games from added sources""" """Use several Gio.Task to import games from added sources"""
shared.win.get_application().lookup_action("import").set_enabled(False)
self.create_dialog() self.create_dialog()
# Collect all errors and reset the cancellables for the managers # Collect all errors and reset the cancellables for the managers
@@ -103,7 +105,7 @@ class Importer(ErrorProducer):
manager.reset_cancellable() manager.reset_cancellable()
for source in self.sources: for source in self.sources:
logging.debug("Importing games from source %s", source.id) logging.debug("Importing games from source %s", source.source_id)
task = Task.new(None, None, self.source_callback, (source,)) task = Task.new(None, None, self.source_callback, (source,))
self.n_source_tasks_created += 1 self.n_source_tasks_created += 1
task.set_task_data((source,)) task.set_task_data((source,))
@@ -136,16 +138,16 @@ class Importer(ErrorProducer):
# Early exit if not available or not installed # Early exit if not available or not installed
if not source.is_available: if not source.is_available:
logging.info("Source %s skipped, not available", source.id) logging.info("Source %s skipped, not available", source.source_id)
return return
try: try:
iterator = iter(source) iterator = iter(source)
except UnresolvableLocationError: except UnresolvableLocationError:
logging.info("Source %s skipped, bad location", source.id) logging.info("Source %s skipped, bad location", source.source_id)
return return
# Get games from source # Get games from source
logging.info("Scanning source %s", source.id) logging.info("Scanning source %s", source.source_id)
while True: while True:
# Handle exceptions raised when iterating # Handle exceptions raised when iterating
try: try:
@@ -153,7 +155,7 @@ class Importer(ErrorProducer):
except StopIteration: except StopIteration:
break break
except Exception as error: # pylint: disable=broad-exception-caught except Exception as error: # pylint: disable=broad-exception-caught
logging.exception("%s in %s", type(error).__name__, source.id) logging.exception("%s in %s", type(error).__name__, source.source_id)
self.report_error(error) self.report_error(error)
continue continue
@@ -170,7 +172,7 @@ class Importer(ErrorProducer):
# Should not happen on production code # Should not happen on production code
logging.warning( logging.warning(
"%s produced an invalid iteration return type %s", "%s produced an invalid iteration return type %s",
source.id, source.source_id,
type(iteration_result), type(iteration_result),
) )
continue continue
@@ -192,7 +194,7 @@ class Importer(ErrorProducer):
def source_callback(self, _obj, _result, data): def source_callback(self, _obj, _result, data):
"""Callback executed when a source is fully scanned""" """Callback executed when a source is fully scanned"""
source, *_rest = data source, *_rest = data
logging.debug("Import done for source %s", source.id) logging.debug("Import done for source %s", source.source_id)
self.n_source_tasks_done += 1 self.n_source_tasks_done += 1
self.progress_changed_callback() self.progress_changed_callback()
@@ -221,6 +223,7 @@ class Importer(ErrorProducer):
self.import_dialog.close() self.import_dialog.close()
self.summary_toast = self.create_summary_toast() self.summary_toast = self.create_summary_toast()
self.create_error_dialog() self.create_error_dialog()
shared.win.get_application().lookup_action("import").set_enabled(True)
def create_error_dialog(self): def create_error_dialog(self):
"""Dialog containing all errors raised by importers""" """Dialog containing all errors raised by importers"""
@@ -263,7 +266,7 @@ class Importer(ErrorProducer):
list_box = Gtk.ListBox() list_box = Gtk.ListBox()
list_box.set_selection_mode(Gtk.SelectionMode.NONE) list_box.set_selection_mode(Gtk.SelectionMode.NONE)
list_box.set_css_classes(["boxed-list"]) list_box.set_css_classes(["boxed-list"])
list_box.set_margin_top(8) list_box.set_margin_top(9)
for error in errors: for error in errors:
row = Adw.ActionRow.new() row = Adw.ActionRow.new()
row.set_title(error[0]) row.set_title(error[0])

View File

@@ -20,33 +20,30 @@
from pathlib import Path from pathlib import Path
from time import time from time import time
from typing import NamedTuple
import yaml import yaml
from src import shared from src import shared
from src.game import Game from src.game import Game
from src.importer.sources.location import Location from src.importer.sources.location import Location, LocationSubPath
from src.importer.sources.source import ( from src.importer.sources.source import SourceIterable, URLExecutableSource
SourceIterationResult,
SourceIterator,
URLExecutableSource,
)
class BottlesSourceIterator(SourceIterator): class BottlesSourceIterable(SourceIterable):
source: "BottlesSource" source: "BottlesSource"
def generator_builder(self) -> SourceIterationResult: def __iter__(self):
"""Generator method producing games""" """Generator method producing games"""
data = self.source.data_location["library.yml"].read_text("utf-8") data = self.source.locations.data["library.yml"].read_text("utf-8")
library: dict = yaml.safe_load(data) library: dict = yaml.safe_load(data)
added_time = int(time()) added_time = int(time())
for entry in library.values(): for entry in library.values():
# Build game # Build game
values = { values = {
"source": self.source.id, "source": self.source.source_id,
"added": added_time, "added": added_time,
"name": entry["name"], "name": entry["name"],
"game_id": self.source.game_id_format.format(game_id=entry["id"]), "game_id": self.source.game_id_format.format(game_id=entry["id"]),
@@ -62,11 +59,11 @@ class BottlesSourceIterator(SourceIterator):
# as Cartridges can't access directories picked via Bottles' file picker portal # as Cartridges can't access directories picked via Bottles' file picker portal
bottles_location = Path( bottles_location = Path(
yaml.safe_load( yaml.safe_load(
self.source.data_location["data.yml"].read_text("utf-8") self.source.locations.data["data.yml"].read_text("utf-8")
)["custom_bottles_path"] )["custom_bottles_path"]
) )
except (FileNotFoundError, KeyError): except (FileNotFoundError, KeyError):
bottles_location = self.source.data_location.root / "bottles" bottles_location = self.source.locations.data.root / "bottles"
bottle_path = entry["bottle"]["path"] bottle_path = entry["bottle"]["path"]
@@ -80,22 +77,31 @@ class BottlesSourceIterator(SourceIterator):
yield (game, additional_data) yield (game, additional_data)
class BottlesLocations(NamedTuple):
data: Location
class BottlesSource(URLExecutableSource): class BottlesSource(URLExecutableSource):
"""Generic Bottles source""" """Generic Bottles source"""
name = "Bottles" source_id = "bottles"
iterator_class = BottlesSourceIterator name = _("Bottles")
iterable_class = BottlesSourceIterable
url_format = 'bottles:run/"{bottle_name}"/"{game_name}"' url_format = 'bottles:run/"{bottle_name}"/"{game_name}"'
available_on = set(("linux",)) available_on = {"linux"}
data_location = Location( locations = BottlesLocations(
schema_key="bottles-location", Location(
candidates=( schema_key="bottles-location",
"~/.var/app/com.usebottles.bottles/data/bottles/", candidates=(
shared.data_dir / "bottles/", shared.flatpak_dir / "com.usebottles.bottles" / "data" / "bottles",
), shared.data_dir / "bottles/",
paths={ shared.home / ".local" / "share" / "bottles",
"library.yml": (False, "library.yml"), ),
"data.yml": (False, "data.yml"), paths={
}, "library.yml": LocationSubPath("library.yml"),
"data.yml": LocationSubPath("data.yml"),
},
invalid_subtitle=Location.DATA_INVALID_SUBTITLE,
)
) )

View File

@@ -0,0 +1,98 @@
# dolphin_source.py
#
# Copyright 2023 Rilic
#
# 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
from typing import NamedTuple
from src import shared
from src.game import Game
from src.importer.sources.location import Location, LocationSubPath
from src.importer.sources.source import Source, SourceIterable
from src.utils.dolphin_cache_reader import DolphinCacheReader
class DolphinSourceIterable(SourceIterable):
source: "DolphinSource"
def __iter__(self):
added_time = int(time())
cache_reader = DolphinCacheReader(self.source.locations.cache["cache_file"])
games_data = cache_reader.get_games()
for game_data in games_data:
# Build game
values = {
"source": self.source.source_id,
"added": added_time,
"name": Path(game_data["file_name"]).stem,
"game_id": self.source.game_id_format.format(
game_id=game_data["game_id"]
),
"executable": self.source.executable_format.format(
rom_path=game_data["file_path"],
),
}
game = Game(values)
image_path = Path(
self.source.locations.cache["covers"] / (game_data["game_id"] + ".png")
)
additional_data = {"local_image_path": image_path}
yield (game, additional_data)
class DolphinLocations(NamedTuple):
cache: Location
class DolphinSource(Source):
name = _("Dolphin")
source_id = "dolphin"
available_on = {"linux"}
iterable_class = DolphinSourceIterable
locations = DolphinLocations(
Location(
schema_key="dolphin-cache-location",
candidates=[
shared.flatpak_dir
/ "org.DolphinEmu.dolphin-emu"
/ "cache"
/ "dolphin-emu",
shared.home / ".cache" / "dolphin-emu",
],
paths={
"cache_file": LocationSubPath("gamelist.cache"),
"covers": LocationSubPath("GameCovers", True),
},
invalid_subtitle=Location.CACHE_INVALID_SUBTITLE,
)
)
@property
def executable_format(self):
self.locations.cache.resolve()
is_flatpak = self.locations.cache.root.is_relative_to(shared.flatpak_dir)
base = "flatpak run org.DolphinEmu.dolphin-emu" if is_flatpak else "dolphin-emu"
args = '-b -e "{rom_path}"'
return f"{base} {args}"

View File

@@ -17,84 +17,69 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import re
from pathlib import Path from pathlib import Path
from time import time from time import time
import subprocess from typing import NamedTuple
from xdg import IconTheme
from gi.repository import GLib, Gtk
from src import shared from src import shared
from src.game import Game from src.game import Game
from src.importer.sources.location import Location from src.importer.sources.location import Location, LocationSubPath
from src.importer.sources.source import Source, SourceIterationResult, SourceIterator from src.importer.sources.source import Source, SourceIterable
class FlatpakSourceIterator(SourceIterator): class FlatpakSourceIterable(SourceIterable):
source: "FlatpakSource" source: "FlatpakSource"
def generator_builder(self) -> SourceIterationResult: def __iter__(self):
"""Generator method producing games""" """Generator method producing games"""
added_time = int(time()) added_time = int(time())
IconTheme.icondirs.append(self.source.data_location["icons"]) icon_theme = Gtk.IconTheme.new()
icon_theme.add_search_path(str(self.source.locations.data["icons"]))
try: blacklist = (
process = subprocess.run( {"hu.kramo.Cartridges", "hu.kramo.Cartridges.Devel"}
("flatpak-spawn", "--host", "flatpak", "list", "--columns=application"), if shared.schema.get_boolean("flatpak-import-launchers")
capture_output=True, else {
encoding="utf-8", "hu.kramo.Cartridges",
check=True, "hu.kramo.Cartridges.Devel",
) "com.valvesoftware.Steam",
flatpak_ids = process.stdout.split("\n") "net.lutris.Lutris",
"com.heroicgameslauncher.hgl",
"com.usebottles.Bottles",
"io.itch.itch",
}
)
to_remove = ( for entry in (self.source.locations.data["applications"]).iterdir():
{"hu.kramo.Cartridges"} if entry.suffix != ".desktop":
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 continue
with entry.open("r", encoding="utf-8") as open_file: keyfile = GLib.KeyFile.new()
string = open_file.read()
desktop_values = {"Name": None, "Icon": None, "Categories": None} try:
for key in desktop_values: keyfile.load_from_file(str(entry), 0)
if regex := re.findall(f"{key}=(.*)\n", string):
desktop_values[key] = regex[0]
if not desktop_values["Name"]: if "Game" not in keyfile.get_string_list("Desktop Entry", "Categories"):
continue continue
if not desktop_values["Categories"]: if (
continue flatpak_id := keyfile.get_string("Desktop Entry", "X-Flatpak")
) in blacklist or flatpak_id != entry.stem:
continue
if not "Game" in desktop_values["Categories"].split(";"): name = keyfile.get_string("Desktop Entry", "Name")
except GLib.GError:
continue continue
values = { values = {
"source": self.source.id, "source": self.source.source_id,
"added": added_time, "added": added_time,
"name": desktop_values["Name"], "name": name,
"game_id": self.source.game_id_format.format(game_id=flatpak_id), "game_id": self.source.game_id_format.format(game_id=flatpak_id),
"executable": self.source.executable_format.format( "executable": self.source.executable_format.format(
flatpak_id=flatpak_id flatpak_id=flatpak_id
@@ -103,32 +88,54 @@ class FlatpakSourceIterator(SourceIterator):
game = Game(values) game = Game(values)
additional_data = {} additional_data = {}
if icon_name := desktop_values["Icon"]:
if icon_path := IconTheme.getIconPath(icon_name, 512): try:
if (
icon_path := icon_theme.lookup_icon(
keyfile.get_string("Desktop Entry", "Icon"),
None,
512,
1,
shared.win.get_direction(),
0,
)
.get_file()
.get_path()
):
additional_data = {"local_icon_path": Path(icon_path)} additional_data = {"local_icon_path": Path(icon_path)}
else: else:
pass pass
except GLib.GError:
pass
# Produce game # Produce game
yield (game, additional_data) yield (game, additional_data)
class FlatpakLocations(NamedTuple):
data: Location
class FlatpakSource(Source): class FlatpakSource(Source):
"""Generic Flatpak source""" """Generic Flatpak source"""
name = "Flatpak" source_id = "flatpak"
iterator_class = FlatpakSourceIterator name = _("Flatpak")
iterable_class = FlatpakSourceIterable
executable_format = "flatpak run {flatpak_id}" executable_format = "flatpak run {flatpak_id}"
available_on = set(("linux",)) available_on = {"linux"}
data_location = Location( locations = FlatpakLocations(
schema_key="flatpak-location", Location(
candidates=( schema_key="flatpak-location",
"/var/lib/flatpak/exports/", candidates=(
shared.data_dir / "flatpak" / "exports", "/var/lib/flatpak/",
), shared.data_dir / "flatpak",
paths={ ),
"applications": (True, "share/applications"), paths={
"icons": (True, "share/icons"), "applications": LocationSubPath("exports/share/applications", True),
}, "icons": LocationSubPath("exports/share/icons", True),
},
invalid_subtitle=Location.DATA_INVALID_SUBTITLE,
)
) )

View File

@@ -20,21 +20,47 @@
import json import json
import logging import logging
from abc import abstractmethod
from hashlib import sha256 from hashlib import sha256
from json import JSONDecodeError from json import JSONDecodeError
from pathlib import Path
from time import time from time import time
from typing import Optional, TypedDict from typing import Iterable, NamedTuple, Optional, TypedDict
from functools import cached_property
from src import shared from src import shared
from src.game import Game from src.game import Game
from src.importer.sources.location import Location from src.importer.sources.location import Location, LocationSubPath
from src.importer.sources.source import ( from src.importer.sources.source import (
URLExecutableSource, SourceIterable,
SourceIterationResult, SourceIterationResult,
SourceIterator, URLExecutableSource,
) )
def path_json_load(path: Path):
"""
Load JSON from the file at the given path
:raises OSError: if the file can't be opened
:raises JSONDecodeError: if the file isn't valid JSON
"""
with path.open("r", encoding="utf-8") as open_file:
return json.load(open_file)
class InvalidLibraryFileError(Exception):
pass
class InvalidInstalledFileError(Exception):
pass
class InvalidStoreFileError(Exception):
pass
class HeroicLibraryEntry(TypedDict): class HeroicLibraryEntry(TypedDict):
app_name: str app_name: str
installed: Optional[bool] installed: Optional[bool]
@@ -44,114 +70,320 @@ class HeroicLibraryEntry(TypedDict):
art_square: str art_square: str
class HeroicSubSource(TypedDict): class SubSourceIterable(Iterable):
service: str """Class representing a Heroic sub-source"""
path: tuple[str]
class HeroicSourceIterator(SourceIterator):
source: "HeroicSource" source: "HeroicSource"
source_iterable: "HeroicSourceIterable"
name: str
service: str
image_uri_params: str = ""
relative_library_path: Path
library_json_entries_key: str = "library"
sub_sources: dict[str, HeroicSubSource] = { def __init__(self, source, source_iterable) -> None:
"sideload": { self.source = source
"service": "sideload", self.source_iterable = source_iterable
"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( @cached_property
def library_path(self) -> Path:
path = self.source.locations.config.root / self.relative_library_path
logging.debug("Using Heroic %s library.json path %s", self.name, path)
return path
def process_library_entry(
self, entry: HeroicLibraryEntry, added_time: int self, entry: HeroicLibraryEntry, added_time: int
) -> SourceIterationResult: ) -> SourceIterationResult:
"""Helper method used to build a Game from a Heroic library entry""" """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"] app_name = entry["app_name"]
runner = entry["runner"] runner = entry["runner"]
service = self.sub_sources[runner]["service"]
# Build game
values = { values = {
"source": self.source.id, "source": f"{self.source.source_id}_{self.service}",
"added": added_time, "added": added_time,
"name": entry["title"], "name": entry["title"],
"developer": entry["developer"], "developer": entry.get("developer", None),
"game_id": self.source.game_id_format.format( "game_id": self.source.game_id_format.format(
service=service, game_id=app_name service=self.service, game_id=app_name
), ),
"executable": self.source.executable_format.format(app_name=app_name), "executable": self.source.executable_format.format(runner=runner, app_name=app_name),
"hidden": self.source_iterable.is_hidden(app_name),
} }
game = Game(values) game = Game(values)
# Get the image path from the heroic cache # Get the image path from the heroic cache
# Filenames are derived from the URL that heroic used to get the file # Filenames are derived from the URL that heroic used to get the file
uri: str = entry["art_square"] uri: str = entry["art_square"] + self.image_uri_params
if service == "epic":
uri += "?h=400&resize=1&w=300"
digest = sha256(uri.encode()).hexdigest() digest = sha256(uri.encode()).hexdigest()
image_path = self.source.config_location.root / "images-cache" / digest image_path = self.source.locations.config.root / "images-cache" / digest
additional_data = {"local_image_path": image_path} additional_data = {"local_image_path": image_path}
return (game, additional_data) return (game, additional_data)
def generator_builder(self) -> SourceIterationResult: def __iter__(self):
"""
Iterate through the games with a generator
:raises InvalidLibraryFileError: on initial call if the library file is bad
"""
added_time = int(time())
try:
iterator = iter(
path_json_load(self.library_path)[self.library_json_entries_key]
)
except (OSError, JSONDecodeError, TypeError, KeyError) as error:
raise InvalidLibraryFileError(
f"Invalid {self.library_path.name}"
) from error
for entry in iterator:
try:
yield self.process_library_entry(entry, added_time)
except KeyError as error:
logging.warning(
"Skipped invalid %s game %s",
self.name,
entry.get("app_name", "UNKNOWN"),
exc_info=error,
)
continue
class StoreSubSourceIterable(SubSourceIterable):
"""
Class representing a "store" sub source.
Games can be installed or not, this class does the check accordingly.
"""
relative_installed_path: Path
installed_app_names: set[str]
@cached_property
def installed_path(self) -> Path:
path = self.source.locations.config.root / self.relative_installed_path
logging.debug("Using Heroic %s installed.json path %s", self.name, path)
return path
@abstractmethod
def get_installed_app_names(self) -> set[str]:
"""
Get the sub source's installed app names as a set.
:raises InvalidInstalledFileError: if the installed file data cannot be read
Whenever possible, `__cause__` is set with the original exception
"""
def is_installed(self, app_name: str) -> bool:
return app_name in self.installed_app_names
def process_library_entry(self, entry, added_time):
# Skip games that are not installed
app_name = entry["app_name"]
if not self.is_installed(app_name):
logging.warning(
"Skipped %s game %s (%s): not installed",
self.service,
entry["title"],
app_name,
)
return None
# Process entry as normal
return super().process_library_entry(entry, added_time)
def __iter__(self):
"""
Iterate through the installed games with a generator
:raises InvalidLibraryFileError: on initial call if the library file is bad
:raises InvalidInstalledFileError: on initial call if the installed file is bad
"""
self.installed_app_names = self.get_installed_app_names()
yield from super().__iter__()
class SideloadIterable(SubSourceIterable):
name = "sideload"
service = "sideload"
relative_library_path = Path("sideload_apps") / "library.json"
library_json_entries_key = "games"
class LegendaryIterable(StoreSubSourceIterable):
name = "legendary"
service = "epic"
image_uri_params = "?h=400&resize=1&w=300"
relative_library_path = Path("store_cache") / "legendary_library.json"
# relative_installed_path = (
# Path("legendary") / "legendaryConfig" / "legendary" / "installed.json"
# )
@cached_property
def installed_path(self) -> Path:
"""
Get the right path depending on the Heroic version
TODO after heroic 2.9 has been out for a while
We should use the commented out relative_installed_path
and remove this property override.
"""
heroic_config_path = self.source.locations.config.root
# Heroic >= 2.9
if (path := heroic_config_path / "legendaryConfig").is_dir():
logging.debug("Using Heroic >= 2.9 legendary file")
# Heroic <= 2.8
elif heroic_config_path.is_relative_to(shared.flatpak_dir):
# Heroic flatpak
path = shared.flatpak_dir / "com.heroicgameslauncher.hgl" / "config"
logging.debug("Using Heroic flatpak <= 2.8 legendary file")
else:
# Heroic native
logging.debug("Using Heroic native <= 2.8 legendary file")
path = Path.home() / ".config"
path = path / "legendary" / "installed.json"
logging.debug("Using Heroic %s installed.json path %s", self.name, path)
return path
def get_installed_app_names(self):
try:
return set(path_json_load(self.installed_path).keys())
except (OSError, JSONDecodeError, AttributeError) as error:
raise InvalidInstalledFileError(
f"Invalid {self.installed_path.name}"
) from error
class GogIterable(StoreSubSourceIterable):
name = "gog"
service = "gog"
library_json_entries_key = "games"
relative_library_path = Path("store_cache") / "gog_library.json"
relative_installed_path = Path("gog_store") / "installed.json"
def get_installed_app_names(self):
try:
return {
app_name
for entry in path_json_load(self.installed_path)["installed"]
if (app_name := entry.get("appName")) is not None
}
except (OSError, JSONDecodeError, KeyError, AttributeError) as error:
raise InvalidInstalledFileError(
f"Invalid {self.installed_path.name}"
) from error
class NileIterable(StoreSubSourceIterable):
name = "nile"
service = "amazon"
relative_library_path = Path("store_cache") / "nile_library.json"
relative_installed_path = Path("nile_config") / "nile" / "installed.json"
def get_installed_app_names(self):
try:
installed_json = path_json_load(self.installed_path)
return {
app_name
for entry in installed_json
if (app_name := entry.get("id")) is not None
}
except (OSError, JSONDecodeError, AttributeError) as error:
raise InvalidInstalledFileError(
f"Invalid {self.installed_path.name}"
) from error
class HeroicSourceIterable(SourceIterable):
source: "HeroicSource"
hidden_app_names: set[str] = set()
def is_hidden(self, app_name: str) -> bool:
return app_name in self.hidden_app_names
def get_hidden_app_names(self) -> set[str]:
"""Get the hidden app names from store/config.json
:raises InvalidStoreFileError: if the store is invalid for some reason
"""
try:
store = path_json_load(self.source.locations.config["store_config.json"])
self.hidden_app_names = {
app_name
for game in store["games"]["hidden"]
if (app_name := game.get("appName")) is not None
}
except KeyError:
logging.warning('No ["games"]["hidden"] key in Heroic store file')
except (OSError, JSONDecodeError, TypeError) as error:
logging.error("Invalid Heroic store file", exc_info=error)
raise InvalidStoreFileError() from error
def __iter__(self):
"""Generator method producing games from all the Heroic sub-sources""" """Generator method producing games from all the Heroic sub-sources"""
for sub_source in self.sub_sources.values(): self.get_hidden_app_names()
# Skip disabled sub-sources
if not shared.schema.get_boolean("heroic-import-" + sub_source["service"]): # Get games from the sub sources
for sub_source_class in (
SideloadIterable,
LegendaryIterable,
GogIterable,
NileIterable,
):
sub_source = sub_source_class(self.source, self)
if not shared.schema.get_boolean("heroic-import-" + sub_source.service):
logging.debug("Skipping Heroic %s: disabled", sub_source.service)
continue continue
# Load games from JSON
file = self.source.config_location.root.joinpath(*sub_source["path"])
try: try:
library = json.load(file.open())["library"] sub_source_iterable = iter(sub_source)
except (JSONDecodeError, OSError, KeyError): yield from sub_source_iterable
# Invalid library.json file, skip it except (InvalidLibraryFileError, InvalidInstalledFileError) as error:
logging.warning("Couldn't open Heroic file: %s", str(file)) logging.error(
"Skipping bad Heroic sub-source %s",
sub_source.service,
exc_info=error,
)
continue continue
added_time = int(time())
for entry in library: class HeroicLocations(NamedTuple):
try: config: Location
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): class HeroicSource(URLExecutableSource):
"""Generic Heroic Games Launcher source""" """Generic Heroic Games Launcher source"""
name = "Heroic" source_id = "heroic"
iterator_class = HeroicSourceIterator name = _("Heroic")
url_format = "heroic://launch/{app_name}" iterable_class = HeroicSourceIterable
available_on = set(("linux", "win32")) url_format = "heroic://launch/{runner}/{app_name}"
available_on = {"linux", "win32"}
config_location = Location( locations = HeroicLocations(
schema_key="heroic-location", Location(
candidates=( schema_key="heroic-location",
"~/.var/app/com.heroicgameslauncher.hgl/config/heroic/", candidates=(
shared.config_dir / "heroic", shared.config_dir / "heroic",
shared.appdata_dir / "heroic", shared.home / ".config" / "heroic",
), shared.flatpak_dir
paths={ / "com.heroicgameslauncher.hgl"
"config.json": (False, "config.json"), / "config"
}, / "heroic",
shared.appdata_dir / "heroic",
),
paths={
"config.json": LocationSubPath("config.json"),
"store_config.json": LocationSubPath("store/config.json"),
},
invalid_subtitle=Location.CONFIG_INVALID_SUBTITLE,
)
) )
@property @property
def game_id_format(self) -> str: def game_id_format(self) -> str:
"""The string format used to construct game IDs""" """The string format used to construct game IDs"""
return self.name.lower() + "_{service}_{game_id}" return self.source_id + "_{service}_{game_id}"

View File

@@ -21,22 +21,19 @@
from shutil import rmtree from shutil import rmtree
from sqlite3 import connect from sqlite3 import connect
from time import time from time import time
from typing import NamedTuple
from src import shared from src import shared
from src.game import Game from src.game import Game
from src.importer.sources.location import Location from src.importer.sources.location import Location, LocationSubPath
from src.importer.sources.source import ( from src.importer.sources.source import SourceIterable, URLExecutableSource
SourceIterationResult,
SourceIterator,
URLExecutableSource,
)
from src.utils.sqlite import copy_db from src.utils.sqlite import copy_db
class ItchSourceIterator(SourceIterator): class ItchSourceIterable(SourceIterable):
source: "ItchSource" source: "ItchSource"
def generator_builder(self) -> SourceIterationResult: def __iter__(self):
"""Generator method producing games""" """Generator method producing games"""
# Query the database # Query the database
@@ -55,7 +52,7 @@ class ItchSourceIterator(SourceIterator):
caves.game_id = games.id caves.game_id = games.id
; ;
""" """
db_path = copy_db(self.source.config_location["butler.db"]) db_path = copy_db(self.source.locations.config["butler.db"])
connection = connect(db_path) connection = connect(db_path)
cursor = connection.execute(db_request) cursor = connection.execute(db_request)
@@ -65,7 +62,7 @@ class ItchSourceIterator(SourceIterator):
for row in cursor: for row in cursor:
values = { values = {
"added": added_time, "added": added_time,
"source": self.source.id, "source": self.source.source_id,
"name": row[1], "name": row[1],
"game_id": self.source.game_id_format.format(game_id=row[0]), "game_id": self.source.game_id_format.format(game_id=row[0]),
"executable": self.source.executable_format.format(cave_id=row[4]), "executable": self.source.executable_format.format(cave_id=row[4]),
@@ -78,18 +75,29 @@ class ItchSourceIterator(SourceIterator):
rmtree(str(db_path.parent)) rmtree(str(db_path.parent))
class ItchSource(URLExecutableSource): class ItchLocations(NamedTuple):
name = "Itch" config: Location
iterator_class = ItchSourceIterator
url_format = "itch://caves/{cave_id}/launch"
available_on = set(("linux", "win32"))
config_location = Location(
schema_key="itch-location", class ItchSource(URLExecutableSource):
candidates=( source_id = "itch"
"~/.var/app/io.itch.itch/config/itch/", name = _("itch")
shared.config_dir / "itch", iterable_class = ItchSourceIterable
shared.appdata_dir / "itch", url_format = "itch://caves/{cave_id}/launch"
), available_on = {"linux", "win32"}
paths={"butler.db": (False, "db/butler.db")},
locations = ItchLocations(
Location(
schema_key="itch-location",
candidates=(
shared.flatpak_dir / "io.itch.itch" / "config" / "itch",
shared.config_dir / "itch",
shared.home / ".config" / "itch",
shared.appdata_dir / "itch",
),
paths={
"butler.db": LocationSubPath("db/butler.db"),
},
invalid_subtitle=Location.CONFIG_INVALID_SUBTITLE,
)
) )

View File

@@ -21,15 +21,15 @@ import json
import logging import logging
from json import JSONDecodeError from json import JSONDecodeError
from time import time from time import time
from typing import Generator from typing import NamedTuple
from src import shared from src import shared
from src.game import Game from src.game import Game
from src.importer.sources.location import Location from src.importer.sources.location import Location, LocationSubPath
from src.importer.sources.source import Source, SourceIterationResult, SourceIterator from src.importer.sources.source import Source, SourceIterationResult, SourceIterable
class LegendarySourceIterator(SourceIterator): class LegendarySourceIterable(SourceIterable):
source: "LegendarySource" source: "LegendarySource"
def game_from_library_entry( def game_from_library_entry(
@@ -43,7 +43,7 @@ class LegendarySourceIterator(SourceIterator):
app_name = entry["app_name"] app_name = entry["app_name"]
values = { values = {
"added": added_time, "added": added_time,
"source": self.source.id, "source": self.source.source_id,
"name": entry["title"], "name": entry["title"],
"game_id": self.source.game_id_format.format(game_id=app_name), "game_id": self.source.game_id_format.format(game_id=app_name),
"executable": self.source.executable_format.format(app_name=app_name), "executable": self.source.executable_format.format(app_name=app_name),
@@ -51,7 +51,7 @@ class LegendarySourceIterator(SourceIterator):
data = {} data = {}
# Get additional metadata from file (optional) # Get additional metadata from file (optional)
metadata_file = self.source.data_location["metadata"] / f"{app_name}.json" metadata_file = self.source.locations.config["metadata"] / f"{app_name}.json"
try: try:
metadata = json.load(metadata_file.open()) metadata = json.load(metadata_file.open())
values["developer"] = metadata["metadata"]["developer"] values["developer"] = metadata["metadata"]["developer"]
@@ -65,9 +65,9 @@ class LegendarySourceIterator(SourceIterator):
game = Game(values) game = Game(values)
return (game, data) return (game, data)
def generator_builder(self) -> Generator[SourceIterationResult, None, None]: def __iter__(self):
# Open library # Open library
file = self.source.data_location["installed.json"] file = self.source.locations.config["installed.json"]
try: try:
library: dict = json.load(file.open()) library: dict = json.load(file.open())
except (JSONDecodeError, OSError): except (JSONDecodeError, OSError):
@@ -89,17 +89,28 @@ class LegendarySourceIterator(SourceIterator):
yield result yield result
class LegendarySource(Source): class LegendaryLocations(NamedTuple):
name = "Legendary" config: Location
executable_format = "legendary launch {app_name}"
available_on = set(("linux", "win32"))
iterator_class = LegendarySourceIterator
data_location: Location = Location( class LegendarySource(Source):
schema_key="legendary-location", source_id = "legendary"
candidates=(shared.config_dir / "legendary",), name = _("Legendary")
paths={ executable_format = "legendary launch {app_name}"
"installed.json": (False, "installed.json"), available_on = {"linux"}
"metadata": (True, "metadata"), iterable_class = LegendarySourceIterable
},
locations = LegendaryLocations(
Location(
schema_key="legendary-location",
candidates=(
shared.config_dir / "legendary",
shared.home / ".config" / "legendary",
),
paths={
"installed.json": LocationSubPath("installed.json"),
"metadata": LocationSubPath("metadata", True),
},
invalid_subtitle=Location.CONFIG_INVALID_SUBTITLE,
)
) )

View File

@@ -1,13 +1,18 @@
import logging import logging
from pathlib import Path from pathlib import Path
from typing import Callable, Mapping, Iterable from typing import Mapping, Iterable, NamedTuple
from os import PathLike from os import PathLike
from src import shared from src import shared
PathSegment = str | PathLike | Path PathSegment = str | PathLike | Path
PathSegments = Iterable[PathSegment] PathSegments = Iterable[PathSegment]
Candidate = PathSegments | Callable[[], PathSegments] Candidate = PathSegments
class LocationSubPath(NamedTuple):
segment: PathSegment
is_directory: bool = False
class UnresolvableLocationError(Exception): class UnresolvableLocationError(Exception):
@@ -24,31 +29,42 @@ class Location:
* When resolved, the schema is updated with the picked chosen * When resolved, the schema is updated with the picked chosen
""" """
# The variable is the name of the source
CACHE_INVALID_SUBTITLE = _("Select the {} cache directory.")
# The variable is the name of the source
CONFIG_INVALID_SUBTITLE = _("Select the {} configuration directory.")
# The variable is the name of the source
DATA_INVALID_SUBTITLE = _("Select the {} data directory.")
schema_key: str schema_key: str
candidates: Iterable[Candidate] candidates: Iterable[Candidate]
paths: Mapping[str, tuple[bool, PathSegments]] paths: Mapping[str, LocationSubPath]
invalid_subtitle: str
root: Path = None root: Path = None
def __init__( def __init__(
self, self,
schema_key: str, schema_key: str,
candidates: Iterable[Candidate], candidates: Iterable[Candidate],
paths: Mapping[str, tuple[bool, PathSegments]], paths: Mapping[str, LocationSubPath],
invalid_subtitle: str,
) -> None: ) -> None:
super().__init__() super().__init__()
self.schema_key = schema_key self.schema_key = schema_key
self.candidates = candidates self.candidates = candidates
self.paths = paths self.paths = paths
self.invalid_subtitle = invalid_subtitle
def check_candidate(self, candidate: Path) -> bool: def check_candidate(self, candidate: Path) -> bool:
"""Check if a candidate root has the necessary files and directories""" """Check if a candidate root has the necessary files and directories"""
for type_is_dir, subpath in self.paths.values(): for segment, is_directory in self.paths.values():
subpath = Path(candidate) / Path(subpath) path = Path(candidate) / segment
if type_is_dir: if is_directory:
if not subpath.is_dir(): if not path.is_dir():
return False return False
else: else:
if not subpath.is_file(): if not path.is_file():
return False return False
return True return True
@@ -81,4 +97,4 @@ class Location:
def __getitem__(self, key: str): def __getitem__(self, key: str):
"""Get the computed path from its key for the location""" """Get the computed path from its key for the location"""
self.resolve() self.resolve()
return self.root / self.paths[key][1] return self.root / self.paths[key].segment

View File

@@ -20,22 +20,19 @@
from shutil import rmtree from shutil import rmtree
from sqlite3 import connect from sqlite3 import connect
from time import time from time import time
from typing import NamedTuple
from src import shared from src import shared
from src.game import Game from src.game import Game
from src.importer.sources.location import Location from src.importer.sources.location import Location, LocationSubPath
from src.importer.sources.source import ( from src.importer.sources.source import SourceIterable, URLExecutableSource
SourceIterationResult,
SourceIterator,
URLExecutableSource,
)
from src.utils.sqlite import copy_db from src.utils.sqlite import copy_db
class LutrisSourceIterator(SourceIterator): class LutrisSourceIterable(SourceIterable):
source: "LutrisSource" source: "LutrisSource"
def generator_builder(self) -> SourceIterationResult: def __iter__(self):
"""Generator method producing games""" """Generator method producing games"""
# Query the database # Query the database
@@ -55,7 +52,7 @@ class LutrisSourceIterator(SourceIterator):
"import_steam": shared.schema.get_boolean("lutris-import-steam"), "import_steam": shared.schema.get_boolean("lutris-import-steam"),
"import_flatpak": shared.schema.get_boolean("lutris-import-flatpak"), "import_flatpak": shared.schema.get_boolean("lutris-import-flatpak"),
} }
db_path = copy_db(self.source.data_location["pga.db"]) db_path = copy_db(self.source.locations.config["pga.db"])
connection = connect(db_path) connection = connect(db_path)
cursor = connection.execute(request, params) cursor = connection.execute(request, params)
@@ -68,16 +65,16 @@ class LutrisSourceIterator(SourceIterator):
"added": added_time, "added": added_time,
"hidden": row[4], "hidden": row[4],
"name": row[1], "name": row[1],
"source": f"{self.source.id}_{row[3]}", "source": f"{self.source.source_id}_{row[3]}",
"game_id": self.source.game_id_format.format( "game_id": self.source.game_id_format.format(
game_id=row[2], game_internal_id=row[0] runner=row[3], game_id=row[0]
), ),
"executable": self.source.executable_format.format(game_id=row[2]), "executable": self.source.executable_format.format(game_id=row[0]),
} }
game = Game(values) game = Game(values)
# Get official image path # Get official image path
image_path = self.source.cache_location["coverart"] / f"{row[2]}.jpg" image_path = self.source.locations.cache["coverart"] / f"{row[2]}.jpg"
additional_data = {"local_image_path": image_path} additional_data = {"local_image_path": image_path}
# Produce game # Produce game
@@ -87,38 +84,49 @@ class LutrisSourceIterator(SourceIterator):
rmtree(str(db_path.parent)) rmtree(str(db_path.parent))
class LutrisLocations(NamedTuple):
config: Location
cache: Location
class LutrisSource(URLExecutableSource): class LutrisSource(URLExecutableSource):
"""Generic Lutris source""" """Generic Lutris source"""
name = "Lutris" source_id = "lutris"
iterator_class = LutrisSourceIterator name = _("Lutris")
iterable_class = LutrisSourceIterable
url_format = "lutris:rungameid/{game_id}" url_format = "lutris:rungameid/{game_id}"
available_on = set(("linux",)) available_on = {"linux"}
# FIXME possible bug: location picks ~/.var... and cache_lcoation picks ~/.local... # FIXME possible bug: config picks ~/.var... and cache picks ~/.local...
data_location = Location( locations = LutrisLocations(
schema_key="lutris-location", Location(
candidates=( schema_key="lutris-location",
"~/.var/app/net.lutris.Lutris/data/lutris/", candidates=(
shared.data_dir / "lutris", shared.flatpak_dir / "net.lutris.Lutris" / "data" / "lutris",
shared.data_dir / "lutris",
shared.home / ".local" / "share" / "lutris",
),
paths={
"pga.db": LocationSubPath("pga.db"),
},
invalid_subtitle=Location.DATA_INVALID_SUBTITLE,
), ),
paths={ Location(
"pga.db": (False, "pga.db"), schema_key="lutris-cache-location",
}, candidates=(
) shared.flatpak_dir / "net.lutris.Lutris" / "cache" / "lutris",
shared.cache_dir / "lutris",
cache_location = Location( shared.home / ".cache" / "lutris",
schema_key="lutris-cache-location", ),
candidates=( paths={
"~/.var/app/net.lutris.Lutris/cache/lutris/", "coverart": LocationSubPath("coverart", True),
shared.cache_dir / "lutris", },
invalid_subtitle=Location.CACHE_INVALID_SUBTITLE,
), ),
paths={
"coverart": (True, "coverart"),
},
) )
@property @property
def game_id_format(self): def game_id_format(self):
return super().game_id_format + "_{game_internal_id}" return self.source_id + "_{runner}_{game_id}"

View File

@@ -19,8 +19,8 @@
import sys import sys
from abc import abstractmethod from abc import abstractmethod
from collections.abc import Iterable, Iterator from collections.abc import Iterable
from typing import Any, Generator, Optional from typing import Any, Generator, Collection
from src.game import Game from src.game import Game
from src.importer.sources.location import Location from src.importer.sources.location import Location
@@ -29,25 +29,16 @@ from src.importer.sources.location import Location
SourceIterationResult = None | Game | tuple[Game, tuple[Any]] SourceIterationResult = None | Game | tuple[Game, tuple[Any]]
class SourceIterator(Iterator): class SourceIterable(Iterable):
"""Data producer for a source of games""" """Data producer for a source of games"""
source: "Source" = None source: "Source" = None
generator: Generator = None
def __init__(self, source: "Source") -> None: def __init__(self, source: "Source") -> None:
super().__init__()
self.source = source self.source = source
self.generator = self.generator_builder()
def __iter__(self) -> "SourceIterator":
return self
def __next__(self) -> SourceIterationResult:
return next(self.generator)
@abstractmethod @abstractmethod
def generator_builder(self) -> Generator[SourceIterationResult, None, None]: def __iter__(self) -> Generator[SourceIterationResult, None, None]:
""" """
Method that returns a generator that produces games Method that returns a generator that produces games
* Should be implemented as a generator method * Should be implemented as a generator method
@@ -60,13 +51,12 @@ class SourceIterator(Iterator):
class Source(Iterable): class Source(Iterable):
"""Source of games. E.g an installed app with a config file that lists game directories""" """Source of games. E.g an installed app with a config file that lists game directories"""
source_id: str
name: str name: str
variant: str = None variant: str = None
available_on: set[str] = set() available_on: set[str] = set()
data_location: Optional[Location] = None iterable_class: type[SourceIterable]
cache_location: Optional[Location] = None locations: Collection[Location]
config_location: Optional[Location] = None
iterator_class: type[SourceIterator]
@property @property
def full_name(self) -> str: def full_name(self) -> str:
@@ -76,18 +66,10 @@ class Source(Iterable):
full_name_ += f" ({self.variant})" full_name_ += f" ({self.variant})"
return full_name_ 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 @property
def game_id_format(self) -> str: def game_id_format(self) -> str:
"""The string format used to construct game IDs""" """The string format used to construct game IDs"""
return self.id + "_{game_id}" return self.source_id + "_{game_id}"
@property @property
def is_available(self): def is_available(self):
@@ -98,7 +80,7 @@ class Source(Iterable):
def executable_format(self) -> str: def executable_format(self) -> str:
"""The executable format used to construct game executables""" """The executable format used to construct game executables"""
def __iter__(self) -> SourceIterator: def __iter__(self) -> Generator[SourceIterationResult, None, None]:
""" """
Get an iterator for the source Get an iterator for the source
:raises UnresolvableLocationError: Not iterable if any of the locations are unresolvable :raises UnresolvableLocationError: Not iterable if any of the locations are unresolvable
@@ -108,7 +90,7 @@ class Source(Iterable):
if location is None: if location is None:
continue continue
location.resolve() location.resolve()
return self.iterator_class(self) return iter(self.iterable_class(self))
# pylint: disable=abstract-method # pylint: disable=abstract-method

View File

@@ -18,28 +18,25 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import logging
import re import re
from pathlib import Path from pathlib import Path
from time import time from time import time
from typing import Iterable from typing import Iterable, NamedTuple
from src import shared from src import shared
from src.game import Game from src.game import Game
from src.importer.sources.source import ( from src.importer.sources.location import Location, LocationSubPath
SourceIterationResult, from src.importer.sources.source import SourceIterable, URLExecutableSource
SourceIterator,
URLExecutableSource,
)
from src.utils.steam import SteamFileHelper, SteamInvalidManifestError from src.utils.steam import SteamFileHelper, SteamInvalidManifestError
from src.importer.sources.location import Location
class SteamSourceIterator(SourceIterator): class SteamSourceIterable(SourceIterable):
source: "SteamSource" source: "SteamSource"
def get_manifest_dirs(self) -> Iterable[Path]: def get_manifest_dirs(self) -> Iterable[Path]:
"""Get dirs that contain steam app manifests""" """Get dirs that contain steam app manifests"""
libraryfolders_path = self.source.data_location["libraryfolders.vdf"] libraryfolders_path = self.source.locations.data["libraryfolders.vdf"]
with open(libraryfolders_path, "r", encoding="utf-8") as file: with open(libraryfolders_path, "r", encoding="utf-8") as file:
contents = file.read() contents = file.read()
return [ return [
@@ -62,7 +59,7 @@ class SteamSourceIterator(SourceIterator):
) )
return manifests return manifests
def generator_builder(self) -> SourceIterationResult: def __iter__(self):
"""Generator method producing games""" """Generator method producing games"""
appid_cache = set() appid_cache = set()
manifests = self.get_manifests() manifests = self.get_manifests()
@@ -74,17 +71,20 @@ class SteamSourceIterator(SourceIterator):
steam = SteamFileHelper() steam = SteamFileHelper()
try: try:
local_data = steam.get_manifest_data(manifest) local_data = steam.get_manifest_data(manifest)
except (OSError, SteamInvalidManifestError): except (OSError, SteamInvalidManifestError) as error:
logging.debug("Couldn't load appmanifest %s", manifest, exc_info=error)
continue continue
# Skip non installed games # Skip non installed games
installed_mask = 4 installed_mask = 4
if not int(local_data["stateflags"]) & installed_mask: if not int(local_data["stateflags"]) & installed_mask:
logging.debug("Skipped %s: not installed", manifest)
continue continue
# Skip duplicate appids # Skip duplicate appids
appid = local_data["appid"] appid = local_data["appid"]
if appid in appid_cache: if appid in appid_cache:
logging.debug("Skipped %s: appid already seen during import", manifest)
continue continue
appid_cache.add(appid) appid_cache.add(appid)
@@ -92,7 +92,7 @@ class SteamSourceIterator(SourceIterator):
values = { values = {
"added": added_time, "added": added_time,
"name": local_data["name"], "name": local_data["name"],
"source": self.source.id, "source": self.source.source_id,
"game_id": self.source.game_id_format.format(game_id=appid), "game_id": self.source.game_id_format.format(game_id=appid),
"executable": self.source.executable_format.format(game_id=appid), "executable": self.source.executable_format.format(game_id=appid),
} }
@@ -100,7 +100,7 @@ class SteamSourceIterator(SourceIterator):
# Add official cover image # Add official cover image
image_path = ( image_path = (
self.source.data_location["librarycache"] self.source.locations.data["librarycache"]
/ f"{appid}_library_600x900.jpg" / f"{appid}_library_600x900.jpg"
) )
additional_data = {"local_image_path": image_path, "steam_appid": appid} additional_data = {"local_image_path": image_path, "steam_appid": appid}
@@ -109,22 +109,30 @@ class SteamSourceIterator(SourceIterator):
yield (game, additional_data) yield (game, additional_data)
class SteamLocations(NamedTuple):
data: Location
class SteamSource(URLExecutableSource): class SteamSource(URLExecutableSource):
name = "Steam" source_id = "steam"
available_on = set(("linux", "win32")) name = _("Steam")
iterator_class = SteamSourceIterator available_on = {"linux", "win32"}
iterable_class = SteamSourceIterable
url_format = "steam://rungameid/{game_id}" url_format = "steam://rungameid/{game_id}"
data_location = Location( locations = SteamLocations(
schema_key="steam-location", Location(
candidates=( schema_key="steam-location",
"~/.var/app/com.valvesoftware.Steam/data/Steam/", candidates=(
shared.data_dir / "Steam", shared.home / ".steam" / "steam",
"~/.steam", shared.data_dir / "Steam",
shared.programfiles32_dir / "Steam", shared.flatpak_dir / "com.valvesoftware.Steam" / "data" / "Steam",
), shared.programfiles32_dir / "Steam",
paths={ ),
"libraryfolders.vdf": (False, "steamapps/libraryfolders.vdf"), paths={
"librarycache": (True, "appcache/librarycache"), "libraryfolders.vdf": LocationSubPath("steamapps/libraryfolders.vdf"),
}, "librarycache": LocationSubPath("appcache/librarycache", True),
},
invalid_subtitle=Location.DATA_INVALID_SUBTITLE,
)
) )

View File

@@ -88,16 +88,20 @@ class SessionFileHandler(StreamHandler):
# If uncompressed, compress # If uncompressed, compress
if not path.name.endswith(".xz"): if not path.name.endswith(".xz"):
new_path = path.with_suffix(path.suffix + ".xz") compressed_path = path.with_suffix(path.suffix + ".xz")
with ( with (
lzma.open( lzma.open(
new_path, "wt", format=FORMAT_XZ, preset=PRESET_DEFAULT compressed_path,
"wt",
format=FORMAT_XZ,
preset=PRESET_DEFAULT,
encoding="utf-8",
) as lzma_file, ) as lzma_file,
open(path, "r", encoding="utf-8") as original_file, open(path, "r", encoding="utf-8") as original_file,
): ):
lzma_file.write(original_file.read()) lzma_file.write(original_file.read())
path.unlink() path.unlink()
path = new_path path = compressed_path
# Rename with new number suffix # Rename with new number suffix
new_number = self.get_path_number(path) + 1 new_number = self.get_path_number(path) + 1

View File

@@ -73,7 +73,7 @@ def setup_logging():
"PIL": { "PIL": {
"handlers": ["lib_console_handler", "file_handler"], "handlers": ["lib_console_handler", "file_handler"],
"propagate": False, "propagate": False,
"level": "NOTSET", "level": "WARNING",
}, },
"urllib3": { "urllib3": {
"handlers": ["lib_console_handler", "file_handler"], "handlers": ["lib_console_handler", "file_handler"],

View File

@@ -19,6 +19,7 @@
import json import json
import lzma import lzma
import os
import sys import sys
import gi import gi
@@ -34,6 +35,7 @@ from src.details_window import DetailsWindow
from src.game import Game from src.game import Game
from src.importer.importer import Importer from src.importer.importer import Importer
from src.importer.sources.bottles_source import BottlesSource from src.importer.sources.bottles_source import BottlesSource
from src.importer.sources.dolphin_source import DolphinSource
from src.importer.sources.flatpak_source import FlatpakSource from src.importer.sources.flatpak_source import FlatpakSource
from src.importer.sources.heroic_source import HeroicSource from src.importer.sources.heroic_source import HeroicSource
from src.importer.sources.itch_source import ItchSource from src.importer.sources.itch_source import ItchSource
@@ -44,11 +46,11 @@ from src.logging.setup import log_system_info, setup_logging
from src.preferences import PreferencesWindow from src.preferences import PreferencesWindow
from src.store.managers.display_manager import DisplayManager from src.store.managers.display_manager import DisplayManager
from src.store.managers.file_manager import FileManager from src.store.managers.file_manager import FileManager
from src.store.managers.local_cover_manager import LocalCoverManager from src.store.managers.cover_manager import CoverManager
from src.store.managers.online_cover_manager import OnlineCoverManager
from src.store.managers.sgdb_manager import SGDBManager from src.store.managers.sgdb_manager import SGDBManager
from src.store.managers.steam_api_manager import SteamAPIManager from src.store.managers.steam_api_manager import SteamAPIManager
from src.store.store import Store from src.store.store import Store
from src.utils.migrate_files_v1_to_v2 import migrate_files_v1_to_v2
from src.window import CartridgesWindow from src.window import CartridgesWindow
@@ -64,6 +66,12 @@ class CartridgesApplication(Adw.Application):
def do_activate(self): # pylint: disable=arguments-differ def do_activate(self): # pylint: disable=arguments-differ
"""Called on app creation""" """Called on app creation"""
setup_logging()
log_system_info()
if os.name == "nt":
migrate_files_v1_to_v2()
# Set fallback icon-name # Set fallback icon-name
Gtk.Window.set_default_icon_name(shared.APP_ID) Gtk.Window.set_default_icon_name(shared.APP_ID)
@@ -89,11 +97,10 @@ class CartridgesApplication(Adw.Application):
self.load_games_from_disk() self.load_games_from_disk()
# Add rest of the managers for game imports # Add rest of the managers for game imports
shared.store.add_manager(LocalCoverManager()) shared.store.add_manager(CoverManager())
shared.store.add_manager(SteamAPIManager()) shared.store.add_manager(SteamAPIManager())
shared.store.add_manager(OnlineCoverManager())
shared.store.add_manager(SGDBManager()) shared.store.add_manager(SGDBManager())
shared.store.enable_manager_in_pipelines(FileManager) shared.store.toggle_manager_in_pipelines(FileManager, True)
# Create actions # Create actions
self.create_actions( self.create_actions(
@@ -179,6 +186,7 @@ class CartridgesApplication(Adw.Application):
# 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, debug_info=debug_str,
debug_info_filename="cartridges.log",
) )
about.present() about.present()
@@ -221,6 +229,9 @@ class CartridgesApplication(Adw.Application):
if shared.schema.get_boolean("bottles"): if shared.schema.get_boolean("bottles"):
importer.add_source(BottlesSource()) importer.add_source(BottlesSource())
if shared.schema.get_boolean("dolphin"):
importer.add_source(DolphinSource())
if shared.schema.get_boolean("flatpak"): if shared.schema.get_boolean("flatpak"):
importer.add_source(FlatpakSource()) importer.add_source(FlatpakSource())
@@ -278,7 +289,5 @@ class CartridgesApplication(Adw.Application):
def main(_version): def main(_version):
"""App entry point""" """App entry point"""
setup_logging()
log_system_info()
app = CartridgesApplication() app = CartridgesApplication()
return app.run(sys.argv) return app.run(sys.argv)

View File

@@ -26,10 +26,12 @@ from gi.repository import Adw, Gio, GLib, Gtk
from src import shared from src import shared
from src.importer.sources.bottles_source import BottlesSource from src.importer.sources.bottles_source import BottlesSource
from src.importer.sources.dolphin_source import DolphinSource
from src.importer.sources.flatpak_source import FlatpakSource from src.importer.sources.flatpak_source import FlatpakSource
from src.importer.sources.heroic_source import HeroicSource from src.importer.sources.heroic_source import HeroicSource
from src.importer.sources.itch_source import ItchSource from src.importer.sources.itch_source import ItchSource
from src.importer.sources.legendary_source import LegendarySource from src.importer.sources.legendary_source import LegendarySource
from src.importer.sources.location import UnresolvableLocationError
from src.importer.sources.lutris_source import LutrisSource from src.importer.sources.lutris_source import LutrisSource
from src.importer.sources.source import Source from src.importer.sources.source import Source
from src.importer.sources.steam_source import SteamSource from src.importer.sources.steam_source import SteamSource
@@ -67,12 +69,17 @@ class PreferencesWindow(Adw.PreferencesWindow):
heroic_config_file_chooser_button = Gtk.Template.Child() heroic_config_file_chooser_button = Gtk.Template.Child()
heroic_import_epic_switch = Gtk.Template.Child() heroic_import_epic_switch = Gtk.Template.Child()
heroic_import_gog_switch = Gtk.Template.Child() heroic_import_gog_switch = Gtk.Template.Child()
heroic_import_amazon_switch = Gtk.Template.Child()
heroic_import_sideload_switch = Gtk.Template.Child() heroic_import_sideload_switch = Gtk.Template.Child()
bottles_expander_row = Gtk.Template.Child() bottles_expander_row = Gtk.Template.Child()
bottles_data_action_row = Gtk.Template.Child() bottles_data_action_row = Gtk.Template.Child()
bottles_data_file_chooser_button = Gtk.Template.Child() bottles_data_file_chooser_button = Gtk.Template.Child()
dolphin_expander_row = Gtk.Template.Child()
dolphin_cache_action_row = Gtk.Template.Child()
dolphin_cache_file_chooser_button = Gtk.Template.Child()
itch_expander_row = Gtk.Template.Child() itch_expander_row = Gtk.Template.Child()
itch_config_action_row = Gtk.Template.Child() itch_config_action_row = Gtk.Template.Child()
itch_config_file_chooser_button = Gtk.Template.Child() itch_config_file_chooser_button = Gtk.Template.Child()
@@ -99,6 +106,7 @@ class PreferencesWindow(Adw.PreferencesWindow):
remove_all_games_button = Gtk.Template.Child() remove_all_games_button = Gtk.Template.Child()
removed_games = set() removed_games = set()
warning_menu_buttons = {}
def __init__(self, **kwargs): def __init__(self, **kwargs):
super().__init__(**kwargs) super().__init__(**kwargs)
@@ -131,6 +139,7 @@ class PreferencesWindow(Adw.PreferencesWindow):
# Sources settings # Sources settings
for source_class in ( for source_class in (
BottlesSource, BottlesSource,
DolphinSource,
FlatpakSource, FlatpakSource,
HeroicSource, HeroicSource,
ItchSource, ItchSource,
@@ -140,8 +149,8 @@ class PreferencesWindow(Adw.PreferencesWindow):
): ):
source = source_class() source = source_class()
if not source.is_available: if not source.is_available:
expander_row = getattr(self, f"{source.id}_expander_row") expander_row = getattr(self, f"{source.source_id}_expander_row")
expander_row.remove() expander_row.set_visible(False)
else: else:
self.init_source_row(source) self.init_source_row(source)
@@ -179,6 +188,7 @@ class PreferencesWindow(Adw.PreferencesWindow):
"lutris-import-flatpak", "lutris-import-flatpak",
"heroic-import-epic", "heroic-import-epic",
"heroic-import-gog", "heroic-import-gog",
"heroic-import-amazon",
"heroic-import-sideload", "heroic-import-sideload",
"flatpak-import-launchers", "flatpak-import-launchers",
"sgdb", "sgdb",
@@ -212,10 +222,9 @@ class PreferencesWindow(Adw.PreferencesWindow):
self.toast.dismiss() self.toast.dismiss()
def remove_all_games(self, *_args): def remove_all_games(self, *_args):
for game in shared.store.games.values(): for game in shared.store:
if not game.removed: if not game.removed:
self.removed_games.add(game) self.removed_games.add(game)
game.removed = True game.removed = True
game.save() game.save()
game.update() game.update()
@@ -247,19 +256,73 @@ class PreferencesWindow(Adw.PreferencesWindow):
"""Set the dir subtitle for a source's action rows""" """Set the dir subtitle for a source's action rows"""
for location in ("data", "config", "cache"): for location in ("data", "config", "cache"):
# Get the action row to subtitle # Get the action row to subtitle
action_row = getattr(self, f"{source.id}_{location}_action_row", None) action_row = getattr(
self, f"{source.source_id}_{location}_action_row", None
)
if not action_row: if not action_row:
continue continue
# Historically "location" meant data or config, so the key stays shared
infix = "-cache" if location == "cache" else "" infix = "-cache" if location == "cache" else ""
key = f"{source.id}{infix}-location" key = f"{source.source_id}{infix}-location"
path = Path(shared.schema.get_string(key)).expanduser() path = Path(shared.schema.get_string(key)).expanduser()
# Remove the path if the dir is picked via the Flatpak portal # Remove the path prefix if picked via Flatpak portal
subtitle = re.sub("/run/user/\\d*/doc/.*/", "", str(path)) subtitle = re.sub("/run/user/\\d*/doc/.*/", "", str(path))
action_row.set_subtitle(subtitle) action_row.set_subtitle(subtitle)
def resolve_locations(self, source: Source):
"""Resolve locations and add a warning if location cannot be found"""
def clear_warning_selection(_widget, label):
label.select_region(-1, -1)
for location_name, location in source.locations._asdict().items():
action_row = getattr(
self, f"{source.source_id}_{location_name}_action_row", None
)
if not action_row:
continue
try:
location.resolve()
except UnresolvableLocationError:
popover = Gtk.Popover(
child=(
label := Gtk.Label(
label=(
'<span rise="12pt"><b><big>'
+ _("Installation Not Found")
+ "</big></b></span>\n"
+ _("Select a valid directory.")
),
use_markup=True,
wrap=True,
max_width_chars=50,
halign=Gtk.Align.CENTER,
valign=Gtk.Align.CENTER,
justify=Gtk.Justification.CENTER,
margin_top=9,
margin_bottom=9,
margin_start=12,
margin_end=12,
selectable=True,
)
)
)
popover.connect("show", clear_warning_selection, label)
menu_button = Gtk.MenuButton(
icon_name="dialog-warning-symbolic",
valign=Gtk.Align.CENTER,
popover=popover,
)
menu_button.add_css_class("warning")
action_row.add_prefix(menu_button)
self.warning_menu_buttons[source.source_id] = menu_button
def init_source_row(self, source: Source): def init_source_row(self, source: Source):
"""Initialize a preference row for a source class""" """Initialize a preference row for a source class"""
@@ -272,29 +335,36 @@ class PreferencesWindow(Adw.PreferencesWindow):
return return
# Good picked location # Good picked location
location = getattr(source, f"{location_name}_location") location = getattr(source.locations, location_name)
if location.check_candidate(path): if location.check_candidate(path):
# Set the schema # Set the schema
infix = "-cache" if location_name == "cache" else "" match location_name:
key = f"{source.id}{infix}-location" case "config" | "data":
infix = ""
case _:
infix = f"-{location_name}"
key = f"{source.source_id}{infix}-location"
value = str(path) value = str(path)
shared.schema.set_string(key, value) shared.schema.set_string(key, value)
# Update the row # Update the row
self.update_source_action_row_paths(source) self.update_source_action_row_paths(source)
if self.warning_menu_buttons.get(source.source_id):
action_row = getattr(
self, f"{source.source_id}_{location_name}_action_row", None
)
action_row.remove(self.warning_menu_buttons[source.source_id])
self.warning_menu_buttons.pop(source.source_id)
logging.debug("User-set value for schema key %s: %s", key, value) logging.debug("User-set value for schema key %s: %s", key, value)
# Bad picked location, inform user # Bad picked location, inform user
else: else:
if location_name == "cache": title = _("Invalid Directory")
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( dialog = create_dialog(
self, self,
_(title), title,
_(subtitle_format).format(source.name), location.invalid_subtitle.format(source.name),
"choose_folder", "choose_folder",
_("Set Location"), _("Set Location"),
) )
@@ -306,19 +376,22 @@ class PreferencesWindow(Adw.PreferencesWindow):
dialog.connect("response", on_response) dialog.connect("response", on_response)
# Bind expander row activation to source being enabled # Bind expander row activation to source being enabled
expander_row = getattr(self, f"{source.id}_expander_row") expander_row = getattr(self, f"{source.source_id}_expander_row")
shared.schema.bind( shared.schema.bind(
source.id, source.source_id,
expander_row, expander_row,
"enable-expansion", "enable-expansion",
Gio.SettingsBindFlags.DEFAULT, Gio.SettingsBindFlags.DEFAULT,
) )
# Connect dir picker buttons # Connect dir picker buttons
for location in ("data", "config", "cache"): for location_name in source.locations._asdict():
button = getattr(self, f"{source.id}_{location}_file_chooser_button", None) button = getattr(
self, f"{source.source_id}_{location_name}_file_chooser_button", None
)
if button is not None: if button is not None:
button.connect("clicked", self.choose_folder, set_dir, location) button.connect("clicked", self.choose_folder, set_dir, location_name)
# Set the source row subtitles # Set the source row subtitles
self.resolve_locations(source)
self.update_source_action_row_paths(source) self.update_source_action_row_paths(source)

View File

@@ -20,7 +20,7 @@
import os import os
from pathlib import Path from pathlib import Path
from gi.repository import Gdk, Gio from gi.repository import Gdk, Gio, GLib
APP_ID = "@APP_ID@" APP_ID = "@APP_ID@"
VERSION = "@VERSION@" VERSION = "@VERSION@"
@@ -31,21 +31,11 @@ SPEC_VERSION = 1.5 # The version of the game_id.json spec
schema = Gio.Settings.new(APP_ID) schema = Gio.Settings.new(APP_ID)
state_schema = Gio.Settings.new(APP_ID + ".State") state_schema = Gio.Settings.new(APP_ID + ".State")
data_dir = ( home = Path.home()
Path(os.getenv("XDG_DATA_HOME")) data_dir = Path(GLib.get_user_data_dir())
if "XDG_DATA_HOME" in os.environ config_dir = Path(GLib.get_user_config_dir())
else Path.home() / ".local" / "share" cache_dir = Path(GLib.get_user_cache_dir())
) flatpak_dir = home / ".var" / "app"
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" games_dir = data_dir / "cartridges" / "games"
covers_dir = data_dir / "cartridges" / "covers" covers_dir = data_dir / "cartridges" / "covers"

View File

@@ -56,7 +56,7 @@ class AsyncManager(Manager):
def _task_thread_func(self, _task, _source_object, data, _cancellable): def _task_thread_func(self, _task, _source_object, data, _cancellable):
"""Task thread entry point""" """Task thread entry point"""
game, additional_data, *_rest = data game, additional_data, *_rest = data
self.execute_resilient_manager_logic(game, additional_data) self.run(game, additional_data)
def _task_callback(self, _source_object, _result, data): def _task_callback(self, _source_object, _result, data):
"""Method run after the task is done""" """Method run after the task is done"""

View File

@@ -0,0 +1,197 @@
# 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 pathlib import Path
from typing import NamedTuple
import requests
from gi.repository import Gio, GdkPixbuf
from requests.exceptions import HTTPError, SSLError
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 ImageSize(NamedTuple):
width: float = 0
height: float = 0
@property
def aspect_ratio(self) -> float:
return self.width / self.height
def __str__(self):
return f"{self.width}x{self.height}"
def __mul__(self, scale: float | int) -> "ImageSize":
return ImageSize(
self.width * scale,
self.height * scale,
)
def __truediv__(self, divisor: float | int) -> "ImageSize":
return self * (1 / divisor)
def __add__(self, other_size: "ImageSize") -> "ImageSize":
return ImageSize(
self.width + other_size.width,
self.height + other_size.height,
)
def __sub__(self, other_size: "ImageSize") -> "ImageSize":
return self + (other_size * -1)
def element_wise_div(self, other_size: "ImageSize") -> "ImageSize":
"""Divide every element of self by the equivalent in the other size"""
return ImageSize(
self.width / other_size.width,
self.height / other_size.height,
)
def element_wise_mul(self, other_size: "ImageSize") -> "ImageSize":
"""Multiply every element of self by the equivalent in the other size"""
return ImageSize(
self.width * other_size.width,
self.height * other_size.height,
)
def invert(self) -> "ImageSize":
"""Invert the element of self"""
return ImageSize(1, 1).element_wise_div(self)
class CoverManager(Manager):
"""
Manager in charge of adding the cover image of the game
Order of priority is:
1. local cover
2. icon cover
3. online cover
"""
run_after = (SteamAPIManager,)
retryable_on = (HTTPError, SSLError, ConnectionError)
def download_image(self, url: str) -> Path:
image_file = Gio.File.new_tmp()[0]
path = Path(image_file.get_path())
with requests.get(url, timeout=5) as cover:
cover.raise_for_status()
path.write_bytes(cover.content)
return path
def is_stretchable(self, source_size: ImageSize, cover_size: ImageSize) -> bool:
is_taller = source_size.aspect_ratio < cover_size.aspect_ratio
if is_taller:
return True
max_stretch = 0.12
resized_height = (1 / source_size.aspect_ratio) * cover_size.width
stretch = 1 - (resized_height / cover_size.height)
return stretch <= max_stretch
def save_composited_cover(
self,
game: Game,
image_path: Path,
scale: float = 1,
blur_size: ImageSize = ImageSize(2, 2),
) -> None:
"""
Save the image composited with a background blur.
If the image is stretchable, just stretch it.
:param game: The game to save the cover for
:param path: Path where the source image is located
:param scale:
Scale of the smalled image side
compared to the corresponding side in the cover
:param blur_size: Size of the downscaled image used for the blur
"""
# Load source image
source = GdkPixbuf.Pixbuf.new_from_file(str(image_path))
source_size = ImageSize(source.get_width(), source.get_height())
cover_size = ImageSize._make(shared.image_size)
# Stretch if possible
if scale == 1 and self.is_stretchable(source_size, cover_size):
save_cover(game.game_id, resize_cover(pixbuf=source))
return
# Create the blurred cover background
# fmt: off
cover = (
source
.scale_simple(*blur_size, GdkPixbuf.InterpType.BILINEAR)
.scale_simple(*cover_size, GdkPixbuf.InterpType.BILINEAR)
)
# fmt: on
# Scale to fit, apply scaling, then center
uniform_scale = scale * min(cover_size.element_wise_div(source_size))
source_in_cover_size = source_size * uniform_scale
source_in_cover_position = (cover_size - source_in_cover_size) / 2
# Center the scaled source image in the cover
source.composite(
cover,
*source_in_cover_position,
*source_in_cover_size,
*source_in_cover_position,
uniform_scale,
uniform_scale,
GdkPixbuf.InterpType.BILINEAR,
255,
)
save_cover(game.game_id, resize_cover(pixbuf=cover))
def main(self, game: Game, additional_data: dict) -> None:
if game.blacklisted:
return
for key in (
"local_image_path",
"local_icon_path",
"online_cover_url",
):
# Get an image path
if not (value := additional_data.get(key)):
continue
if key == "online_cover_url":
image_path = self.download_image(value)
else:
image_path = Path(value)
if not image_path.is_file():
continue
# Icon cover
if key == "local_icon_path":
self.save_composited_cover(
game,
image_path,
scale=0.7,
blur_size=ImageSize(1, 2),
)
return
self.save_composited_cover(game, image_path)

View File

@@ -30,7 +30,7 @@ class DisplayManager(Manager):
run_after = (SteamAPIManager, SGDBManager) run_after = (SteamAPIManager, SGDBManager)
signals = {"update-ready"} signals = {"update-ready"}
def manager_logic(self, game: Game, _additional_data: dict) -> None: def main(self, game: Game, _additional_data: dict) -> None:
if game.get_parent(): if game.get_parent():
game.get_parent().get_parent().remove(game) game.get_parent().get_parent().remove(game)
if game.get_parent(): if game.get_parent():

View File

@@ -31,7 +31,7 @@ class FileManager(AsyncManager):
run_after = (SteamAPIManager,) run_after = (SteamAPIManager,)
signals = {"save-ready"} signals = {"save-ready"}
def manager_logic(self, game: Game, additional_data: dict) -> None: def main(self, game: Game, additional_data: dict) -> None:
if additional_data.get("skip_save"): # Skip saving when loading games from disk if additional_data.get("skip_save"): # Skip saving when loading games from disk
return return

View File

@@ -1,71 +0,0 @@
# 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

@@ -50,7 +50,7 @@ class Manager(ErrorProducer):
return type(self).__name__ return type(self).__name__
@abstractmethod @abstractmethod
def manager_logic(self, game: Game, additional_data: dict) -> None: def main(self, game: Game, additional_data: dict) -> None:
""" """
Manager specific logic triggered by the run method Manager specific logic triggered by the run method
* Implemented by final child classes * Implemented by final child classes
@@ -59,7 +59,7 @@ class Manager(ErrorProducer):
* May raise other exceptions that will be reported * May raise other exceptions that will be reported
""" """
def execute_resilient_manager_logic(self, game: Game, additional_data: dict): def run(self, game: Game, additional_data: dict):
"""Handle errors (retry, ignore or raise) that occur in the manager logic""" """Handle errors (retry, ignore or raise) that occur in the manager logic"""
# Keep track of the number of tries # Keep track of the number of tries
@@ -106,7 +106,7 @@ class Manager(ErrorProducer):
def try_manager_logic(): def try_manager_logic():
try: try:
self.manager_logic(game, additional_data) self.main(game, additional_data)
except Exception as error: # pylint: disable=broad-exception-caught except Exception as error: # pylint: disable=broad-exception-caught
handle_error(error) handle_error(error)
@@ -116,5 +116,5 @@ class Manager(ErrorProducer):
self, game: Game, additional_data: dict, callback: Callable[["Manager"], Any] self, game: Game, additional_data: dict, callback: Callable[["Manager"], Any]
) -> None: ) -> None:
"""Pass the game through the manager""" """Pass the game through the manager"""
self.execute_resilient_manager_logic(game, additional_data) self.run(game, additional_data)
callback(self) callback(self)

View File

@@ -1,126 +0,0 @@
# 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

@@ -24,19 +24,18 @@ from requests.exceptions import HTTPError, SSLError
from src.errors.friendly_error import FriendlyError from src.errors.friendly_error import FriendlyError
from src.game import Game from src.game import Game
from src.store.managers.async_manager import AsyncManager 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.store.managers.steam_api_manager import SteamAPIManager
from src.store.managers.cover_manager import CoverManager
from src.utils.steamgriddb import SGDBAuthError, SGDBHelper from src.utils.steamgriddb import SGDBAuthError, SGDBHelper
class SGDBManager(AsyncManager): class SGDBManager(AsyncManager):
"""Manager in charge of downloading a game's cover from steamgriddb""" """Manager in charge of downloading a game's cover from steamgriddb"""
run_after = (SteamAPIManager, LocalCoverManager, OnlineCoverManager) run_after = (SteamAPIManager, CoverManager)
retryable_on = (HTTPError, SSLError, ConnectionError, JSONDecodeError) retryable_on = (HTTPError, SSLError, ConnectionError, JSONDecodeError)
def manager_logic(self, game: Game, _additional_data: dict) -> None: def main(self, game: Game, _additional_data: dict) -> None:
try: try:
sgdb = SGDBHelper() sgdb = SGDBHelper()
sgdb.conditionaly_update_cover(game) sgdb.conditionaly_update_cover(game)

View File

@@ -18,6 +18,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
from requests.exceptions import HTTPError, SSLError from requests.exceptions import HTTPError, SSLError
from urllib3.exceptions import ConnectionError as Urllib3ConnectionError
from src.game import Game from src.game import Game
from src.store.managers.async_manager import AsyncManager from src.store.managers.async_manager import AsyncManager
@@ -32,7 +33,7 @@ from src.utils.steam import (
class SteamAPIManager(AsyncManager): class SteamAPIManager(AsyncManager):
"""Manager in charge of completing a game's data from the Steam API""" """Manager in charge of completing a game's data from the Steam API"""
retryable_on = (HTTPError, SSLError) retryable_on = (HTTPError, SSLError, Urllib3ConnectionError)
steam_api_helper: SteamAPIHelper = None steam_api_helper: SteamAPIHelper = None
steam_rate_limiter: SteamRateLimiter = None steam_rate_limiter: SteamRateLimiter = None
@@ -42,7 +43,7 @@ class SteamAPIManager(AsyncManager):
self.steam_rate_limiter = SteamRateLimiter() self.steam_rate_limiter = SteamRateLimiter()
self.steam_api_helper = SteamAPIHelper(self.steam_rate_limiter) self.steam_api_helper = SteamAPIHelper(self.steam_rate_limiter)
def manager_logic(self, game: Game, additional_data: dict) -> None: def main(self, game: Game, additional_data: dict) -> None:
# Skip non-steam games # Skip non-steam games
appid = additional_data.get("steam_appid", None) appid = additional_data.get("steam_appid", None)
if appid is None: if appid is None:

View File

@@ -18,6 +18,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import logging import logging
from typing import MutableMapping, Generator, Any
from src import shared from src import shared
from src.game import Game from src.game import Game
@@ -31,24 +32,59 @@ class Store:
managers: dict[type[Manager], Manager] managers: dict[type[Manager], Manager]
pipeline_managers: set[Manager] pipeline_managers: set[Manager]
pipelines: dict[str, Pipeline] pipelines: dict[str, Pipeline]
games: dict[str, Game] source_games: MutableMapping[str, MutableMapping[str, Game]]
def __init__(self) -> None: def __init__(self) -> None:
self.managers = {} self.managers = {}
self.pipeline_managers = set() self.pipeline_managers = set()
self.pipelines = {} self.pipelines = {}
self.games = {} self.source_games = {}
def __contains__(self, obj: object) -> bool:
"""Check if the game is present in the store with the `in` keyword"""
if not isinstance(obj, Game):
return False
if not (source_mapping := self.source_games.get(obj.source)):
return False
return obj.game_id in source_mapping
def __iter__(self) -> Generator[Game, None, None]:
"""Iterate through the games in the store with `for ... in`"""
for _source_id, games_mapping in self.source_games.items():
for _game_id, game in games_mapping.items():
yield game
def __len__(self) -> int:
"""Get the number of games in the store with the `len` builtin"""
return sum(len(source_mapping) for source_mapping in self.source_games)
def __getitem__(self, game_id: str) -> Game:
"""Get a game by its id with `store["game_id_goes_here"]`"""
for game in iter(self):
if game.game_id == game_id:
return game
raise KeyError("Game not found in store")
def get(self, game_id: str, default: Any = None) -> Game | Any:
"""Get a game by its ID, with a fallback if not found"""
try:
game = self[game_id]
return game
except KeyError:
return default
def add_manager(self, manager: Manager, in_pipeline=True): def add_manager(self, manager: Manager, in_pipeline=True):
"""Add a manager to the store""" """Add a manager to the store"""
manager_type = type(manager) manager_type = type(manager)
self.managers[manager_type] = manager self.managers[manager_type] = manager
if in_pipeline: self.toggle_manager_in_pipelines(manager_type, in_pipeline)
self.enable_manager_in_pipelines(manager_type)
def enable_manager_in_pipelines(self, manager_type: type[Manager]): def toggle_manager_in_pipelines(self, manager_type: type[Manager], enable: bool):
"""Make a manager run in new pipelines""" """Change if a manager should run in new pipelines"""
self.pipeline_managers.add(self.managers[manager_type]) if enable:
self.pipeline_managers.add(self.managers[manager_type])
else:
self.pipeline_managers.discard(self.managers[manager_type])
def cleanup_game(self, game: Game) -> None: def cleanup_game(self, game: Game) -> None:
"""Remove a game's files""" """Remove a game's files"""
@@ -74,7 +110,7 @@ class Store:
return None return None
# Handle game duplicates # Handle game duplicates
stored_game = self.games.get(game.game_id) stored_game = self.get(game.game_id)
if not stored_game: if not stored_game:
# New game, do as normal # New game, do as normal
logging.debug("New store game %s (%s)", game.name, game.game_id) logging.debug("New store game %s (%s)", game.name, game.game_id)
@@ -94,13 +130,17 @@ class Store:
# Connect signals # Connect signals
for manager in self.managers.values(): for manager in self.managers.values():
for signal in manager.signals: for signal in manager.signals:
game.connect(signal, manager.execute_resilient_manager_logic) game.connect(signal, manager.run)
# Add the game to the store
if not game.source in self.source_games:
self.source_games[game.source] = {}
self.source_games[game.source][game.game_id] = game
# Run the pipeline for the game # Run the pipeline for the game
if not run_pipeline: if not run_pipeline:
return None return None
pipeline = Pipeline(game, additional_data, self.pipeline_managers) pipeline = Pipeline(game, additional_data, self.pipeline_managers)
self.games[game.game_id] = game
self.pipelines[game.game_id] = pipeline self.pipelines[game.game_id] = pipeline
pipeline.advance() pipeline.advance()
return pipeline return pipeline

View File

@@ -0,0 +1,146 @@
"""Reads the Dolphin game database, stored in a binary format"""
# Copyright 2022-2023 strycore - Lutris
# Copyright 2023 Rilic
import logging
from pathlib import Path
SUPPORTED_CACHE_VERSION = 24
def get_hex_string(string):
"""Return the hexadecimal representation of a string"""
return " ".join("{:02x}".format(c) for c in string)
def get_word_len(string):
"""Return the length of a string as specified in the Dolphin format"""
return int("0x" + "".join("{:02x}".format(c) for c in string[::-1]), 0)
# https://github.com/dolphin-emu/dolphin/blob/90a994f93780ef8a7cccfc02e00576692e0f2839/Source/Core/UICommon/GameFile.h#L140
# https://github.com/dolphin-emu/dolphin/blob/90a994f93780ef8a7cccfc02e00576692e0f2839/Source/Core/UICommon/GameFile.cpp#L318
class DolphinCacheReader:
header_size = 20
structure = {
"valid": "b",
"file_path": "s",
"file_name": "s",
"file_size": 8,
"volume_size": 8,
"volume_size_type": 4,
"is_datel_disc": 1,
"is_nkit": 1,
"short_names": "a",
"long_names": "a",
"short_makers": "a",
"long_makers": "a",
"descriptions": "a",
"internal_name": "s",
"game_id": "s",
"gametdb_id": "s",
"title_id": 8,
"maker_id": "s",
"region": 4,
"country": 4,
"platform": 1,
"platform_": 3,
"blob_type": 4,
"block_size": 8,
"compression_method": "s",
"revision": 2,
"disc_number": 1,
"apploader_date": "s",
"custom_name": "s",
"custom_description": "s",
"custom_maker": "s",
"volume_banner": "i",
"custom_banner": "i",
"default_cover": "c",
"custom_cover": "c",
}
def __init__(self, cache_file: Path):
self.offset = 0
with open(cache_file, "rb") as dolphin_cache_file:
self.cache_content = dolphin_cache_file.read()
cache_version = get_word_len(self.cache_content[:4])
if cache_version != SUPPORTED_CACHE_VERSION:
logging.warning(
"Dolphin cache version expected %s but found %s",
SUPPORTED_CACHE_VERSION,
cache_version,
)
def get_game(self):
game = {}
for key, i in self.structure.items():
if i == "s":
game[key] = self.get_string()
elif i == "b":
game[key] = self.get_boolean()
elif i == "a":
game[key] = self.get_array()
elif i == "i":
game[key] = self.get_image()
elif i == "c":
game[key] = self.get_cover()
else:
game[key] = self.get_raw(i)
return game
def get_games(self):
self.offset += self.header_size
games = []
while self.offset < len(self.cache_content):
try:
games.append(self.get_game())
except Exception as ex:
logging.error("Failed to read Dolphin database: %s", ex)
return games
def get_boolean(self):
res = bool(get_word_len(self.cache_content[self.offset : self.offset + 1]))
self.offset += 1
return res
def get_array(self):
array_len = get_word_len(self.cache_content[self.offset : self.offset + 4])
self.offset += 4
array = {}
for _i in range(array_len):
array_key = self.get_raw(4)
array[array_key] = self.get_string()
return array
def get_image(self):
data_len = get_word_len(self.cache_content[self.offset : self.offset + 4])
self.offset += 4
res = self.cache_content[
self.offset : self.offset + data_len * 4
] # vector<u32>
self.offset += data_len * 4
width = get_word_len(self.cache_content[self.offset : self.offset + 4])
self.offset += 4
height = get_word_len(self.cache_content[self.offset : self.offset + 4])
self.offset += 4
return (width, height), res
def get_cover(self):
array_len = get_word_len(self.cache_content[self.offset : self.offset + 4])
self.offset += 4
return self.get_raw(array_len)
def get_raw(self, word_len):
res = get_hex_string(self.cache_content[self.offset : self.offset + word_len])
self.offset += word_len
return res
def get_string(self):
word_len = get_word_len(self.cache_content[self.offset : self.offset + 4])
self.offset += 4
string = self.cache_content[self.offset : self.offset + word_len]
self.offset += word_len
return string.decode("utf8")

View File

@@ -0,0 +1,128 @@
# migrate_files_v1_to_v2.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 pathlib import Path
from src import shared
old_data_dir = Path.home() / ".local" / "share"
old_cartridges_data_dir = old_data_dir / "cartridges"
migrated_file_path = old_cartridges_data_dir / ".migrated"
old_games_dir = old_cartridges_data_dir / "games"
old_covers_dir = old_cartridges_data_dir / "covers"
def migrate_game_covers(game_path: Path):
"""Migrate a game covers from a source game path to the current dir"""
for suffix in (".tiff", ".gif"):
cover_path = old_covers_dir / game_path.with_suffix(suffix).name
if not cover_path.is_file():
continue
destination_cover_path = shared.covers_dir / cover_path.name
logging.info("Moving %s -> %s", str(cover_path), str(destination_cover_path))
cover_path.rename(destination_cover_path)
def migrate_files_v1_to_v2():
"""
Migrate user data from the v1.X locations to the latest location.
Fix for commit 4a204442b5d8ba2e918f8c2605d72e483bf35efd
where the windows directories for data, config and cache changed.
"""
# Skip if there is no old dir
# Skip if old == current
# Skip if already migrated
if (
not old_data_dir.is_dir()
or str(old_data_dir) == str(shared.data_dir)
or migrated_file_path.is_file()
):
return
logging.info("Migrating data dir %s", str(old_data_dir))
# Create new directories
shared.games_dir.mkdir(parents=True, exist_ok=True)
shared.covers_dir.mkdir(parents=True, exist_ok=True)
old_game_paths = set(old_games_dir.glob("*.json"))
old_imported_game_paths = set(
filter(lambda path: path.name.startswith("imported_"), old_game_paths)
)
old_other_game_paths = old_game_paths - old_imported_game_paths
# Discover current imported games
imported_game_number = 0
imported_execs = set()
for game_path in shared.games_dir.glob("imported_*.json"):
try:
game_data = json.load(game_path.open("r"))
except (OSError, json.JSONDecodeError):
continue
number = int(game_data["game_id"].replace("imported_", ""))
imported_game_number = max(number, imported_game_number)
imported_execs.add(game_data["executable"])
# Migrate imported game files
for game_path in old_imported_game_paths:
try:
game_data = json.load(game_path.open("r"))
except (OSError, json.JSONDecodeError):
continue
# Don't migrate if there's a game with the same exec
if game_data["executable"] in imported_execs:
continue
# Migrate with updated index
imported_game_number += 1
game_id = f"imported_{imported_game_number}"
game_data["game_id"] = game_id
destination_game_path = shared.games_dir / f"{game_id}.json"
logging.info(
"Moving (updated id) %s -> %s", str(game_path), str(destination_game_path)
)
json.dump(
game_data,
destination_game_path.open("w"),
indent=4,
sort_keys=True,
)
game_path.unlink()
migrate_game_covers(game_path)
# Migrate all other games
for game_path in old_other_game_paths:
# Do nothing if already in games dir
destination_game_path = shared.games_dir / game_path.name
if destination_game_path.exists():
continue
# Else, migrate the game
logging.info("Moving %s -> %s", str(game_path), str(destination_game_path))
game_path.rename(destination_game_path)
migrate_game_covers(game_path)
# Signal that this dir is migrated
migrated_file_path.touch()
logging.info("Migration done")

View File

@@ -57,7 +57,7 @@ class SteamManifestData(TypedDict):
class SteamAPIData(TypedDict): class SteamAPIData(TypedDict):
"""Dict returned by SteamAPIHelper.get_api_data""" """Dict returned by SteamAPIHelper.get_api_data"""
developers: str developer: str
class SteamRateLimiter(RateLimiter): class SteamRateLimiter(RateLimiter):
@@ -142,11 +142,10 @@ class SteamAPIHelper:
raise SteamGameNotFoundError() raise SteamGameNotFoundError()
# Handle appid is not a game # Handle appid is not a game
game_types = ("game", "demo") if data["data"]["type"] not in {"game", "demo", "mod"}:
if data["data"]["type"] not in game_types:
logging.debug("Appid %s is not a game", appid) logging.debug("Appid %s is not a game", appid)
raise SteamNotAGameError() raise SteamNotAGameError()
# Return API values we're interested in # Return API values we're interested in
values = SteamAPIData(developers=", ".join(data["data"]["developers"])) values = SteamAPIData(developer=", ".join(data["data"]["developers"]))
return values return values

View File

@@ -103,11 +103,11 @@ class SGDBHelper:
image_trunk = shared.covers_dir / game.game_id image_trunk = shared.covers_dir / game.game_id
still = image_trunk.with_suffix(".tiff") still = image_trunk.with_suffix(".tiff")
uri_kwargs = image_trunk.with_suffix(".gif") animated = image_trunk.with_suffix(".gif")
prefer_sgdb = shared.schema.get_boolean("sgdb-prefer") prefer_sgdb = shared.schema.get_boolean("sgdb-prefer")
# Do nothing if file present and not prefer SGDB # Do nothing if file present and not prefer SGDB
if not prefer_sgdb and (still.is_file() or uri_kwargs.is_file()): if not prefer_sgdb and (still.is_file() or animated.is_file()):
return return
# Get ID for the game # Get ID for the game

View File

@@ -117,7 +117,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
def set_library_child(self): def set_library_child(self):
child, hidden_child = self.notice_empty, self.hidden_notice_empty child, hidden_child = self.notice_empty, self.hidden_notice_empty
for game in shared.store.games.values(): for game in shared.store:
if game.removed or game.blacklisted: if game.removed or game.blacklisted:
continue continue
if game.hidden: if game.hidden:

View File

@@ -15,10 +15,10 @@ AppSupportURL=https://github.com/kra-mo/cartridges/issues
AppUpdatesURL={#MyAppURL} AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf64}\{#MyAppName} DefaultDirName={autopf64}\{#MyAppName}
DisableProgramGroupPage=yes DisableProgramGroupPage=yes
LicenseFile=..\LICENSE LicenseFile=..\..\LICENSE
PrivilegesRequiredOverridesAllowed=dialog PrivilegesRequiredOverridesAllowed=dialog
OutputBaseFilename=Cartridges Setup OutputBaseFilename=Cartridges Setup
SetupIconFile=..\windows\icon.ico SetupIconFile=..\..\windows\icon.ico
Compression=lzma Compression=lzma
SolidCompression=yes SolidCompression=yes
WizardStyle=modern WizardStyle=modern
@@ -50,7 +50,7 @@ Source: "D:\a\_temp\msys64\ucrt64\share\glib-2.0\*"; DestDir: "{app}\share\glib-
Source: "D:\a\_temp\msys64\ucrt64\share\gtk-4.0\*"; DestDir: "{app}\share\gtk-4.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\gtk-4.0\*"; DestDir: "{app}\share\gtk-4.0"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\locale\*"; DestDir: "{app}\share\locale"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\locale\*"; DestDir: "{app}\share\locale"; Flags: recursesubdirs ignoreversion
Source: "..\windows\icon.ico"; DestDir: "{app}"; Flags: recursesubdirs ignoreversion Source: "..\..\windows\icon.ico"; DestDir: "{app}"; Flags: recursesubdirs ignoreversion
[Icons] [Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; IconFilename: "{app}\icon.ico" Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\bin\{#MyAppExeName}"; Parameters: """{app}\bin\cartridges"""; IconFilename: "{app}\icon.ico"

7
windows/meson.build Normal file
View File

@@ -0,0 +1,7 @@
configure_file(
input: './Cartridges.iss.in',
output: 'Cartridges.iss',
configuration: conf,
install: true,
install_dir: '.'
)