Compare commits

..

224 Commits
v2.3 ... v2.9.1

Author SHA1 Message Date
kramo
bdcded93f3 v2.9.1 2024-07-11 01:22:08 +02:00
kramo
b3a65c3d23 Move ApplicationDelegate to separate module 2024-07-11 01:18:26 +02:00
kramo
06730248a9 Build without WebP TIFF compression in macOS CI 2024-07-10 22:34:42 +02:00
kramo
b46faa951f Improve macOS menu bar 2024-07-10 22:17:59 +02:00
kramo
43a04e7d44 Quote game names in search URLs 2024-07-10 22:00:40 +02:00
kramo
d74c8aba1a Use menu bar on macOS 2024-07-10 21:56:02 +02:00
kramo
eac6d63010 v2.9 2024-07-10 16:22:10 +02:00
kramo
beda52b575 Add macOS documentation 2024-07-10 16:10:06 +02:00
Weblate (bot)
13cefac34d Translated using Weblate (Czech) (#271)
Currently translated at 100.0% (140 of 140 strings)


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

Co-authored-by: foo expert <deferred_water346@simplelogin.com>
2024-07-10 16:03:21 +02:00
kramo
d79686b9a1 Fix Windows CI 2024-07-10 15:31:52 +02:00
kramo
eff60d5990 Add macOS CI 2024-07-10 15:26:17 +02:00
kramo
823641d909 Make Heroic and itch sources available on macOS 2024-07-10 15:12:47 +02:00
kramo
6c2ab8099b macOS Improvements 2024-07-10 14:02:37 +02:00
Brage Fuglseth
d8137871c5 readme: Update Flathub badge (#277)
See https://fosstodon.org/@bragefuglseth/112753049810610017. This primarily serves as a way to let me sleep at night again.
2024-07-09 15:27:30 +02:00
kramo
f396a4679c Fix weird spacing in header bar 2024-07-08 16:19:00 +02:00
kramo
c1226197f8 Don't horizontally scroll sidebar 2024-07-08 15:49:31 +02:00
kramo
8504689426 Simplify Meson 2024-07-08 15:37:18 +02:00
dependabot[bot]
aafc64023c Bump softprops/action-gh-release from 2.0.5 to 2.0.6 (#273)
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.0.5...v2.0.6)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 20:06:05 +02:00
dependabot[bot]
eab96edfc7 Bump dawidd6/action-download-artifact from 3.1.4 to 6 (#274)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 3.1.4 to 6.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v3.1.4...v6)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 20:05:54 +02:00
kramo
72f15ba7fd Add .DS_Store to .gitignore 2024-07-01 11:32:19 +02:00
kramo
63a797ce33 Add Steam darwin library location 2024-06-29 09:37:55 +02:00
kramo
8640e37252 Add Steam darwin logic 2024-06-29 03:14:07 +02:00
kramo
57db530af5 Better cross-platform logic in catrridges.in 2024-06-29 03:01:28 +02:00
kramo
bfff596c39 v2.8.5 2024-05-25 13:07:30 +02:00
Weblate (bot)
d09d27517e Translations update from Hosted Weblate (#253)
* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (140 of 140 strings)

Co-authored-by: Filipe Motta <luiz_filipe_motta@hotmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt_BR/
Translation: Cartridges/Cartridges

* Translated using Weblate (Hindi)

Currently translated at 100.0% (140 of 140 strings)

Translated using Weblate (Hindi)

Currently translated at 100.0% (140 of 140 strings)

Translated using Weblate (Hindi)

Currently translated at 100.0% (140 of 140 strings)

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

* Translated using Weblate (Polish)

Currently translated at 82.1% (115 of 140 strings)

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

---------

Co-authored-by: Filipe Motta <luiz_filipe_motta@hotmail.com>
Co-authored-by: Scrambled777 <weblate.scrambled777@simplelogin.com>
Co-authored-by: Karol <k.derbotprogramista@gmail.com>
2024-05-25 13:02:31 +02:00
kramo
33c83b65d9 Revert "Don't blacklist games on failed API calls"
This reverts commit 124d2c8ec7.

Probably did more harm than good. You can't win though.
2024-05-25 12:59:01 +02:00
kramo
942be92a9e Change incorrect version number
Fixes #266
2024-05-25 12:51:09 +02:00
K.B.Dharun Krishna
ed31a2f61e chore: bump actions, image to G46, add dependabot config
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-05-09 19:30:08 +02:00
kramo
e8db732868 Fix #252 2024-04-17 14:42:54 +02:00
kramo
7d937c7027 v2.8.4 2024-04-16 20:43:41 +02:00
Weblate (bot)
2eef3344a2 Translations update from Hosted Weblate (#250)
* Keep desktop-file-utils

* Update translation files

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

---------

Co-authored-by: kramo <contact@kramo.page>
Co-authored-by: kramo <93832451+kra-mo@users.noreply.github.com>
2024-04-16 20:41:15 +02:00
kramo
f3bd8b898b 🫠 2024-04-16 20:32:39 +02:00
kramo
ee9422feae Keep desktop-file-utils 2024-04-16 20:26:21 +02:00
kramo
8244b16c17 Fix Windows builds 2024-04-16 20:16:48 +02:00
kramo
4a530ce92e Remove translations from Windows builds 2024-04-16 19:36:52 +02:00
kramo
40d6b45291 See if Windows CI is fixed 2024-04-16 19:24:35 +02:00
kramo
ac57f1d0b6 Update hidden games detection for Lutris
Fixes  #251
2024-04-16 19:21:26 +02:00
kramo
05c6851d40 Stupid hack because stupid libadwaita is stupid 2024-04-16 17:47:23 +02:00
kramo
9f2228e7c8 Update translations, fix strings
Praying to god this isn't broken
2024-04-14 13:09:45 +02:00
Weblate (bot)
5671597089 Translated using Weblate (Polish) (#249)
Currently translated at 77.8% (109 of 140 strings)


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

Co-authored-by: polswert1 <polswert1@users.noreply.hosted.weblate.org>
2024-04-14 12:44:45 +02:00
kramo
eee4e3e2f2 Style import preferences rows better 2024-04-14 12:38:29 +02:00
kramo
6b1fe1bd8d Fix typo 2024-04-07 21:22:21 +02:00
kramo
4198810cca v2.8.3 2024-04-07 21:14:41 +02:00
Weblate (bot)
451819a005 Translated using Weblate (Polish) (#246)
Currently translated at 77.1% (108 of 140 strings)


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

Co-authored-by: Igor Popowicz <igorpopowicz12@gmail.com>
2024-04-07 21:09:47 +02:00
kramo
a0fe463f03 Change app ID to page.kramo.Cartridges (#247)
* Change app id to page.kramo.Cartridges

* Update metainfo formatting, add replaces tag
2024-04-07 21:04:44 +02:00
kramo
d9384308fe Make it so only one preferences dialog can be open 2024-04-05 11:57:22 +02:00
kramo
f4b44477e9 Update blueprint-compiler, format .blp files 2024-03-30 13:43:54 +01:00
kramo
fc3dac6586 v2.8.2 2024-03-29 14:35:14 +01:00
Weblate (bot)
ffd293a92d Translations update from Hosted Weblate (#241)
* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (141 of 141 strings)

Added translation using Weblate (English (United Kingdom))

Co-authored-by: Bruce Cowan <bruce@bcowan.me.uk>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: kramo <contact@kramo.page>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/en_GB/
Translation: Cartridges/Cartridges

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: Balázs Meskó <meskobalazs@mailbox.org>
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/hu/
Translation: Cartridges/Cartridges

* Update translation files

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

Update translation files

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

Translated using Weblate (Hindi)

Currently translated at 100.0% (141 of 141 strings)

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

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

---------

Co-authored-by: Bruce Cowan <bruce@bcowan.me.uk>
Co-authored-by: kramo <contact@kramo.page>
Co-authored-by: Balázs Meskó <meskobalazs@mailbox.org>
Co-authored-by: Scrambled777 <weblate.scrambled777@simplelogin.com>
2024-03-29 14:30:52 +01:00
kramo
34ae366772 Update translations 2024-03-29 14:28:07 +01:00
kramo
3e5b914ed6 Remove deprecated developer_name metainfo property 2024-03-29 14:26:08 +01:00
kramo
c847560e0c Update translations 2024-03-29 14:21:31 +01:00
kramo
1623a35e63 Merge pull request #244 from yakushabb/fix-tr
appdata: `translate=no` properties
2024-03-29 14:18:18 +01:00
kramo
92c81293b4 Merge pull request #245 from yakushabb/fix-potfiles
potfiles: Add renamed files
2024-03-29 14:14:56 +01:00
Sabri Ünal
ce7cb797bb potfiles: Add renamed files
### Rename

details-window.blp > details-dialog.blp
details_window.py > details_dialog.py
2024-03-28 16:51:59 +03:00
Sabri Ünal
fe7fe0fefa appdata: translate=no properties
It appears that the appstream project no longer supports
`translatable=no` properties, and gettext extract the
`translatable=no` marked strings as translatable.

I opened an issue to inform about the situation, but `translatable=no`
properties are not accepted by developers. You can find the issue
here: https://github.com/ximion/appstream/issues/623

Please test your script or string extraction process
before merging this PR.

> In MetaInfo files, each individual paragraph of a description
> (or enumerated entry) is translated individually, however,
> you can only exclude the complete block from being translated
> by adding `translate="no"` to the description element.

Source: https://freedesktop.org/software/appstream/docs/sect-Quickstart-Translation.html
2024-03-28 16:47:43 +03:00
kramo
10c6f5704c Update preferences screenshot 2024-03-27 20:15:04 +01:00
kramo
f2e5e5b03f Improve notifications for GNOME 46 2024-03-24 16:19:24 +01:00
kramo
afd1972a76 v2.8.1 2024-03-23 20:53:26 +01:00
kramo
8a7875b843 Update copyrights 2024-03-23 20:45:23 +01:00
kramo
aec8a4efa7 Fix #238 2024-03-23 20:28:36 +01:00
kramo
2b93a1feeb Fix #239 2024-03-23 20:10:37 +01:00
kramo
5306b7c81c Update copyright dates 2024-03-20 15:15:36 +01:00
kramo
c5675efa48 v2.8 2024-03-20 15:05:49 +01:00
kramo
83399c7882 Remove incorrect shortcut from hidden search entry 2024-03-20 15:05:07 +01:00
kramo
04900c7acf Temporarily disable Windows CI 2024-03-20 14:58:32 +01:00
kramo
3ae6b40773 Merge pull request #228 from kra-mo/libadwaita-1.5
Port to Libadwaita 1.5 widgets
2024-03-20 14:48:09 +01:00
kramo
4a5ebb3221 Merge branch 'main' into libadwaita-1.5 2024-03-20 14:47:29 +01:00
kramo
778caead01 Revert "Futile effort to try and fix CI"
This reverts commit 2b7f520f2a.
2024-03-16 11:16:42 +01:00
kramo
2b7f520f2a Futile effort to try and fix CI 2024-03-16 11:11:07 +01:00
kramo
c80f5271da Update CI to Flathub 46 runtime 2024-03-16 11:06:59 +01:00
kramo
f7cf7c4a3b Merge pull request #236 from yakushabb/yakushabb-patch-1
Update developer ID
2024-03-16 11:04:02 +01:00
Sabri Ünal
c4aa903752 Update developer ID
Appstream decided to use reverse DNS for developer IDds.

More information: ximion/appstream#575
2024-03-11 17:22:29 +03:00
Weblate (bot)
4559516b5a Translations update from Hosted Weblate (#235)
* Translated using Weblate (German)

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Konstantin Tutsch <mail@konstantintutsch.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/de/
Translation: Cartridges/Cartridges

* Translated using Weblate (Italian)

Currently translated at 99.2% (140 of 141 strings)

Co-authored-by: Andrea Costola <lamaildiandreac@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/it/
Translation: Cartridges/Cartridges

* Translated using Weblate (Spanish)

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

* Translated using Weblate (Korean)

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: Seong-ho Cho <darkcircle.0426@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ko/
Translation: Cartridges/Cartridges

---------

Co-authored-by: Konstantin Tutsch <mail@konstantintutsch.com>
Co-authored-by: Andrea Costola <lamaildiandreac@gmail.com>
Co-authored-by: Óscar Fernández Díaz <oscfdezdz@users.noreply.hosted.weblate.org>
Co-authored-by: Seong-ho Cho <darkcircle.0426@gmail.com>
2024-03-06 12:33:32 +01:00
kramo
d4dbf9e589 v2.7.4 2024-03-06 12:32:13 +01:00
kramo
1f7c9a8b0b Add branding colors to metainfo 2024-02-27 22:29:41 +01:00
kramo
725267c7b9 Update GNOME CoC URL 2024-02-25 11:18:46 +01:00
kramo
78d6416285 I hate automation I hate the cloud I hate CI I h-- 2024-02-17 15:12:26 +01:00
kramo
c86f14c4f5 Revert addation of appstream package 2024-02-17 15:03:53 +01:00
kramo
97e8f93744 Properly specify MSYS2 package type 2024-02-17 14:47:39 +01:00
kramo
6d47629bd0 Add mingw-w64-appstream as a dependency for Window builds 2024-02-17 14:46:48 +01:00
kramo
ccd97c73ea v2.7.3 2024-02-17 14:31:13 +01:00
Weblate (bot)
8ec776a04c Translations update from Hosted Weblate (#231)
* Translated using Weblate (German)

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: Konstantin Tutsch <mail@konstantintutsch.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/de/
Translation: Cartridges/Cartridges

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (141 of 141 strings)

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

* Translated using Weblate (Hindi)

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (Hindi)

Currently translated at 100.0% (141 of 141 strings)

Added translation using Weblate (Hindi)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Nitin Khalia <weblate.scrambled777@simplelogin.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hi/
Translation: Cartridges/Cartridges

* Translated using Weblate (Dutch)

Currently translated at 100.0% (141 of 141 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: Float <float.hu+@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/zh_Hans/
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: Konstantin Tutsch <mail@konstantintutsch.com>
Co-authored-by: kramo <contact@kramo.hu>
Co-authored-by: Nitin Khalia <weblate.scrambled777@simplelogin.com>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: Float <float.hu+@gmail.com>
2024-02-17 14:28:24 +01:00
kramo
8efce829ca Update Lutris cover art location - Fixes #233 2024-02-17 14:26:01 +01:00
kramo
6155ace0ec Add default argument to UnresolvableLocationError 2024-02-17 14:07:15 +01:00
kramo
35d85a607f Port to adaptive dialogs 2024-02-17 09:58:03 +01:00
Weblate (bot)
7ed7814e51 Translations update from Hosted Weblate (#224)
* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (141 of 141 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: Filipe Motta <luiz_filipe_motta@hotmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt_BR/
Translation: Cartridges/Cartridges

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges

* Translated using Weblate (Japanese)

Currently translated at 5.6% (8 of 141 strings)

Added translation using Weblate (Japanese)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Scott Anecito <scott.anecito@linux.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ja/
Translation: Cartridges/Cartridges

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (141 of 141 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 97.8% (138 of 141 strings)

Co-authored-by: Scott Anecito <scott.anecito@linux.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
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: Filipe Motta <luiz_filipe_motta@hotmail.com>
Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Co-authored-by: Scott Anecito <scott.anecito@linux.com>
Co-authored-by: ssantos <ssantos@web.de>
2024-02-02 18:31:54 +01:00
kramo
b086766b77 kramo.hu → kramo.page (#230) 2024-01-28 20:07:56 +01:00
kramo
389b904455 kramo.hu → kramo.page 2024-01-28 20:06:24 +01:00
kramo
303f2a2063 Fix CI, escape not working 2024-01-27 09:34:30 +01:00
kramo
3e1ef88a1f Port to libadwaita 1.5 widgets 2024-01-27 08:52:50 +01:00
kramo
124d2c8ec7 Don't blacklist games on failed API calls
Fixes #227
2024-01-26 18:00:27 +01:00
kramo
f741b9f100 Fix arguments passed via idle_add 2024-01-24 15:46:20 +01:00
kramo
7c9d9a317b Potentially fix crash during import 2024-01-22 11:50:22 +01:00
kramo
b707f90a3f Update actions dependency versions 2024-01-02 16:57:09 +01:00
kramo
06e4dadf3c Set last_played as the default sort mode 2023-12-31 16:40:07 +01:00
Sabri Ünal
80c8566535 appdata: Improve appdata for AppStream 1.0 (#222)
* appdata: Improve appdata for AppStream 1.0

- Add the `<developer><name>` tag
- Mark the `<developer_name>` tag as deprecated
- Improve appstreamcli parameters
- Activate meson tests on Flatpak manifest

* Change developer ID to kramo.hu

---------

Co-authored-by: kramo <93832451+kra-mo@users.noreply.github.com>
2023-12-31 16:29:15 +01:00
kramo
3f5d3eb3b1 v2.7.2 2023-12-31 11:18:33 +01:00
Weblate (bot)
64ae27a8a4 Translations update from Hosted Weblate (#219)
* Translated using Weblate (Croatian)

Currently translated at 100.0% (141 of 141 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/hr/
Translation: Cartridges/Cartridges

* Translated using Weblate (Italian)

Currently translated at 98.5% (139 of 141 strings)

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/it/
Translation: Cartridges/Cartridges

---------

Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
2023-12-31 11:17:17 +01:00
kramo
0482167237 Mark Flatpak system data dir as optional 2023-12-31 11:16:52 +01:00
Weblate (bot)
2c9c9febfc Translations update from Hosted Weblate (#216)
* Translated using Weblate (Turkish)

Currently translated at 100.0% (141 of 141 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: Sabri Ünal <libreajans@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/tr/
Translation: Cartridges/Cartridges

* Translated using Weblate (Tamil)

Currently translated at 100.0% (141 of 141 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: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ta/
Translation: Cartridges/Cartridges

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (141 of 141 strings)

Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Translated using Weblate (Belarusian)

Currently translated at 100.0% (141 of 141 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: Yahor <k1llo2810@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/be/
Translation: Cartridges/Cartridges

* Update translation files

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

Update translation files

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

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

* Translated using Weblate (Catalan)

Currently translated at 100.0% (141 of 141 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 (Catalan)

Currently translated at 100.0% (139 of 139 strings)

Added translation using Weblate (Catalan)

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (141 of 141 strings)

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (141 of 141 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: Ali-98 <ahj696@hotmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ar/
Translation: Cartridges/Cartridges

* Update translation files

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

Update translation files

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

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

* Translated using Weblate (Spanish)

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

* Translated using Weblate (French)

Currently translated at 100.0% (141 of 141 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: 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 (Swedish)

Currently translated at 100.0% (141 of 141 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: bittin1ddc447d824349b2 <bittin@reimu.nl>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/sv/
Translation: Cartridges/Cartridges

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

Updated by "Squash Git commits" hook in Weblate.

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

---------

Co-authored-by: Sabri Ünal <libreajans@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Co-authored-by: Yahor <k1llo2810@protonmail.com>
Co-authored-by: jolupa <jolupameister@gmail.com>
Co-authored-by: kramo <contact@kramo.hu>
Co-authored-by: Ali-98 <ahj696@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
2023-12-20 20:13:19 +01:00
kramo
8825c09ae8 v2.7.1 2023-12-20 20:12:07 +01:00
kramo
ec69361826 Add optional property for locations 2023-12-20 17:33:49 +01:00
kramo
f8bc23991a Fix me being stupid on my phone 2023-12-20 15:31:43 +01:00
kramo
29da7feba9 Fix syntax error in Flatpak importer 2023-12-20 14:22:38 +01:00
kramo
93049f3908 (Potentially) fix Flatpak source 2023-12-20 09:40:10 +01:00
kramo
5ab3085083 Use HOST_ prefixed env vars for host XDG base dirs 2023-12-17 11:46:54 +01:00
kramo
7d0b9854d3 Use the correct type for GErrors 2023-12-17 00:25:01 +01:00
kramo
bcc3c57117 v2.7 2023-12-12 10:44:19 +01:00
kramo
08a90365a8 Clarify new strings for translators 2023-12-12 10:33:14 +01:00
kramo
a6884b5c3c Update translations 2023-12-12 10:25:19 +01:00
kramo
f7a3e01cee Separate user and system data dirs for Flatpak 2023-12-12 10:18:33 +01:00
Weblate (bot)
9bce2190f7 Translations update from Hosted Weblate (#214) 2023-11-30 07:18:17 +01:00
kramo
8f4ddb37b2 Set OptionFlags via enum 2023-11-24 00:17:15 +01:00
kramo
551acccbd9 Remove arbitrary redefinition of python_dir 2023-11-18 21:09:01 +01:00
kramo
b521ea6daf Add placeholder text to search entries 2023-11-17 17:10:37 +01:00
kramo
248cd10367 v2.6.3 2023-11-16 22:00:48 +01:00
Weblate (bot)
387430d5cd Translations update from Hosted Weblate (#210)
* Translated using Weblate (Turkish)

Currently translated at 100.0% (136 of 136 strings)

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

* Translated using Weblate (Tamil)

Currently translated at 100.0% (136 of 136 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (136 of 136 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: John Donne <akheron@zaclys.net>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges

* Translated using Weblate (Finnish)

Currently translated at 100.0% (136 of 136 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (136 of 136 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (136 of 136 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kimmo Kujansuu <mrkujansuu@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
Translation: Cartridges/Cartridges

---------

Co-authored-by: Sabri Ünal <libreajans@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: John Donne <akheron@zaclys.net>
Co-authored-by: Kimmo Kujansuu <mrkujansuu@gmail.com>
2023-11-16 21:59:58 +01:00
kramo
6017c57e6c Add icons to import rows 2023-11-16 21:56:58 +01:00
kramo
50bc67bb1b Fix Lutris source type 2023-11-15 17:38:35 +01:00
kramo
76fd2f97ef Don't mark devel string as translatable 2023-11-12 12:59:22 +01:00
Sabri Ünal
e5f8e81c2e Appstream related patches (#212)
* appdata: use appstreamcli for appdata validation

appstream-util is obsoleted by appstreamcli.

* appdata: Update appdata

- Add translation tag
- Add categories and keywords tags

* Capitalize keywords to avoid duplicate strings

* Remove catrgories and keywords

They are unnecessary for Flathub

---------

Co-authored-by: kramo <contact@kramo.hu>
2023-11-12 12:42:27 +01:00
kramo
b574439328 Use full width row buttons 2023-11-11 10:48:09 +01:00
kramo
2b52391229 Add project_group to metainfo 2023-11-03 23:30:23 +01:00
kramo
9b24f7c473 v2.6.2 2023-11-03 17:15:06 +01:00
Weblate (bot)
644bf10713 Translations update from Hosted Weblate (#208)
* Translated using Weblate (Belarusian)

Currently translated at 100.0% (136 of 136 strings)

Co-authored-by: Yahor <k1llo2810@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/be/
Translation: Cartridges/Cartridges

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (136 of 136 strings)

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

---------

Co-authored-by: Yahor <k1llo2810@protonmail.com>
Co-authored-by: Andrii Murha <flat.assembly@gmail.com>
2023-11-03 17:14:15 +01:00
kramo
2962988727 Fix old games not showing up in search provider 2023-11-03 17:11:25 +01:00
kramo
6d3d6e6a8f Use local options for command line 2023-10-27 14:54:59 +02:00
kramo
9557caecbc Use Blueprint menu item shorthands 2023-10-22 22:36:14 +02:00
kramo
a48841e5cb v2.6.1 2023-10-21 13:55:57 +02:00
Weblate (bot)
59966e9198 Translations update from Hosted Weblate (#203)
* Translated using Weblate (Russian)

Currently translated at 100.0% (136 of 136 strings)

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

* Translated using Weblate (Belarusian)

Currently translated at 100.0% (136 of 136 strings)

Added translation using Weblate (Belarusian)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Yahor <g_egor98@tut.by>
Co-authored-by: Yahor <k1llo2810@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/be/
Translation: Cartridges/Cartridges

* Translated using Weblate (French)

Currently translated at 100.0% (136 of 136 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (136 of 136 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 24.2% (33 of 136 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 24.2% (33 of 136 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 24.2% (33 of 136 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 6.6% (9 of 136 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 6.6% (9 of 136 strings)

Added translation using Weblate (Chinese (Simplified))

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Co-authored-by: 刘韬 <lyuutau@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/zh_Hans/
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: Сергей <asvmail.as@gmail.com>
Co-authored-by: Yahor <g_egor98@tut.by>
Co-authored-by: Yahor <k1llo2810@gmail.com>
Co-authored-by: rene-coty <irenee.thirion@e.email>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Co-authored-by: 刘韬 <lyuutau@outlook.com>
2023-10-21 13:55:01 +02:00
kramo
69394d01ec Add spinner for fetching SGDB covers 2023-10-21 13:46:29 +02:00
kramo
684f457713 Add extra args to po/meson.build 2023-10-21 10:37:40 +02:00
kramo
baa4d6f0c4 Merge pull request #205 from sabriunal/fix-purism 2023-10-20 21:33:00 +02:00
Sabri Ünal
2662d66058 appdata: Remove Purism metadata
This metadata is invalid: custom data is a dictionary and using the same
key multiple times in a dictionary does not work

More information: https://github.com/ximion/appstream/issues/476
2023-10-20 22:27:35 +03:00
kramo
2cd670fcfe Ignore 'the' prefix when sorting - fixes #204 2023-10-20 15:28:41 +02:00
kramo
38bed27c61 oops 2023-10-15 21:57:17 +02:00
kramo
815c1ec088 Explicit is better than implicit 🐍🤓 2023-10-14 20:32:22 +02:00
kramo
89ba4aecaa Set last_played if launching from the command line 2023-10-14 20:27:56 +02:00
kramo
82ff5b3b46 Add tiff_compression build option 2023-10-13 16:58:08 +02:00
kramo
3a052b6367 v2.6 2023-10-10 23:18:47 +02:00
kramo
6a78f6d55e Add Purism form factor to metainfo 2023-10-10 23:17:30 +02:00
Weblate (bot)
a352d21864 Translations update from Hosted Weblate (#200)
* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

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

* Update translation files

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

Translated using Weblate (Greek)

Currently translated at 100.0% (136 of 136 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: yiannis ioannides <sub@wai.ai>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/el/
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

---------

Co-authored-by: yiannis ioannides <sub@wai.ai>
2023-10-10 23:06:54 +02:00
kramo
6f51f8ad7a Proper copyright headers 2023-10-10 23:01:39 +02:00
kramo
cfbd68bf12 Update README 2023-10-10 22:57:23 +02:00
kramo
ad545921b7 Remove Geoffrey from maintainers o7 2023-10-10 22:52:57 +02:00
kramo
69928a8b4f Implement search provider (#201)
* Begin work on search provider

* Initial search provider work, organize meson

* Initial work on icons

* Implement LaunchSearch

* Don't hold arbitrary reference to service

I don't know why Lollypop does this

* Send notification, pad images

* Update translations

* Fix init_search_term typing
2023-10-10 22:47:32 +02:00
kramo
61e7e0274c v2.5 2023-10-06 13:05:06 +02:00
Weblate (bot)
406d0c281c Translations update from Hosted Weblate (#191)
* Translated using Weblate (Turkish)

Currently translated at 100.0% (136 of 136 strings)

Update translation files

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

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

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

* Translated using Weblate (Tamil)

Currently translated at 100.0% (136 of 136 strings)

Update translation files

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

Translated using Weblate (Tamil)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

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

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 (Portuguese (Brazil))

Currently translated at 100.0% (131 of 131 strings)

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (136 of 136 strings)

Update translation files

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

Translated using Weblate (Russian)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (136 of 136 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: Andrii Murha <flat.assembly@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/uk/
Translation: Cartridges/Cartridges

* Update translation files

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

Translated using Weblate (Czech)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

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

Translated using Weblate (Czech)

Currently translated at 100.0% (137 of 137 strings)

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/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/cs/
Translation: Cartridges/Cartridges

* Update translation files

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

Update translation files

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

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (136 of 136 strings)

Update translation files

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

Translated using Weblate (Hungarian)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (136 of 136 strings)

Update translation files

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

Translated using Weblate (Italian)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

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

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (136 of 136 strings)

Update translation files

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

Translated using Weblate (Arabic)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (136 of 136 strings)

Update translation files

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

Translated using Weblate (Dutch)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

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

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (136 of 136 strings)

Update translation files

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

Translated using Weblate (Spanish)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Persian)

Currently translated at 100.0% (131 of 131 strings)

Update translation files

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

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.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/fa/
Translation: Cartridges/Cartridges

* Translated using Weblate (Finnish)

Currently translated at 97.0% (132 of 136 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: Jiri Grönroos <jiri.gronroos@iki.fi>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fi/
Translation: Cartridges/Cartridges

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

---------

Co-authored-by: Sabri Ünal <libreajans@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Rafael Fontenelle <rafaelff@gnome.org>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Co-authored-by: Andrii Murha <flat.assembly@gmail.com>
Co-authored-by: foo expert <deferred_water346@simplelogin.com>
Co-authored-by: kramo <contact@kramo.hu>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: Philip Goto <philip.goto@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
2023-10-06 12:58:17 +02:00
kramo
27bc40e6f6 Remove redundant split of TryExec 2023-09-27 09:50:05 +02:00
kramo
ac36118d57 Cleanups 2023-09-26 19:54:36 +02:00
kramo
38e71e32b9 Cleanups 2023-09-26 19:47:03 +02:00
kramo
c3226e33e8 Fix fractional scaling weirdness 2023-09-26 17:28:44 +02:00
Geoffrey Coulaud
3513f29435 Merge pull request #194 from kra-mo/geoffreys-dev-branch
Removed patch to circumvent wrong store length
2023-09-26 14:38:04 +02:00
GeoffreyCoulaud
bd7cda12e3 Removed patch to circumvent wrong store length 2023-09-26 14:37:14 +02:00
Geoffrey Coulaud
0c7f2f2800 Merge pull request #193 from kra-mo/geoffreys-dev-branch
Fix store length method
2023-09-26 14:33:23 +02:00
GeoffreyCoulaud
5f9c990b25 🐛 Fixed store length method 2023-09-26 14:30:39 +02:00
GeoffreyCoulaud
29a3e6e9d3 Merge branch 'main' into geoffreys-dev-branch 2023-09-26 14:13:02 +02:00
kramo
bebc8f3d7f Update translations 2023-09-26 13:52:51 +02:00
kramo
df2b8c40c9 Option to refetch SGDB covers - fixes #192 2023-09-26 13:49:20 +02:00
kramo
69b168ca01 Fix typo 2023-09-26 09:33:01 +02:00
kramo
8e01f125f1 Create FUNDING.yml 2023-09-26 09:22:18 +02:00
kramo
6d3762b31b Add donation links to README 2023-09-26 09:17:42 +02:00
kramo
8df64c4d05 Update keyboard shortcut capitalization 2023-09-23 15:22:23 +02:00
kramo
42927032c1 Update blueprint-compiler dependency 2023-09-23 15:15:33 +02:00
kramo
d3b2615bce v2.4.1 2023-09-23 08:03:48 +02:00
Weblate (bot)
bb41fc5345 Translations update from Hosted Weblate (#190)
* Translated using Weblate (Italian)

Currently translated at 100.0% (137 of 137 strings)

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/it/
Translation: Cartridges/Cartridges

* Translated using Weblate (Arabic)

Currently translated at 100.0% (137 of 137 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 97.0% (133 of 137 strings)

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

---------

Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
2023-09-23 08:01:18 +02:00
kramo
22ba068bd3 Update screenshots because Flathub sorts them? 2023-09-23 08:00:13 +02:00
kramo
294a846374 Add Clara Hobbs to about window 2023-09-23 07:47:35 +02:00
kramo
2982129bfe Merge pull request #189 from Ratfink/sidebar-scrolling
Wrap the sidebar in a ScrolledWindow
2023-09-23 07:45:19 +02:00
Clara Hobbs
2d9c954932 Wrap the sidebar in a ScrolledWindow
Previously, the sidebar did not have scrolling enabled.  This resulted
in poor behavior in very short windows, such as landscape on phones,
causing the bottom to be cut off.  This commit fixes it by wrapping the
sidebar's ListBox in a ScrolledWindow.
2023-09-22 20:01:02 -04:00
kramo
776a9683f7 Remove devel stripes from screenshots 2023-09-21 17:29:36 +02:00
kramo
90f9dd0b54 Update README 2023-09-21 17:24:17 +02:00
kramo
99c8dad184 Update screenshots 2023-09-21 17:18:17 +02:00
kramo
189b381a5a v2.4 2023-09-21 17:03:04 +02:00
Weblate (bot)
2f90d2306b Translations update from Hosted Weblate (#182)
* Update translation files

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

Translated using Weblate (Turkish)

Currently translated at 100.0% (136 of 136 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (136 of 136 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: Sabri Ünal <libreajans@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/tr/
Translation: Cartridges/Cartridges

* Update translation files

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

Translated using Weblate (Tamil)

Currently translated at 100.0% (136 of 136 strings)

Translated using Weblate (Tamil)

Currently translated at 98.5% (134 of 136 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 (Portuguese (Brazil))

Currently translated at 100.0% (136 of 136 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: Rafael Fontenelle <rafaelff@gnome.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt_BR/
Translation: Cartridges/Cartridges

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Greek)

Currently translated at 100.0% (136 of 136 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: yiannis ioannides <sub@wai.ai>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/el/
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% (136 of 136 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: Сергей <asvmail.as@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ru/
Translation: Cartridges/Cartridges

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (136 of 136 strings)

Update translation files

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

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.

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Translated using Weblate (Hungarian)

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Italian)

Currently translated at 100.0% (136 of 136 strings)

Update translation files

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

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

* Update translation files

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

Translated using Weblate (Arabic)

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

Update translation files

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

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (137 of 137 strings)

Update translation files

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

Translated using Weblate (Spanish)

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

* Translated using Weblate (French)

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

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

* Update translation files

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

Translated using Weblate (Swedish)

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

* Update translation files

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

Translated using Weblate (Persian)

Currently translated at 100.0% (136 of 136 strings)

Update translation files

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

Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.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/fa/
Translation: Cartridges/Cartridges

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

* Update translation files

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

Update translation files

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

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

---------

Co-authored-by: Sabri Ünal <libreajans@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Rafael Fontenelle <rafaelff@gnome.org>
Co-authored-by: yiannis ioannides <sub@wai.ai>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Co-authored-by: Dan <jonweblin2205@protonmail.com>
Co-authored-by: kramo <contact@kramo.hu>
Co-authored-by: Alessandro Iepure <alessandro.iepure@gmail.com>
Co-authored-by: Ali Aljishi <ahj696@hotmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Geoffrey Coulaud <geoffrey.coulaud+github@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Luna Jernberg <droidbittin@gmail.com>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
2023-09-21 16:56:05 +02:00
kramo
1835910284 Check TryExec when importing desktop entries 2023-09-21 16:39:48 +02:00
kramo
421d534d79 Skip Hidden desktop entry games 2023-09-21 16:28:05 +02:00
kramo
a8b1791d8f Replace type command with which 2023-09-21 16:26:05 +02:00
kramo
ea5617518b Merge pull request #133 from kra-mo/libadwaita-1.4
Port to Libadwaita 1.4
2023-09-21 16:18:52 +02:00
kramo
5860a47072 Close entire window with import dialog 2023-09-21 15:57:06 +02:00
kramo
0eada1edf7 Update runtime to 45 2023-09-21 15:40:48 +02:00
kramo
65e870f6b8 Disable adding games during import 2023-09-16 10:10:09 +02:00
kramo
34ab816a09 Tweak window size 2023-09-16 10:00:47 +02:00
kramo
273955749a Update library key-capture-widget 2023-09-16 09:50:57 +02:00
kramo
3bef033e5e Newer BLP+Libadwaita syntax/widgets 2023-09-16 09:49:30 +02:00
kramo
81a65a7c10 Gif disposal shouldn't be set manually 2023-09-16 09:46:42 +02:00
kramo
82acfcd67c Fix minor visual glitch 2023-08-31 10:27:36 +02:00
kramo
8511c87410 Special case for desktop entry source icon 2023-08-30 10:47:55 +02:00
kramo
f3a0db6e2e Translations??? 2023-08-30 10:43:55 +02:00
kramo
89c1b5eca0 What the fuck is wrong with VSCode's merge editor 2023-08-30 10:42:29 +02:00
kramo
4a9b554f0f Update translations 2023-08-30 10:29:11 +02:00
kramo
89bc0877fd Merge branch 'main' into libadwaita-1.4 2023-08-30 10:21:28 +02:00
kramo
e67977287d Type hints 2023-08-16 16:12:50 +02:00
kramo
57a7c98f7a Merge branch 'main' into libadwaita-1.4 2023-08-16 15:59:38 +02:00
kramo
70063172aa Rename _default to _ 2023-08-13 16:09:36 +02:00
kramo
2655b60806 Fix NavigationPage title 2023-08-13 15:12:52 +02:00
kramo
21952e635a Fix game sorting, add extra 🍝 2023-08-13 15:09:44 +02:00
kramo
9670a98246 Port DetailsWindow to libadwaita 1.4 2023-08-13 13:08:34 +02:00
kramo
3ebd2dd883 Merge branch 'main' into libadwaita-1.4 2023-08-13 13:02:56 +02:00
kramo
4510daf8cc Merge branch 'main' into libadwaita-1.4 2023-07-21 12:12:52 +02:00
kramo
8bb2368b3d Create about window from appdata 2023-07-21 10:13:14 +02:00
kramo
62ebcba590 Fix Windows migration 2023-07-17 09:55:09 +02:00
kramo
c00234754f Fix filter logic when editing games 2023-07-14 12:42:23 +02:00
kramo
8ab3cf274e Set source filter when manually adding games 2023-07-14 12:37:59 +02:00
kramo
de4a7ae303 Merge branch 'main' into libadwaita-1.4 2023-07-13 14:52:09 +02:00
kramo
cc8256d945 Merge branch 'main' into libadwaita-1.4 2023-07-13 14:46:42 +02:00
kramo
036aad32cd Merge branch 'main' into libadwaita-1.4 2023-07-13 14:41:00 +02:00
kramo
33e847ef94 Added icons to Sources sidebar 2023-07-13 14:40:41 +02:00
kramo
8f4e4e619a Add missing tooltip-text to sidebar button 2023-07-12 14:04:22 +02:00
kramo
ec7f9bd560 Fix globals() lookup 2023-07-08 12:32:46 +02:00
kramo
6db3557cff Add a game counter to total games 2023-07-08 00:47:24 +02:00
kramo
22200be167 Add .dim-label to games_no_label 2023-07-08 00:12:25 +02:00
kramo
eb0d3584cf Order sources by number of games 2023-07-08 00:08:45 +02:00
kramo
6d9d594caf Hide added source row if empty 2023-07-07 22:59:54 +02:00
kramo
cf6b69619a Fix get_removed logic 2023-07-07 22:11:33 +02:00
kramo
fe5b85c79c Fix row_selected logic 2023-07-07 22:00:24 +02:00
kramo
e7d27cc1c4 Implement source filtering 2023-07-07 21:25:08 +02:00
kramo
2d00d3a1bc Merge pull request #139 from kra-mo/store-improvements
Store improvements
2023-07-07 18:27:42 +02:00
kramo
b577b3ec7b Initial sidebar filter work 2023-07-07 17:46:57 +02:00
kramo
6893551f1c Adaptive layout for mobile - closes #66 2023-07-05 11:03:08 +02:00
kramo
df461421c3 Use set-markup property for toasts 2023-07-04 19:11:17 +02:00
kramo
536e6792e7 Port to Adw.SwitchRow 2023-07-04 19:04:39 +02:00
kramo
5fd6ea20f4 Initial port to Libadwaita 1.4 2023-07-04 18:49:06 +02:00
131 changed files with 14146 additions and 7040 deletions

1
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1 @@
github: [kra-mo]

6
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"

View File

@@ -1,8 +1,9 @@
name: CI
on: on:
push: push:
branches: [main] branches: [main]
pull_request: pull_request:
name: CI
concurrency: concurrency:
group: release-${{ github.sha }} group: release-${{ github.sha }}
jobs: jobs:
@@ -10,24 +11,24 @@ jobs:
name: Flatpak name: Flatpak
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: bilelmoussaoui/flatpak-github-actions:gnome-44 image: bilelmoussaoui/flatpak-github-actions:gnome-46
options: --privileged options: --privileged
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Flatpak Builder - name: Flatpak Builder
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1 uses: flatpak/flatpak-github-actions/flatpak-builder@v6.3
with: with:
bundle: hu.kramo.Cartridges.Devel.flatpak bundle: page.kramo.Cartridges.Devel.flatpak
manifest-path: flatpak/hu.kramo.Cartridges.Devel.json manifest-path: build-aux/flatpak/page.kramo.Cartridges.Devel.json
windows: windows:
name: Windows name: Windows
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Setup MSYS2 - name: Setup MSYS2
uses: msys2/setup-msys2@v2 uses: msys2/setup-msys2@v2
@@ -42,19 +43,57 @@ jobs:
meson setup _build meson setup _build
ninja -C _build install ninja -C _build install
pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git pacman --noconfirm -Rs mingw-w64-ucrt-x86_64-desktop-file-utils mingw-w64-ucrt-x86_64-meson git
find /ucrt64/share/locale/ -type f ! -name "*cartridges.mo" -delete
- name: Test - name: Test
shell: msys2 {0} shell: msys2 {0}
run: | run: |
set +e set +e
timeout 2 cartridges; [ "$?" -eq "124" ] timeout 2 cartridges; [ "$?" -eq "124" ]
- name: Inno Setup - name: Inno Setup
run: iscc ".\_build\windows\Cartridges.iss" run: iscc ".\_build\build-aux\windows\Cartridges.iss"
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Windows Installer name: Windows Installer
path: _build/windows/Output/Cartridges Setup.exe path: _build/build-aux/windows/Output/Cartridges Windows.exe
macos:
name: macOS
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install Dependencies
run: |
brew install meson pygobject3 libadwaita adwaita-icon-theme desktop-file-utils pyinstaller pillow
pip3 install --break-system-packages requests PyYAML pyobjc
- name: Meson Build
run: |
meson setup _build -Dtiff_compression=jpeg
ninja install -C _build
- name: PyInstaller
env:
PYTHONPATH: /opt/homebrew/opt/homebrew/lib/python3.12/site-packages
run: |
cd build-aux/macos
pyinstaller ./cartridges.spec
- name: Zip
run: |
cd build-aux/macos/dist
zip -yr Cartridges\ macOS.zip Cartridges.app
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
path: build-aux/macos/dist/Cartridges macOS.zip
name: macOS Application

View File

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

5
.gitignore vendored
View File

@@ -1,4 +1,7 @@
/subprojects/blueprint-compiler /subprojects/blueprint-compiler
/build-aux/macos/build
/build-aux/macos/dist
/.flatpak /.flatpak
/.flatpak-builder /.flatpak-builder
/.vscode /.vscode
.DS_Store

View File

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

View File

@@ -1,3 +1,3 @@
The project follows the [GNOME Code of Conduct](https://wiki.gnome.org/Foundation/CodeOfConduct). The project follows the [GNOME Code of Conduct](https://conduct.gnome.org/).
If you believe that someone is violating the Code of Conduct, or have any other concerns, please contact us via [cartridges-community@kramo.hu](mailto:cartridges-community@kramo.hu). If you believe that someone is violating the Code of Conduct, or have any other concerns, please contact us via [cartridges-community@kramo.page](mailto:cartridges-community@kramo.page).

View File

@@ -33,6 +33,11 @@ The project can be translated on [Weblate](https://hosted.weblate.org/engage/car
2. From the MSYS2 shell, install the required dependencies listed [here](https://github.com/kra-mo/cartridges/blob/main/.github/workflows/ci.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.
## For macOS
1. Install [Homebrew](https://brew.sh/).
2. Using `brew` and `pip3`, install the required dependencies listed [here](https://github.com/kra-mo/cartridges/blob/main/.github/workflows/ci.yml).
3. Build it via Meson.
## Meson ## Meson
```bash ```bash
git clone https://github.com/kra-mo/cartridges.git git clone https://github.com/kra-mo/cartridges.git
@@ -59,4 +64,4 @@ VSCode extensions are available for all of these and you can set them up with th
"isort.args":["--profile", "black"], "isort.args":["--profile", "black"],
``` ```
For other code editors, you can install them via `pip` and invoke them via the command line. For other code editors, you can install them via `pip` and invoke them from the command line.

View File

@@ -7,12 +7,12 @@
[discord-image]: https://img.shields.io/discord/1088155799299313754?color=%235865F2&label=discord&logo=discord&logoColor=%23FFFFFF&style=for-the-badge [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-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 [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-url]: https://flathub.org/apps/page.kramo.Cartridges
[flathub-image]: https://img.shields.io/flathub/v/hu.kramo.Cartridges?logo=flathub&style=for-the-badge [flathub-image]: https://img.shields.io/flathub/v/page.kramo.Cartridges?logo=flathub&style=for-the-badge
[installs-image]: https://img.shields.io/flathub/downloads/hu.kramo.Cartridges?style=for-the-badge [installs-image]: https://img.shields.io/flathub/downloads/page.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/page.kramo.Cartridges.svg" width="128" height="128">
# Cartridges # Cartridges
@@ -31,7 +31,7 @@
# The Project # The Project
Cartridges is a simple game launcher written in Python using GTK4 and Libadwaita. Cartridges is an easy-to-use, elegant game launcher written in Python using GTK4 and Libadwaita.
## Features ## Features
@@ -45,23 +45,29 @@ Cartridges is a simple game launcher written in Python using GTK4 and Libadwaita
- Legendary - Legendary
- RetroArch - RetroArch
- Flatpak - Flatpak
- Hiding games - Desktop Entries
- Filtering games by source
- Searching and sorting by title, date added and last played - Searching and sorting by title, date added and last played
- Hiding games
- 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
- A search provider for GNOME
For updates and questions, join our [Discord server][discord-url] (bridged to [Matrix](https://matrix.to/#/#cartridges:matrix.org))! For updates and questions, join our [Discord server][discord-url] (bridged to [Matrix](https://matrix.to/#/#cartridges:matrix.org))!
## Donations
I accept donations through [GitHub Sponsors](https://github.com/sponsors/kra-mo).
Thank you for your generosity! 💜
# Installation # Installation
## Linux ## Linux
### Flathub
The app is available on Flathub. The app is available on Flathub.
<a href=https://flathub.org/apps/hu.kramo.Cartridges><img width='240' alt='Download on Flathub' src='https://dl.flathub.org/assets/badges/flathub-badge-en.png'/></a> <a href=https://flathub.org/apps/page.kramo.Cartridges><img alt='Download on Flathub' src='https://flathub.org/api/badge?svg&locale=en'/></a>
## Windows ## Windows
@@ -74,7 +80,14 @@ Note: Windows might present you with a warning when trying to install the app. T
### Winget ### Winget
Install the latest release with the command: `winget install cartridges`. Install the latest release with the command: `winget install cartridges`.
## macOS
1. Download the latest release from [Releases](https://github.com/kra-mo/cartridges/releases).
2. Move the app into your Applications folder.
Note: macOS might tell you that the application could not be checked for malicious software or something similar. In this case, open System Settings > Privacy & Security, scroll down, find the warning about Cartridges and click "Open Anyway". More information can be found [here](https://support.apple.com/en-us/102445).
## Building manually ## Building manually
@@ -88,6 +101,6 @@ Thanks to [Weblate](https://weblate.org/) for hosting our translations!
# Code of Conduct # Code of Conduct
The project follows the [GNOME Code of Conduct](https://wiki.gnome.org/Foundation/CodeOfConduct). The project follows the [GNOME Code of Conduct](https://conduct.gnome.org/).
See [CODE_OF_CONDUCT.md](https://github.com/kra-mo/cartridges/blob/main/CODE_OF_CONDUCT.md). See [CODE_OF_CONDUCT.md](https://github.com/kra-mo/cartridges/blob/main/CODE_OF_CONDUCT.md).

View File

@@ -1,7 +1,7 @@
{ {
"id" : "hu.kramo.Cartridges.Devel", "id" : "page.kramo.Cartridges.Devel",
"runtime" : "org.gnome.Platform", "runtime" : "org.gnome.Platform",
"runtime-version" : "44", "runtime-version" : "46",
"sdk" : "org.gnome.Sdk", "sdk" : "org.gnome.Sdk",
"command" : "cartridges", "command" : "cartridges",
"finish-args" : [ "finish-args" : [
@@ -19,7 +19,10 @@
"--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/app/org.libretro.RetroArch/config/retroarch/:ro", "--filesystem=~/.var/app/org.libretro.RetroArch/config/retroarch/:ro",
"--filesystem=/var/lib/flatpak:ro" "--filesystem=/var/lib/flatpak/app:ro",
"--filesystem=/var/lib/flatpak/exports:ro",
"--filesystem=xdg-data/flatpak/app:ro",
"--filesystem=xdg-data/flatpak/exports:ro"
], ],
"cleanup" : [ "cleanup" : [
"/include", "/include",
@@ -109,7 +112,7 @@
{ {
"type" : "git", "type" : "git",
"url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler", "url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler",
"tag" : "v0.8.1" "tag" : "v0.12.0"
} }
], ],
"cleanup" : [ "cleanup" : [
@@ -120,13 +123,14 @@
"name" : "cartridges", "name" : "cartridges",
"builddir" : true, "builddir" : true,
"buildsystem" : "meson", "buildsystem" : "meson",
"run-tests" : true,
"config-opts": [ "config-opts": [
"-Dprofile=development" "-Dprofile=development"
], ],
"sources" : [ "sources" : [
{ {
"type" : "dir", "type" : "dir",
"path" : ".." "path" : "../.."
} }
] ]
} }

View File

@@ -0,0 +1,59 @@
# -*- mode: python ; coding: utf-8 -*-
a = Analysis(
["../../_build/cartridges/cartridges"],
pathex=[],
binaries=[],
datas=[("../../_build/data/cartridges.gresource", "Resources")],
hiddenimports=[],
hookspath=[],
hooksconfig={
"gi": {
"module-versions": {
"Gtk": "4.0",
},
},
},
runtime_hooks=[],
excludes=[],
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name="Cartridges",
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
coll = COLLECT(
exe,
a.binaries,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name="Cartridges",
)
app = BUNDLE(
coll,
name="Cartridges.app",
icon="./icon.icns",
bundle_identifier="page.kramo.Cartridges",
info_plist={
"LSApplicationCategoryType": "public.app-category.games",
},
)

BIN
build-aux/macos/icon.icns Normal file

Binary file not shown.

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 Windows
SetupIconFile=..\..\windows\icon.ico SetupIconFile=..\..\..\build-aux\windows\icon.ico
Compression=lzma Compression=lzma
SolidCompression=yes SolidCompression=yes
WizardStyle=modern WizardStyle=modern
@@ -40,17 +40,16 @@ Source: "D:\a\_temp\msys64\ucrt64\bin\*.dll"; DestDir: "{app}\bin"; Flags: recur
Source: "D:\a\_temp\msys64\ucrt64\etc\ssl\*"; DestDir: "{app}\etc\ssl"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\etc\ssl\*"; DestDir: "{app}\etc\ssl"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\lib\gdk-pixbuf-2.0\*"; DestDir: "{app}\lib\gdk-pixbuf-2.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\lib\gdk-pixbuf-2.0\*"; DestDir: "{app}\lib\gdk-pixbuf-2.0"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\lib\girepository-1.0\*"; DestDir: "{app}\lib\girepository-1.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\lib\girepository-1.0\*"; DestDir: "{app}\lib\girepository-1.0"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\lib\python@PYTHON_VERSION@\*"; DestDir: "{app}\lib\python@PYTHON_VERSION@"; Excludes: "__pycache__"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\lib\python@PYTHON_VERSION@\*"; DestDir: "{app}\lib\python@PYTHON_VERSION@"; Excludes: "__pycache__"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\cartridges\*"; DestDir: "{app}\share\cartridges"; Excludes: "__pycache__"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\cartridges\*"; DestDir: "{app}\share\cartridges"; Excludes: "__pycache__"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\icons\*"; DestDir: "{app}\share\icons"; Excludes: "*.png,cursors\*"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\icons\*"; DestDir: "{app}\share\icons"; Excludes: "*.png,cursors\*"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\glib-2.0\*"; DestDir: "{app}\share\glib-2.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\glib-2.0\*"; DestDir: "{app}\share\glib-2.0"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\gtk-4.0\*"; DestDir: "{app}\share\gtk-4.0"; Flags: recursesubdirs ignoreversion Source: "D:\a\_temp\msys64\ucrt64\share\gtk-4.0\*"; DestDir: "{app}\share\gtk-4.0"; Flags: recursesubdirs ignoreversion
Source: "D:\a\_temp\msys64\ucrt64\share\locale\*"; DestDir: "{app}\share\locale"; Flags: recursesubdirs ignoreversion
Source: "..\..\windows\icon.ico"; DestDir: "{app}"; Flags: recursesubdirs ignoreversion Source: "..\..\..\build-aux\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"

View File

Before

Width:  |  Height:  |  Size: 169 KiB

After

Width:  |  Height:  |  Size: 169 KiB

View File

@@ -3,5 +3,5 @@ configure_file(
output: 'Cartridges.iss', output: 'Cartridges.iss',
configuration: conf, configuration: conf,
install: true, install: true,
install_dir: '.' install_dir: '.',
) )

View File

@@ -22,7 +22,7 @@ Cartridges is a simple game launcher for all of your games. It has support for i
<maintainer> <maintainer>
<foaf:Person> <foaf:Person>
<foaf:name>kramo</foaf:name> <foaf:name>kramo</foaf:name>
<foaf:mbox rdf:resource="mailto:contact@kramo.hu" /> <foaf:mbox rdf:resource="mailto:contact@kramo.page" />
<foaf:account> <foaf:account>
<foaf:OnlineAccount> <foaf:OnlineAccount>
<foaf:accountServiceHomepage rdf:resource="https://github.com"/> <foaf:accountServiceHomepage rdf:resource="https://github.com"/>
@@ -37,23 +37,5 @@ Cartridges is a simple game launcher for all of your games. It has support for i
</foaf:account> </foaf:account>
</foaf:Person> </foaf:Person>
</maintainer> </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>
</maintainer>
</Project> </Project>

View File

@@ -0,0 +1,120 @@
# application_delegate.py
#
# Copyright 2024 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 <https://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""A set of methods that manage your apps life cycle and its interaction
with common system services."""
from typing import Any
from AppKit import NSApp, NSApplication, NSMenu, NSMenuItem # type: ignore
from Foundation import NSObject # type: ignore
from gi.repository import Gio # type: ignore
from showtime import shared
class ApplicationDelegate(NSObject): # type: ignore
"""A set of methods that manage your apps life cycle and its interaction
with common system services."""
def applicationDidFinishLaunching_(self, *_args: Any) -> None:
main_menu = NSApp.mainMenu()
add_game_menu_item = NSMenuItem.alloc().initWithTitle_action_keyEquivalent_(
"Add Game", "add:", "n"
)
import_menu_item = NSMenuItem.alloc().initWithTitle_action_keyEquivalent_(
"Import", "import:", "i"
)
file_menu = NSMenu.alloc().init()
file_menu.addItem_(add_game_menu_item)
file_menu.addItem_(import_menu_item)
file_menu_item = NSMenuItem.alloc().initWithTitle_action_keyEquivalent_(
"File", None, ""
)
file_menu_item.setSubmenu_(file_menu)
main_menu.addItem_(file_menu_item)
show_hidden_menu_item = NSMenuItem.alloc().initWithTitle_action_keyEquivalent_(
"Show Hidden", "hidden:", "h"
)
windows_menu = NSMenu.alloc().init()
view_menu = NSMenu.alloc().init()
view_menu.addItem_(show_hidden_menu_item)
view_menu_item = NSMenuItem.alloc().initWithTitle_action_keyEquivalent_(
"View", None, ""
)
view_menu_item.setSubmenu_(view_menu)
main_menu.addItem_(view_menu_item)
windows_menu = NSMenu.alloc().init()
windows_menu_item = NSMenuItem.alloc().initWithTitle_action_keyEquivalent_(
"Window", None, ""
)
windows_menu_item.setSubmenu_(windows_menu)
main_menu.addItem_(windows_menu_item)
NSApp.setWindowsMenu_(windows_menu)
keyboard_shortcuts_menu_item = (
NSMenuItem.alloc().initWithTitle_action_keyEquivalent_(
"Keyboard Shortcuts", "shortcuts:", "?"
)
)
help_menu = NSMenu.alloc().init()
help_menu.addItem_(keyboard_shortcuts_menu_item)
help_menu_item = NSMenuItem.alloc().initWithTitle_action_keyEquivalent_(
"Help", None, ""
)
help_menu_item.setSubmenu_(help_menu)
main_menu.addItem_(help_menu_item)
NSApp.setHelpMenu_(help_menu)
def add_(self, *_args: Any) -> None:
if (not shared.win) or (not (app := shared.win.get_application())):
return
app.lookup_action("add_game").activate()
def import_(self, *_args: Any) -> None:
if (not shared.win) or (not (app := shared.win.get_application())):
return
app.lookup_action("import").activate()
def hidden_(self, *_args: Any) -> None:
if not shared.win:
return
shared.win.lookup_action("show_hidden").activate()
def shortcuts_(self, *_args: Any) -> None:
if (not shared.win) or (not (overlay := shared.win.get_help_overlay())):
return
overlay.present()

View File

@@ -2,7 +2,7 @@
# cartridges.in # cartridges.in
# #
# Copyright 2022-2023 kramo # Copyright 2022-2024 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -19,42 +19,44 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import os
import sys
import signal
import locale
import gettext import gettext
import locale
import os
import signal
import sys
from pathlib import Path
from platform import system
VERSION = "@VERSION@" VERSION = "@VERSION@"
if os.name == "nt": if os.name == "nt":
from ctypes import windll PKGDATADIR = os.path.join(os.path.dirname(__file__), "..", "share", "cartridges")
os.environ["LANGUAGE"] = locale.windows_locale[
windll.kernel32.GetUserDefaultUILanguage()
]
pkgdatadir = os.path.join(os.path.dirname(__file__), "..", "share", "cartridges")
localedir = os.path.join(os.path.dirname(__file__), "..", "share", "locale")
else: else:
pkgdatadir = "@pkgdatadir@" PKGDATADIR = "@pkgdatadir@"
localedir = "@localedir@" LOCALEDIR = "@localedir@"
sys.path.insert(1, pkgdatadir) sys.path.insert(1, PKGDATADIR)
signal.signal(signal.SIGINT, signal.SIG_DFL) signal.signal(signal.SIGINT, signal.SIG_DFL)
if os.name != "nt": if system() == "Linux":
locale.bindtextdomain("cartridges", localedir) locale.bindtextdomain("cartridges", LOCALEDIR)
locale.textdomain("cartridges") locale.textdomain("cartridges")
gettext.install("cartridges", LOCALEDIR)
gettext.install("cartridges", localedir) else:
gettext.install("cartridges")
if __name__ == "__main__": if __name__ == "__main__":
import gi from gi.repository import Gio, GLib
from gi.repository import Gio try:
# For a macOS application bundle
resource = Gio.Resource.load(
str(Path(__file__).parent / "Resources" / "cartridges.gresource")
)
except GLib.GError:
resource = Gio.Resource.load(os.path.join(PKGDATADIR, "cartridges.gresource"))
resource._register() # pylint: disable=protected-access
resource = Gio.Resource.load(os.path.join(pkgdatadir, "cartridges.gresource")) from cartridges import main
resource._register()
from src import main
sys.exit(main.main(VERSION)) sys.exit(main.main(VERSION))

View File

@@ -1,6 +1,6 @@
# details_window.py # details_window.py
# #
# Copyright 2022-2023 kramo # Copyright 2022-2024 kramo
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -17,28 +17,28 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import os
import shlex import shlex
from pathlib import Path from pathlib import Path
from sys import platform
from time import time from time import time
from typing import Any, Optional from typing import Any, Optional
from gi.repository import Adw, Gio, GLib, Gtk from gi.repository import Adw, Gio, GLib, Gtk
from PIL import Image, UnidentifiedImageError from PIL import Image, UnidentifiedImageError
from src import shared from cartridges import shared
from src.errors.friendly_error import FriendlyError from cartridges.errors.friendly_error import FriendlyError
from src.game import Game from cartridges.game import Game
from src.game_cover import GameCover from cartridges.game_cover import GameCover
from src.store.managers.cover_manager import CoverManager from cartridges.store.managers.cover_manager import CoverManager
from src.store.managers.sgdb_manager import SGDBManager from cartridges.store.managers.sgdb_manager import SgdbManager
from src.utils.create_dialog import create_dialog from cartridges.utils.create_dialog import create_dialog
from src.utils.save_cover import convert_cover, save_cover from cartridges.utils.save_cover import convert_cover, save_cover
@Gtk.Template(resource_path=shared.PREFIX + "/gtk/details-window.ui") @Gtk.Template(resource_path=shared.PREFIX + "/gtk/details-dialog.ui")
class DetailsWindow(Adw.Window): class DetailsDialog(Adw.Dialog):
__gtype_name__ = "DetailsWindow" __gtype_name__ = "DetailsDialog"
cover_overlay = Gtk.Template.Child() cover_overlay = Gtk.Template.Child()
cover = Gtk.Template.Child() cover = Gtk.Template.Child()
@@ -59,14 +59,18 @@ class DetailsWindow(Adw.Window):
cover_changed: bool = False cover_changed: bool = False
is_open = False
def __init__(self, game: Optional[Game] = None, **kwargs: Any): def __init__(self, game: Optional[Game] = None, **kwargs: Any):
super().__init__(**kwargs) super().__init__(**kwargs)
# Make it so only one dialog can be open at a time
self.__class__.is_open = True
self.connect("closed", lambda *_: self.set_is_open(False))
self.game: Game = game self.game: Game = game
self.game_cover: GameCover = GameCover({self.cover}) self.game_cover: GameCover = GameCover({self.cover})
self.set_transient_for(shared.win)
if self.game: if self.game:
self.set_title(_("Game Details")) self.set_title(_("Game Details"))
self.name.set_text(self.game.name) self.name.set_text(self.game.name)
@@ -109,7 +113,7 @@ class DetailsWindow(Adw.Window):
# As in software # As in software
exe_name = _("program") exe_name = _("program")
if os.name == "nt": if platform == "win32":
exe_name += ".exe" exe_name += ".exe"
# Translate this string as you would translate "path to {}" # Translate this string as you would translate "path to {}"
exe_path = _("C:\\path\\to\\{}").format(exe_name) exe_path = _("C:\\path\\to\\{}").format(exe_name)
@@ -121,7 +125,7 @@ class DetailsWindow(Adw.Window):
exe_path = _("/path/to/{}").format(exe_name) exe_path = _("/path/to/{}").format(exe_name)
# Translate this string as you would translate "path to {}" # Translate this string as you would translate "path to {}"
file_path = _("/path/to/{}").format(file_name) file_path = _("/path/to/{}").format(file_name)
command = "xdg-open" command = "open" if platform == "darwin" else "xdg-open"
# pylint: disable=line-too-long # pylint: disable=line-too-long
exec_info_text = _( exec_info_text = _(
@@ -152,7 +156,6 @@ class DetailsWindow(Adw.Window):
self.executable.connect("entry-activated", self.apply_preferences) self.executable.connect("entry-activated", self.apply_preferences)
self.set_focus(self.name) self.set_focus(self.name)
self.present()
def delete_pixbuf(self, *_args: Any) -> None: def delete_pixbuf(self, *_args: Any) -> None:
self.game_cover.new_cover() self.game_cover.new_cover()
@@ -199,6 +202,12 @@ class DetailsWindow(Adw.Window):
} }
) )
if shared.win.sidebar.get_selected_row().get_child() not in (
shared.win.all_games_row_box,
shared.win.added_row_box,
):
shared.win.sidebar.select_row(shared.win.added_row_box.get_parent())
else: else:
if final_name == "": if final_name == "":
create_dialog( create_dialog(
@@ -239,16 +248,16 @@ class DetailsWindow(Adw.Window):
# Get a cover from SGDB if none is present # Get a cover from SGDB if none is present
if not self.game_cover.get_texture(): if not self.game_cover.get_texture():
self.game.set_loading(1) self.game.set_loading(1)
sgdb_manager: SGDBManager = shared.store.managers[SGDBManager] sgdb_manager = shared.store.managers[SgdbManager]
sgdb_manager.reset_cancellable() sgdb_manager.reset_cancellable()
sgdb_manager.process_game(self.game, {}, self.update_cover_callback) sgdb_manager.process_game(self.game, {}, self.update_cover_callback)
self.game_cover.pictures.remove(self.cover) self.game_cover.pictures.remove(self.cover)
self.close() self.close()
shared.win.show_details_view(self.game) shared.win.show_details_page(self.game)
def update_cover_callback(self, manager: SGDBManager) -> None: def update_cover_callback(self, manager: SgdbManager) -> None:
# Set the game as not loading # Set the game as not loading
self.game.set_loading(-1) self.game.set_loading(-1)
self.game.update() self.game.update()
@@ -280,7 +289,7 @@ class DetailsWindow(Adw.Window):
def set_cover(self, _source: Any, result: Gio.Task, *_args: Any) -> None: def set_cover(self, _source: Any, result: Gio.Task, *_args: Any) -> None:
try: try:
path = self.image_file_dialog.open_finish(result).get_path() path = self.image_file_dialog.open_finish(result).get_path()
except GLib.GError: except GLib.Error:
return return
def thread_func() -> None: def thread_func() -> None:
@@ -313,13 +322,16 @@ class DetailsWindow(Adw.Window):
def set_executable(self, _source: Any, result: Gio.Task, *_args: Any) -> None: def set_executable(self, _source: Any, result: Gio.Task, *_args: Any) -> None:
try: try:
path = self.exec_file_dialog.open_finish(result).get_path() path = self.exec_file_dialog.open_finish(result).get_path()
except GLib.GError: except GLib.Error:
return return
self.executable.set_text(shlex.quote(path)) self.executable.set_text(shlex.quote(path))
def choose_executable(self, *_args: Any) -> None: def choose_executable(self, *_args: Any) -> None:
self.exec_file_dialog.open(self, None, self.set_executable) self.exec_file_dialog.open(self.get_root(), None, self.set_executable)
def choose_cover(self, *_args: Any) -> None: def choose_cover(self, *_args: Any) -> None:
self.image_file_dialog.open(self, None, self.set_cover) self.image_file_dialog.open(self.get_root(), None, self.set_cover)
def set_is_open(self, is_open: bool) -> None:
self.__class__.is_open = is_open

View File

@@ -17,18 +17,16 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import logging
import os
import shlex import shlex
import subprocess
from pathlib import Path from pathlib import Path
from time import time from time import time
from typing import Any, Optional from typing import Any, Optional
from gi.repository import Adw, GLib, GObject, Gtk from gi.repository import Adw, GObject, Gtk
from src import shared from cartridges import shared
from src.game_cover import GameCover from cartridges.game_cover import GameCover
from cartridges.utils.run_executable import run_executable
# pylint: disable=too-many-instance-attributes # pylint: disable=too-many-instance-attributes
@@ -66,8 +64,7 @@ class Game(Gtk.Box):
def __init__(self, data: dict[str, Any], **kwargs: Any) -> None: def __init__(self, data: dict[str, Any], **kwargs: Any) -> None:
super().__init__(**kwargs) super().__init__(**kwargs)
self.win = shared.win self.app = shared.win.get_application()
self.app = self.win.get_application()
self.version = shared.SPEC_VERSION self.version = shared.SPEC_VERSION
self.update_values(data) self.update_values(data)
@@ -100,39 +97,26 @@ class Game(Gtk.Box):
def create_toast(self, title: str, action: Optional[str] = None) -> None: def create_toast(self, title: str, action: Optional[str] = None) -> None:
toast = Adw.Toast.new(title.format(self.name)) toast = Adw.Toast.new(title.format(self.name))
toast.set_priority(Adw.ToastPriority.HIGH) toast.set_priority(Adw.ToastPriority.HIGH)
toast.set_use_markup(False)
if action: if action:
toast.set_button_label(_("Undo")) toast.set_button_label(_("Undo"))
toast.connect("button-clicked", self.win.on_undo_action, self, action) toast.connect("button-clicked", shared.win.on_undo_action, self, action)
if (self, action) in self.win.toasts.keys(): if (self, action) in shared.win.toasts.keys():
# Dismiss the toast if there already is one # Dismiss the toast if there already is one
self.win.toasts[(self, action)].dismiss() shared.win.toasts[(self, action)].dismiss()
self.win.toasts[(self, action)] = toast shared.win.toasts[(self, action)] = toast
self.win.toast_overlay.add_toast(toast) shared.win.toast_overlay.add_toast(toast)
def launch(self) -> None: def launch(self) -> None:
self.last_played = int(time()) self.last_played = int(time())
self.save() self.save()
self.update() self.update()
args = ( run_executable(self.executable)
"flatpak-spawn --host /bin/sh -c " + shlex.quote(self.executable) # Flatpak
if os.getenv("FLATPAK_ID") == shared.APP_ID
else self.executable # Others
)
logging.info("Starting %s: %s", self.name, str(args))
# pylint: disable=consider-using-with
subprocess.Popen(
args,
cwd=shared.home,
shell=True,
start_new_session=True,
creationflags=subprocess.CREATE_NEW_PROCESS_GROUP if os.name == "nt" else 0, # type: ignore
)
if shared.schema.get_boolean("exit-after-launch"): if shared.schema.get_boolean("exit-after-launch"):
self.app.quit() self.app.quit()
@@ -144,17 +128,15 @@ class Game(Gtk.Box):
self.hidden = not self.hidden self.hidden = not self.hidden
self.save() self.save()
if self.win.stack.get_visible_child() == self.win.details_view: if shared.win.navigation_view.get_visible_page() == shared.win.details_page:
self.win.on_go_back_action() shared.win.navigation_view.pop()
self.update() 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
(_("{} hidden") if self.hidden else _("{} unhidden")).format( (_("{} hidden") if self.hidden else _("{} unhidden")).format(self.name),
GLib.markup_escape_text(self.name)
),
"hide", "hide",
) )
@@ -164,14 +146,11 @@ class Game(Gtk.Box):
self.save() self.save()
self.update() self.update()
if self.win.stack.get_visible_child() == self.win.details_view: if shared.win.navigation_view.get_visible_page() == shared.win.details_page:
self.win.on_go_back_action() shared.win.navigation_view.pop()
self.create_toast( # The variable is the title of the game
# The variable is the title of the game self.create_toast(_("{} removed").format(self.name), "remove")
_("{} removed").format(GLib.markup_escape_text(self.name)),
"remove",
)
def set_loading(self, state: int) -> None: def set_loading(self, state: int) -> None:
self.loading += state self.loading += state
@@ -202,7 +181,7 @@ class Game(Gtk.Box):
if shared.schema.get_boolean("cover-launches-game") ^ button: if shared.schema.get_boolean("cover-launches-game") ^ button:
self.launch() self.launch()
else: else:
self.win.show_details_view(self) shared.win.show_details_page(self)
def set_play_icon(self) -> None: def set_play_icon(self) -> None:
self.play_button.set_icon_name( self.play_button.set_icon_name(

View File

@@ -23,7 +23,7 @@ from typing import Optional
from gi.repository import Gdk, GdkPixbuf, Gio, GLib, Gtk from gi.repository import Gdk, GdkPixbuf, Gio, GLib, Gtk
from PIL import Image, ImageFilter, ImageStat from PIL import Image, ImageFilter, ImageStat
from src import shared from cartridges import shared
class GameCover: class GameCover:

View File

@@ -23,10 +23,10 @@ from typing import NamedTuple
import yaml import yaml
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.importer.sources.location import Location, LocationSubPath from cartridges.importer.location import Location, LocationSubPath
from src.importer.sources.source import SourceIterable, URLExecutableSource from cartridges.importer.source import SourceIterable, URLExecutableSource
class BottlesSourceIterable(SourceIterable): class BottlesSourceIterable(SourceIterable):
@@ -98,7 +98,7 @@ class BottlesSource(URLExecutableSource):
candidates=( candidates=(
shared.flatpak_dir / "com.usebottles.bottles" / "data" / "bottles", shared.flatpak_dir / "com.usebottles.bottles" / "data" / "bottles",
shared.data_dir / "bottles/", shared.data_dir / "bottles/",
shared.home / ".local" / "share" / "bottles", shared.host_data_dir / "bottles",
), ),
paths={ paths={
"library.yml": LocationSubPath("library.yml"), "library.yml": LocationSubPath("library.yml"),

View File

@@ -25,9 +25,9 @@ from typing import NamedTuple
from gi.repository import GLib, Gtk from gi.repository import GLib, Gtk
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.importer.sources.source import Source, SourceIterable from cartridges.importer.source import Source, SourceIterable
class DesktopSourceIterable(SourceIterable): class DesktopSourceIterable(SourceIterable):
@@ -39,7 +39,7 @@ class DesktopSourceIterable(SourceIterable):
icon_theme = Gtk.IconTheme.new() icon_theme = Gtk.IconTheme.new()
search_paths = [ search_paths = [
shared.home / ".local" / "share", shared.host_data_dir,
"/run/host/usr/local/share", "/run/host/usr/local/share",
"/run/host/usr/share", "/run/host/usr/share",
"/run/host/usr/share/pixmaps", "/run/host/usr/share/pixmaps",
@@ -60,7 +60,7 @@ class DesktopSourceIterable(SourceIterable):
icon_theme.add_search_path(str(path)) icon_theme.add_search_path(str(path))
launch_command, full_path = self.check_launch_command() launch_command, full_path = self.check_launch_commands()
for path in search_paths: for path in search_paths:
if str(path).startswith("/app/"): if str(path).startswith("/app/"):
@@ -93,9 +93,17 @@ class DesktopSourceIterable(SourceIterable):
executable = keyfile.get_string("Desktop Entry", "Exec").split( executable = keyfile.get_string("Desktop Entry", "Exec").split(
" %" " %"
)[0] )[0]
except GLib.GError: except GLib.Error:
continue continue
try:
try_exec = "which " + keyfile.get_string("Desktop Entry", "TryExec")
if not self.check_command(try_exec):
continue
except GLib.Error:
pass
# Skip Steam games # Skip Steam games
if "steam://rungameid/" in executable: if "steam://rungameid/" in executable:
continue continue
@@ -111,7 +119,13 @@ class DesktopSourceIterable(SourceIterable):
try: try:
if keyfile.get_boolean("Desktop Entry", "NoDisplay"): if keyfile.get_boolean("Desktop Entry", "NoDisplay"):
continue continue
except GLib.GError: except GLib.Error:
pass
try:
if keyfile.get_boolean("Desktop Entry", "Hidden"):
continue
except GLib.Error:
pass pass
# Strip /run/host from Flatpak paths # Strip /run/host from Flatpak paths
@@ -133,7 +147,7 @@ class DesktopSourceIterable(SourceIterable):
try: try:
icon_str = keyfile.get_string("Desktop Entry", "Icon") icon_str = keyfile.get_string("Desktop Entry", "Icon")
except GLib.GError: except GLib.Error:
yield game yield game
continue continue
else: else:
@@ -156,31 +170,36 @@ class DesktopSourceIterable(SourceIterable):
.get_path() .get_path()
): ):
additional_data = {"local_icon_path": Path(icon_path)} additional_data = {"local_icon_path": Path(icon_path)}
except GLib.GError: except GLib.Error:
pass pass
yield (game, additional_data) yield (game, additional_data)
def check_launch_command(self) -> (str, bool): def check_command(self, command) -> bool:
flatpak_str = "flatpak-spawn --host /bin/sh -c "
if os.getenv("FLATPAK_ID") == shared.APP_ID:
command = flatpak_str + shlex.quote(command)
try:
subprocess.run(command, shell=True, check=True)
except subprocess.CalledProcessError:
return False
return True
def check_launch_commands(self) -> (str, bool):
"""Check whether `gio launch` `gtk4-launch` or `gtk-launch` are available on the system""" """Check whether `gio launch` `gtk4-launch` or `gtk-launch` are available on the system"""
commands = (("gio launch", True), ("gtk4-launch", False), ("gtk-launch", False)) commands = (("gio launch", True), ("gtk4-launch", False), ("gtk-launch", False))
flatpak_str = "flatpak-spawn --host /bin/sh -c "
for command, full_path in commands: for command, full_path in commands:
# Even if `gio` is available, `gio launch` is only available on GLib >= 2.67.2 # Even if `gio` is available, `gio launch` is only available on GLib >= 2.67.2
check_command = ( command_to_check = (
"gio help launch" "gio help launch" if command == "gio launch" else f"which {command}"
if command == "gio launch"
else f"type {command} &> /dev/null"
) )
if os.getenv("FLATPAK_ID") == shared.APP_ID:
check_command = flatpak_str + shlex.quote(check_command)
try: if self.check_command(command_to_check):
subprocess.run(check_command, shell=True, check=True)
return command, full_path return command, full_path
except subprocess.CalledProcessError:
pass
return commands[2] return commands[2]
@@ -193,7 +212,7 @@ class DesktopSource(Source):
"""Generic Flatpak source""" """Generic Flatpak source"""
source_id = "desktop" source_id = "desktop"
name = _("Desktop") name = _("Desktop Entries")
iterable_class = DesktopSourceIterable iterable_class = DesktopSourceIterable
available_on = {"linux"} available_on = {"linux"}

View File

@@ -17,15 +17,16 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
from itertools import chain
from pathlib import Path from pathlib import Path
from typing import NamedTuple from typing import NamedTuple
from gi.repository import GLib, Gtk from gi.repository import GLib, Gtk
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.importer.sources.location import Location, LocationSubPath from cartridges.importer.location import Location, LocationSubPath
from src.importer.sources.source import ExecutableFormatSource, SourceIterable from cartridges.importer.source import ExecutableFormatSource, SourceIterable
class FlatpakSourceIterable(SourceIterable): class FlatpakSourceIterable(SourceIterable):
@@ -35,14 +36,28 @@ class FlatpakSourceIterable(SourceIterable):
"""Generator method producing games""" """Generator method producing games"""
icon_theme = Gtk.IconTheme.new() icon_theme = Gtk.IconTheme.new()
icon_theme.add_search_path(str(self.source.locations.data["icons"])) if user_data := self.source.locations.user_data["icons"]:
icon_theme.add_search_path(str(user_data))
if system_data := self.source.locations.system_data["icons"]:
icon_theme.add_search_path(str(system_data))
if not (system_data or user_data):
return
blacklist = ( blacklist = (
{"hu.kramo.Cartridges", "hu.kramo.Cartridges.Devel"} {
"hu.kramo.Cartridges",
"hu.kramo.Cartridges.Devel",
"page.kramo.Cartridges",
"page.kramo.Cartridges.Devel",
}
if shared.schema.get_boolean("flatpak-import-launchers") if shared.schema.get_boolean("flatpak-import-launchers")
else { else {
"hu.kramo.Cartridges", "hu.kramo.Cartridges",
"hu.kramo.Cartridges.Devel", "hu.kramo.Cartridges.Devel",
"page.kramo.Cartridges",
"page.kramo.Cartridges.Devel",
"com.valvesoftware.Steam", "com.valvesoftware.Steam",
"net.lutris.Lutris", "net.lutris.Lutris",
"com.heroicgameslauncher.hgl", "com.heroicgameslauncher.hgl",
@@ -52,7 +67,16 @@ class FlatpakSourceIterable(SourceIterable):
} }
) )
for entry in (self.source.locations.data["applications"]).iterdir(): generators = set(
location.iterdir()
for location in (
self.source.locations.user_data["applications"],
self.source.locations.system_data["applications"],
)
if location
)
for entry in chain(*generators):
if entry.suffix != ".desktop": if entry.suffix != ".desktop":
continue continue
@@ -71,7 +95,7 @@ class FlatpakSourceIterable(SourceIterable):
name = keyfile.get_string("Desktop Entry", "Name") name = keyfile.get_string("Desktop Entry", "Name")
except GLib.GError: except GLib.Error:
continue continue
values = { values = {
@@ -101,14 +125,15 @@ class FlatpakSourceIterable(SourceIterable):
additional_data = {"local_icon_path": Path(icon_path)} additional_data = {"local_icon_path": Path(icon_path)}
else: else:
pass pass
except GLib.GError: except GLib.Error:
pass pass
yield (game, additional_data) yield (game, additional_data)
class FlatpakLocations(NamedTuple): class FlatpakLocations(NamedTuple):
data: Location system_data: Location
user_data: Location
class FlatpakSource(ExecutableFormatSource): class FlatpakSource(ExecutableFormatSource):
@@ -126,15 +151,23 @@ class FlatpakSource(ExecutableFormatSource):
super().__init__() super().__init__()
self.locations = FlatpakLocations( self.locations = FlatpakLocations(
Location( Location(
schema_key="flatpak-location", schema_key="flatpak-system-location",
candidates=( candidates=("/var/lib/flatpak/",),
"/var/lib/flatpak/",
shared.data_dir / "flatpak",
),
paths={ paths={
"applications": LocationSubPath("exports/share/applications", True), "applications": LocationSubPath("exports/share/applications", True),
"icons": LocationSubPath("exports/share/icons", True), "icons": LocationSubPath("exports/share/icons", True),
}, },
invalid_subtitle=Location.DATA_INVALID_SUBTITLE, invalid_subtitle=Location.DATA_INVALID_SUBTITLE,
) optional=True,
),
Location(
schema_key="flatpak-user-location",
candidates=(shared.data_dir / "flatpak",),
paths={
"applications": LocationSubPath("exports/share/applications", True),
"icons": LocationSubPath("exports/share/icons", True),
},
invalid_subtitle=Location.DATA_INVALID_SUBTITLE,
optional=True,
),
) )

View File

@@ -27,10 +27,10 @@ from json import JSONDecodeError
from pathlib import Path from pathlib import Path
from typing import Iterable, NamedTuple, Optional, TypedDict from typing import Iterable, NamedTuple, Optional, TypedDict
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.importer.sources.location import Location, LocationSubPath from cartridges.importer.location import Location, LocationSubPath
from src.importer.sources.source import ( from cartridges.importer.source import (
SourceIterable, SourceIterable,
SourceIterationResult, SourceIterationResult,
URLExecutableSource, URLExecutableSource,
@@ -233,7 +233,7 @@ class LegendaryIterable(StoreSubSourceIterable):
else: else:
# Heroic native # Heroic native
logging.debug("Using Heroic native <= 2.8 legendary file") logging.debug("Using Heroic native <= 2.8 legendary file")
path = shared.home / ".config" path = shared.host_config_dir
path = path / "legendary" / "installed.json" path = path / "legendary" / "installed.json"
logging.debug("Using Heroic %s installed.json path %s", self.name, path) logging.debug("Using Heroic %s installed.json path %s", self.name, path)
@@ -355,7 +355,7 @@ class HeroicSource(URLExecutableSource):
name = _("Heroic") name = _("Heroic")
iterable_class = HeroicSourceIterable iterable_class = HeroicSourceIterable
url_format = "heroic://launch/{runner}/{app_name}" url_format = "heroic://launch/{runner}/{app_name}"
available_on = {"linux", "win32"} available_on = {"linux", "win32", "darwin"}
locations: HeroicLocations locations: HeroicLocations
@@ -371,12 +371,13 @@ class HeroicSource(URLExecutableSource):
schema_key="heroic-location", schema_key="heroic-location",
candidates=( candidates=(
shared.config_dir / "heroic", shared.config_dir / "heroic",
shared.home / ".config" / "heroic", shared.host_config_dir / "heroic",
shared.flatpak_dir shared.flatpak_dir
/ "com.heroicgameslauncher.hgl" / "com.heroicgameslauncher.hgl"
/ "config" / "config"
/ "heroic", / "heroic",
shared.appdata_dir / "heroic", shared.appdata_dir / "heroic",
shared.app_support_dir / "heroic",
), ),
paths={ paths={
"config.json": LocationSubPath("config.json"), "config.json": LocationSubPath("config.json"),

View File

@@ -24,14 +24,14 @@ from typing import Any, Optional
from gi.repository import Adw, Gio, GLib, Gtk from gi.repository import Adw, Gio, GLib, Gtk
from src import shared from cartridges import shared
from src.errors.error_producer import ErrorProducer from cartridges.errors.error_producer import ErrorProducer
from src.errors.friendly_error import FriendlyError from cartridges.errors.friendly_error import FriendlyError
from src.game import Game from cartridges.game import Game
from src.importer.sources.location import UnresolvableLocationError from cartridges.importer.location import UnresolvableLocationError
from src.importer.sources.source import Source from cartridges.importer.source import Source
from src.store.managers.async_manager import AsyncManager from cartridges.store.managers.async_manager import AsyncManager
from src.store.pipeline import Pipeline from cartridges.store.pipeline import Pipeline
# pylint: disable=too-many-instance-attributes # pylint: disable=too-many-instance-attributes
@@ -40,7 +40,7 @@ class Importer(ErrorProducer):
progressbar: Gtk.ProgressBar progressbar: Gtk.ProgressBar
import_statuspage: Adw.StatusPage import_statuspage: Adw.StatusPage
import_dialog: Adw.MessageDialog import_dialog: Adw.AlertDialog
summary_toast: Optional[Adw.Toast] = None summary_toast: Optional[Adw.Toast] = None
sources: set[Source] sources: set[Source]
@@ -53,6 +53,8 @@ class Importer(ErrorProducer):
removed_game_ids: set[str] removed_game_ids: set[str]
imported_game_ids: set[str] imported_game_ids: set[str]
close_attempt_id: int
def __init__(self) -> None: def __init__(self) -> None:
super().__init__() super().__init__()
@@ -105,10 +107,13 @@ class Importer(ErrorProducer):
def run(self) -> None: def run(self) -> None:
"""Use several Gio.Task to import games from added sources""" """Use several Gio.Task to import games from added sources"""
shared.win.get_application().state = shared.AppState.IMPORT
if self.__class__.summary_toast: if self.__class__.summary_toast:
self.__class__.summary_toast.dismiss() self.__class__.summary_toast.dismiss()
shared.win.get_application().lookup_action("import").set_enabled(False) shared.win.get_application().lookup_action("import").set_enabled(False)
shared.win.get_application().lookup_action("add_game").set_enabled(False)
self.create_dialog() self.create_dialog()
@@ -140,15 +145,17 @@ class Importer(ErrorProducer):
title=_("Importing Games…"), title=_("Importing Games…"),
child=self.progressbar, child=self.progressbar,
) )
self.import_dialog = Adw.Window( self.import_dialog = Adw.Dialog(
content=self.import_statuspage, child=self.import_statuspage,
modal=True, content_width=350,
default_width=350, can_close=False,
default_height=-1,
transient_for=shared.win,
deletable=False,
) )
self.import_dialog.present()
self.close_attempt_id = self.import_dialog.connect(
"close-attempt", lambda *_: shared.win.close()
)
self.import_dialog.present(shared.win)
def source_task_thread_func(self, data: tuple) -> None: def source_task_thread_func(self, data: tuple) -> None:
"""Source import task code""" """Source import task code"""
@@ -201,7 +208,11 @@ class Importer(ErrorProducer):
pipeline: Pipeline = shared.store.add_game(game, additional_data) pipeline: Pipeline = shared.store.add_game(game, additional_data)
if pipeline is not None: if pipeline is not None:
logging.info("Imported %s (%s)", game.name, game.game_id) logging.info("Imported %s (%s)", game.name, game.game_id)
pipeline.connect("advanced", self.pipeline_advanced_callback) pipeline.connect(
"advanced",
# I'm not sure idle_add is needed here, but a widget is updated in the callback
lambda *args: GLib.idle_add(self.pipeline_advanced_callback, *args),
)
self.game_pipelines.add(pipeline) self.game_pipelines.add(pipeline)
def update_progressbar(self) -> None: def update_progressbar(self) -> None:
@@ -268,10 +279,16 @@ class Importer(ErrorProducer):
self.imported_game_ids = shared.store.new_game_ids self.imported_game_ids = shared.store.new_game_ids
shared.store.new_game_ids = set() shared.store.new_game_ids = set()
shared.store.duplicate_game_ids = set() shared.store.duplicate_game_ids = set()
self.import_dialog.close() # Disconnect the close-attempt signal that closes the main window
self.import_dialog.disconnect(self.close_attempt_id)
# Stupid hack because stupid libadwaita is stupid
GLib.timeout_add(50, self.import_dialog.force_close)
self.__class__.summary_toast = self.create_summary_toast() self.__class__.summary_toast = self.create_summary_toast()
self.create_error_dialog() self.create_error_dialog()
shared.win.get_application().lookup_action("import").set_enabled(True) shared.win.get_application().lookup_action("import").set_enabled(True)
shared.win.get_application().lookup_action("add_game").set_enabled(True)
shared.win.get_application().state = shared.AppState.DEFAULT
shared.win.create_source_rows()
def create_error_dialog(self) -> None: def create_error_dialog(self) -> None:
"""Dialog containing all errors raised by importers""" """Dialog containing all errors raised by importers"""
@@ -298,13 +315,12 @@ class Importer(ErrorProducer):
return return
# Create error dialog # Create error dialog
dialog = Adw.MessageDialog() dialog = Adw.AlertDialog()
dialog.set_heading(_("Warning")) dialog.set_heading(_("Warning"))
dialog.add_response("close", _("Dismiss")) dialog.add_response("close", _("Dismiss"))
dialog.add_response("open_preferences_import", _("Preferences")) dialog.add_response("open_preferences_import", _("Preferences"))
dialog.set_default_response("open_preferences_import") dialog.set_default_response("open_preferences_import")
dialog.connect("response", self.dialog_response_callback) dialog.connect("response", self.dialog_response_callback)
dialog.set_transient_for(shared.win)
if len(errors) == 1: if len(errors) == 1:
dialog.set_heading((error := next(iter(errors)))[0]) dialog.set_heading((error := next(iter(errors)))[0])
@@ -323,7 +339,7 @@ class Importer(ErrorProducer):
dialog.set_body(_("The following errors occured during import:")) dialog.set_body(_("The following errors occured during import:"))
dialog.set_extra_child(list_box) dialog.set_extra_child(list_box)
dialog.present() dialog.present(shared.win)
def undo_import(self, *_args: Any) -> None: def undo_import(self, *_args: Any) -> None:
for game_id in self.imported_game_ids: for game_id in self.imported_game_ids:
@@ -388,7 +404,7 @@ class Importer(ErrorProducer):
self, self,
page_name: Optional[str] = None, page_name: Optional[str] = None,
expander_row: Optional[Adw.ExpanderRow] = None, expander_row: Optional[Adw.ExpanderRow] = None,
) -> Adw.PreferencesWindow: ) -> Adw.PreferencesDialog:
return shared.win.get_application().on_preferences_action( return shared.win.get_application().on_preferences_action(
page_name=page_name, expander_row=expander_row page_name=page_name, expander_row=expander_row
) )

View File

@@ -22,11 +22,11 @@ from shutil import rmtree
from sqlite3 import connect from sqlite3 import connect
from typing import NamedTuple from typing import NamedTuple
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.importer.sources.location import Location, LocationSubPath from cartridges.importer.location import Location, LocationSubPath
from src.importer.sources.source import SourceIterable, URLExecutableSource from cartridges.importer.source import SourceIterable, URLExecutableSource
from src.utils.sqlite import copy_db from cartridges.utils.sqlite import copy_db
class ItchSourceIterable(SourceIterable): class ItchSourceIterable(SourceIterable):
@@ -81,7 +81,7 @@ class ItchSource(URLExecutableSource):
name = _("itch") name = _("itch")
iterable_class = ItchSourceIterable iterable_class = ItchSourceIterable
url_format = "itch://caves/{cave_id}/launch" url_format = "itch://caves/{cave_id}/launch"
available_on = {"linux", "win32"} available_on = {"linux", "win32", "darwin"}
locations: ItchLocations locations: ItchLocations
@@ -93,8 +93,9 @@ class ItchSource(URLExecutableSource):
candidates=( candidates=(
shared.flatpak_dir / "io.itch.itch" / "config" / "itch", shared.flatpak_dir / "io.itch.itch" / "config" / "itch",
shared.config_dir / "itch", shared.config_dir / "itch",
shared.home / ".config" / "itch", shared.host_config_dir / "itch",
shared.appdata_dir / "itch", shared.appdata_dir / "itch",
shared.app_support_dir / "itch",
), ),
paths={ paths={
"butler.db": LocationSubPath("db/butler.db"), "butler.db": LocationSubPath("db/butler.db"),

View File

@@ -22,10 +22,10 @@ import logging
from json import JSONDecodeError from json import JSONDecodeError
from typing import NamedTuple from typing import NamedTuple
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.importer.sources.location import Location, LocationSubPath from cartridges.importer.location import Location, LocationSubPath
from src.importer.sources.source import ( from cartridges.importer.source import (
ExecutableFormatSource, ExecutableFormatSource,
SourceIterable, SourceIterable,
SourceIterationResult, SourceIterationResult,
@@ -108,7 +108,7 @@ class LegendarySource(ExecutableFormatSource):
schema_key="legendary-location", schema_key="legendary-location",
candidates=( candidates=(
shared.config_dir / "legendary", shared.config_dir / "legendary",
shared.home / ".config" / "legendary", shared.host_config_dir / "legendary",
), ),
paths={ paths={
"installed.json": LocationSubPath("installed.json"), "installed.json": LocationSubPath("installed.json"),

View File

@@ -3,7 +3,7 @@ from os import PathLike
from pathlib import Path from pathlib import Path
from typing import Iterable, Mapping, NamedTuple, Optional from typing import Iterable, Mapping, NamedTuple, Optional
from src import shared from cartridges import shared
PathSegment = str | PathLike | Path PathSegment = str | PathLike | Path
PathSegments = Iterable[PathSegment] PathSegments = Iterable[PathSegment]
@@ -16,7 +16,8 @@ class LocationSubPath(NamedTuple):
class UnresolvableLocationError(Exception): class UnresolvableLocationError(Exception):
pass def __init__(self, optional: Optional[bool] = False):
self.optional = optional
class Location: class Location:
@@ -49,12 +50,14 @@ class Location:
candidates: Iterable[Candidate], candidates: Iterable[Candidate],
paths: Mapping[str, LocationSubPath], paths: Mapping[str, LocationSubPath],
invalid_subtitle: str, invalid_subtitle: str,
optional: Optional[bool] = False,
) -> 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 self.invalid_subtitle = invalid_subtitle
self.optional = optional
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"""
@@ -87,7 +90,7 @@ class Location:
break break
else: else:
# No good candidate found # No good candidate found
raise UnresolvableLocationError() raise UnresolvableLocationError(self.optional)
# Update the schema with the found candidate # Update the schema with the found candidate
value = str(candidate) value = str(candidate)
@@ -96,7 +99,13 @@ class Location:
def __getitem__(self, key: str) -> Optional[Path]: def __getitem__(self, key: str) -> Optional[Path]:
"""Get the computed path from its key for the location""" """Get the computed path from its key for the location"""
self.resolve() try:
self.resolve()
except UnresolvableLocationError as error:
if error.optional:
return None
raise UnresolvableLocationError from error
if self.root: if self.root:
return self.root / self.paths[key].segment return self.root / self.paths[key].segment
return None return None

View File

@@ -1,6 +1,6 @@
# lutris_source.py # lutris_source.py
# #
# Copyright 2022-2023 kramo # Copyright 2022-2024 kramo
# Copyright 2023 Geoffrey Coulaud # Copyright 2023 Geoffrey Coulaud
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
@@ -21,11 +21,11 @@ from shutil import rmtree
from sqlite3 import connect from sqlite3 import connect
from typing import NamedTuple from typing import NamedTuple
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.importer.sources.location import Location, LocationSubPath from cartridges.importer.location import Location, LocationSubPath
from src.importer.sources.source import SourceIterable, URLExecutableSource from cartridges.importer.source import SourceIterable, URLExecutableSource
from src.utils.sqlite import copy_db from cartridges.utils.sqlite import copy_db
class LutrisSourceIterable(SourceIterable): class LutrisSourceIterable(SourceIterable):
@@ -36,24 +36,38 @@ class LutrisSourceIterable(SourceIterable):
# Query the database # Query the database
request = """ request = """
SELECT id, name, slug, runner, hidden SELECT
FROM 'games' games.id,
games.name,
games.slug,
games.runner,
categories.name = ".hidden" as hidden
FROM
games
LEFT JOIN
games_categories ON games_categories.game_id = games.id
FULL JOIN
categories ON games_categories.category_id = categories.id
WHERE WHERE
name IS NOT NULL games.name IS NOT NULL
AND slug IS NOT NULL AND games.slug IS NOT NULL
AND configPath IS NOT NULL AND games.configPath IS NOT NULL
AND installed AND games.installed
AND (runner IS NOT "steam" OR :import_steam) AND (games.runner IS NOT "steam" OR :import_steam)
AND (runner IS NOT "flatpak" OR :import_flatpak) AND (games.runner IS NOT "flatpak" OR :import_flatpak)
; ;
""" """
params = { params = {
"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.locations.config["pga.db"]) db_path = copy_db(self.source.locations.data["pga.db"])
connection = connect(db_path) connection = connect(db_path)
cursor = connection.execute(request, params) cursor = connection.execute(request, params)
coverart_is_dir = (
coverart_path := self.source.locations.data.root / "coverart"
).is_dir()
# Create games from the DB results # Create games from the DB results
for row in cursor: for row in cursor:
@@ -69,10 +83,12 @@ class LutrisSourceIterable(SourceIterable):
"executable": self.source.make_executable(game_id=row[0]), "executable": self.source.make_executable(game_id=row[0]),
} }
game = Game(values) game = Game(values)
additional_data = {}
# Get official image path # Get official image path
image_path = self.source.locations.cache["coverart"] / f"{row[2]}.jpg" if coverart_is_dir:
additional_data = {"local_image_path": image_path} image_path = coverart_path / f"{row[2]}.jpg"
additional_data["local_image_path"] = image_path
yield (game, additional_data) yield (game, additional_data)
@@ -81,8 +97,7 @@ class LutrisSourceIterable(SourceIterable):
class LutrisLocations(NamedTuple): class LutrisLocations(NamedTuple):
config: Location data: Location
cache: Location
class LutrisSource(URLExecutableSource): class LutrisSource(URLExecutableSource):
@@ -94,8 +109,6 @@ class LutrisSource(URLExecutableSource):
url_format = "lutris:rungameid/{game_id}" url_format = "lutris:rungameid/{game_id}"
available_on = {"linux"} available_on = {"linux"}
# FIXME possible bug: config picks ~/.var... and cache picks ~/.local...
locations: LutrisLocations locations: LutrisLocations
@property @property
@@ -110,23 +123,11 @@ class LutrisSource(URLExecutableSource):
candidates=( candidates=(
shared.flatpak_dir / "net.lutris.Lutris" / "data" / "lutris", shared.flatpak_dir / "net.lutris.Lutris" / "data" / "lutris",
shared.data_dir / "lutris", shared.data_dir / "lutris",
shared.home / ".local" / "share" / "lutris", shared.host_data_dir / "lutris",
), ),
paths={ paths={
"pga.db": LocationSubPath("pga.db"), "pga.db": LocationSubPath("pga.db"),
}, },
invalid_subtitle=Location.DATA_INVALID_SUBTITLE, invalid_subtitle=Location.DATA_INVALID_SUBTITLE,
), )
Location(
schema_key="lutris-cache-location",
candidates=(
shared.flatpak_dir / "net.lutris.Lutris" / "cache" / "lutris",
shared.cache_dir / "lutris",
shared.home / ".cache" / "lutris",
),
paths={
"coverart": LocationSubPath("coverart", True),
},
invalid_subtitle=Location.CACHE_INVALID_SUBTITLE,
),
) )

View File

@@ -26,16 +26,16 @@ from pathlib import Path
from shlex import quote as shell_quote from shlex import quote as shell_quote
from typing import NamedTuple from typing import NamedTuple
from src import shared from cartridges import shared
from src.errors.friendly_error import FriendlyError from cartridges.errors.friendly_error import FriendlyError
from src.game import Game from cartridges.game import Game
from src.importer.sources.location import ( from cartridges.importer.location import (
Location, Location,
LocationSubPath, LocationSubPath,
UnresolvableLocationError, UnresolvableLocationError,
) )
from src.importer.sources.source import Source, SourceIterable from cartridges.importer.source import Source, SourceIterable
from src.importer.sources.steam_source import SteamSource from cartridges.importer.steam_source import SteamSource
class RetroarchSourceIterable(SourceIterable): class RetroarchSourceIterable(SourceIterable):
@@ -157,7 +157,7 @@ class RetroarchSource(Source):
/ "config" / "config"
/ "retroarch", / "retroarch",
shared.config_dir / "retroarch", shared.config_dir / "retroarch",
shared.home / ".config" / "retroarch", shared.host_config_dir / "retroarch",
# TODO: Windows support, waiting for executable path setting improvement # TODO: Windows support, waiting for executable path setting improvement
# Path("C:\\RetroArch-Win64"), # Path("C:\\RetroArch-Win64"),
# Path("C:\\RetroArch-Win32"), # Path("C:\\RetroArch-Win32"),

View File

@@ -22,8 +22,8 @@ from abc import abstractmethod
from collections.abc import Iterable from collections.abc import Iterable
from typing import Any, Collection, Generator, Optional from typing import Any, Collection, Generator, Optional
from src.game import Game from cartridges.game import Game
from src.importer.sources.location import Location from cartridges.importer.location import Location, UnresolvableLocationError
# Type of the data returned by iterating on a Source # Type of the data returned by iterating on a Source
SourceIterationResult = Optional[Game | tuple[Game, tuple[Any]]] SourceIterationResult = Optional[Game | tuple[Game, tuple[Any]]]
@@ -87,10 +87,15 @@ class Source(Iterable):
def __iter__(self) -> Generator[SourceIterationResult, None, None]: 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 mandatory locations are unresolvable
""" """
for location in self.locations: for location in self.locations:
location.resolve() try:
location.resolve()
except UnresolvableLocationError as error:
if not error.optional:
raise UnresolvableLocationError from error
return iter(self.iterable_class(self)) return iter(self.iterable_class(self))
@@ -120,6 +125,8 @@ class URLExecutableSource(ExecutableFormatSource):
return "start " + self.url_format return "start " + self.url_format
case "linux": case "linux":
return "xdg-open " + self.url_format return "xdg-open " + self.url_format
case "darwin":
return "open " + self.url_format
case other: case other:
raise NotImplementedError( raise NotImplementedError(
f"No URL handler command available for {other}" f"No URL handler command available for {other}"

View File

@@ -23,11 +23,11 @@ import re
from pathlib import Path from pathlib import Path
from typing import Iterable, NamedTuple from typing import Iterable, NamedTuple
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.importer.sources.location import Location, LocationSubPath from cartridges.importer.location import Location, LocationSubPath
from src.importer.sources.source import SourceIterable, URLExecutableSource from cartridges.importer.source import SourceIterable, URLExecutableSource
from src.utils.steam import SteamFileHelper, SteamInvalidManifestError from cartridges.utils.steam import SteamFileHelper, SteamInvalidManifestError
class SteamSourceIterable(SourceIterable): class SteamSourceIterable(SourceIterable):
@@ -112,7 +112,7 @@ class SteamLocations(NamedTuple):
class SteamSource(URLExecutableSource): class SteamSource(URLExecutableSource):
source_id = "steam" source_id = "steam"
name = _("Steam") name = _("Steam")
available_on = {"linux", "win32"} available_on = {"linux", "win32", "darwin"}
iterable_class = SteamSourceIterable iterable_class = SteamSourceIterable
url_format = "steam://rungameid/{game_id}" url_format = "steam://rungameid/{game_id}"
@@ -128,6 +128,7 @@ class SteamSource(URLExecutableSource):
shared.data_dir / "Steam", shared.data_dir / "Steam",
shared.flatpak_dir / "com.valvesoftware.Steam" / "data" / "Steam", shared.flatpak_dir / "com.valvesoftware.Steam" / "data" / "Steam",
shared.programfiles32_dir / "Steam", shared.programfiles32_dir / "Steam",
shared.app_support_dir / "Steam",
), ),
paths={ paths={
"libraryfolders.vdf": LocationSubPath( "libraryfolders.vdf": LocationSubPath(

View File

@@ -25,7 +25,7 @@ from os import PathLike
from pathlib import Path from pathlib import Path
from typing import Optional from typing import Optional
from src import shared from cartridges import shared
class SessionFileHandler(StreamHandler): class SessionFileHandler(StreamHandler):

View File

@@ -24,7 +24,7 @@ import platform
import subprocess import subprocess
import sys import sys
from src import shared from cartridges import shared
def setup_logging() -> None: def setup_logging() -> None:
@@ -47,12 +47,12 @@ def setup_logging() -> None:
}, },
"console_formatter": { "console_formatter": {
"format": "%(name)s %(levelname)s - %(message)s", "format": "%(name)s %(levelname)s - %(message)s",
"class": "src.logging.color_log_formatter.ColorLogFormatter", "class": "cartridges.logging.color_log_formatter.ColorLogFormatter",
}, },
}, },
"handlers": { "handlers": {
"file_handler": { "file_handler": {
"class": "src.logging.session_file_handler.SessionFileHandler", "class": "cartridges.logging.session_file_handler.SessionFileHandler",
"formatter": "file_formatter", "formatter": "file_formatter",
"level": "DEBUG", "level": "DEBUG",
"filename": log_filename, "filename": log_filename,

411
cartridges/main.py Normal file
View File

@@ -0,0 +1,411 @@
# main.py
#
# Copyright 2022-2024 kramo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
import json
import lzma
import os
import shlex
import sys
from time import time
from typing import Any, Optional
from urllib.parse import quote
import gi
gi.require_version("Gtk", "4.0")
gi.require_version("Adw", "1")
# pylint: disable=wrong-import-position
from gi.repository import Adw, Gio, GLib, Gtk
from cartridges import shared
from cartridges.details_dialog import DetailsDialog
from cartridges.game import Game
from cartridges.importer.bottles_source import BottlesSource
from cartridges.importer.desktop_source import DesktopSource
from cartridges.importer.flatpak_source import FlatpakSource
from cartridges.importer.heroic_source import HeroicSource
from cartridges.importer.importer import Importer
from cartridges.importer.itch_source import ItchSource
from cartridges.importer.legendary_source import LegendarySource
from cartridges.importer.lutris_source import LutrisSource
from cartridges.importer.retroarch_source import RetroarchSource
from cartridges.importer.steam_source import SteamSource
from cartridges.logging.setup import log_system_info, setup_logging
from cartridges.preferences import CartridgesPreferences
from cartridges.store.managers.cover_manager import CoverManager
from cartridges.store.managers.display_manager import DisplayManager
from cartridges.store.managers.file_manager import FileManager
from cartridges.store.managers.sgdb_manager import SgdbManager
from cartridges.store.managers.steam_api_manager import SteamAPIManager
from cartridges.store.store import Store
from cartridges.utils.run_executable import run_executable
from cartridges.window import CartridgesWindow
if sys.platform == "darwin":
from AppKit import NSApp # type: ignore
from PyObjCTools import AppHelper
from cartridges.application_delegate import ApplicationDelegate
class CartridgesApplication(Adw.Application):
state = shared.AppState.DEFAULT
win: CartridgesWindow
init_search_term: Optional[str] = None
def __init__(self) -> None:
shared.store = Store()
super().__init__(application_id=shared.APP_ID)
search = GLib.OptionEntry()
search.long_name = "search"
search.short_name = ord("s")
search.flags = 0
search.arg = int(GLib.OptionArg.STRING)
search.arg_data = None
search.description = "Open the app with this term in the search entry"
search.arg_description = "TERM"
launch = GLib.OptionEntry()
launch.long_name = "launch"
launch.short_name = ord("l")
launch.flags = int(GLib.OptionFlags.NONE)
launch.arg = int(GLib.OptionArg.STRING)
launch.arg_data = None
launch.description = "Run a game with the given game_id"
launch.arg_description = "GAME_ID"
self.add_main_option_entries((search, launch))
if sys.platform == "darwin":
if settings := Gtk.Settings.get_default():
settings.props.gtk_decoration_layout = "close,minimize,maximize:"
def setup_app_delegate() -> None:
NSApp.setDelegate_(ApplicationDelegate.alloc().init()) # type: ignore
AppHelper.runEventLoop() # type: ignore
GLib.Thread.new(None, setup_app_delegate)
def do_activate(self) -> None: # pylint: disable=arguments-differ
"""Called on app creation"""
try:
setup_logging()
except ValueError:
pass
log_system_info()
# Set fallback icon-name
Gtk.Window.set_default_icon_name(shared.APP_ID)
# Create the main window
win = self.props.active_window # pylint: disable=no-member
if not win:
shared.win = win = CartridgesWindow(application=self)
# Save window geometry
shared.state_schema.bind(
"width", shared.win, "default-width", Gio.SettingsBindFlags.DEFAULT
)
shared.state_schema.bind(
"height", shared.win, "default-height", Gio.SettingsBindFlags.DEFAULT
)
shared.state_schema.bind(
"is-maximized", shared.win, "maximized", Gio.SettingsBindFlags.DEFAULT
)
# Load games from disk
shared.store.add_manager(FileManager(), False)
shared.store.add_manager(DisplayManager())
self.state = shared.AppState.LOAD_FROM_DISK
self.load_games_from_disk()
self.state = shared.AppState.DEFAULT
shared.win.create_source_rows()
# Add rest of the managers for game imports
shared.store.add_manager(CoverManager())
shared.store.add_manager(SteamAPIManager())
shared.store.add_manager(SgdbManager())
shared.store.toggle_manager_in_pipelines(FileManager, True)
# Create actions
self.create_actions(
{
("quit", ("<primary>q",)),
("about",),
("preferences", ("<primary>comma",)),
("launch_game",),
("hide_game",),
("edit_game",),
("add_game", ("<primary>n",)),
("import", ("<primary>i",)),
("remove_game_details_view", ("Delete",)),
("remove_game",),
("igdb_search",),
("sgdb_search",),
("protondb_search",),
("lutris_search",),
("hltb_search",),
("show_sidebar", ("F9",), shared.win),
("show_hidden", ("<primary>h",), shared.win),
("go_to_parent", ("<alt>Up",), shared.win),
("go_home", ("<alt>Home",), shared.win),
("toggle_search", ("<primary>f",), shared.win),
("undo", ("<primary>z",), shared.win),
("open_menu", ("F10",), shared.win),
("close", ("<primary>w",), shared.win),
}
)
sort_action = Gio.SimpleAction.new_stateful(
"sort_by",
GLib.VariantType.new("s"),
sort_mode := GLib.Variant("s", shared.state_schema.get_string("sort-mode")),
)
sort_action.connect("activate", shared.win.on_sort_action)
shared.win.add_action(sort_action)
shared.win.on_sort_action(sort_action, sort_mode)
if self.init_search_term: # For command line activation
shared.win.search_bar.set_search_mode(True)
shared.win.search_entry.set_text(self.init_search_term)
shared.win.search_entry.set_position(-1)
shared.win.present()
def do_handle_local_options(self, options: GLib.VariantDict) -> int:
if search := options.lookup_value("search"):
self.init_search_term = search.get_string()
elif game_id := options.lookup_value("launch"):
try:
data = json.load(
(path := shared.games_dir / (game_id.get_string() + ".json")).open(
"r", encoding="utf-8"
)
)
executable = (
shlex.join(data["executable"])
if isinstance(data["executable"], list)
else data["executable"]
)
name = data["name"]
run_executable(executable)
data["last_played"] = int(time())
json.dump(data, path.open("w", encoding="utf-8"))
except (IndexError, KeyError, OSError, json.decoder.JSONDecodeError):
return 1
self.register()
self.send_notification(
"launch", Gio.Notification.new(_("{} launched").format(name))
)
# Sleep for 6 seconds before withdrawing the notification
# The amount a notification stays up is ~5, so leave an extra second for the animation
GLib.usleep(6000000)
self.withdraw_notification("launch")
return 0
return -1
def load_games_from_disk(self) -> None:
if shared.games_dir.is_dir():
for game_file in shared.games_dir.iterdir():
try:
data = json.load(game_file.open())
except (OSError, json.decoder.JSONDecodeError):
continue
game = Game(data)
shared.store.add_game(game, {"skip_save": True})
def get_source_name(self, source_id: str) -> Any:
if source_id == "all":
name = _("All Games")
elif source_id == "imported":
name = _("Added")
else:
name = globals()[f'{source_id.split("_")[0].title()}Source'].name
return name
def on_about_action(self, *_args: Any) -> None:
# Get the debug info from the log files
debug_str = ""
for index, path in enumerate(shared.log_files):
# Add a horizontal line between runs
if index > 0:
debug_str += "" * 37 + "\n"
# Add the run's logs
log_file = (
lzma.open(path, "rt", encoding="utf-8")
if path.name.endswith(".xz")
else open(path, "r", encoding="utf-8")
)
debug_str += log_file.read()
log_file.close()
about = Adw.AboutDialog.new_from_appdata(
shared.PREFIX + "/" + shared.APP_ID + ".metainfo.xml", shared.VERSION
)
about.set_developers(
(
"kramo https://kramo.page",
"Geoffrey Coulaud https://geoffrey-coulaud.fr",
"Rilic https://rilic.red",
"Arcitec https://github.com/Arcitec",
"Paweł Lidwin https://github.com/imLinguin",
"Domenico https://github.com/Domefemia",
"Rafael Mardojai CM https://mardojai.com",
"Clara Hobbs https://github.com/Ratfink",
"Sabri Ünal https://github.com/sabriunal",
)
)
about.set_designers(("kramo https://kramo.page",))
about.set_copyright("© 2022-2024 kramo")
# Translators: Replace this with your name for it to show up in the about window
about.set_translator_credits = (_("translator_credits"),)
about.set_debug_info(debug_str)
about.set_debug_info_filename("cartridges.log")
about.add_legal_section(
"Steam Branding",
"© 2023 Valve Corporation",
Gtk.License.CUSTOM,
"Steam and the Steam logo are trademarks and/or registered trademarks of Valve Corporation in the U.S. and/or other countries.", # pylint: disable=line-too-long
)
about.present(shared.win)
def on_preferences_action(
self,
_action: Any = None,
_parameter: Any = None,
page_name: Optional[str] = None,
expander_row: Optional[str] = None,
) -> Optional[CartridgesPreferences]:
if CartridgesPreferences.is_open:
return
win = CartridgesPreferences()
if page_name:
win.set_visible_page_name(page_name)
if expander_row:
getattr(win, expander_row).set_expanded(True)
win.present(shared.win)
return win
def on_launch_game_action(self, *_args: Any) -> None:
shared.win.active_game.launch()
def on_hide_game_action(self, *_args: Any) -> None:
shared.win.active_game.toggle_hidden()
def on_edit_game_action(self, *_args: Any) -> None:
DetailsDialog(shared.win.active_game).present(shared.win)
def on_add_game_action(self, *_args: Any) -> None:
if DetailsDialog.is_open:
return
DetailsDialog().present(shared.win)
def on_import_action(self, *_args: Any) -> None:
shared.importer = Importer()
if shared.schema.get_boolean("lutris"):
shared.importer.add_source(LutrisSource())
if shared.schema.get_boolean("steam"):
shared.importer.add_source(SteamSource())
if shared.schema.get_boolean("heroic"):
shared.importer.add_source(HeroicSource())
if shared.schema.get_boolean("bottles"):
shared.importer.add_source(BottlesSource())
if shared.schema.get_boolean("flatpak"):
shared.importer.add_source(FlatpakSource())
if shared.schema.get_boolean("desktop"):
shared.importer.add_source(DesktopSource())
if shared.schema.get_boolean("itch"):
shared.importer.add_source(ItchSource())
if shared.schema.get_boolean("legendary"):
shared.importer.add_source(LegendarySource())
if shared.schema.get_boolean("retroarch"):
shared.importer.add_source(RetroarchSource())
shared.importer.run()
def on_remove_game_action(self, *_args: Any) -> None:
shared.win.active_game.remove_game()
def on_remove_game_details_view_action(self, *_args: Any) -> None:
if shared.win.navigation_view.get_visible_page() == shared.win.details_page:
self.on_remove_game_action()
def search(self, uri: str) -> None:
Gio.AppInfo.launch_default_for_uri(f"{uri}{quote(shared.win.active_game.name)}")
def on_igdb_search_action(self, *_args: Any) -> None:
self.search("https://www.igdb.com/search?type=1&q=")
def on_sgdb_search_action(self, *_args: Any) -> None:
self.search("https://www.steamgriddb.com/search/grids?term=")
def on_protondb_search_action(self, *_args: Any) -> None:
self.search("https://www.protondb.com/search?q=")
def on_lutris_search_action(self, *_args: Any) -> None:
self.search("https://lutris.net/games?q=")
def on_hltb_search_action(self, *_args: Any) -> None:
self.search("https://howlongtobeat.com/?q=")
def on_quit_action(self, *_args: Any) -> None:
self.quit()
def create_actions(self, actions: set) -> None:
for action in actions:
simple_action = Gio.SimpleAction.new(action[0], None)
scope = action[2] if action[2:3] else self
simple_action.connect("activate", getattr(scope, f"on_{action[0]}_action"))
if action[1:2]:
self.set_accels_for_action(
f"app.{action[0]}" if scope == self else f"win.{action[0]}",
tuple(s.replace("<primary>", "<meta>") for s in action[1]),
)
scope.add_action(simple_action)
def main(_version: int) -> Any:
"""App entry point"""
app = CartridgesApplication()
return app.run(sys.argv)

View File

@@ -1,11 +1,11 @@
moduledir = join_paths(pkgdatadir, 'src') moduledir = python_dir / 'cartridges'
configure_file( configure_file(
input: 'cartridges.in', input: 'cartridges.in',
output: 'cartridges', output: 'cartridges',
configuration: conf, configuration: conf,
install: true, install: true,
install_dir: get_option('bindir') install_dir: get_option('bindir'),
) )
install_subdir('importer', install_dir: moduledir) install_subdir('importer', install_dir: moduledir)
@@ -15,17 +15,14 @@ install_subdir('logging', install_dir: moduledir)
install_subdir('errors', install_dir: moduledir) install_subdir('errors', install_dir: moduledir)
install_data( install_data(
[ [
'application_delegate.py',
'main.py', 'main.py',
'window.py', 'window.py',
'preferences.py', 'preferences.py',
'details_window.py', 'details_dialog.py',
'game.py', 'game.py',
'game_cover.py', 'game_cover.py',
configure_file( configure_file(input: 'shared.py.in', output: 'shared.py', configuration: conf),
input: 'shared.py.in',
output: 'shared.py',
configuration: conf
)
], ],
install_dir: moduledir install_dir: moduledir,
) )

View File

@@ -21,28 +21,32 @@ import logging
import re import re
from pathlib import Path from pathlib import Path
from shutil import rmtree from shutil import rmtree
from sys import platform
from typing import Any, Callable, Optional from typing import Any, Callable, Optional
from gi.repository import Adw, Gio, GLib, Gtk from gi.repository import Adw, Gio, GLib, Gtk
from src import shared from cartridges import shared
from src.game import Game from cartridges.errors.friendly_error import FriendlyError
from src.importer.sources.bottles_source import BottlesSource from cartridges.game import Game
from src.importer.sources.flatpak_source import FlatpakSource from cartridges.importer.bottles_source import BottlesSource
from src.importer.sources.heroic_source import HeroicSource from cartridges.importer.desktop_source import DesktopSource
from src.importer.sources.itch_source import ItchSource from cartridges.importer.flatpak_source import FlatpakSource
from src.importer.sources.legendary_source import LegendarySource from cartridges.importer.heroic_source import HeroicSource
from src.importer.sources.location import UnresolvableLocationError from cartridges.importer.itch_source import ItchSource
from src.importer.sources.lutris_source import LutrisSource from cartridges.importer.legendary_source import LegendarySource
from src.importer.sources.retroarch_source import RetroarchSource from cartridges.importer.location import UnresolvableLocationError
from src.importer.sources.source import Source from cartridges.importer.lutris_source import LutrisSource
from src.importer.sources.steam_source import SteamSource from cartridges.importer.retroarch_source import RetroarchSource
from src.utils.create_dialog import create_dialog from cartridges.importer.source import Source
from cartridges.importer.steam_source import SteamSource
from cartridges.store.managers.sgdb_manager import SgdbManager
from cartridges.utils.create_dialog import create_dialog
@Gtk.Template(resource_path=shared.PREFIX + "/gtk/preferences.ui") @Gtk.Template(resource_path=shared.PREFIX + "/gtk/preferences.ui")
class PreferencesWindow(Adw.PreferencesWindow): class CartridgesPreferences(Adw.PreferencesDialog):
__gtype_name__ = "PreferencesWindow" __gtype_name__ = "CartridgesPreferences"
general_page = Gtk.Template.Child() general_page = Gtk.Template.Child()
import_page = Gtk.Template.Child() import_page = Gtk.Template.Child()
@@ -63,8 +67,6 @@ class PreferencesWindow(Adw.PreferencesWindow):
lutris_expander_row = Gtk.Template.Child() lutris_expander_row = Gtk.Template.Child()
lutris_data_action_row = Gtk.Template.Child() lutris_data_action_row = Gtk.Template.Child()
lutris_data_file_chooser_button = Gtk.Template.Child() lutris_data_file_chooser_button = Gtk.Template.Child()
lutris_cache_action_row = Gtk.Template.Child()
lutris_cache_file_chooser_button = Gtk.Template.Child()
lutris_import_steam_switch = Gtk.Template.Child() lutris_import_steam_switch = Gtk.Template.Child()
lutris_import_flatpak_switch = Gtk.Template.Child() lutris_import_flatpak_switch = Gtk.Template.Child()
@@ -93,8 +95,10 @@ class PreferencesWindow(Adw.PreferencesWindow):
retroarch_config_file_chooser_button = Gtk.Template.Child() retroarch_config_file_chooser_button = Gtk.Template.Child()
flatpak_expander_row = Gtk.Template.Child() flatpak_expander_row = Gtk.Template.Child()
flatpak_data_action_row = Gtk.Template.Child() flatpak_system_data_action_row = Gtk.Template.Child()
flatpak_data_file_chooser_button = Gtk.Template.Child() flatpak_system_data_file_chooser_button = Gtk.Template.Child()
flatpak_user_data_action_row = Gtk.Template.Child()
flatpak_user_data_file_chooser_button = Gtk.Template.Child()
flatpak_import_launchers_switch = Gtk.Template.Child() flatpak_import_launchers_switch = Gtk.Template.Child()
desktop_switch = Gtk.Template.Child() desktop_switch = Gtk.Template.Child()
@@ -102,23 +106,30 @@ class PreferencesWindow(Adw.PreferencesWindow):
sgdb_key_group = Gtk.Template.Child() sgdb_key_group = Gtk.Template.Child()
sgdb_key_entry_row = Gtk.Template.Child() sgdb_key_entry_row = Gtk.Template.Child()
sgdb_switch = Gtk.Template.Child() sgdb_switch = Gtk.Template.Child()
sgdb_switch_row = Gtk.Template.Child()
sgdb_prefer_switch = Gtk.Template.Child() sgdb_prefer_switch = Gtk.Template.Child()
sgdb_animated_switch = Gtk.Template.Child() sgdb_animated_switch = Gtk.Template.Child()
sgdb_fetch_button = Gtk.Template.Child()
sgdb_stack = Gtk.Template.Child()
sgdb_spinner = Gtk.Template.Child()
danger_zone_group = Gtk.Template.Child() danger_zone_group = Gtk.Template.Child()
reset_action_row = Gtk.Template.Child() remove_all_games_list_box = Gtk.Template.Child()
reset_button = Gtk.Template.Child() reset_list_box = Gtk.Template.Child()
remove_all_games_button = Gtk.Template.Child() reset_group = Gtk.Template.Child()
removed_games: set[Game] = set() removed_games: set[Game] = set()
warning_menu_buttons: dict = {} warning_menu_buttons: dict = {}
is_open = False
def __init__(self, **kwargs: Any) -> None: def __init__(self, **kwargs: Any) -> None:
super().__init__(**kwargs) super().__init__(**kwargs)
self.win = shared.win
# Make it so only one dialog can be open at a time
self.__class__.is_open = True
self.connect("closed", lambda *_: self.set_is_open(False))
self.file_chooser = Gtk.FileDialog() self.file_chooser = Gtk.FileDialog()
self.set_transient_for(self.win)
self.toast = Adw.Toast.new(_("All games removed")) self.toast = Adw.Toast.new(_("All games removed"))
self.toast.set_button_label(_("Undo")) self.toast.set_button_label(_("Undo"))
@@ -134,13 +145,12 @@ class PreferencesWindow(Adw.PreferencesWindow):
self.add_controller(shortcut_controller) self.add_controller(shortcut_controller)
# General # General
self.remove_all_games_button.connect("clicked", self.remove_all_games) self.remove_all_games_list_box.connect("row-activated", self.remove_all_games)
# Debug # Debug
if shared.PROFILE == "development": if shared.PROFILE == "development":
self.reset_action_row.set_visible(True) self.reset_group.set_visible(True)
self.reset_button.connect("clicked", self.reset_app) self.reset_list_box.connect("row-activated", self.reset_app)
self.set_default_size(-1, 560)
# Sources settings # Sources settings
for source_class in ( for source_class in (
@@ -160,6 +170,10 @@ class PreferencesWindow(Adw.PreferencesWindow):
else: else:
self.init_source_row(source) self.init_source_row(source)
# Special case for the desktop source
if not DesktopSource().is_available:
self.desktop_switch.set_visible(False)
# SteamGridDB # SteamGridDB
def sgdb_key_changed(*_args: Any) -> None: def sgdb_key_changed(*_args: Any) -> None:
shared.schema.set_string("sgdb-key", self.sgdb_key_entry_row.get_text()) shared.schema.set_string("sgdb-key", self.sgdb_key_entry_row.get_text())
@@ -175,14 +189,46 @@ class PreferencesWindow(Adw.PreferencesWindow):
) )
) )
def set_sgdb_sensitive(widget: Adw.EntryRow) -> None: def update_sgdb(*_args: Any) -> None:
if not widget.get_text(): counter = 0
shared.schema.set_boolean("sgdb", False) games_len = len(shared.store)
sgdb_manager = shared.store.managers[SgdbManager]
sgdb_manager.reset_cancellable()
self.sgdb_switch_row.set_sensitive(widget.get_text()) self.sgdb_spinner.set_spinning(True)
self.sgdb_stack.set_visible_child(self.sgdb_spinner)
self.sgdb_key_entry_row.connect("changed", set_sgdb_sensitive) self.add_toast(download_toast := Adw.Toast.new(_("Downloading covers…")))
set_sgdb_sensitive(self.sgdb_key_entry_row)
def update_cover_callback(manager: SgdbManager) -> None:
nonlocal counter
nonlocal games_len
nonlocal download_toast
counter += 1
if counter != games_len:
return
for error in manager.collect_errors():
if isinstance(error, FriendlyError):
create_dialog(self, error.title, error.subtitle)
break
for game in shared.store:
game.update()
toast = Adw.Toast.new(_("Covers updated"))
toast.set_priority(Adw.ToastPriority.HIGH)
download_toast.dismiss()
self.add_toast(toast)
self.sgdb_spinner.set_spinning(False)
self.sgdb_stack.set_visible_child(self.sgdb_fetch_button)
for game in shared.store:
sgdb_manager.process_game(game, {}, update_cover_callback)
self.sgdb_fetch_button.connect("clicked", update_sgdb)
# Switches # Switches
self.bind_switches( self.bind_switches(
@@ -205,6 +251,18 @@ class PreferencesWindow(Adw.PreferencesWindow):
} }
) )
def set_sgdb_sensitive(widget: Adw.EntryRow) -> None:
if not widget.get_text():
shared.schema.set_boolean("sgdb", False)
self.sgdb_switch.set_sensitive(widget.get_text())
self.sgdb_key_entry_row.connect("changed", set_sgdb_sensitive)
set_sgdb_sensitive(self.sgdb_key_entry_row)
def set_is_open(self, is_open: bool) -> None:
self.__class__.is_open = is_open
def get_switch(self, setting: str) -> Any: def get_switch(self, setting: str) -> Any:
return getattr(self, f'{setting.replace("-", "_")}_switch') return getattr(self, f'{setting.replace("-", "_")}_switch')
@@ -220,9 +278,10 @@ class PreferencesWindow(Adw.PreferencesWindow):
def choose_folder( def choose_folder(
self, _widget: Any, callback: Callable, callback_data: Optional[str] = None self, _widget: Any, callback: Callable, callback_data: Optional[str] = None
) -> None: ) -> None:
self.file_chooser.select_folder(self.win, None, callback, callback_data) self.file_chooser.select_folder(shared.win, None, callback, callback_data)
def undo_remove_all(self, *_args: Any) -> None: def undo_remove_all(self, *_args: Any) -> None:
shared.win.get_application().state = shared.AppState.UNDO_REMOVE_ALL_GAMES
for game in self.removed_games: for game in self.removed_games:
game.removed = False game.removed = False
game.save() game.save()
@@ -230,8 +289,12 @@ class PreferencesWindow(Adw.PreferencesWindow):
self.removed_games = set() self.removed_games = set()
self.toast.dismiss() self.toast.dismiss()
shared.win.get_application().state = shared.AppState.DEFAULT
shared.win.create_source_rows()
def remove_all_games(self, *_args: Any) -> None: def remove_all_games(self, *_args: Any) -> None:
shared.win.get_application().state = shared.AppState.REMOVE_ALL_GAMES
shared.win.row_selected(None, shared.win.all_games_row_box.get_parent())
for game in shared.store: for game in shared.store:
if not game.removed: if not game.removed:
self.removed_games.add(game) self.removed_games.add(game)
@@ -239,10 +302,12 @@ class PreferencesWindow(Adw.PreferencesWindow):
game.save() game.save()
game.update() game.update()
if self.win.stack.get_visible_child() == self.win.details_view: if shared.win.navigation_view.get_visible_page() == shared.win.details_page:
self.win.on_go_back_action() shared.win.navigation_view.pop()
self.add_toast(self.toast) self.add_toast(self.toast)
shared.win.get_application().state = shared.AppState.DEFAULT
shared.win.create_source_rows()
def reset_app(self, *_args: Any) -> None: def reset_app(self, *_args: Any) -> None:
rmtree(shared.data_dir / "cartridges", True) rmtree(shared.data_dir / "cartridges", True)
@@ -271,9 +336,16 @@ class PreferencesWindow(Adw.PreferencesWindow):
) )
if not action_row: if not action_row:
continue continue
path = Path(shared.schema.get_string(location.schema_key)).expanduser()
# Remove the path prefix if picked via Flatpak portal subtitle = str(Path(shared.schema.get_string(location.schema_key)))
subtitle = re.sub("/run/user/\\d*/doc/.*/", "", str(path))
if platform == "linux":
# Remove the path prefix if picked via Flatpak portal
subtitle = re.sub("/run/user/\\d*/doc/.*/", "", subtitle)
# Replace the home directory with "~"
subtitle = re.sub(f"^{str(shared.home)}", "~", subtitle)
action_row.set_subtitle(subtitle) action_row.set_subtitle(subtitle)
def resolve_locations(self, source: Source) -> None: def resolve_locations(self, source: Source) -> None:
@@ -291,7 +363,7 @@ class PreferencesWindow(Adw.PreferencesWindow):
except UnresolvableLocationError: except UnresolvableLocationError:
title = _("Installation Not Found") title = _("Installation Not Found")
description = _("Select a valid directory.") description = _("Select a valid directory")
format_start = '<span rise="12pt"><b><big>' format_start = '<span rise="12pt"><b><big>'
format_end = "</big></b></span>\n" format_end = "</big></b></span>\n"
@@ -341,7 +413,7 @@ class PreferencesWindow(Adw.PreferencesWindow):
"""Callback called when a dir picker button is clicked""" """Callback called when a dir picker button is clicked"""
try: try:
path = Path(self.file_chooser.select_folder_finish(result).get_path()) path = Path(self.file_chooser.select_folder_finish(result).get_path())
except GLib.GError: except GLib.Error:
return return
# Good picked location # Good picked location

View File

@@ -17,41 +17,68 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import os from enum import IntEnum, auto
from os import getenv
from pathlib import Path from pathlib import Path
from gi.repository import Gdk, Gio, GLib from gi.repository import Gdk, Gio, GLib
class AppState(IntEnum):
DEFAULT = auto()
LOAD_FROM_DISK = auto()
IMPORT = auto()
REMOVE_ALL_GAMES = auto()
UNDO_REMOVE_ALL_GAMES = auto()
APP_ID = "@APP_ID@" APP_ID = "@APP_ID@"
VERSION = "@VERSION@" VERSION = "@VERSION@"
PREFIX = "@PREFIX@" PREFIX = "@PREFIX@"
PROFILE = "@PROFILE@" PROFILE = "@PROFILE@"
TIFF_COMPRESSION = "@TIFF_COMPRESSION@"
SPEC_VERSION = 1.5 # The version of the game_id.json spec 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")
home = Path.home() home = Path.home()
data_dir = Path(GLib.get_user_data_dir()) data_dir = Path(GLib.get_user_data_dir())
host_data_dir = Path(getenv("HOST_XDG_DATA_HOME", Path.home() / ".local" / "share"))
config_dir = Path(GLib.get_user_config_dir()) config_dir = Path(GLib.get_user_config_dir())
host_config_dir = Path(getenv("HOST_XDG_CONFIG_HOME", Path.home() / ".config"))
cache_dir = Path(GLib.get_user_cache_dir()) cache_dir = Path(GLib.get_user_cache_dir())
host_cache_dir = Path(getenv("HOST_XDG_CACHE_HOME", Path.home() / ".cache"))
flatpak_dir = home / ".var" / "app" flatpak_dir = home / ".var" / "app"
games_dir = data_dir / "cartridges" / "games" games_dir = data_dir / "cartridges" / "games"
covers_dir = data_dir / "cartridges" / "covers" covers_dir = data_dir / "cartridges" / "covers"
appdata_dir = Path(os.getenv("appdata") or "C:\\Users\\Default\\AppData\\Roaming") appdata_dir = Path(getenv("appdata") or r"C:\Users\Default\AppData\Roaming")
local_appdata_dir = Path(os.getenv("csidl_local_appdata") or "C:\\Users\\Default\\AppData\\Local") local_appdata_dir = Path(
programfiles32_dir = Path(os.getenv("programfiles(x86)") or "C:\\Program Files (x86)") getenv("csidl_local_appdata") or r"C:\Users\Default\AppData\Local"
scale_factor = max(
monitor.get_scale_factor() for monitor in Gdk.Display.get_default().get_monitors()
) )
image_size = (200 * scale_factor, 300 * scale_factor) programfiles32_dir = Path(getenv("programfiles(x86)") or r"C:\Program Files (x86)")
app_support_dir = home / "Library" / "Application Support"
try:
scale_factor = max(
monitor.get_scale_factor()
for monitor in Gdk.Display.get_default().get_monitors()
)
except AttributeError: # If shared.py is imported by the search provider
pass
else:
image_size = (200 * scale_factor, 300 * scale_factor)
# pylint: disable=invalid-name # pylint: disable=invalid-name
win = None win = None
importer = None importer = None
import_time = None import_time = None
store = None store = None
log_files = None log_files = []

View File

@@ -21,8 +21,8 @@ from typing import Any, Callable
from gi.repository import Gio from gi.repository import Gio
from src.game import Game from cartridges.game import Game
from src.store.managers.manager import Manager from cartridges.store.managers.manager import Manager
class AsyncManager(Manager): class AsyncManager(Manager):

View File

@@ -25,11 +25,11 @@ import requests
from gi.repository import GdkPixbuf, Gio from gi.repository import GdkPixbuf, Gio
from requests.exceptions import HTTPError, SSLError from requests.exceptions import HTTPError, SSLError
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.store.managers.manager import Manager from cartridges.store.managers.manager import Manager
from src.store.managers.steam_api_manager import SteamAPIManager from cartridges.store.managers.steam_api_manager import SteamAPIManager
from src.utils.save_cover import convert_cover, save_cover from cartridges.utils.save_cover import convert_cover, save_cover
class ImageSize(NamedTuple): class ImageSize(NamedTuple):

View File

@@ -17,17 +17,18 @@
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
from src.game import Game from cartridges import shared
from src.game_cover import GameCover from cartridges.game import Game
from src.store.managers.manager import Manager from cartridges.game_cover import GameCover
from src.store.managers.sgdb_manager import SGDBManager from cartridges.store.managers.manager import Manager
from src.store.managers.steam_api_manager import SteamAPIManager from cartridges.store.managers.sgdb_manager import SgdbManager
from cartridges.store.managers.steam_api_manager import SteamAPIManager
class DisplayManager(Manager): class DisplayManager(Manager):
"""Manager in charge of adding a game to the UI""" """Manager in charge of adding a game to the UI"""
run_after = (SteamAPIManager, SGDBManager) run_after = (SteamAPIManager, SgdbManager)
signals = {"update-ready"} signals = {"update-ready"}
def main(self, game: Game, _additional_data: dict) -> None: def main(self, game: Game, _additional_data: dict) -> None:
@@ -46,27 +47,30 @@ class DisplayManager(Manager):
"notify::visible", game.toggle_play, None "notify::visible", game.toggle_play, None
) )
game.menu_button.get_popover().connect( game.menu_button.get_popover().connect(
"notify::visible", game.win.set_active_game, game "notify::visible", shared.win.set_active_game, game
) )
if game.game_id in game.win.game_covers: if game.game_id in shared.win.game_covers:
game.game_cover = game.win.game_covers[game.game_id] game.game_cover = shared.win.game_covers[game.game_id]
game.game_cover.add_picture(game.cover) game.game_cover.add_picture(game.cover)
else: else:
game.game_cover = GameCover({game.cover}, game.get_cover_path()) game.game_cover = GameCover({game.cover}, game.get_cover_path())
game.win.game_covers[game.game_id] = game.game_cover shared.win.game_covers[game.game_id] = game.game_cover
if ( if (
game.win.stack.get_visible_child() == game.win.details_view shared.win.navigation_view.get_visible_page() == shared.win.details_page
and game.win.active_game == game and shared.win.active_game == game
): ):
game.win.show_details_view(game) shared.win.show_details_page(game)
if not game.removed and not game.blacklisted: if not game.removed and not game.blacklisted:
if game.hidden: if game.hidden:
game.win.hidden_library.append(game) shared.win.hidden_library.append(game)
else: else:
game.win.library.append(game) shared.win.library.append(game)
game.get_parent().set_focusable(False) game.get_parent().set_focusable(False)
game.win.set_library_child() shared.win.set_library_child()
if shared.win.get_application().state == shared.AppState.DEFAULT:
shared.win.create_source_rows()

View File

@@ -19,10 +19,10 @@
import json import json
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.store.managers.async_manager import AsyncManager from cartridges.store.managers.async_manager import AsyncManager
from src.store.managers.steam_api_manager import SteamAPIManager from cartridges.store.managers.steam_api_manager import SteamAPIManager
class FileManager(AsyncManager): class FileManager(AsyncManager):
@@ -53,7 +53,7 @@ class FileManager(AsyncManager):
json.dump( json.dump(
{attr: getattr(game, attr) for attr in attrs if attr}, {attr: getattr(game, attr) for attr in attrs if attr},
(shared.games_dir / f"{game.game_id}.json").open("w"), (shared.games_dir / f"{game.game_id}.json").open("w", encoding="utf-8"),
indent=4, indent=4,
sort_keys=True, sort_keys=True,
) )

View File

@@ -22,9 +22,9 @@ from abc import abstractmethod
from time import sleep from time import sleep
from typing import Any, Callable, Container from typing import Any, Callable, Container
from src.errors.error_producer import ErrorProducer from cartridges.errors.error_producer import ErrorProducer
from src.errors.friendly_error import FriendlyError from cartridges.errors.friendly_error import FriendlyError
from src.game import Game from cartridges.game import Game
class Manager(ErrorProducer): class Manager(ErrorProducer):

View File

@@ -21,15 +21,15 @@ from json import JSONDecodeError
from requests.exceptions import HTTPError, SSLError from requests.exceptions import HTTPError, SSLError
from src.errors.friendly_error import FriendlyError from cartridges.errors.friendly_error import FriendlyError
from src.game import Game from cartridges.game import Game
from src.store.managers.async_manager import AsyncManager from cartridges.store.managers.async_manager import AsyncManager
from src.store.managers.cover_manager import CoverManager from cartridges.store.managers.cover_manager import CoverManager
from src.store.managers.steam_api_manager import SteamAPIManager from cartridges.store.managers.steam_api_manager import SteamAPIManager
from src.utils.steamgriddb import SGDBAuthError, SGDBHelper from cartridges.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, CoverManager) run_after = (SteamAPIManager, CoverManager)
@@ -37,9 +37,9 @@ class SGDBManager(AsyncManager):
def main(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)
except SGDBAuthError as error: except SgdbAuthError as error:
# If invalid auth, cancel all SGDBManager tasks # If invalid auth, cancel all SGDBManager tasks
self.cancellable.cancel() self.cancellable.cancel()
raise FriendlyError( raise FriendlyError(

View File

@@ -20,9 +20,9 @@
from requests.exceptions import HTTPError, SSLError from requests.exceptions import HTTPError, SSLError
from urllib3.exceptions import ConnectionError as Urllib3ConnectionError from urllib3.exceptions import ConnectionError as Urllib3ConnectionError
from src.game import Game from cartridges.game import Game
from src.store.managers.async_manager import AsyncManager from cartridges.store.managers.async_manager import AsyncManager
from src.utils.steam import ( from cartridges.utils.steam import (
SteamAPIHelper, SteamAPIHelper,
SteamGameNotFoundError, SteamGameNotFoundError,
SteamNotAGameError, SteamNotAGameError,

View File

@@ -22,8 +22,8 @@ from typing import Iterable
from gi.repository import GObject from gi.repository import GObject
from src.game import Game from cartridges.game import Game
from src.store.managers.manager import Manager from cartridges.store.managers.manager import Manager
class Pipeline(GObject.Object): class Pipeline(GObject.Object):

View File

@@ -20,10 +20,10 @@
import logging import logging
from typing import Any, Generator, MutableMapping, Optional from typing import Any, Generator, MutableMapping, Optional
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.store.managers.manager import Manager from cartridges.store.managers.manager import Manager
from src.store.pipeline import Pipeline from cartridges.store.pipeline import Pipeline
class Store: class Store:
@@ -48,7 +48,7 @@ class Store:
"""Check if the game is present in the store with the `in` keyword""" """Check if the game is present in the store with the `in` keyword"""
if not isinstance(obj, Game): if not isinstance(obj, Game):
return False return False
if not (source_mapping := self.source_games.get(obj.source)): if not (source_mapping := self.source_games.get(obj.base_source)):
return False return False
return obj.game_id in source_mapping return obj.game_id in source_mapping
@@ -60,7 +60,7 @@ class Store:
def __len__(self) -> int: def __len__(self) -> int:
"""Get the number of games in the store with the `len` builtin""" """Get the number of games in the store with the `len` builtin"""
return sum(len(source_mapping) for source_mapping in self.source_games) return sum(len(source_mapping) for source_mapping in self.source_games.values())
def __getitem__(self, game_id: str) -> Game: def __getitem__(self, game_id: str) -> Game:
"""Get a game by its id with `store["game_id_goes_here"]`""" """Get a game by its id with `store["game_id_goes_here"]`"""
@@ -150,9 +150,9 @@ class Store:
game.connect(signal, manager.run) game.connect(signal, manager.run)
# Add the game to the store # Add the game to the store
if not game.source in self.source_games: if not game.base_source in self.source_games:
self.source_games[game.source] = {} self.source_games[game.base_source] = {}
self.source_games[game.source][game.game_id] = game self.source_games[game.base_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:

View File

@@ -28,12 +28,12 @@ def create_dialog(
body: str, body: str,
extra_option: Optional[str] = None, extra_option: Optional[str] = None,
extra_label: Optional[str] = None, extra_label: Optional[str] = None,
) -> Adw.MessageDialog: ) -> Adw.AlertDialog:
dialog = Adw.MessageDialog.new(win, heading, body) dialog = Adw.AlertDialog.new(heading, body)
dialog.add_response("dismiss", _("Dismiss")) dialog.add_response("dismiss", _("Dismiss"))
if extra_option: if extra_option:
dialog.add_response(extra_option, _(extra_label)) dialog.add_response(extra_option, _(extra_label))
dialog.present() dialog.choose(win)
return dialog return dialog

View File

@@ -0,0 +1,43 @@
# run_executable.py
#
# 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
import logging
import os
import subprocess
from shlex import quote
from cartridges import shared
def run_executable(executable) -> None:
args = (
"flatpak-spawn --host /bin/sh -c " + quote(executable) # Flatpak
if os.getenv("FLATPAK_ID") == shared.APP_ID
else executable # Others
)
logging.info("Launching `%s`", str(args))
# pylint: disable=consider-using-with
subprocess.Popen(
args,
cwd=shared.home,
shell=True,
start_new_session=True,
creationflags=subprocess.CREATE_NEW_PROCESS_GROUP if os.name == "nt" else 0, # type: ignore
)

View File

@@ -25,7 +25,7 @@ from typing import Optional
from gi.repository import Gdk, GdkPixbuf, Gio, GLib from gi.repository import Gdk, GdkPixbuf, Gio, GLib
from PIL import Image, ImageSequence, UnidentifiedImageError from PIL import Image, ImageSequence, UnidentifiedImageError
from src import shared from cartridges import shared
def convert_cover( def convert_cover(
@@ -61,7 +61,6 @@ def convert_cover(
tmp_path, tmp_path,
save_all=True, save_all=True,
append_images=frames[1:], append_images=frames[1:],
disposal=2,
) )
else: else:
@@ -75,7 +74,7 @@ def convert_cover(
tmp_path, tmp_path,
compression="tiff_adobe_deflate" compression="tiff_adobe_deflate"
if shared.schema.get_boolean("high-quality-images") if shared.schema.get_boolean("high-quality-images")
else "webp", else shared.TIFF_COMPRESSION,
) )
except UnidentifiedImageError: except UnidentifiedImageError:
try: try:
@@ -83,7 +82,7 @@ def convert_cover(
tmp_path := Gio.File.new_tmp("XXXXXX.tiff")[0].get_path() tmp_path := Gio.File.new_tmp("XXXXXX.tiff")[0].get_path()
) )
return convert_cover(tmp_path) return convert_cover(tmp_path)
except GLib.GError: except GLib.Error:
return None return None
return tmp_path return tmp_path

View File

@@ -27,8 +27,8 @@ from typing import TypedDict
import requests import requests
from requests.exceptions import HTTPError from requests.exceptions import HTTPError
from src import shared from cartridges import shared
from src.utils.rate_limiter import RateLimiter from cartridges.utils.rate_limiter import RateLimiter
class SteamError(Exception): class SteamError(Exception):

View File

@@ -26,32 +26,32 @@ import requests
from gi.repository import Gio from gi.repository import Gio
from requests.exceptions import HTTPError from requests.exceptions import HTTPError
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.utils.save_cover import convert_cover, save_cover from cartridges.utils.save_cover import convert_cover, save_cover
class SGDBError(Exception): class SgdbError(Exception):
pass pass
class SGDBAuthError(SGDBError): class SgdbAuthError(SgdbError):
pass pass
class SGDBGameNotFoundError(SGDBError): class SgdbGameNotFound(SgdbError):
pass pass
class SGDBBadRequestError(SGDBError): class SgdbBadRequest(SgdbError):
pass pass
class SGDBNoImageFoundError(SGDBError): class SgdbNoImageFound(SgdbError):
pass pass
class SGDBHelper: class SgdbHelper:
"""Helper class to make queries to SteamGridDB""" """Helper class to make queries to SteamGridDB"""
base_url = "https://www.steamgriddb.com/api/v2/" base_url = "https://www.steamgriddb.com/api/v2/"
@@ -70,9 +70,9 @@ class SGDBHelper:
case 200: case 200:
return res.json()["data"][0]["id"] return res.json()["data"][0]["id"]
case 401: case 401:
raise SGDBAuthError(res.json()["errors"][0]) raise SgdbAuthError(res.json()["errors"][0])
case 404: case 404:
raise SGDBGameNotFoundError(res.status_code) raise SgdbGameNotFound(res.status_code)
case _: case _:
res.raise_for_status() res.raise_for_status()
@@ -86,12 +86,12 @@ class SGDBHelper:
case 200: case 200:
data = res.json()["data"] data = res.json()["data"]
if len(data) == 0: if len(data) == 0:
raise SGDBNoImageFoundError() raise SgdbNoImageFound()
return data[0]["url"] return data[0]["url"]
case 401: case 401:
raise SGDBAuthError(res.json()["errors"][0]) raise SgdbAuthError(res.json()["errors"][0])
case 404: case 404:
raise SGDBGameNotFoundError(res.status_code) raise SgdbGameNotFound(res.status_code)
case _: case _:
res.raise_for_status() res.raise_for_status()
@@ -115,7 +115,7 @@ class SGDBHelper:
# Get ID for the game # Get ID for the game
try: try:
sgdb_id = self.get_game_id(game) sgdb_id = self.get_game_id(game)
except (HTTPError, SGDBError) as error: except (HTTPError, SgdbError) as error:
logging.warning( logging.warning(
"%s while getting SGDB ID for %s", type(error).__name__, game.name "%s while getting SGDB ID for %s", type(error).__name__, game.name
) )
@@ -135,10 +135,10 @@ class SGDBHelper:
tmp_file_path = tmp_file.get_path() tmp_file_path = tmp_file.get_path()
Path(tmp_file_path).write_bytes(response.content) Path(tmp_file_path).write_bytes(response.content)
save_cover(game.game_id, convert_cover(tmp_file_path)) save_cover(game.game_id, convert_cover(tmp_file_path))
except SGDBAuthError as error: except SgdbAuthError as error:
# Let caller handle auth errors # Let caller handle auth errors
raise error raise error
except (HTTPError, SGDBError) as error: except (HTTPError, SgdbError) as error:
logging.warning( logging.warning(
"%s while getting image for %s kwargs=%s", "%s while getting image for %s kwargs=%s",
type(error).__name__, type(error).__name__,
@@ -156,4 +156,4 @@ class SGDBHelper:
game.name, game.name,
sgdb_id, sgdb_id,
) )
raise SGDBNoImageFoundError() raise SgdbNoImageFound()

View File

@@ -18,38 +18,48 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
from typing import Any, Optional from typing import Any, Optional
from sys import platform
from gi.repository import Adw, Gio, GLib, Gtk from gi.repository import Adw, Gio, GLib, Gtk, Pango
from src import shared from cartridges import shared
from src.game import Game from cartridges.game import Game
from src.game_cover import GameCover from cartridges.game_cover import GameCover
from src.utils.relative_date import relative_date from cartridges.utils.relative_date import relative_date
@Gtk.Template(resource_path=shared.PREFIX + "/gtk/window.ui") @Gtk.Template(resource_path=shared.PREFIX + "/gtk/window.ui")
class CartridgesWindow(Adw.ApplicationWindow): class CartridgesWindow(Adw.ApplicationWindow):
__gtype_name__ = "CartridgesWindow" __gtype_name__ = "CartridgesWindow"
overlay_split_view = Gtk.Template.Child()
navigation_view = Gtk.Template.Child()
sidebar_navigation_page = Gtk.Template.Child()
sidebar = Gtk.Template.Child()
all_games_row_box = Gtk.Template.Child()
all_games_no_label = Gtk.Template.Child()
added_row_box = Gtk.Template.Child()
added_games_no_label = Gtk.Template.Child()
toast_overlay = Gtk.Template.Child() toast_overlay = Gtk.Template.Child()
primary_menu_button = Gtk.Template.Child() primary_menu_button = Gtk.Template.Child()
stack = Gtk.Template.Child() show_sidebar_button = Gtk.Template.Child()
details_view = Gtk.Template.Child() details_view = Gtk.Template.Child()
library_page = Gtk.Template.Child()
library_view = Gtk.Template.Child() library_view = Gtk.Template.Child()
library = Gtk.Template.Child() library = Gtk.Template.Child()
scrolledwindow = Gtk.Template.Child() scrolledwindow = Gtk.Template.Child()
library_bin = Gtk.Template.Child() library_overlay = Gtk.Template.Child()
notice_empty = Gtk.Template.Child() notice_empty = Gtk.Template.Child()
notice_no_results = Gtk.Template.Child() notice_no_results = Gtk.Template.Child()
search_bar = Gtk.Template.Child() search_bar = Gtk.Template.Child()
search_entry = Gtk.Template.Child() search_entry = Gtk.Template.Child()
search_button = Gtk.Template.Child() search_button = Gtk.Template.Child()
details_view_box = Gtk.Template.Child() details_page = Gtk.Template.Child()
details_view_toolbar_view = Gtk.Template.Child()
details_view_cover = Gtk.Template.Child() details_view_cover = Gtk.Template.Child()
details_view_spinner = Gtk.Template.Child() details_view_spinner = Gtk.Template.Child()
details_view_title = Gtk.Template.Child() details_view_title = Gtk.Template.Child()
details_view_header_bar_title = Gtk.Template.Child()
details_view_blurred_cover = Gtk.Template.Child() details_view_blurred_cover = Gtk.Template.Child()
details_view_play_button = Gtk.Template.Child() details_view_play_button = Gtk.Template.Child()
details_view_developer = Gtk.Template.Child() details_view_developer = Gtk.Template.Child()
@@ -57,11 +67,12 @@ class CartridgesWindow(Adw.ApplicationWindow):
details_view_last_played = Gtk.Template.Child() details_view_last_played = Gtk.Template.Child()
details_view_hide_button = Gtk.Template.Child() details_view_hide_button = Gtk.Template.Child()
hidden_library_page = Gtk.Template.Child()
hidden_primary_menu_button = Gtk.Template.Child() hidden_primary_menu_button = Gtk.Template.Child()
hidden_library = Gtk.Template.Child() hidden_library = Gtk.Template.Child()
hidden_library_view = Gtk.Template.Child() hidden_library_view = Gtk.Template.Child()
hidden_scrolledwindow = Gtk.Template.Child() hidden_scrolledwindow = Gtk.Template.Child()
hidden_library_bin = Gtk.Template.Child() hidden_library_overlay = Gtk.Template.Child()
hidden_notice_empty = Gtk.Template.Child() hidden_notice_empty = Gtk.Template.Child()
hidden_notice_no_results = Gtk.Template.Child() hidden_notice_no_results = Gtk.Template.Child()
hidden_search_bar = Gtk.Template.Child() hidden_search_bar = Gtk.Template.Child()
@@ -72,15 +83,145 @@ class CartridgesWindow(Adw.ApplicationWindow):
toasts: dict = {} toasts: dict = {}
active_game: Game active_game: Game
details_view_game_cover: Optional[GameCover] = None details_view_game_cover: Optional[GameCover] = None
sort_state: str = "a-z" sort_state: str = "last_played"
filter_state: str = "all"
source_rows: dict = {}
def create_source_rows(self) -> None:
def get_removed(source_id: str) -> Any:
removed = tuple(
game.removed or game.hidden or game.blacklisted
for game in shared.store.source_games[source_id].values()
)
return (
(count,) if (count := sum(removed)) != len(removed) else False
) # Return a tuple because 0 == False and 1 == True
total_games_no = 0
restored = False
selected_id = (
self.source_rows[selected_row][0]
if (selected_row := self.sidebar.get_selected_row()) in self.source_rows
else None
)
if selected_row == self.added_row_box.get_parent():
self.sidebar.select_row(self.added_row_box.get_parent())
restored = True
if added_missing := (
not shared.store.source_games.get("imported")
or not (removed := get_removed("imported"))
):
self.sidebar.select_row(self.all_games_row_box.get_parent())
else:
games_no = len(shared.store.source_games["imported"]) - removed[0]
self.added_games_no_label.set_label(str(games_no))
total_games_no += games_no
self.added_row_box.get_parent().set_visible(not added_missing)
self.sidebar.get_row_at_index(2).set_visible(False)
while row := self.sidebar.get_row_at_index(3):
self.sidebar.remove(row)
for source_id in shared.store.source_games:
if source_id == "imported":
continue
if not (removed := get_removed(source_id)):
continue
row = Gtk.Box(
margin_top=12,
margin_bottom=12,
margin_start=6,
margin_end=6,
spacing=12,
)
games_no = len(shared.store.source_games[source_id]) - removed[0]
total_games_no += games_no
row.append(
Gtk.Image.new_from_icon_name(
"user-desktop-symbolic"
if (split_id := source_id.split("_")[0]) == "desktop"
else f"{split_id}-source-symbolic"
)
)
row.append(
Gtk.Label(
label=self.get_application().get_source_name(source_id),
halign=Gtk.Align.START,
wrap=True,
wrap_mode=Pango.WrapMode.CHAR,
)
)
row.append(
games_no_label := Gtk.Label(
label=games_no,
hexpand=True,
halign=Gtk.Align.END,
)
)
games_no_label.add_css_class("dim-label")
# Order rows based on the number of games in them
index = 3
while source_row := self.sidebar.get_row_at_index(index):
if self.source_rows[source_row][1] < games_no:
self.sidebar.insert(row, index)
break
index += 1
if not row.get_parent():
self.sidebar.append(row)
self.source_rows[row.get_parent()] = (
source_id,
games_no,
)
if source_id == selected_id:
self.sidebar.select_row(row.get_parent())
restored = True
self.sidebar.get_row_at_index(2).set_visible(True)
self.all_games_no_label.set_label(str(total_games_no))
if not restored:
self.sidebar.select_row(self.all_games_row_box.get_parent())
def row_selected(self, _widget: Any, row: Gtk.ListBoxRow | None) -> None:
if not row:
return
match row.get_child():
case self.all_games_row_box:
value = "all"
case self.added_row_box:
value = "imported"
case _:
value = self.source_rows[row][0]
self.library_page.set_title(self.get_application().get_source_name(value))
self.filter_state = value
self.library.invalidate_filter()
if self.overlay_split_view.get_collapsed():
self.overlay_split_view.set_show_sidebar(False)
def __init__(self, **kwargs: Any) -> None: def __init__(self, **kwargs: Any) -> None:
super().__init__(**kwargs) super().__init__(**kwargs)
self.previous_page = self.library_view if platform == "darwin":
self.sidebar_navigation_page.set_title("")
self.details_view.set_measure_overlay(self.details_view_box, True) self.details_view.set_measure_overlay(self.details_view_toolbar_view, True)
self.details_view.set_clip_overlay(self.details_view_box, False) self.details_view.set_clip_overlay(self.details_view_toolbar_view, False)
self.library.set_filter_func(self.filter_func) self.library.set_filter_func(self.filter_func)
self.hidden_library.set_filter_func(self.filter_func) self.hidden_library.set_filter_func(self.filter_func)
@@ -92,6 +233,12 @@ class CartridgesWindow(Adw.ApplicationWindow):
self.notice_empty.set_icon_name(shared.APP_ID + "-symbolic") self.notice_empty.set_icon_name(shared.APP_ID + "-symbolic")
self.overlay_split_view.set_show_sidebar(
shared.state_schema.get_boolean("show-sidebar")
)
self.sidebar.select_row(self.all_games_row_box.get_parent())
if shared.PROFILE == "development": if shared.PROFILE == "development":
self.add_css_class("devel") self.add_css_class("devel")
@@ -103,12 +250,13 @@ class CartridgesWindow(Adw.ApplicationWindow):
self.search_entry.connect("search-changed", self.search_changed, False) self.search_entry.connect("search-changed", self.search_changed, False)
self.hidden_search_entry.connect("search-changed", self.search_changed, True) self.hidden_search_entry.connect("search-changed", self.search_changed, True)
self.search_entry.connect("activate", self.show_details_view_search) self.search_entry.connect("activate", self.show_details_page_search)
self.hidden_search_entry.connect("activate", self.show_details_view_search) self.hidden_search_entry.connect("activate", self.show_details_page_search)
back_mouse_button = Gtk.GestureClick(button=8) self.navigation_view.connect("popped", self.set_show_hidden)
(back_mouse_button).connect("pressed", self.on_go_back_action) self.navigation_view.connect("pushed", self.set_show_hidden)
self.add_controller(back_mouse_button)
self.sidebar.connect("row-selected", self.row_selected)
style_manager = Adw.StyleManager.get_default() style_manager = Adw.StyleManager.get_default()
style_manager.connect("notify::dark", self.set_details_view_opacity) style_manager.connect("notify::dark", self.set_details_view_opacity)
@@ -140,25 +288,38 @@ class CartridgesWindow(Adw.ApplicationWindow):
if game.removed or game.blacklisted: if game.removed or game.blacklisted:
continue continue
if game.hidden: if game.hidden:
if game.filtered and hidden_child != self.hidden_scrolledwindow: if game.filtered and hidden_child:
hidden_child = self.hidden_notice_no_results hidden_child = self.hidden_notice_no_results
continue continue
hidden_child = self.hidden_scrolledwindow hidden_child = None
else: else:
if game.filtered and child != self.scrolledwindow: if game.filtered and child:
child = self.notice_no_results child = self.notice_no_results
continue continue
child = self.scrolledwindow child = None
self.library_bin.set_child(child) def remove_from_overlay(widget: Gtk.Widget) -> None:
self.hidden_library_bin.set_child(hidden_child) if isinstance(widget.get_parent(), Gtk.Overlay):
widget.get_parent().remove_overlay(widget)
if child:
self.library_overlay.add_overlay(child)
else:
remove_from_overlay(self.notice_empty)
remove_from_overlay(self.notice_no_results)
if hidden_child:
self.hidden_library_overlay.add_overlay(hidden_child)
else:
remove_from_overlay(self.hidden_notice_empty)
remove_from_overlay(self.hidden_notice_no_results)
def filter_func(self, child: Gtk.Widget) -> bool: def filter_func(self, child: Gtk.Widget) -> bool:
game = child.get_child() game = child.get_child()
text = ( text = (
( (
self.hidden_search_entry self.hidden_search_entry
if self.stack.get_visible_child() == self.hidden_library_view if self.navigation_view.get_visible_page() == self.hidden_library_page
else self.search_entry else self.search_entry
) )
.get_text() .get_text()
@@ -170,6 +331,12 @@ class CartridgesWindow(Adw.ApplicationWindow):
or (text in game.developer.lower() if game.developer else False) or (text in game.developer.lower() if game.developer else False)
) )
if not filtered:
if self.filter_state == "all":
pass
elif game.base_source != self.filter_state:
filtered = True
game.filtered = filtered game.filtered = filtered
self.set_library_child() self.set_library_child()
@@ -178,7 +345,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
def set_active_game(self, _widget: Any, _pspec: Any, game: Game) -> None: def set_active_game(self, _widget: Any, _pspec: Any, game: Game) -> None:
self.active_game = game self.active_game = game
def show_details_view(self, game: Game) -> None: def show_details_page(self, game: Game) -> None:
self.active_game = game self.active_game = game
self.details_view_cover.set_opacity(int(not game.loading)) self.details_view_cover.set_opacity(int(not game.loading))
@@ -205,7 +372,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
) )
self.details_view_title.set_label(game.name) self.details_view_title.set_label(game.name)
self.details_view_header_bar_title.set_title(game.name) self.details_page.set_title(game.name)
date = relative_date(game.added) date = relative_date(game.added)
self.details_view_added.set_label( self.details_view_added.set_label(
@@ -220,14 +387,14 @@ class CartridgesWindow(Adw.ApplicationWindow):
_("Last played: {}").format(last_played_date) _("Last played: {}").format(last_played_date)
) )
if self.stack.get_visible_child() != self.details_view: if self.navigation_view.get_visible_page() != self.details_page:
self.navigate(self.details_view) self.navigation_view.push(self.details_page)
self.set_focus(self.details_view_play_button) self.set_focus(self.details_view_play_button)
self.set_details_view_opacity() self.set_details_view_opacity()
def set_details_view_opacity(self, *_args: Any) -> None: def set_details_view_opacity(self, *_args: Any) -> None:
if self.stack.get_visible_child() != self.details_view: if self.navigation_view.get_visible_page() != self.details_page:
return return
if ( if (
@@ -253,51 +420,40 @@ class CartridgesWindow(Adw.ApplicationWindow):
order = False order = False
def get_value(index: int) -> str: def get_value(index: int) -> str:
return str( return (
getattr((child1.get_child(), child2.get_child())[index], var) str(getattr((child1.get_child(), child2.get_child())[index], var))
).lower() .lower()
.removeprefix("the ")
)
if var != "name" and get_value(0) == get_value(1): if var != "name" and get_value(0) == get_value(1):
var, order = "name", False var, order = "name", False
return ((get_value(0) > get_value(1)) ^ order) * 2 - 1 return ((get_value(0) > get_value(1)) ^ order) * 2 - 1
def navigate(self, next_page: Gtk.Widget) -> None: def set_show_hidden(self, navigation_view: Adw.NavigationView, *_args: Any) -> None:
levels = (self.library_view, self.hidden_library_view, self.details_view) self.lookup_action("show_hidden").set_enabled(
self.stack.set_transition_type( navigation_view.get_visible_page() == self.library_page
Gtk.StackTransitionType.UNDER_RIGHT
if levels.index(self.stack.get_visible_child()) - levels.index(next_page)
> 0
else Gtk.StackTransitionType.OVER_LEFT
) )
if next_page in (self.library_view, self.hidden_library_view): def on_show_sidebar_action(self, *_args: Any) -> None:
self.previous_page = next_page shared.state_schema.set_boolean(
self.lookup_action("show_hidden").set_enabled( "show-sidebar", (value := not self.overlay_split_view.get_show_sidebar())
next_page == self.library_view )
) self.overlay_split_view.set_show_sidebar(value)
self.stack.set_visible_child(next_page)
def on_go_back_action(self, *_args: Any) -> None:
if self.stack.get_visible_child() == self.hidden_library_view:
self.navigate(self.library_view)
elif self.stack.get_visible_child() == self.details_view:
self.on_go_to_parent_action()
def on_go_to_parent_action(self, *_args: Any) -> None: def on_go_to_parent_action(self, *_args: Any) -> None:
if self.stack.get_visible_child() == self.details_view: if self.navigation_view.get_visible_page() == self.details_page:
self.navigate( self.navigation_view.pop()
self.hidden_library_view
if self.previous_page == self.hidden_library_view
else self.library_view
)
def on_go_home_action(self, *_args: Any) -> None: def on_go_home_action(self, *_args: Any) -> None:
self.navigate(self.library_view) self.navigation_view.pop_to_page(self.library_page)
def on_show_hidden_action(self, *_args: Any) -> None: def on_show_hidden_action(self, *_args: Any) -> None:
self.navigate(self.hidden_library_view) if self.navigation_view.get_visible_page() == self.hidden_library_page:
return
self.navigation_view.push(self.hidden_library_page)
def on_sort_action(self, action: Gio.SimpleAction, state: GLib.Variant) -> None: def on_sort_action(self, action: Gio.SimpleAction, state: GLib.Variant) -> None:
action.set_state(state) action.set_state(state)
@@ -307,10 +463,10 @@ class CartridgesWindow(Adw.ApplicationWindow):
shared.state_schema.set_string("sort-mode", self.sort_state) shared.state_schema.set_string("sort-mode", self.sort_state)
def on_toggle_search_action(self, *_args: Any) -> None: def on_toggle_search_action(self, *_args: Any) -> None:
if self.stack.get_visible_child() == self.library_view: if self.navigation_view.get_visible_page() == self.library_page:
search_bar = self.search_bar search_bar = self.search_bar
search_entry = self.search_entry search_entry = self.search_entry
elif self.stack.get_visible_child() == self.hidden_library_view: elif self.navigation_view.get_visible_page() == self.hidden_library_page:
search_bar = self.hidden_search_bar search_bar = self.hidden_search_bar
search_entry = self.hidden_search_entry search_entry = self.hidden_search_entry
else: else:
@@ -323,16 +479,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
search_entry.set_text("") search_entry.set_text("")
def on_escape_action(self, *_args: Any) -> None: def show_details_page_search(self, widget: Gtk.Widget) -> None:
if (
self.get_focus() == self.search_entry.get_focus_child()
or self.hidden_search_entry.get_focus_child()
):
self.on_toggle_search_action()
else:
self.on_go_back_action()
def show_details_view_search(self, widget: Gtk.Widget) -> None:
library = ( library = (
self.hidden_library if widget == self.hidden_search_entry else self.library self.hidden_library if widget == self.hidden_search_entry else self.library
) )
@@ -343,7 +490,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
break break
if self.filter_func(child): if self.filter_func(child):
self.show_details_view(child.get_child()) self.show_details_page(child.get_child())
break break
index += 1 index += 1
@@ -377,9 +524,9 @@ class CartridgesWindow(Adw.ApplicationWindow):
self.toasts.pop((game, undo)) self.toasts.pop((game, undo))
def on_open_menu_action(self, *_args: Any) -> None: def on_open_menu_action(self, *_args: Any) -> None:
if self.stack.get_visible_child() == self.library_view: if self.navigation_view.get_visible_page() == self.library_page:
self.primary_menu_button.popup() self.primary_menu_button.popup()
elif self.stack.get_visible_child() == self.hidden_library_view: elif self.navigation_view.get_visible_page() == self.hidden_library_page:
self.hidden_primary_menu_button.popup() self.hidden_primary_menu_button.popup()
def on_close_action(self, *_args: Any) -> None: def on_close_action(self, *_args: Any) -> None:

View File

@@ -1,14 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<gresources> <gresources>
<gresource prefix="@PREFIX@"> <gresource prefix="@PREFIX@">
<file preprocess="xml-stripblanks">@APP_ID@.metainfo.xml</file>
<file preprocess="xml-stripblanks">gtk/window.ui</file> <file preprocess="xml-stripblanks">gtk/window.ui</file>
<file preprocess="xml-stripblanks">gtk/help-overlay.ui</file> <file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
<file preprocess="xml-stripblanks">gtk/game.ui</file> <file preprocess="xml-stripblanks">gtk/game.ui</file>
<file preprocess="xml-stripblanks">gtk/preferences.ui</file> <file preprocess="xml-stripblanks">gtk/preferences.ui</file>
<file preprocess="xml-stripblanks">gtk/details-window.ui</file> <file preprocess="xml-stripblanks">gtk/details-dialog.ui</file>
<file alias="style.css">gtk/style.css</file> <file alias="style.css">gtk/style.css</file>
<file alias="style-dark.css">gtk/style-dark.css</file> <file alias="style-dark.css">gtk/style-dark.css</file>
<file>library_placeholder.svg</file> <file>library_placeholder.svg</file>
<file>library_placeholder_small.svg</file> <file>library_placeholder_small.svg</file>
</gresource> </gresource>
<gresource prefix="@PREFIX@/icons/scalable/categories/">
<file alias="bottles-source-symbolic.svg">icons/sources/bottles-source-symbolic.svg</file>
<file alias="flatpak-source-symbolic.svg">icons/sources/flatpak-source-symbolic.svg</file>
<file alias="heroic-source-symbolic.svg">icons/sources/heroic-source-symbolic.svg</file>
<file alias="itch-source-symbolic.svg">icons/sources/itch-source-symbolic.svg</file>
<file alias="legendary-source-symbolic.svg">icons/sources/legendary-source-symbolic.svg</file>
<file alias="lutris-source-symbolic.svg">icons/sources/lutris-source-symbolic.svg</file>
<file alias="retroarch-source-symbolic.svg">icons/sources/retroarch-source-symbolic.svg</file>
<file alias="steam-source-symbolic.svg">icons/sources/steam-source-symbolic.svg</file>
</gresource>
</gresources> </gresources>

View File

@@ -1,21 +1,11 @@
using Gtk 4.0; using Gtk 4.0;
using Adw 1; using Adw 1;
template $DetailsWindow : Adw.Window { template $DetailsDialog: Adw.Dialog {
default-width: 480; // Same as Nautilus' properties window content-width: 480;
default-height: -1;
modal: true;
ShortcutController {
Shortcut {
trigger: "Escape";
action: "action(window.close)";
}
}
Box {
orientation: vertical;
Adw.ToolbarView {
[top]
Adw.HeaderBar HeaderBar { Adw.HeaderBar HeaderBar {
show-start-title-buttons: false; show-start-title-buttons: false;
show-end-title-buttons: false; show-end-title-buttons: false;
@@ -29,14 +19,12 @@ template $DetailsWindow : Adw.Window {
[end] [end]
Button apply_button { Button apply_button {
styles [ styles [
"suggested-action", "suggested-action"
] ]
} }
} }
Adw.PreferencesPage { Adw.PreferencesPage {
vexpand: true;
Adw.PreferencesGroup cover_group { Adw.PreferencesGroup cover_group {
Adw.Clamp cover_clamp { Adw.Clamp cover_clamp {
maximum-size: 200; maximum-size: 200;
@@ -63,7 +51,7 @@ template $DetailsWindow : Adw.Window {
styles [ styles [
"circular", "circular",
"osd", "osd"
] ]
} }
@@ -82,7 +70,7 @@ template $DetailsWindow : Adw.Window {
styles [ styles [
"circular", "circular",
"osd", "osd"
] ]
} }
} }
@@ -92,7 +80,7 @@ template $DetailsWindow : Adw.Window {
height-request: 300; height-request: 300;
styles [ styles [
"card", "card"
] ]
} }
} }
@@ -130,8 +118,8 @@ template $DetailsWindow : Adw.Window {
valign: center; valign: center;
icon-name: "help-about-symbolic"; icon-name: "help-about-symbolic";
tooltip-text: _("More Info"); tooltip-text: _("More Info");
popover:
Popover exec_info_popover { popover: Popover exec_info_popover {
focusable: true; focusable: true;
Label exec_info_label { Label exec_info_label {
@@ -145,12 +133,10 @@ template $DetailsWindow : Adw.Window {
margin-start: 6; margin-start: 6;
margin-end: 6; margin-end: 6;
} }
} };
;
styles [ styles [
"flat", "flat"
] ]
} }
} }

View File

@@ -1,13 +1,14 @@
using Gtk 4.0; using Gtk 4.0;
using Adw 1; using Adw 1;
template $Game : Box { template $Game: Box {
orientation: vertical; orientation: vertical;
halign: center; halign: center;
valign: start; valign: start;
Adw.Clamp { Adw.Clamp {
maximum-size: 200; maximum-size: 200;
unit: px;
Overlay { Overlay {
[overlay] [overlay]
@@ -98,38 +99,16 @@ template $Game : Box {
menu game_options { menu game_options {
section { section {
item { item (_("Edit"), "app.edit_game")
label: _("Edit"); item (_("Hide"), "app.hide_game")
action: "app.edit_game"; item (_("Remove"), "app.remove_game")
}
item {
label: _("Hide");
action: "app.hide_game";
}
item {
label: _("Remove");
action: "app.remove_game";
}
} }
} }
menu hidden_game_options { menu hidden_game_options {
section { section {
item { item (_("Edit"), "app.edit_game")
label: _("Edit"); item (_("Unhide"), "app.hide_game")
action: "app.edit_game"; item (_("Remove"), "app.remove_game")
}
item {
label: _("Unhide");
action: "app.hide_game";
}
item {
label: _("Remove");
action: "app.remove_game";
}
} }
} }

View File

@@ -10,23 +10,18 @@ ShortcutsWindow help_overlay {
ShortcutsGroup { ShortcutsGroup {
title: _("General"); title: _("General");
ShortcutsShortcut {
title: _("Quit");
action-name: "app.quit";
}
ShortcutsShortcut { ShortcutsShortcut {
title: _("Search"); title: _("Search");
action-name: "win.toggle_search"; action-name: "win.toggle_search";
} }
ShortcutsShortcut { ShortcutsShortcut {
title: _("Show preferences"); title: _("Preferences");
action-name: "app.preferences"; action-name: "app.preferences";
} }
ShortcutsShortcut { ShortcutsShortcut {
title: _("Shortcuts"); title: _("Keyboard Shortcuts");
action-name: "win.show-help-overlay"; action-name: "win.show-help-overlay";
} }
@@ -36,7 +31,17 @@ ShortcutsWindow help_overlay {
} }
ShortcutsShortcut { ShortcutsShortcut {
title: _("Open menu"); title: _("Quit");
action-name: "app.quit";
}
ShortcutsShortcut {
title: _("Toggle Sidebar");
action-name: "win.show_sidebar";
}
ShortcutsShortcut {
title: _("Main Menu");
action-name: "win.open_menu"; action-name: "win.open_menu";
} }
} }
@@ -45,22 +50,22 @@ ShortcutsWindow help_overlay {
title: _("Games"); title: _("Games");
ShortcutsShortcut { ShortcutsShortcut {
title: _("Add new game"); title: _("Add Game");
action-name: "app.add_game"; action-name: "app.add_game";
} }
ShortcutsShortcut { ShortcutsShortcut {
title: _("Import games"); title: _("Import");
action-name: "app.import"; action-name: "app.import";
} }
ShortcutsShortcut { ShortcutsShortcut {
title: _("Show hidden games"); title: _("Show Hidden Games");
action-name: "win.show_hidden"; action-name: "win.show_hidden";
} }
ShortcutsShortcut { ShortcutsShortcut {
title: _("Remove game"); title: _("Remove Game");
action-name: "app.remove_game_details_view"; action-name: "app.remove_game_details_view";
} }
} }

View File

@@ -1,8 +1,8 @@
using Gtk 4.0; using Gtk 4.0;
using Adw 1; using Adw 1;
template $PreferencesWindow : Adw.PreferencesWindow { template $CartridgesPreferences: Adw.PreferencesDialog {
default-height: 500; search-enabled: true;
Adw.PreferencesPage general_page { Adw.PreferencesPage general_page {
name: "general"; name: "general";
@@ -12,69 +12,98 @@ template $PreferencesWindow : Adw.PreferencesWindow {
Adw.PreferencesGroup behavior_group { Adw.PreferencesGroup behavior_group {
title: _("Behavior"); title: _("Behavior");
Adw.ActionRow { Adw.SwitchRow exit_after_launch_switch {
title: _("Exit After Launching Games"); title: _("Exit After Launching Games");
activatable-widget: exit_after_launch_switch;
Switch exit_after_launch_switch {
valign: center;
}
} }
Adw.ActionRow { Adw.SwitchRow cover_launches_game_switch {
title: _("Cover Image Launches Game"); title: _("Cover Image Launches Game");
subtitle: _("Swaps the behavior of the cover image and the play button"); subtitle: _("Swaps the behavior of the cover image and the play button");
activatable-widget: cover_launches_game_switch;
Switch cover_launches_game_switch {
valign: center;
}
} }
} }
Adw.PreferencesGroup images_group { Adw.PreferencesGroup images_group {
title: _("Images"); title: _("Images");
Adw.ActionRow { Adw.SwitchRow high_quality_images_switch {
title: _("High Quality Images"); title: _("High Quality Images");
subtitle: _("Save game covers losslessly at the cost of storage"); subtitle: _("Save game covers losslessly at the cost of storage");
activatable-widget: high_quality_images_switch;
Switch high_quality_images_switch {
valign: center;
}
} }
} }
Adw.PreferencesGroup danger_zone_group { Adw.PreferencesGroup danger_zone_group {
title: _("Danger Zone"); title: _("Danger Zone");
Adw.ActionRow { ListBox remove_all_games_list_box {
title: _("Remove All Games"); Adw.PreferencesRow {
activatable: true;
selectable: false;
Button remove_all_games_button { Box {
label: _("Remove"); spacing: 6;
valign: center; valign: center;
halign: center;
Label {
label: _("Remove All Games");
ellipsize: end;
styles [
"heading",
]
}
styles [
"header",
]
}
styles [ styles [
"destructive-action", "error",
] ]
} }
styles [
"boxed-list",
]
} }
}
Adw.ActionRow reset_action_row { Adw.PreferencesGroup reset_group {
title: "Reset App"; visible: false;
subtitle: "Completely resets and quits Cartridges";
visible: false;
Button reset_button { ListBox reset_list_box {
label: "Reset"; Adw.PreferencesRow {
valign: center; activatable: true;
selectable: false;
Box {
spacing: 6;
valign: center;
halign: center;
Label {
label: "Reset App";
ellipsize: end;
styles [
"heading",
]
}
styles [
"header",
]
}
styles [ styles [
"destructive-action", "error",
] ]
} }
styles [
"boxed-list",
]
} }
} }
} }
@@ -87,13 +116,8 @@ template $PreferencesWindow : Adw.PreferencesWindow {
Adw.PreferencesGroup import_behavior_group { Adw.PreferencesGroup import_behavior_group {
title: _("Behavior"); title: _("Behavior");
Adw.ActionRow { Adw.SwitchRow remove_missing_switch {
title: _("Remove Uninstalled Games"); title: _("Remove Uninstalled Games");
activatable-widget: remove_missing_switch;
Switch remove_missing_switch {
valign: center;
}
} }
} }
@@ -104,16 +128,26 @@ template $PreferencesWindow : Adw.PreferencesWindow {
title: _("Steam"); title: _("Steam");
show-enable-switch: true; show-enable-switch: true;
[prefix]
Image {
icon-name: "steam-source-symbolic";
}
Adw.ActionRow steam_data_action_row { Adw.ActionRow steam_data_action_row {
title: _("Install Location"); title: _("Install Location");
Button steam_data_file_chooser_button { Button steam_data_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
styles [ styles [
"flat" "flat"
] ]
} }
styles [
"property"
]
} }
} }
@@ -121,46 +155,34 @@ template $PreferencesWindow : Adw.PreferencesWindow {
title: _("Lutris"); title: _("Lutris");
show-enable-switch: true; show-enable-switch: true;
[prefix]
Image {
icon-name: "lutris-source-symbolic";
}
Adw.ActionRow lutris_data_action_row { Adw.ActionRow lutris_data_action_row {
title: _("Install Location"); title: _("Install Location");
Button lutris_data_file_chooser_button { Button lutris_data_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
styles [ styles [
"flat" "flat"
] ]
} }
styles [
"property"
]
} }
Adw.ActionRow lutris_cache_action_row { Adw.SwitchRow lutris_import_steam_switch {
title: _("Cache Location");
Button lutris_cache_file_chooser_button {
icon-name: "folder-symbolic";
valign: center;
styles [
"flat"
]
}
}
Adw.ActionRow {
title: _("Import Steam Games"); title: _("Import Steam Games");
activatable-widget: lutris_import_steam_switch;
Switch lutris_import_steam_switch {
valign: center;
}
} }
Adw.ActionRow { Adw.SwitchRow lutris_import_flatpak_switch {
title: _("Import Flatpak Games"); title: _("Import Flatpak Games");
activatable-widget: lutris_import_flatpak_switch;
Switch lutris_import_flatpak_switch {
valign: center;
}
} }
} }
@@ -168,52 +190,42 @@ template $PreferencesWindow : Adw.PreferencesWindow {
title: _("Heroic"); title: _("Heroic");
show-enable-switch: true; show-enable-switch: true;
[prefix]
Image {
icon-name: "heroic-source-symbolic";
}
Adw.ActionRow heroic_config_action_row { Adw.ActionRow heroic_config_action_row {
title: _("Install Location"); title: _("Install Location");
Button heroic_config_file_chooser_button { Button heroic_config_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
styles [ styles [
"flat" "flat"
] ]
} }
styles [
"property"
]
} }
Adw.ActionRow { Adw.SwitchRow heroic_import_epic_switch {
title: _("Import Epic Games"); title: _("Import Epic Games");
activatable-widget: heroic_import_epic_switch;
Switch heroic_import_epic_switch {
valign: center;
}
} }
Adw.ActionRow { Adw.SwitchRow heroic_import_gog_switch {
title: _("Import GOG Games"); title: _("Import GOG Games");
activatable-widget: heroic_import_gog_switch;
Switch heroic_import_gog_switch {
valign: center;
}
} }
Adw.ActionRow { Adw.SwitchRow heroic_import_amazon_switch {
title: _("Import Amazon Games"); title: _("Import Amazon Games");
activatable-widget: heroic_import_amazon_switch;
Switch heroic_import_amazon_switch {
valign: center;
}
} }
Adw.ActionRow { Adw.SwitchRow heroic_import_sideload_switch {
title: _("Import Sideloaded Games"); title: _("Import Sideloaded Games");
activatable-widget: heroic_import_sideload_switch;
Switch heroic_import_sideload_switch {
valign: center;
}
} }
} }
@@ -221,16 +233,26 @@ template $PreferencesWindow : Adw.PreferencesWindow {
title: _("Bottles"); title: _("Bottles");
show-enable-switch: true; show-enable-switch: true;
[prefix]
Image {
icon-name: "bottles-source-symbolic";
}
Adw.ActionRow bottles_data_action_row { Adw.ActionRow bottles_data_action_row {
title: _("Install Location"); title: _("Install Location");
Button bottles_data_file_chooser_button { Button bottles_data_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
styles [ styles [
"flat" "flat"
] ]
} }
styles [
"property"
]
} }
} }
@@ -238,16 +260,26 @@ template $PreferencesWindow : Adw.PreferencesWindow {
title: _("itch"); title: _("itch");
show-enable-switch: true; show-enable-switch: true;
[prefix]
Image {
icon-name: "itch-source-symbolic";
}
Adw.ActionRow itch_config_action_row { Adw.ActionRow itch_config_action_row {
title: _("Install Location"); title: _("Install Location");
Button itch_config_file_chooser_button { Button itch_config_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
styles [ styles [
"flat" "flat"
] ]
} }
styles [
"property"
]
} }
} }
@@ -255,16 +287,26 @@ template $PreferencesWindow : Adw.PreferencesWindow {
title: _("Legendary"); title: _("Legendary");
show-enable-switch: true; show-enable-switch: true;
[prefix]
Image {
icon-name: "legendary-source-symbolic";
}
Adw.ActionRow legendary_config_action_row { Adw.ActionRow legendary_config_action_row {
title: _("Install Location"); title: _("Install Location");
Button legendary_config_file_chooser_button { Button legendary_config_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
styles [ styles [
"flat" "flat"
] ]
} }
styles [
"property"
]
} }
} }
@@ -272,16 +314,26 @@ template $PreferencesWindow : Adw.PreferencesWindow {
title: _("RetroArch"); title: _("RetroArch");
show-enable-switch: true; show-enable-switch: true;
[prefix]
Image {
icon-name: "retroarch-source-symbolic";
}
Adw.ActionRow retroarch_config_action_row { Adw.ActionRow retroarch_config_action_row {
title: _("Install Location"); title: _("Install Location");
Button retroarch_config_file_chooser_button { Button retroarch_config_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
styles [ styles [
"flat" "flat"
] ]
} }
styles [
"property"
]
} }
} }
@@ -289,34 +341,58 @@ template $PreferencesWindow : Adw.PreferencesWindow {
title: _("Flatpak"); title: _("Flatpak");
show-enable-switch: true; show-enable-switch: true;
Adw.ActionRow flatpak_data_action_row { [prefix]
title: _("Install Location"); Image {
icon-name: "flatpak-source-symbolic";
}
Button flatpak_data_file_chooser_button { Adw.ActionRow flatpak_system_data_action_row {
// The location of the system-wide data directory
title: _("System Location");
Button flatpak_system_data_file_chooser_button {
icon-name: "folder-symbolic"; icon-name: "folder-symbolic";
valign: center; valign: center;
styles [ styles [
"flat" "flat"
] ]
} }
styles [
"property"
]
} }
Adw.ActionRow flatpak_import_launchers_row { Adw.ActionRow flatpak_user_data_action_row {
title: _("Import Game Launchers"); // The location of the user-specific data directory
activatable-widget: flatpak_import_launchers_switch; title: _("User Location");
Switch flatpak_import_launchers_switch { Button flatpak_user_data_file_chooser_button {
icon-name: "folder-symbolic";
valign: center; valign: center;
styles [
"flat"
]
} }
styles [
"property"
]
}
Adw.SwitchRow flatpak_import_launchers_switch {
title: _("Import Game Launchers");
} }
} }
Adw.ActionRow { Adw.SwitchRow desktop_switch {
title: _("Desktop Entries"); title: _("Desktop Entries");
activatable-widget: desktop_switch;
Switch desktop_switch { [prefix]
valign: center; Image {
icon-name: "user-desktop-symbolic";
} }
} }
} }
@@ -338,31 +414,35 @@ template $PreferencesWindow : Adw.PreferencesWindow {
Adw.PreferencesGroup sgdb_behavior_group { Adw.PreferencesGroup sgdb_behavior_group {
title: _("Behavior"); title: _("Behavior");
Adw.ActionRow sgdb_switch_row { Adw.SwitchRow sgdb_switch {
title: _("Use SteamGridDB"); title: _("Use SteamGridDB");
subtitle: _("Download images when adding or importing games"); subtitle: _("Download images when adding or importing games");
activatable-widget: sgdb_switch;
Switch sgdb_switch {
valign: center;
}
} }
Adw.ActionRow { Adw.SwitchRow sgdb_prefer_switch {
title: _("Prefer Over Official Images"); title: _("Prefer Over Official Images");
activatable-widget: sgdb_prefer_switch;
Switch sgdb_prefer_switch {
valign: center;
}
} }
Adw.ActionRow { Adw.SwitchRow sgdb_animated_switch {
title: _("Prefer Animated Images"); title: _("Prefer Animated Images");
activatable-widget: sgdb_animated_switch; }
}
Switch sgdb_animated_switch { Adw.PreferencesGroup {
valign: center; Adw.ActionRow {
title: _("Update Covers");
subtitle: _("Fetch covers for games already in your library");
sensitive: bind sgdb_switch.active;
Stack sgdb_stack {
Button sgdb_fetch_button {
label: _("Update");
valign: center;
}
Spinner sgdb_spinner {
valign: center;
}
} }
} }
} }

View File

@@ -4,7 +4,7 @@ using Adw 1;
Adw.StatusPage notice_no_results { Adw.StatusPage notice_no_results {
icon-name: "system-search-symbolic"; icon-name: "system-search-symbolic";
title: _("No Games Found"); title: _("No Games Found");
description: _("Try a different search."); description: _("Try a different search");
vexpand: true; vexpand: true;
valign: center; valign: center;
} }
@@ -12,14 +12,14 @@ Adw.StatusPage notice_no_results {
Adw.StatusPage hidden_notice_no_results { Adw.StatusPage hidden_notice_no_results {
icon-name: "system-search-symbolic"; icon-name: "system-search-symbolic";
title: _("No Games Found"); title: _("No Games Found");
description: _("Try a different search."); description: _("Try a different search");
vexpand: true; vexpand: true;
valign: center; valign: center;
} }
Adw.StatusPage notice_empty { Adw.StatusPage notice_empty {
title: _("No Games"); title: _("No Games");
description: _("Use the + button to add games."); description: _("Use the + button to add games");
vexpand: true; vexpand: true;
valign: center; valign: center;
@@ -38,346 +38,461 @@ Adw.StatusPage notice_empty {
Adw.StatusPage hidden_notice_empty { Adw.StatusPage hidden_notice_empty {
icon-name: "view-conceal-symbolic"; icon-name: "view-conceal-symbolic";
title: _("No Hidden Games"); title: _("No Hidden Games");
description: _("Games you hide will appear here."); description: _("Games you hide will appear here");
vexpand: true; vexpand: true;
valign: center; valign: center;
} }
template $CartridgesWindow : Adw.ApplicationWindow { template $CartridgesWindow: Adw.ApplicationWindow {
title: _("Cartridges"); title: _("Cartridges");
width-request: 360;
height-request: 100;
Adw.Breakpoint {
condition ("max-width: 564px")
setters {
overlay_split_view.collapsed: true;
details_view_box.orientation: vertical;
details_view_box.margin-top: 12;
details_view_box.margin-start: 12;
details_view_box.margin-end: 12;
details_view_details_box.margin-start: 0;
details_view_details_box.margin-end: 0;
details_view_title.margin-top: 30;
details_view_title.halign: center;
details_view_developer.halign: center;
details_view_date_box.halign: center;
details_view_toolbar.halign: center;
details_view_toolbar.orientation: vertical;
details_view_play_button.halign: center;
details_view_toolbar_buttons.margin-start: 0;
}
}
Adw.ToastOverlay toast_overlay { Adw.ToastOverlay toast_overlay {
Stack stack { Adw.NavigationView navigation_view {
visible-child: library_view; Adw.NavigationPage library_page {
transition-type: over_left; title: _("All Games");
Overlay details_view { Adw.OverlaySplitView overlay_split_view {
name: "details_view"; sidebar-width-fraction: .2;
[overlay] [sidebar]
Box details_view_box { Adw.NavigationPage sidebar_navigation_page {
orientation: vertical; title: _("Cartridges");
Adw.HeaderBar { Adw.ToolbarView {
[start] [top]
Button back_button { Adw.HeaderBar {
tooltip-text: _("Back"); [start]
action-name: "win.go_back"; Button {
icon-name: "go-previous-symbolic"; icon-name: "sidebar-show-symbolic";
action-name: "win.show_sidebar";
tooltip-text: _("Toggle Sidebar");
}
}
ScrolledWindow {
hscrollbar-policy: never;
ListBox sidebar {
Box all_games_row_box {
margin-top: 12;
margin-bottom: 12;
margin-start: 6;
margin-end: 6;
spacing: 12;
Image {
icon-name: "view-grid-symbolic";
}
Label {
halign: start;
label: _("All Games");
wrap: true;
wrap-mode: char;
}
Label all_games_no_label {
hexpand: true;
halign: end;
styles [
"dim-label"
]
}
}
Box added_row_box {
margin-top: 12;
margin-bottom: 12;
margin-start: 6;
spacing: 12;
Image {
icon-name: "list-add-symbolic";
}
Label {
halign: start;
label: _("Added");
margin-end: 6;
wrap: true;
wrap-mode: char;
}
Label added_games_no_label {
hexpand: true;
halign: end;
margin-end: 6;
styles [
"dim-label"
]
}
}
ListBoxRow {
selectable: false;
activatable: false;
Label {
label: _("Imported");
styles [
"heading"
]
halign: start;
}
}
styles [
"navigation-sidebar"
]
}
}
} }
[title]
Adw.WindowTitle details_view_header_bar_title {
title: _("Game Details");
}
styles [
"flat",
]
} }
Adw.Bin { Adw.ToolbarView library_view {
hexpand: true; [top]
vexpand: true; Adw.HeaderBar header_bar {
[start]
Button show_sidebar_button {
icon-name: "sidebar-show-symbolic";
action-name: "win.show_sidebar";
tooltip-text: _("Toggle Sidebar");
visible: bind overlay_split_view.show-sidebar inverted;
}
Box { [start]
halign: center; MenuButton {
valign: center; tooltip-text: _("Add Game");
margin-start: 24; icon-name: "list-add-symbolic";
margin-end: 24; menu-model: add_games;
margin-top: 24; }
margin-bottom: 24;
[end]
MenuButton primary_menu_button {
tooltip-text: _("Main Menu");
icon-name: "open-menu-symbolic";
menu-model: primary_menu;
}
[end]
ToggleButton search_button {
tooltip-text: _("Search");
icon-name: "system-search-symbolic";
action-name: "win.toggle_search";
}
}
[top]
SearchBar search_bar {
search-mode-enabled: bind search_button.active bidirectional;
key-capture-widget: navigation_view;
Adw.Clamp { Adw.Clamp {
maximum-size: 200; maximum-size: 500;
tightening-threshold: 500;
Overlay { SearchEntry search_entry {
[overlay] placeholder-text: _("Search");
Spinner details_view_spinner { hexpand: true;
margin-start: 72;
margin-end: 72;
}
Picture details_view_cover { ShortcutController {
halign: end; Shortcut {
valign: start; trigger: "Escape";
width-request: 200; action: "action(win.toggle_search)";
height-request: 300; }
styles [
"card",
]
} }
} }
} }
}
Box { Overlay library_overlay {
orientation: vertical; ScrolledWindow scrolledwindow {
margin-start: 48; FlowBox library {
vexpand: true; homogeneous: true;
valign: center; halign: center;
valign: start;
Label details_view_title { column-spacing: 12;
label: _("Game Title"); row-spacing: 12;
hexpand: true;
halign: start;
max-width-chars: 24;
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
styles [
"title-1",
]
}
Label details_view_developer {
margin-top: 6;
hexpand: true;
halign: start;
max-width-chars: 36;
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
styles [
"heading",
]
}
Box {
orientation: horizontal;
margin-top: 15; margin-top: 15;
hexpand: true; margin-bottom: 15;
halign: start; margin-start: 15;
margin-end: 15;
Label details_view_added { selection-mode: none;
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
}
Label details_view_last_played {
margin-start: 12;
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
}
}
Box {
hexpand: true;
vexpand: true;
valign: center;
Button details_view_play_button {
name: "details_view_play_button";
action-name: "app.launch_game";
label: _("Play");
halign: start;
margin-top: 24;
styles [
"opaque",
"pill",
]
}
Box {
halign: start;
valign: center;
margin-top: 24;
margin-start: 9;
Button {
icon-name: "document-edit-symbolic";
action-name: "app.edit_game";
tooltip-text: _("Edit");
styles [
"raised",
"circular",
]
}
Button details_view_hide_button {
action-name: "app.hide_game";
styles [
"raised",
"circular",
]
}
Button {
icon-name: "user-trash-symbolic";
action-name: "app.remove_game";
tooltip-text: _("Remove");
styles [
"raised",
"circular",
]
}
MenuButton {
icon-name: "system-search-symbolic";
menu-model: search;
tooltip-text: _("Search");
styles [
"raised",
"circular",
]
}
styles [
"toolbar",
]
}
} }
} }
} }
} }
} }
}
}
}
}
Picture details_view_blurred_cover { Adw.NavigationPage hidden_library_page {
keep-aspect-ratio: false; title: _("Hidden Games");
}
Adw.ToolbarView hidden_library_view {
[top]
Adw.HeaderBar hidden_header_bar {
[end]
MenuButton hidden_primary_menu_button {
tooltip-text: _("Main Menu");
icon-name: "open-menu-symbolic";
menu-model: primary_menu;
} }
Box library_view { [end]
orientation: vertical; ToggleButton hidden_search_button {
tooltip-text: _("Search");
icon-name: "system-search-symbolic";
action-name: "win.toggle_search";
}
}
Adw.HeaderBar header_bar { [top]
[start] SearchBar hidden_search_bar {
MenuButton { search-mode-enabled: bind hidden_search_button.active bidirectional;
tooltip-text: _("Add Game"); key-capture-widget: hidden_library_view;
icon-name: "list-add-symbolic";
menu-model: add_games;
}
[end] Adw.Clamp {
MenuButton primary_menu_button { maximum-size: 500;
tooltip-text: _("Main Menu"); tightening-threshold: 500;
icon-name: "open-menu-symbolic";
menu-model: primary_menu;
}
[end] SearchEntry hidden_search_entry {
ToggleButton search_button { placeholder-text: _("Search");
tooltip-text: _("Search"); hexpand: true;
icon-name: "system-search-symbolic";
action-name: "win.toggle_search";
}
} }
}
}
SearchBar search_bar { Overlay hidden_library_overlay {
search-mode-enabled: bind-property search_button.active bidirectional; ScrolledWindow hidden_scrolledwindow {
key-capture-widget: library_view; FlowBox hidden_library {
homogeneous: true;
halign: center;
valign: start;
column-spacing: 12;
row-spacing: 12;
margin-top: 15;
margin-bottom: 15;
margin-start: 15;
margin-end: 15;
selection-mode: none;
}
}
}
styles [
"background",
]
}
}
Adw.NavigationPage details_page {
title: _("Game Details");
Overlay details_view {
name: "details_view";
[overlay]
Adw.ToolbarView details_view_toolbar_view {
[top]
Adw.HeaderBar {}
ScrolledWindow {
Box details_view_box {
halign: center;
valign: center;
margin-start: 24;
margin-end: 24;
margin-top: 24;
margin-bottom: 24;
Adw.Clamp { Adw.Clamp {
maximum-size: 500; maximum-size: 200;
tightening-threshold: 500;
SearchEntry search_entry { Overlay {
placeholder-text: _("Search games"); [overlay]
hexpand: true; Spinner details_view_spinner {
margin-start: 72;
margin-end: 72;
}
Picture details_view_cover {
halign: end;
valign: start;
width-request: 200;
height-request: 300;
styles [
"card",
]
}
} }
} }
}
Adw.Bin library_bin { Box details_view_details_box {
ScrolledWindow scrolledwindow { orientation: vertical;
hexpand: true; margin-start: 48;
vexpand: true; vexpand: true;
valign: center;
FlowBox library { Label details_view_title {
homogeneous: true; label: _("Game Title");
halign: center; hexpand: true;
valign: start; halign: start;
column-spacing: 12; max-width-chars: 24;
row-spacing: 12; wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
styles [
"title-1",
]
}
Label details_view_developer {
margin-top: 6;
hexpand: true;
halign: start;
max-width-chars: 36;
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
styles [
"heading",
]
}
Box details_view_date_box {
orientation: horizontal;
margin-top: 15; margin-top: 15;
margin-bottom: 15; hexpand: true;
margin-start: 15; halign: start;
margin-end: 15;
selection-mode: none; Label details_view_added {
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
justify: center;
}
Label details_view_last_played {
margin-start: 12;
wrap: true;
wrap-mode: word_char;
natural-wrap-mode: word;
justify: center;
}
}
Box details_view_toolbar {
hexpand: true;
vexpand: true;
valign: center;
Button details_view_play_button {
name: "details_view_play_button";
action-name: "app.launch_game";
label: _("Play");
halign: start;
margin-top: 24;
styles [
"opaque",
"pill",
]
}
Box details_view_toolbar_buttons {
halign: start;
valign: center;
margin-top: 24;
margin-start: 9;
Button {
icon-name: "document-edit-symbolic";
action-name: "app.edit_game";
tooltip-text: _("Edit");
styles [
"raised",
"circular",
]
}
Button details_view_hide_button {
action-name: "app.hide_game";
styles [
"raised",
"circular",
]
}
Button {
icon-name: "user-trash-symbolic";
action-name: "app.remove_game";
tooltip-text: _("Remove");
styles [
"raised",
"circular",
]
}
MenuButton {
icon-name: "system-search-symbolic";
menu-model: search;
tooltip-text: _("Search");
styles [
"raised",
"circular",
]
}
styles [
"toolbar",
]
}
} }
} }
} }
} }
}
Box hidden_library_view { Picture details_view_blurred_cover {
orientation: vertical; keep-aspect-ratio: false;
Adw.HeaderBar hidden_header_bar {
[start]
Button hidden_back_button {
tooltip-text: _("Back");
action-name: "win.go_back";
icon-name: "go-previous-symbolic";
}
[title]
Adw.WindowTitle {
title: _("Hidden Games");
}
[end]
MenuButton hidden_primary_menu_button {
tooltip-text: _("Main Menu");
icon-name: "open-menu-symbolic";
menu-model: primary_menu;
}
[end]
ToggleButton hidden_search_button {
tooltip-text: _("Search");
icon-name: "system-search-symbolic";
action-name: "win.toggle_search";
}
}
SearchBar hidden_search_bar {
search-mode-enabled: bind-property hidden_search_button.active bidirectional;
key-capture-widget: hidden_library_view;
Adw.Clamp {
maximum-size: 500;
tightening-threshold: 500;
SearchEntry hidden_search_entry {
placeholder-text: _("Search hidden games");
hexpand: true;
}
}
}
Adw.Bin hidden_library_bin {
ScrolledWindow hidden_scrolledwindow {
hexpand: true;
vexpand: true;
FlowBox hidden_library {
homogeneous: true;
halign: center;
valign: start;
column-spacing: 12;
row-spacing: 12;
margin-top: 15;
margin-bottom: 15;
margin-start: 15;
margin-end: 15;
selection-mode: none;
}
}
}
styles [
"background",
]
}
} }
} }
} }
@@ -426,66 +541,29 @@ menu primary_menu {
} }
section { section {
item { item (_("Preferences"), "app.preferences")
label: _("Preferences"); item (_("Keyboard Shortcuts"), "win.show-help-overlay")
action: "app.preferences"; item (_("About Cartridges"), "app.about")
}
item {
label: _("Keyboard Shortcuts");
action: "win.show-help-overlay";
}
item {
label: _("About Cartridges");
action: "app.about";
}
} }
} }
menu add_games { menu add_games {
section { section {
item { item (_("Add Game"), "app.add_game")
label: _("Add Game");
action: "app.add_game";
}
} }
section { section {
item { item (_("Import"), "app.import")
label: _("Import");
action: "app.import";
}
} }
} }
menu search { menu search {
section { section {
label: "Search on…"; label: "Search on…";
item (_("IGDB"), "app.igdb_search")
item { item (_("SteamGridDB"), "app.sgdb_search")
label: "IGDB"; item (_("ProtonDB"), "app.protondb_search")
action: "app.igdb_search"; item (_("Lutris"), "app.lutris_search")
} item (_("HowLongToBeat"), "app.hltb_search")
item {
label: "SteamGridDB";
action: "app.sgdb_search";
}
item {
label: "ProtonDB";
action: "app.protondb_search";
}
item {
label: "Lutris";
action: "app.lutris_search";
}
item {
label: "HowLongToBeat";
action: "app.hltb_search";
}
} }
} }

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 618 B

After

Width:  |  Height:  |  Size: 618 B

View File

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

View File

@@ -0,0 +1 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.847 0v.616c0 .371-.17.786-.405 1.239C1.812 2.95 1.163 4.02 1.01 5.288L1 16h2l.01-10.712c.153-1.267.802-2.337 1.432-3.433.235-.453.405-.868.405-1.24V0h-2Zm4 0v.616c0 .371-.17.786-.404 1.239C5.812 2.95 5.163 4.02 5.01 5.288L5 16h2.001l.01-10.712c.153-1.267.801-2.337 1.432-3.433.235-.453.405-.868.405-1.24V0h-2Zm4.001 0v.616c-.315 1.678-1.632 3.165-1.837 4.672L9.001 16h5.693l-.008-10.7c-.32-1.815-1.385-3.08-1.838-4.684V0h-2Z" fill="#000"/></svg>

After

Width:  |  Height:  |  Size: 532 B

View File

@@ -0,0 +1 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.805.02a.971.971 0 0 0-.36.148l-6 4A.998.998 0 0 0 1 5v6a1 1 0 0 0 .445.833l6 4c.337.223.774.223 1.11 0l6-4a.998.998 0 0 0 .446-.832V5a.998.998 0 0 0-.445-.832l-6-4a.994.994 0 0 0-.75-.149Zm.196 2.179V9l5-3.332v4.797l-5 3.337V9L3 5.668v-.133L8 2.2Z" fill="#000"/></svg>

After

Width:  |  Height:  |  Size: 355 B

View File

@@ -0,0 +1 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m7.872 16-3.817-3.083L2 2.79 7.872 0l5.871 2.789-2.055 10.128L7.872 16Zm0-4.257-.294-.293-.88-7.927 1.1-1.908 1.174 1.908-.807 7.927-.293.293Zm-.294.367-.147.367-1.761.294-.294-.66.294-.662 1.761.294.147.367Zm-.073.734-.22 1.541.587.294.587-.294-.22-1.541-.367-.22-.367.22Zm.807-.367-.147-.367.147-.367 1.761-.293.294.66-.294.66-1.761-.293Z" fill="#000"/></svg>

After

Width:  |  Height:  |  Size: 485 B

View File

@@ -0,0 +1 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.965 1.992C1.43 2.08 1 2.58 1 3.115V15.18c0 .534.43.894.965.806l12.066-1.979c.534-.088.964-.588.964-1.122V.82c0-.535-.43-.894-.964-.807L1.964 1.992Zm3.41 3.33c.555-.091.95.204 1.09.722l3.068-.503c.14-.564.532-.988 1.087-1.08.882-.144 1.851.602 2.154 1.659l.723 2.523c.302 1.056-.172 2.04-1.054 2.184-.774.127-1.615-.432-2.014-1.286l-4.863.798c-.399.984-1.24 1.82-2.014 1.946-.882.145-1.356-.683-1.054-1.838l.723-2.76c.303-1.157 1.272-2.22 2.154-2.365ZM7.282 6.58v.986l-.791.13L7.997 9.36 9.505 7.2l-.743.122v-.985l-1.48.243Z" fill="#000"/></svg>

After

Width:  |  Height:  |  Size: 631 B

View File

@@ -0,0 +1 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 6.355V1a1 1 0 0 1 1-1h2.893a1 1 0 0 1 .708.293l.645.645a1 1 0 0 0 .707.293h4.094a1 1 0 0 0 .707-.293L11.4.293A1 1 0 0 1 12.107 0H15a1 1 0 0 1 1 1v5.355a1 1 0 0 1-.293.707l-.23.23a1 1 0 0 0 0 1.415l.23.23a1 1 0 0 1 .293.708V15a1 1 0 0 1-1 1h-2.893a1 1 0 0 1-.708-.293l-.645-.645a1 1 0 0 0-.707-.293H5.953a1 1 0 0 0-.707.293l-.645.645a1 1 0 0 1-.708.293H1a1 1 0 0 1-1-1V9.645a1 1 0 0 1 .293-.707l.23-.23a1 1 0 0 0 0-1.415l-.23-.23A1 1 0 0 1 0 6.354ZM8 5a1 1 0 0 0-2 0v5.5a1 1 0 0 0 1 1h3a1 1 0 1 0 0-2H8V5Z" fill="#000"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>

After

Width:  |  Height:  |  Size: 757 B

View File

@@ -0,0 +1 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 7.937C0 3.554 3.518 0 7.857 0c1.196 0 2.33.27 3.344.753.055-.118.181-.363.301-.371.158-.012.248.09.35.203l.001.002c.102.115.306.287.306.287s.929-.32 1.97.251c1.043.572 1.19.744 1.394 1.144.144.284.14.87.126 1.19a.248.248 0 0 0-.039-.004c-.17 0-.308.174-.308.387 0 .214.138.387.308.387a.256.256 0 0 0 .133-.039c.153.292.233.562.255.806-.05-.348-.544-.586-.544-.586s-.077.135-.243.215c-.025.012-.056.01-.091.006-.063-.007-.138-.014-.21.06-.239.484.345.888.617.877.265-.011.476-.276.475-.512.047.92-.74 1.461-1.495 1.374-.493-.058-.907-.249-1.383-.469a10.262 10.262 0 0 0-1.187-.483c-.951-.307-1.569-.47-2.322-.585-1.486-.227-2.557.12-3.061.424a5.84 5.84 0 0 0-.427.284c.772.15 1.236 1.329 1.25 1.65l.002.013v.007l.001.033c-.021.484-.247.845-.725.83a.823.823 0 0 1-.713-.426c-.014-.024-.028-.049-.044-.072a1.92 1.92 0 0 0-.965-.795c-.46.705-.715 1.548-.715 2.53 0 2.897 2.345 5.052 5.213 5.052.907 0 2.817-.309 4-1.28.226-.207.485-.438.725-.55-.862 2.161-3.479 3.488-6.299 3.403C3.534 15.996 0 12.321 0 7.937ZM13.415 4.02a.596.596 0 0 0 .593-.6.596.596 0 0 0-.593-.599.597.597 0 0 0-.594.6c0 .33.266.6.594.6Z" fill="#000"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.56 4 5.6 5.28H3.52L3.04 7.2H1.76l.48-1.92H.96L0 9.12h2.56l-.32 1.28h2.24L2.8 12.32h1.88l1.56-1.92h3.52l1.56 1.92h1.88l-1.68-1.92h2.24l-.32-1.28H16l-.96-3.84h-1.28l.48 1.92h-1.28l-.48-1.92H10.4L11.44 4h-1.36L8.96 5.28H7.04L5.92 4H4.56Zm.16 2.56H6v1.28H4.72V6.56Zm5.283 0h1.28v1.28h-1.28V6.56Z" fill="#000"/></svg>

After

Width:  |  Height:  |  Size: 399 B

View File

@@ -0,0 +1 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.352 5.1a1.509 1.509 0 1 0 2.51 1.675A1.509 1.509 0 0 0 9.352 5.1Zm2.923-.277a2.009 2.009 0 1 1-3.34 2.231 2.009 2.009 0 0 1 3.34-2.23ZM5.01 12.131l-.983-.407a1.7 1.7 0 0 0 3.108-.103 1.696 1.696 0 0 0-1.213-2.29 1.699 1.699 0 0 0-.966.07l1.015.421a1.249 1.249 0 0 1-.96 2.307v.002ZM2.546 2.121A7.996 7.996 0 0 1 7.966 0l.003.013a7.988 7.988 0 0 1 7.159 4.432 7.996 7.996 0 0 1-4.277 11.018 7.99 7.99 0 0 1-8.274-1.558A7.989 7.989 0 0 1 .279 10.18l3.064 1.267A2.264 2.264 0 0 0 7.823 11v-.107l2.718-1.938h.063A3.016 3.016 0 1 0 7.589 5.94v.031l-1.906 2.76h-.126c-.454 0-.898.138-1.273.395L0 7.354A7.995 7.995 0 0 1 2.546 2.12Z" fill="#000"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>

After

Width:  |  Height:  |  Size: 878 B

View File

@@ -1,20 +1,28 @@
blueprints = custom_target('blueprints', blueprints = custom_target(
'blueprints',
input: files( input: files(
'gtk/help-overlay.blp', 'gtk/details-dialog.blp',
'gtk/window.blp',
'gtk/game.blp', 'gtk/game.blp',
'gtk/help-overlay.blp',
'gtk/preferences.blp', 'gtk/preferences.blp',
'gtk/details-window.blp' 'gtk/window.blp',
), ),
output: '.', output: '.',
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'], command: [
find_program('blueprint-compiler'),
'batch-compile',
'@OUTPUT@',
'@CURRENT_SOURCE_DIR@',
'@INPUT@',
],
) )
gnome.compile_resources('cartridges', gnome.compile_resources(
'cartridges',
configure_file( configure_file(
input: 'cartridges.gresource.xml.in', input: 'cartridges.gresource.xml.in',
output: 'cartridges.gresource.xml', output: 'cartridges.gresource.xml',
configuration: conf configuration: conf,
), ),
gresource_bundle: true, gresource_bundle: true,
install: true, install: true,
@@ -22,55 +30,86 @@ gnome.compile_resources('cartridges',
dependencies: blueprints, dependencies: blueprints,
) )
desktop_file = i18n.merge_file( if host_machine.system() == 'windows'
input: configure_file( desktop_file = configure_file(
input: 'hu.kramo.Cartridges.desktop.in', input: 'page.kramo.Cartridges.desktop.in',
output: app_id + '.desktop.in', output: app_id + '.desktop.in',
configuration: conf configuration: conf,
), install: true,
output: app_id + '.desktop', install_dir: join_paths(get_option('datadir'), 'applications'),
type: 'desktop', )
po_dir: '../po', else
install: true, desktop_file = i18n.merge_file(
install_dir: join_paths(get_option('datadir'), 'applications') input: configure_file(
) input: 'page.kramo.Cartridges.desktop.in',
output: app_id + '.desktop.in',
desktop_utils = find_program('desktop-file-validate', required: false) configuration: conf,
if desktop_utils.found() ),
test('Validate desktop file', desktop_utils, args: [desktop_file]) output: app_id + '.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications'),
)
endif endif
appstream_file = i18n.merge_file( if host_machine.system() != 'windows'
input: configure_file( desktop_utils = find_program('desktop-file-validate', required: false)
input: 'hu.kramo.Cartridges.metainfo.xml.in', if desktop_utils.found()
output: app_id + '.metainfo.xml.in', test('Validate desktop file', desktop_utils, args: [desktop_file])
configuration: conf endif
), endif
output: app_id + '.metainfo.xml',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo')
)
appstream_util = find_program('appstream-util', required: false) if host_machine.system() == 'windows'
if appstream_util.found() appstream_file = configure_file(
test('Validate appstream file', appstream_util, args: ['validate', appstream_file]) input: 'page.kramo.Cartridges.metainfo.xml.in',
output: app_id + '.metainfo.xml',
configuration: conf,
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo'),
)
else
appstream_file = i18n.merge_file(
input: configure_file(
input: 'page.kramo.Cartridges.metainfo.xml.in',
output: app_id + '.metainfo.xml.in',
configuration: conf,
),
output: app_id + '.metainfo.xml',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo'),
)
endif
if host_machine.system() != 'windows'
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test(
'Validate appstream file',
appstreamcli,
args: ['validate', '--no-net', '--explain', appstream_file],
workdir: meson.current_build_dir(),
)
endif
endif endif
install_data( install_data(
configure_file( configure_file(
input: 'hu.kramo.Cartridges.gschema.xml.in', input: 'page.kramo.Cartridges.gschema.xml.in',
output: app_id + '.gschema.xml', output: app_id + '.gschema.xml',
configuration: conf configuration: conf,
), ),
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas') install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas'),
) )
compile_schemas = find_program('glib-compile-schemas', required: false) compile_schemas = find_program('glib-compile-schemas', required: false)
if compile_schemas.found() if compile_schemas.found()
test('Validate schema file', test(
compile_schemas, 'Validate schema file',
args: ['--strict', '--dry-run', meson.current_source_dir()]) compile_schemas,
args: ['--strict', '--dry-run', meson.current_source_dir()],
)
endif endif
subdir('icons') subdir('icons')

View File

@@ -83,9 +83,12 @@
<key name="flatpak" type="b"> <key name="flatpak" type="b">
<default>true</default> <default>true</default>
</key> </key>
<key name="flatpak-location" type="s"> <key name="flatpak-system-location" type="s">
<default>"/var/lib/flatpak/"</default> <default>"/var/lib/flatpak/"</default>
</key> </key>
<key name="flatpak-user-location" type="s">
<default>"~/.local/share/flatpak/"</default>
</key>
<key name="flatpak-import-launchers" type="b"> <key name="flatpak-import-launchers" type="b">
<default>false</default> <default>false</default>
</key> </key>
@@ -108,10 +111,10 @@
<schema id="@APP_ID@.State" path="@PREFIX@/State/"> <schema id="@APP_ID@.State" path="@PREFIX@/State/">
<key name="width" type="i"> <key name="width" type="i">
<default>1110</default> <default>1170</default>
</key> </key>
<key name="height" type="i"> <key name="height" type="i">
<default>820</default> <default>795</default>
</key> </key>
<key name="is-maximized" type="b"> <key name="is-maximized" type="b">
<default>false</default> <default>false</default>
@@ -124,7 +127,10 @@
<choice value="oldest" /> <choice value="oldest" />
<choice value="last_played" /> <choice value="last_played" />
</choices> </choices>
<default>"a-z"</default> <default>"last_played"</default>
</key>
<key name="show-sidebar" type="b">
<default>false</default>
</key> </key>
<key name="steam-limiter-tokens-history" type="s"> <key name="steam-limiter-tokens-history" type="s">
<default>"[]"</default> <default>"[]"</default>

View File

@@ -1,41 +1,51 @@
<?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@</id> <id>@APP_ID@</id>
<metadata_license>CC0-1.0</metadata_license> <replaces>
<project_license>GPL-3.0-or-later</project_license> <id>hu.kramo.Cartridges</id>
</replaces>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<name>Cartridges</name> <name>Cartridges</name>
<summary>Launch all your games</summary> <summary>Launch all your games</summary>
<description> <description>
<p>Cartridges is a simple game launcher for all of your games. It has support for importing games from Steam, Lutris, Heroic and more with no login necessary. You can sort and hide games or download cover art from SteamGridDB.</p> <p>Cartridges is a simple game launcher for all of your games. It has support for importing games from Steam, Lutris, Heroic and more with no login necessary. You can sort and hide games or download cover art from SteamGridDB.</p>
</description> </description>
<url type="homepage">https://github.com/kra-mo/cartridges</url> <url type="homepage">https://github.com/kra-mo/cartridges</url>
<url type="bugtracker">https://github.com/kra-mo/cartridges/issues</url> <url type="bugtracker">https://github.com/kra-mo/cartridges/issues</url>
<url type="translate">https://hosted.weblate.org/engage/cartridges/</url> <url type="translate">https://hosted.weblate.org/engage/cartridges/</url>
<url type="contact">https://www.kramo.hu/about/</url> <url type="contact">https://www.kramo.page/about/</url>
<url type="vcs-browser">https://github.com/kra-mo/cartridges</url> <url type="vcs-browser">https://github.com/kra-mo/cartridges</url>
<url type="contribute">https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md</url> <url type="contribute">https://github.com/kra-mo/cartridges/blob/main/CONTRIBUTING.md</url>
<developer_name translatable="no">kramo</developer_name> <developer id="page.kramo">
<name translate="no">kramo</name>
</developer>
<launchable type="desktop-id">@APP_ID@.desktop</launchable> <launchable type="desktop-id">@APP_ID@.desktop</launchable>
<translation type="gettext">cartridges</translation>
<branding>
<color type="primary" scheme_preference="light">#d5b0e7</color>
<color type="primary" scheme_preference="dark">#501a5c</color>
</branding>
<supports> <supports>
<control>pointing</control> <control>pointing</control>
<control>keyboard</control> <control>keyboard</control>
<control>touch</control> <control>touch</control>
</supports> </supports>
<recommends> <recommends>
<display_length compare="gt">545</display_length> <display_length compare="ge">360</display_length>
</recommends> </recommends>
<screenshots> <screenshots>
<screenshot type="default"> <screenshot type="default">
<image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/1.png</image> <image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/1.png</image>
<caption>Library</caption> <caption>Cartridges</caption>
</screenshot> </screenshot>
<screenshot> <screenshot>
<image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/2.png</image> <image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/2.png</image>
<caption>Edit Game Details</caption> <caption>Game Details</caption>
</screenshot> </screenshot>
<screenshot> <screenshot>
<image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/3.png</image> <image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/3.png</image>
<caption>Game Details</caption> <caption>Edit Game Details</caption>
</screenshot> </screenshot>
<screenshot> <screenshot>
<image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/4.png</image> <image>https://raw.githubusercontent.com/kra-mo/cartridges/main/data/screenshots/4.png</image>
@@ -44,8 +54,64 @@
</screenshots> </screenshots>
<content_rating type="oars-1.1" /> <content_rating type="oars-1.1" />
<releases> <releases>
<release version="2.9.1" date="2024-07-11">
<description translate="no">
<ul>
<li>Cartridges now utilizes the menu bar on macOS</li>
<li>Various bug fixes</li>
</ul>
</description>
</release>
<release version="2.9" date="2024-07-10">
<description translate="no">
<ul>
<li>Cartridges is now available on macOS! You can download it from GitHub.</li>
<li>Updated translations</li>
</ul>
</description>
</release>
<release version="2.8" date="2024-03-20">
<description translate="no">
<ul>
<li>The app features new adaptive widgets taking advantage of developments in GNOME 46</li>
</ul>
</description>
</release>
<release version="2.7" date="2023-12-12">
<description translate="no">
<ul>
<li>Flatpaks installed for the user and system-wide ones can now be imported separately</li>
</ul>
</description>
</release>
<release version="2.6" date="2023-10-11">
<description translate="no">
<p>You can now search your Cartridges library from GNOME!</p>
<p>To enable the functionality, go to "Search" in the Settings app and toggle "Cartridges" on.</p>
</description>
</release>
<release version="2.5" date="2023-10-06">
<description translate="no">
<ul>
<li>Added the ability to refetch covers from SteamGridDB</li>
<li>Fixed an issue with fractional scaling</li>
<li>Translations since 2.4</li>
</ul>
<p>The project now accepts donations. Thank you so much if you decide to donate! 💜</p>
</description>
</release>
<release version="2.4" date="2023-09-21">
<description translate="no">
<ul>
<li>Cartridges now adapts to smaller screen sizes</li>
<li>You can now filter games by import source</li>
<li>Ported to Libadwaita 1.4</li>
<li>Translations since 2.3</li>
</ul>
</description>
</release>
<release version="2.3" date="2023-08-29"> <release version="2.3" date="2023-08-29">
<description translatable="no"> <description translate="no">
<ul> <ul>
<li>New import source: desktop entries</li> <li>New import source: desktop entries</li>
<li>Added the ability to pick executables via the file picker</li> <li>Added the ability to pick executables via the file picker</li>
@@ -55,7 +121,7 @@
</description> </description>
</release> </release>
<release version="2.2" date="2023-08-17"> <release version="2.2" date="2023-08-17">
<description translatable="no"> <description translate="no">
<ul> <ul>
<li>New import source: RetroArch</li> <li>New import source: RetroArch</li>
<li>Added the option to automatically remove uninstalled games on import</li> <li>Added the option to automatically remove uninstalled games on import</li>
@@ -66,7 +132,7 @@
</description> </description>
</release> </release>
<release version="2.1" date="2023-07-25"> <release version="2.1" date="2023-07-25">
<description translatable="no"> <description translate="no">
<ul> <ul>
<li>Added support for Amazon Games in the Heroic importer</li> <li>Added support for Amazon Games in the Heroic importer</li>
<li>Translations since 2.0</li> <li>Translations since 2.0</li>
@@ -74,7 +140,7 @@
</description> </description>
</release> </release>
<release version="2.0" date="2023-07-05"> <release version="2.0" date="2023-07-05">
<description translatable="no"> <description translate="no">
<p>After months of work, Cartridges 2.0 is here:</p> <p>After months of work, Cartridges 2.0 is here:</p>
<ul> <ul>
<li>New import source: Legendary</li> <li>New import source: Legendary</li>
@@ -88,7 +154,7 @@
</description> </description>
</release> </release>
<release version="1.5" date="2023-05-23"> <release version="1.5" date="2023-05-23">
<description translatable="no"> <description translate="no">
<ul> <ul>
<li>Cartridges is now part of GNOME Circle!</li> <li>Cartridges is now part of GNOME Circle!</li>
<li>Extra Steam libraries are now detected automatically</li> <li>Extra Steam libraries are now detected automatically</li>
@@ -99,7 +165,7 @@
</description> </description>
</release> </release>
<release version="1.4" date="2023-04-16"> <release version="1.4" date="2023-04-16">
<description translatable="no"> <description translate="no">
<ul> <ul>
<li>Support for animated covers</li> <li>Support for animated covers</li>
<li>Redesigned details view</li> <li>Redesigned details view</li>
@@ -109,7 +175,7 @@
</description> </description>
</release> </release>
<release version="1.3" date="2023-04-06"> <release version="1.3" date="2023-04-06">
<description translatable="no"> <description translate="no">
<ul> <ul>
<li>Support for importing game covers from SteamGridDB!</li> <li>Support for importing game covers from SteamGridDB!</li>
<li>New import source: Lutris</li> <li>New import source: Lutris</li>
@@ -121,7 +187,7 @@
</description> </description>
</release> </release>
<release version="1.2" date="2023-03-30"> <release version="1.2" date="2023-03-30">
<description translatable="no"> <description translate="no">
<ul> <ul>
<li>Refined the user experience for importing games</li> <li>Refined the user experience for importing games</li>
<li>Added option to remove all games</li> <li>Added option to remove all games</li>
@@ -130,7 +196,7 @@
</description> </description>
</release> </release>
<release version="1.1" date="2023-03-26"> <release version="1.1" date="2023-03-26">
<description translatable="no"> <description translate="no">
<ul> <ul>
<li>Added option to launch games by clicking the cover image</li> <li>Added option to launch games by clicking the cover image</li>
<li>Added option to save cover art losslessly</li> <li>Added option to save cover art losslessly</li>
@@ -139,7 +205,7 @@
</description> </description>
</release> </release>
<release version="1.0" date="2023-03-25"> <release version="1.0" date="2023-03-25">
<description translatable="no"> <description translate="no">
<p>First stable release</p> <p>First stable release</p>
</description> </description>
</release> </release>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 623 KiB

After

Width:  |  Height:  |  Size: 452 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 KiB

After

Width:  |  Height:  |  Size: 247 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 KiB

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

@@ -35,7 +35,7 @@ Stored as a Unix time stamp.
The executable to run when launching a game. The executable to run when launching a game.
If the source has a URL handler, using that is preferred. In that case, the value should be `"xdg-open url://example/url"` for Linux and `"start url://example/url"` for Windows. If the source has a URL handler, using that is preferred. In that case, the value should be `"xdg-open url://example/url"` for Linux, `"start url://example/url"` for Windows and `"open url://example/url"` for macOS.
Stored as either a string (preferred) or an argument vector to be passed to the shell through [subprocess.Popen](https://docs.python.org/3/library/subprocess.html#popen-constructor). Stored as either a string (preferred) or an argument vector to be passed to the shell through [subprocess.Popen](https://docs.python.org/3/library/subprocess.html#popen-constructor).
@@ -113,4 +113,4 @@ The version number of the [game_id].json specification.
Cartridges will set the value for itself. Don't touch it. Cartridges will set the value for itself. Don't touch it.
Stored as a number. Stored as a number.

View File

@@ -1,44 +1,61 @@
project('cartridges', project(
version: '2.3', 'cartridges',
meson_version: '>= 0.59.0', version: '2.9.1',
default_options: [ 'warning_level=2', 'werror=false', ], meson_version: '>= 0.59.0',
default_options: [
'warning_level=2',
'werror=false',
],
) )
i18n = import('i18n') # Translations are broken on Windows for multiple reasons
# gresources don't work and MSYS2 seems to have also broken the gettext package
if host_machine.system() != 'windows'
i18n = import('i18n')
endif
gnome = import('gnome') gnome = import('gnome')
python = import('python') python = import('python')
py_installation = python.find_installation('python3')
python_dir = join_paths(get_option('prefix'), py_installation.get_install_dir())
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name()) pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
libexecdir = join_paths(get_option('prefix'), get_option('libexecdir'))
profile = get_option('profile') profile = get_option('profile')
if profile == 'development' if profile == 'development'
app_id = 'hu.kramo.Cartridges.Devel' app_id = 'page.kramo.Cartridges.Devel'
prefix = '/hu/kramo/Cartridges/Devel' prefix = '/page/kramo/Cartridges/Devel'
elif profile == 'release' elif profile == 'release'
app_id = 'hu.kramo.Cartridges' app_id = 'page.kramo.Cartridges'
prefix = '/hu/kramo/Cartridges' prefix = '/page/kramo/Cartridges'
endif endif
conf = configuration_data() conf = configuration_data()
conf.set('PYTHON', python.find_installation('python3').full_path()) conf.set('PYTHON', py_installation.full_path())
conf.set('PYTHON_VERSION', python.find_installation('python3').language_version()) conf.set('PYTHON_VERSION', py_installation.language_version())
conf.set('APP_ID', app_id) conf.set('APP_ID', app_id)
conf.set('PREFIX', prefix) conf.set('PREFIX', prefix)
conf.set('VERSION', meson.project_version()) conf.set('VERSION', meson.project_version())
conf.set('PROFILE', profile) conf.set('PROFILE', profile)
conf.set('TIFF_COMPRESSION', get_option('tiff_compression'))
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir'))) conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
conf.set('pkgdatadir', pkgdatadir) conf.set('pkgdatadir', pkgdatadir)
conf.set('libexecdir', libexecdir)
subdir('data') subdir('data')
subdir('src') subdir('cartridges')
subdir('po')
if host_machine.system() == 'windows' if host_machine.system() == 'windows'
subdir('windows') subdir('build-aux/windows')
else
subdir('search-provider')
subdir('po')
endif endif
gnome.post_install( gnome.post_install(
glib_compile_schemas: true, glib_compile_schemas: true,
gtk_update_icon_cache: true, gtk_update_icon_cache: true,
update_desktop_database: true, update_desktop_database: true,
) )

View File

@@ -7,3 +7,12 @@ option(
], ],
value: 'release' value: 'release'
) )
option(
'tiff_compression',
type: 'combo',
choices: [
'webp',
'jpeg',
],
value: 'webp'
)

View File

@@ -20,3 +20,10 @@ sv
tr tr
el el
cs cs
zh_Hans
be
hr
ca
ja
hi
en_GB

View File

@@ -1,21 +1,33 @@
data/hu.kramo.Cartridges.desktop.in data/page.kramo.Cartridges.desktop.in
data/hu.kramo.Cartridges.gschema.xml.in data/page.kramo.Cartridges.gschema.xml.in
data/hu.kramo.Cartridges.metainfo.xml.in data/page.kramo.Cartridges.metainfo.xml.in
data/gtk/details-window.blp data/gtk/details-dialog.blp
data/gtk/game.blp data/gtk/game.blp
data/gtk/help-overlay.blp data/gtk/help-overlay.blp
data/gtk/preferences.blp data/gtk/preferences.blp
data/gtk/window.blp data/gtk/window.blp
src/main.py cartridges/main.py
src/window.py cartridges/window.py
src/details_window.py cartridges/details_dialog.py
src/game.py cartridges/game.py
src/preferences.py cartridges/preferences.py
src/utils/create_dialog.py cartridges/utils/create_dialog.py
src/importer/importer.py
src/importer/sources/source.py cartridges/importer/importer.py
src/importer/sources/location.py cartridges/importer/source.py
src/store/managers/sgdb_manager.py cartridges/importer/location.py
cartridges/importer/location.py
cartridges/importer/bottles_source.py
cartridges/importer/desktop_source.py
cartridges/importer/flatpak_source.py
cartridges/importer/heroic_source.py
cartridges/importer/itch_source.py
cartridges/importer/legendary_source.py
cartridges/importer/lutris_source.py
cartridges/importer/retroarch_source.py
cartridges/importer/steam_source.py
cartridges/store/managers/sgdb_manager.py

473
po/ar.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.
# Ali Aljishi <ahj696@hotmail.com>, 2023. # Ali Aljishi <ahj696@hotmail.com>, 2023.
# kramo <contact@kramo.hu>, 2023. # kramo <contact@kramo.hu>, 2023.
# Ali-98 <ahj696@hotmail.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-08-27 14:03+0200\n" "POT-Creation-Date: 2024-04-14 12:48+0200\n"
"PO-Revision-Date: 2023-08-29 10:45+0000\n" "PO-Revision-Date: 2023-12-15 13:10+0000\n"
"Last-Translator: Ali Aljishi <ahj696@hotmail.com>\n" "Last-Translator: Ali-98 <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"
"Language: ar\n" "Language: ar\n"
@@ -18,30 +19,31 @@ 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 5.0.1-dev\n" "X-Generator: Weblate 5.3\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/page.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/page.kramo.Cartridges.metainfo.xml.in:9
#: src/main.py:176 #: data/page.kramo.Cartridges.metainfo.xml.in:40 data/gtk/window.blp:47
#: data/gtk/window.blp:83
msgid "Cartridges" msgid "Cartridges"
msgstr "خراطيش" msgstr "خراطيش"
#: data/hu.kramo.Cartridges.desktop.in:4 #: data/page.kramo.Cartridges.desktop.in:4
msgid "Game Launcher" msgid "Game Launcher"
msgstr "مشغِّل ألعاب" msgstr "مشغِّل ألعاب"
#: data/hu.kramo.Cartridges.desktop.in:5 #: data/page.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7 #: data/page.kramo.Cartridges.metainfo.xml.in:10
msgid "Launch all your games" msgid "Launch all your games"
msgstr "شغِّل كلَّ ألعابك" msgstr "شغِّل كلَّ ألعابك"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/page.kramo.Cartridges.desktop.in:11
msgid "" msgid ""
"gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;" "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;"
msgstr "" msgstr ""
"لعب;مشغل;ستيم;لوترس;هروك;قوارير;إتش;هيرويك;بوتلز;لجندري;فلاتباك;رتروآرتش;" "لعب;مشغل;ستيم;لوترس;هروك;قوارير;إتش;هيرويك;بوتلز;لجندري;فلاتباك;رتروآرتش;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/page.kramo.Cartridges.metainfo.xml.in:12
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login " "for importing games from Steam, Lutris, Heroic and more with no login "
@@ -52,71 +54,66 @@ msgstr ""
"وبرامج أخرى، وذلك دون تسجيل دخول. ولك ترتيب وإخفاء الألعاب فيه كيفما شئت، " "وبرامج أخرى، وذلك دون تسجيل دخول. ولك ترتيب وإخفاء الألعاب فيه كيفما شئت، "
"وكذلك تستطيع منه تنزيل غُلُف الألعاب من SteamGridDB." "وكذلك تستطيع منه تنزيل غُلُف الألعاب من SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 #: data/page.kramo.Cartridges.metainfo.xml.in:44 data/gtk/window.blp:318
msgid "Library" #: cartridges/details_dialog.py:68
msgstr "المكتبة"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34
msgid "Edit Game Details"
msgstr "حرِّر تفاصيل اللعبة"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
#: src/details_window.py:71
msgid "Game Details" msgid "Game Details"
msgstr "تفاصيل اللعبة" msgstr "تفاصيل اللعبة"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:430 #: data/page.kramo.Cartridges.metainfo.xml.in:48
#: src/details_window.py:265 src/importer/importer.py:301 msgid "Edit Game Details"
#: src/importer/importer.py:352 msgstr "حرِّر تفاصيل اللعبة"
#: data/page.kramo.Cartridges.metainfo.xml.in:52 data/gtk/help-overlay.blp:19
#: data/gtk/window.blp:542 cartridges/details_dialog.py:267
#: cartridges/importer/importer.py:320 cartridges/importer/importer.py:370
msgid "Preferences" msgid "Preferences"
msgstr "التفضيلات" msgstr "التفضيلات"
#: data/gtk/details-window.blp:25 #: data/gtk/details-dialog.blp:15
msgid "Cancel" msgid "Cancel"
msgstr "ألغِ" msgstr "ألغِ"
#: data/gtk/details-window.blp:58 #: data/gtk/details-dialog.blp:46
msgid "New Cover" msgid "New Cover"
msgstr "غلاف جديد" msgstr "غلاف جديد"
#: data/gtk/details-window.blp:77 #: data/gtk/details-dialog.blp:65
msgid "Delete Cover" msgid "Delete Cover"
msgstr "احذف الغلاف" msgstr "احذف الغلاف"
#: data/gtk/details-window.blp:105 data/gtk/game.blp:80 #: data/gtk/details-dialog.blp:93 data/gtk/game.blp:81
msgid "Title" msgid "Title"
msgstr "العنوان" msgstr "العنوان"
#: data/gtk/details-window.blp:109 #: data/gtk/details-dialog.blp:97
msgid "Developer (optional)" msgid "Developer (optional)"
msgstr "المطوِّر (اختياري)" msgstr "المطوِّر (اختياري)"
#: data/gtk/details-window.blp:115 #: data/gtk/details-dialog.blp:103
msgid "Executable" msgid "Executable"
msgstr "ملفُّ التنفيذ" msgstr "ملفُّ التنفيذ"
#: data/gtk/details-window.blp:121 #: data/gtk/details-dialog.blp:109
msgid "Select File" msgid "Select File"
msgstr "اختر ملفًّا" msgstr "اختر ملفًّا"
#: data/gtk/details-window.blp:132 #: data/gtk/details-dialog.blp:120
msgid "More Info" msgid "More Info"
msgstr "معلومات أكثر" msgstr "معلومات أكثر"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195 #: data/gtk/game.blp:102 data/gtk/game.blp:110 data/gtk/window.blp:443
msgid "Edit" msgid "Edit"
msgstr "حرِّر" msgstr "حرِّر"
#: data/gtk/game.blp:107 src/window.py:190 #: data/gtk/game.blp:103 cartridges/window.py:350
msgid "Hide" msgid "Hide"
msgstr "أخفِ" msgstr "أخفِ"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56 #: data/gtk/game.blp:104 data/gtk/game.blp:112 data/gtk/window.blp:463
#: data/gtk/window.blp:215
msgid "Remove" msgid "Remove"
msgstr "أزل" msgstr "أزل"
#: data/gtk/game.blp:126 src/window.py:192 #: data/gtk/game.blp:111 cartridges/window.py:352
msgid "Unhide" msgid "Unhide"
msgstr "اكشف" msgstr "اكشف"
@@ -124,54 +121,55 @@ msgstr "اكشف"
msgid "General" msgid "General"
msgstr "عام" msgstr "عام"
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14 data/gtk/window.blp:205 data/gtk/window.blp:221
msgid "Quit" #: data/gtk/window.blp:272 data/gtk/window.blp:288 data/gtk/window.blp:474
msgstr "أنهِ"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:226 data/gtk/window.blp:269
#: data/gtk/window.blp:336
msgid "Search" msgid "Search"
msgstr "ابحث" msgstr "ابحث"
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24 data/gtk/window.blp:543
msgid "Show preferences" msgid "Keyboard Shortcuts"
msgstr "أظهر التفضيلات" msgstr "اختصارات لوحة المفاتيح"
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29 cartridges/game.py:103
msgid "Shortcuts" #: cartridges/preferences.py:134 cartridges/importer/importer.py:394
msgstr "الاختصارات"
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:124
#: src/importer/importer.py:376
msgid "Undo" msgid "Undo"
msgstr "تراجع" msgstr "تراجع"
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:34
msgid "Open menu" msgid "Quit"
msgstr "افتح القائمة" msgstr "أنهِ"
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:39 data/gtk/window.blp:92 data/gtk/window.blp:185
msgid "Toggle Sidebar"
msgstr "أظهر شريط الجانب"
#: data/gtk/help-overlay.blp:44 data/gtk/window.blp:198 data/gtk/window.blp:265
msgid "Main Menu"
msgstr "القائمة الرئيسة"
#: data/gtk/help-overlay.blp:50
msgid "Games" msgid "Games"
msgstr "الألعاب" msgstr "الألعاب"
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:53 data/gtk/window.blp:191 data/gtk/window.blp:550
msgid "Add new game" msgid "Add Game"
msgstr "أضف لعبةً جديدةً" msgstr "أضف لعبةً"
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:58 data/gtk/preferences.blp:113
msgid "Import games" #: data/gtk/window.blp:27 data/gtk/window.blp:554
msgstr "استورد ألعابًا" msgid "Import"
msgstr "استورد"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "أظهر الألعاب المخفية"
#: data/gtk/help-overlay.blp:63 #: data/gtk/help-overlay.blp:63
msgid "Remove game" msgid "Show Hidden Games"
msgstr "أظهر الألعاب المخفية"
#: data/gtk/help-overlay.blp:68
msgid "Remove Game"
msgstr "أزل اللعبة" msgstr "أزل اللعبة"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:88 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:339 #: data/gtk/preferences.blp:415
msgid "Behavior" msgid "Behavior"
msgstr "السلوك" msgstr "السلوك"
@@ -179,297 +177,317 @@ msgstr "السلوك"
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "اخرج بعد بدء الألعاب" msgstr "اخرج بعد بدء الألعاب"
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:20
msgid "Cover Image Launches Game" msgid "Cover Image Launches Game"
msgstr "تبدأ صورة الغلاف اللعبة" msgstr "تبدأ صورة الغلاف اللعبة"
#: data/gtk/preferences.blp:26 #: data/gtk/preferences.blp:21
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "يبدِّل سلوك صورة الغلاف وزرِّ «العب»" msgstr "يبدِّل سلوك صورة الغلاف وزرِّ «العب»"
#: data/gtk/preferences.blp:36 src/details_window.py:85 #: data/gtk/preferences.blp:26 cartridges/details_dialog.py:82
msgid "Images" msgid "Images"
msgstr "الصور" msgstr "الصور"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:29
msgid "High Quality Images" msgid "High Quality Images"
msgstr "صور ذات دقَّة عالية" msgstr "صور ذات دقَّة عالية"
#: data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:30
msgid "Save game covers losslessly at the cost of storage" msgid "Save game covers losslessly at the cost of storage"
msgstr "احفظ غُلُف الألعاب دون فقد على حساب مساحة التخزين" msgstr "احفظ غُلُف الألعاب دون فقد على حساب مساحة التخزين"
#: data/gtk/preferences.blp:50 #: data/gtk/preferences.blp:35
msgid "Danger Zone" msgid "Danger Zone"
msgstr "منطقة خطر" msgstr "منطقة خطر"
#: data/gtk/preferences.blp:53 #: data/gtk/preferences.blp:48
msgid "Remove All Games" msgid "Remove All Games"
msgstr "أزل كلَّ الألعاب" msgstr "أزل كلَّ الألعاب"
#: data/gtk/preferences.blp:84 data/gtk/window.blp:27 data/gtk/window.blp:456 #: data/gtk/preferences.blp:120
msgid "Import"
msgstr "استورد"
#: data/gtk/preferences.blp:91
msgid "Remove Uninstalled Games" msgid "Remove Uninstalled Games"
msgstr "أزل الألعاب المحذوفة" msgstr "أزل الألعاب المحذوفة"
#: data/gtk/preferences.blp:101 #: data/gtk/preferences.blp:125
msgid "Sources" msgid "Sources"
msgstr "المصادر" msgstr "المصادر"
#: data/gtk/preferences.blp:104 #: data/gtk/preferences.blp:128 cartridges/importer/steam_source.py:114
msgid "Steam" msgid "Steam"
msgstr "ستيم" msgstr "ستيم"
#: data/gtk/preferences.blp:108 data/gtk/preferences.blp:125 #: data/gtk/preferences.blp:137 data/gtk/preferences.blp:164
#: data/gtk/preferences.blp:172 data/gtk/preferences.blp:225 #: data/gtk/preferences.blp:199 data/gtk/preferences.blp:242
#: data/gtk/preferences.blp:242 data/gtk/preferences.blp:259 #: data/gtk/preferences.blp:269 data/gtk/preferences.blp:296
#: data/gtk/preferences.blp:276 data/gtk/preferences.blp:293 #: data/gtk/preferences.blp:323
msgid "Install Location" msgid "Install Location"
msgstr "موضع التثبيت" msgstr "موضع التثبيت"
#: data/gtk/preferences.blp:121 #: data/gtk/preferences.blp:155 data/gtk/window.blp:564
#: cartridges/importer/lutris_source.py:96
msgid "Lutris" msgid "Lutris"
msgstr "لوترس" msgstr "لوترس"
#: data/gtk/preferences.blp:137 #: data/gtk/preferences.blp:181
msgid "Cache Location"
msgstr "موضع الذاكرة المؤقتة"
#: data/gtk/preferences.blp:149
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "استورد ألعابًا من ستيم" msgstr "استورد ألعابًا من ستيم"
#: data/gtk/preferences.blp:158 #: data/gtk/preferences.blp:185
msgid "Import Flatpak Games" msgid "Import Flatpak Games"
msgstr "استورد ألعاب فلاتباك" msgstr "استورد ألعاب فلاتباك"
#: data/gtk/preferences.blp:168 #: data/gtk/preferences.blp:190 cartridges/importer/heroic_source.py:355
msgid "Heroic" msgid "Heroic"
msgstr "هِرُوِك" msgstr "هِرُوِك"
#: data/gtk/preferences.blp:184 #: data/gtk/preferences.blp:216
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "استورد ألعاب أَبِك" msgstr "استورد ألعاب أَبِك"
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:220
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "استورد ألعاب جي‌أو‌جي" msgstr "استورد ألعاب جي‌أو‌جي"
#: data/gtk/preferences.blp:202 #: data/gtk/preferences.blp:224
msgid "Import Amazon Games" msgid "Import Amazon Games"
msgstr "استورد ألعابًا من أمازون" msgstr "استورد ألعابًا من أمازون"
#: data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:228
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "استورد ألعابًا مثبَّتةً بغير متجر" msgstr "استورد ألعابًا مثبَّتةً بغير متجر"
#: data/gtk/preferences.blp:221 #: data/gtk/preferences.blp:233 cartridges/importer/bottles_source.py:86
msgid "Bottles" msgid "Bottles"
msgstr "قوارير" msgstr "قوارير"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:260 cartridges/importer/itch_source.py:81
msgid "itch" msgid "itch"
msgstr "إتش" msgstr "إتش"
#: data/gtk/preferences.blp:255 #: data/gtk/preferences.blp:287 cartridges/importer/legendary_source.py:97
msgid "Legendary" msgid "Legendary"
msgstr "لجندري" msgstr "لجندري"
#: data/gtk/preferences.blp:272 #: data/gtk/preferences.blp:314 cartridges/importer/retroarch_source.py:142
msgid "RetroArch" msgid "RetroArch"
msgstr "رتروآرتش" msgstr "رتروآرتش"
#: data/gtk/preferences.blp:289 #: data/gtk/preferences.blp:341 cartridges/importer/flatpak_source.py:143
msgid "Flatpak" msgid "Flatpak"
msgstr "فلاتباك" msgstr "فلاتباك"
#: data/gtk/preferences.blp:305 #. The location of the system-wide data directory
#: data/gtk/preferences.blp:351
msgid "System Location"
msgstr "موضع النظام"
#. The location of the user-specific data directory
#: data/gtk/preferences.blp:369
msgid "User Location"
msgstr "موضع المستخدم"
#: data/gtk/preferences.blp:386
msgid "Import Game Launchers" msgid "Import Game Launchers"
msgstr "استورد مشغِّلات ألعاب" msgstr "استورد مشغِّلات ألعاب"
#: data/gtk/preferences.blp:315 #: data/gtk/preferences.blp:391 cartridges/importer/desktop_source.py:215
msgid "Desktop Entries" msgid "Desktop Entries"
msgstr "مدخلات سطح المكتب" msgstr "مدخلات سطح المكتب"
#: data/gtk/preferences.blp:327 #: data/gtk/preferences.blp:403 data/gtk/window.blp:562
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:331 #: data/gtk/preferences.blp:407
msgid "Authentication" msgid "Authentication"
msgstr "الاستيثاق" msgstr "الاستيثاق"
#: data/gtk/preferences.blp:334 #: data/gtk/preferences.blp:410
msgid "API Key" msgid "API Key"
msgstr "مفتاح واجهة البرمجة" msgstr "مفتاح واجهة البرمجة"
#: data/gtk/preferences.blp:342 #: data/gtk/preferences.blp:418
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "استخدم SteamGridDB" msgstr "استخدم SteamGridDB"
#: data/gtk/preferences.blp:343 #: data/gtk/preferences.blp:419
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "نزِّل الصور حينما تنزِّل أو تستورد الألعاب" msgstr "نزِّل الصور حينما تنزِّل أو تستورد الألعاب"
#: data/gtk/preferences.blp:352 #: data/gtk/preferences.blp:423
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "فضِّلها على الصور الرسمية" msgstr "فضِّلها على الصور الرسمية"
#: data/gtk/preferences.blp:361 #: data/gtk/preferences.blp:427
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "فضِّل الصور المتحرِّكة" msgstr "فضِّل الصور المتحرِّكة"
#: data/gtk/preferences.blp:433
msgid "Update Covers"
msgstr "حدِّث الغُلُف"
#: data/gtk/preferences.blp:434
msgid "Fetch covers for games already in your library"
msgstr "اجلب غُلُفًا للألعاب التي في المكتبة"
#: data/gtk/preferences.blp:439
msgid "Update"
msgstr "حدِّث"
#: data/gtk/window.blp:6 data/gtk/window.blp:14 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "لم يُعثر على ألعاب" msgstr "لم يُعثر على ألعاب"
#: data/gtk/window.blp:7 data/gtk/window.blp:15 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search"
msgstr "جرِّب بحثًا آخر." msgstr "جرِّب بحثًا آخر"
#: data/gtk/window.blp:21 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "لا توجد ألعاب" msgstr "لا توجد ألعاب"
#: 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 "استخدم زرَّ + لتضيف ألعابًا." msgstr "استخدم زرَّ + لتضيف ألعابًا"
#: data/gtk/window.blp:40 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "لا توجد ألعاب مخفية" msgstr "لا توجد ألعاب مخفية"
#: 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 "هنا يظهر ما أخفيت من ألعاب." msgstr "هنا يظهر ما أخفيت من ألعاب"
#: data/gtk/window.blp:64 data/gtk/window.blp:317 #: data/gtk/window.blp:76 data/gtk/window.blp:111 cartridges/main.py:228
msgid "Back" msgid "All Games"
msgstr "عد" msgstr "كلُّ الألعاب"
#: data/gtk/window.blp:121 #: data/gtk/window.blp:136 cartridges/main.py:230
msgid "Game Title" msgid "Added"
msgstr "عنوان اللعبة" msgstr "أُضيفَت"
#: data/gtk/window.blp:176 #: data/gtk/window.blp:156
msgid "Play" msgid "Imported"
msgstr "العب" msgstr "اُستوردَت"
#: data/gtk/window.blp:255 data/gtk/window.blp:449 #: data/gtk/window.blp:258
msgid "Add Game"
msgstr "أضف لعبةً"
#: data/gtk/window.blp:262 data/gtk/window.blp:329
msgid "Main Menu"
msgstr "القائمة الرئيسة"
#: data/gtk/window.blp:284
msgid "Search games"
msgstr "ابحث عن ألعاب"
#: data/gtk/window.blp:324
msgid "Hidden Games" msgid "Hidden Games"
msgstr "الألعاب المخفية" msgstr "الألعاب المخفية"
#: data/gtk/window.blp:351 #: data/gtk/window.blp:367
msgid "Search hidden games" msgid "Game Title"
msgstr "ابحث في الألعاب المخفية" msgstr "عنوان اللعبة"
#: data/gtk/window.blp:388 #: data/gtk/window.blp:424
msgid "Play"
msgstr "العب"
#: data/gtk/window.blp:501
msgid "Sort" msgid "Sort"
msgstr "رتِّب" msgstr "رتِّب"
#: data/gtk/window.blp:391 #: data/gtk/window.blp:504
msgid "A-Z" msgid "A-Z"
msgstr "أ-ي" msgstr "أ-ي"
#: data/gtk/window.blp:397 #: data/gtk/window.blp:510
msgid "Z-A" msgid "Z-A"
msgstr "ي-أ" msgstr "ي-أ"
#: data/gtk/window.blp:403 #: data/gtk/window.blp:516
msgid "Newest" msgid "Newest"
msgstr "الأجدد" msgstr "الأجدد"
#: data/gtk/window.blp:409 #: data/gtk/window.blp:522
msgid "Oldest" msgid "Oldest"
msgstr "الأقدم" msgstr "الأقدم"
#: data/gtk/window.blp:415 #: data/gtk/window.blp:528
msgid "Last Played" msgid "Last Played"
msgstr "لُعبت آخر مرَّة" msgstr "لُعبت آخر مرَّة"
#: data/gtk/window.blp:422 #: data/gtk/window.blp:535
msgid "Show Hidden" msgid "Show Hidden"
msgstr "أظهر ما أخفي" msgstr "أظهر ما أخفي"
#: data/gtk/window.blp:435 #: data/gtk/window.blp:544
msgid "Keyboard Shortcuts"
msgstr "اختصارات لوحة المفاتيح"
#: data/gtk/window.blp:440
msgid "About Cartridges" msgid "About Cartridges"
msgstr "عن «خراطيش»" msgstr "عن «خراطيش»"
#: data/gtk/window.blp:561
msgid "IGDB"
msgstr "IGDB"
#: data/gtk/window.blp:563
msgid "ProtonDB"
msgstr "ProtonDB"
#: data/gtk/window.blp:565
msgid "HowLongToBeat"
msgstr "HowLongToBeat"
#. The variable is the title of the game
#: cartridges/main.py:205 cartridges/game.py:125
msgid "{} launched"
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:195 #: cartridges/main.py:270
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:213 #: cartridges/window.py:373
msgid "Added: {}" msgid "Added: {}"
msgstr "أضيفت في: {}" msgstr "أضيفت في: {}"
#: src/window.py:216 #: cartridges/window.py:376
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:220 #: cartridges/window.py:380
msgid "Last played: {}" msgid "Last played: {}"
msgstr "لُعبت آخر مرَّة في: {}" msgstr "لُعبت آخر مرَّة في: {}"
#: src/details_window.py:76 #: cartridges/details_dialog.py:73
msgid "Apply" msgid "Apply"
msgstr "طبِّق" msgstr "طبِّق"
#: src/details_window.py:82 #: cartridges/details_dialog.py:79
msgid "Add New Game" msgid "Add New Game"
msgstr "أضف لعبةً جديدةً" msgstr "أضف لعبةً جديدةً"
#: src/details_window.py:83 #: cartridges/details_dialog.py:80
msgid "Add" msgid "Add"
msgstr "أضف" msgstr "أضف"
#: src/details_window.py:93 #: cartridges/details_dialog.py:90
msgid "Executables" msgid "Executables"
msgstr "ملفات التنفيذ" msgstr "ملفات التنفيذ"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:108 #: cartridges/details_dialog.py:105
msgid "file.txt" msgid "file.txt"
msgstr "ملف.txt" msgstr "ملف.txt"
#. As in software #. As in software
#: src/details_window.py:110 #: cartridges/details_dialog.py:107
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:115 src/details_window.py:117 #: cartridges/details_dialog.py:112 cartridges/details_dialog.py:114
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:121 src/details_window.py:123 #: cartridges/details_dialog.py:118 cartridges/details_dialog.py:120
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/المسار/إلى/{}" msgstr "/المسار/إلى/{}"
#: src/details_window.py:128 #: cartridges/details_dialog.py:125
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -491,125 +509,171 @@ msgstr ""
"\n" "\n"
"ولا تنسَ إحاطة المسار بعلامتي تنصيص مزدوجتين حالما تضمَّن مسافات!" "ولا تنسَ إحاطة المسار بعلامتي تنصيص مزدوجتين حالما تضمَّن مسافات!"
#: src/details_window.py:171 src/details_window.py:177 #: cartridges/details_dialog.py:167 cartridges/details_dialog.py:173
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "تعذَّرت إضافة اللعبة" msgstr "تعذَّرت إضافة اللعبة"
#: src/details_window.py:171 src/details_window.py:207 #: cartridges/details_dialog.py:167 cartridges/details_dialog.py:209
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "لا يجوز كون عنوان اللعبة فارغًا." msgstr "لا يجوز كون عنوان اللعبة فارغًا."
#: src/details_window.py:177 src/details_window.py:215 #: cartridges/details_dialog.py:173 cartridges/details_dialog.py:217
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "لا يجوز كون ملفِّ التنفيذ فارغًا." msgstr "لا يجوز كون ملفِّ التنفيذ فارغًا."
#: src/details_window.py:206 src/details_window.py:214 #: cartridges/details_dialog.py:208 cartridges/details_dialog.py:216
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 #: cartridges/game.py:139
msgid "{} launched"
msgstr "بُدئت {}"
#. The variable is the title of the game
#: src/game.py:155
msgid "{} hidden" msgid "{} hidden"
msgstr "أٌخفيت {}" msgstr "أٌخفيت {}"
#: src/game.py:155 #: cartridges/game.py:139
msgid "{} unhidden" msgid "{} unhidden"
msgstr "أٌظهرت {}" msgstr "أٌظهرت {}"
#. The variable is the title of the game #. The variable is the title of the game
#. The variable is the number of games removed #. The variable is the number of games removed
#: src/game.py:172 src/importer/importer.py:373 #: cartridges/game.py:153 cartridges/importer/importer.py:391
msgid "{} removed" msgid "{} removed"
msgstr "أزيلت {}" msgstr "أزيلت {}"
#: src/preferences.py:123 #: cartridges/preferences.py:133
msgid "All games removed" msgid "All games removed"
msgstr "أُزيلت كلُّ الألعاب" msgstr "أُزيلت كلُّ الألعاب"
#: src/preferences.py:172 #: cartridges/preferences.py:181
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:293 #: cartridges/preferences.py:196
msgid "Downloading covers…"
msgstr "تُنزَّل الغُلُف…"
#: cartridges/preferences.py:215
msgid "Covers updated"
msgstr "حُدِّثت الغُلُف"
#: cartridges/preferences.py:360
msgid "Installation Not Found" msgid "Installation Not Found"
msgstr "لم يُعثر على التثبيت" msgstr "لم يُعثر على التثبيت"
#: src/preferences.py:294 #: cartridges/preferences.py:361
msgid "Select a valid directory." msgid "Select a valid directory"
msgstr "حدِّد مجلَّدًا صالحًا." msgstr "حدِّد مجلَّدًا صالحًا"
#: src/preferences.py:330 src/importer/importer.py:299 #: cartridges/preferences.py:397 cartridges/importer/importer.py:318
msgid "Warning" msgid "Warning"
msgstr "تحذير" msgstr "تحذير"
#: src/preferences.py:364 #: cartridges/preferences.py:431
msgid "Invalid Directory" msgid "Invalid Directory"
msgstr "مجلَّد غير صالح" msgstr "مجلَّد غير صالح"
#: src/preferences.py:370 #: cartridges/preferences.py:437
msgid "Set Location" msgid "Set Location"
msgstr "عيِّن الموضع" msgstr "عيِّن الموضع"
#: src/utils/create_dialog.py:33 src/importer/importer.py:300 #: cartridges/utils/create_dialog.py:33 cartridges/importer/importer.py:319
msgid "Dismiss" msgid "Dismiss"
msgstr "تجاهل" msgstr "تجاهل"
#: src/importer/importer.py:137 #: cartridges/importer/importer.py:145
msgid "Importing Games…" msgid "Importing Games…"
msgstr "تُستورد الألعاب…" msgstr "تُستورد الألعاب…"
#: src/importer/importer.py:320 #: cartridges/importer/importer.py:338
msgid "The following errors occured during import:" msgid "The following errors occured during import:"
msgstr "طرأ هذا الخطأ أثناء الاستيراد:" msgstr "طرأ هذا الخطأ أثناء الاستيراد:"
#: src/importer/importer.py:349 #: cartridges/importer/importer.py:367
msgid "No new games found" msgid "No new games found"
msgstr "لم يُعثر على ألعاب جديدة" msgstr "لم يُعثر على ألعاب جديدة"
#: src/importer/importer.py:361 #: cartridges/importer/importer.py:379
msgid "1 game imported" msgid "1 game imported"
msgstr "اُستوردت لعبة واحدة" msgstr "اُستوردت لعبة واحدة"
#. The variable is the number of games #. The variable is the number of games
#: src/importer/importer.py:365 #: cartridges/importer/importer.py:383
msgid "{} games imported" msgid "{} games imported"
msgstr "اُستوردت {} لعبة" msgstr "اُستوردت {} لعبة"
#. A single game removed #. A single game removed
#: src/importer/importer.py:369 #: cartridges/importer/importer.py:387
msgid "1 removed" msgid "1 removed"
msgstr "أزيل ١" msgstr "أزيل ١"
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:33 #: cartridges/importer/location.py:34
msgid "Select the {} cache directory." msgid "Select the {} cache directory."
msgstr "حدِّد مجلَّد ذاكرة {} المؤقتة." msgstr "حدِّد مجلَّد ذاكرة {} المؤقتة."
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:35 #: cartridges/importer/location.py:36
msgid "Select the {} configuration directory." msgid "Select the {} configuration directory."
msgstr "حدِّد مجلَّد ضبط {}." msgstr "حدِّد مجلَّد ضبط {}."
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:37 #: cartridges/importer/location.py:38
msgid "Select the {} data directory." msgid "Select the {} data directory."
msgstr "حدِّد مجلَّد بيانات {}." msgstr "حدِّد مجلَّد بيانات {}."
#: src/store/managers/sgdb_manager.py:46 #: cartridges/importer/retroarch_source.py:129
msgid "No RetroArch Core Selected"
msgstr "لم تختر نواة رتروآرتش"
#. The variable is a newline separated list of playlists
#: cartridges/importer/retroarch_source.py:131
msgid "The following playlists have no default core:"
msgstr "ليس للقوائم التالية نواة مبدئية:"
#: cartridges/importer/retroarch_source.py:133
msgid "Games with no core selected were not imported"
msgstr "لم نستورد الألعاب التي لم تختر لها أنويةً"
#: cartridges/store/managers/sgdb_manager.py:46
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "تعذَّر استيثاق SteamGridDB" msgstr "تعذَّر استيثاق SteamGridDB"
#: src/store/managers/sgdb_manager.py:47 #: cartridges/store/managers/sgdb_manager.py:47
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "أكِّد مفتاح واجهة البرمجة في التفضيلات" msgstr "أكِّد مفتاح واجهة البرمجة في التفضيلات"
#~ msgid "Cache Location"
#~ msgstr "موضع الذاكرة المؤقتة"
#~ msgid "Library"
#~ msgstr "المكتبة"
#~ msgid "Show preferences"
#~ msgstr "أظهر التفضيلات"
#~ msgid "Shortcuts"
#~ msgstr "الاختصارات"
#~ msgid "Open menu"
#~ msgstr "افتح القائمة"
#~ msgid "Add new game"
#~ msgstr "أضف لعبةً جديدةً"
#~ msgid "Import games"
#~ msgstr "استورد ألعابًا"
#~ msgid "Back"
#~ msgstr "عد"
#~ msgid "Search games"
#~ msgstr "ابحث عن ألعاب"
#~ msgid "Search hidden games"
#~ msgstr "ابحث في الألعاب المخفية"
#~ msgid "The title of the game" #~ msgid "The title of the game"
#~ msgstr "عنوان اللعبة" #~ msgstr "عنوان اللعبة"
@@ -656,9 +720,6 @@ msgstr "أكِّد مفتاح واجهة البرمجة في التفضيلات"
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "حدِّد مجلَّد ذاكرة لوترس المؤقَّتة." #~ msgstr "حدِّد مجلَّد ذاكرة لوترس المؤقَّتة."
#~ msgid "Importing Covers…"
#~ msgstr "تُستورد الغُلُف…"
#~ msgid "Directory to use when importing games" #~ msgid "Directory to use when importing games"
#~ msgstr "المجلَّد المستخدم عند استيراد الألعاب" #~ msgstr "المجلَّد المستخدم عند استيراد الألعاب"

651
po/be.po Normal file
View File

@@ -0,0 +1,651 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# Yahor <k1llo2810@gmail.com>, 2023.
# Yahor <g_egor98@tut.by>, 2023.
# Yahor <k1llo2810@protonmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-14 12:48+0200\n"
"PO-Revision-Date: 2023-12-13 09:28+0000\n"
"Last-Translator: Yahor <k1llo2810@protonmail.com>\n"
"Language-Team: Belarusian <https://hosted.weblate.org/projects/cartridges/"
"cartridges/be/>\n"
"Language: be\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 5.3-rc\n"
#: data/page.kramo.Cartridges.desktop.in:3
#: data/page.kramo.Cartridges.metainfo.xml.in:9
#: data/page.kramo.Cartridges.metainfo.xml.in:40 data/gtk/window.blp:47
#: data/gtk/window.blp:83
msgid "Cartridges"
msgstr "Картрыджы"
#: data/page.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Праграма запуску гульняў"
#: data/page.kramo.Cartridges.desktop.in:5
#: data/page.kramo.Cartridges.metainfo.xml.in:10
msgid "Launch all your games"
msgstr "Запускайце ўсе свае гульні"
#: data/page.kramo.Cartridges.desktop.in:11
msgid ""
"gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;"
msgstr ""
"гульні;праграма запуску;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
"retroarch;"
#: data/page.kramo.Cartridges.metainfo.xml.in:12
msgid ""
"Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login "
"necessary. You can sort and hide games or download cover art from "
"SteamGridDB."
msgstr ""
"Картрыджы - гэта простая праграма для запуску ўсіх вашых гульняў. Яна "
"падтрымлівае імпарт гульняў з Steam, Lutris, Heroic і іншых без неабходнасці "
"ўваходу ў сістэму. Вы можаце сартаваць і хаваць гульні або спампоўваць "
"вокладку з SteamGridDB."
#: data/page.kramo.Cartridges.metainfo.xml.in:44 data/gtk/window.blp:318
#: cartridges/details_dialog.py:68
msgid "Game Details"
msgstr "Падрабязнасці аб гульні"
#: data/page.kramo.Cartridges.metainfo.xml.in:48
msgid "Edit Game Details"
msgstr "Рэдагаваць падрабязнасці аб гульні"
#: data/page.kramo.Cartridges.metainfo.xml.in:52 data/gtk/help-overlay.blp:19
#: data/gtk/window.blp:542 cartridges/details_dialog.py:267
#: cartridges/importer/importer.py:320 cartridges/importer/importer.py:370
msgid "Preferences"
msgstr "Параметры"
#: data/gtk/details-dialog.blp:15
msgid "Cancel"
msgstr "Скасаваць"
#: data/gtk/details-dialog.blp:46
msgid "New Cover"
msgstr "Новая вокладка"
#: data/gtk/details-dialog.blp:65
msgid "Delete Cover"
msgstr "Выдалиць вокладку"
#: data/gtk/details-dialog.blp:93 data/gtk/game.blp:81
msgid "Title"
msgstr "Назва"
#: data/gtk/details-dialog.blp:97
msgid "Developer (optional)"
msgstr "Распрацоўшчык (неабавязкова)"
#: data/gtk/details-dialog.blp:103
msgid "Executable"
msgstr "Выконваны"
#: data/gtk/details-dialog.blp:109
msgid "Select File"
msgstr "Выбраць файл"
#: data/gtk/details-dialog.blp:120
msgid "More Info"
msgstr "Больш інфармацыі"
#: data/gtk/game.blp:102 data/gtk/game.blp:110 data/gtk/window.blp:443
msgid "Edit"
msgstr "Рэдагаваць"
#: data/gtk/game.blp:103 cartridges/window.py:350
msgid "Hide"
msgstr "Схаваць"
#: data/gtk/game.blp:104 data/gtk/game.blp:112 data/gtk/window.blp:463
msgid "Remove"
msgstr "Выдаліць"
#: data/gtk/game.blp:111 cartridges/window.py:352
msgid "Unhide"
msgstr "Паказаць"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "Агульнае"
#: data/gtk/help-overlay.blp:14 data/gtk/window.blp:205 data/gtk/window.blp:221
#: data/gtk/window.blp:272 data/gtk/window.blp:288 data/gtk/window.blp:474
msgid "Search"
msgstr "Пошук"
#: data/gtk/help-overlay.blp:24 data/gtk/window.blp:543
msgid "Keyboard Shortcuts"
msgstr "Спалучэнні клавіш"
#: data/gtk/help-overlay.blp:29 cartridges/game.py:103
#: cartridges/preferences.py:134 cartridges/importer/importer.py:394
msgid "Undo"
msgstr "Адмяніць"
#: data/gtk/help-overlay.blp:34
msgid "Quit"
msgstr "Выйсці"
#: data/gtk/help-overlay.blp:39 data/gtk/window.blp:92 data/gtk/window.blp:185
msgid "Toggle Sidebar"
msgstr "Пераключыць бакавую панэль"
#: data/gtk/help-overlay.blp:44 data/gtk/window.blp:198 data/gtk/window.blp:265
msgid "Main Menu"
msgstr "Галоўнае меню"
#: data/gtk/help-overlay.blp:50
msgid "Games"
msgstr "Гульні"
#: data/gtk/help-overlay.blp:53 data/gtk/window.blp:191 data/gtk/window.blp:550
msgid "Add Game"
msgstr "Дадаць гульню"
#: data/gtk/help-overlay.blp:58 data/gtk/preferences.blp:113
#: data/gtk/window.blp:27 data/gtk/window.blp:554
msgid "Import"
msgstr "Імпарт"
#: data/gtk/help-overlay.blp:63
msgid "Show Hidden Games"
msgstr "Паказаць схаваныя гульні"
#: data/gtk/help-overlay.blp:68
msgid "Remove Game"
msgstr "Выдаліць гульню"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:415
msgid "Behavior"
msgstr "Паводзіны"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Выхад пасля запуску гульняў"
#: data/gtk/preferences.blp:20
msgid "Cover Image Launches Game"
msgstr "Выява вокладкі запускае гульню"
#: data/gtk/preferences.blp:21
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Мяняе паводзіны вокладкі і кнопкі запуску"
#: data/gtk/preferences.blp:26 cartridges/details_dialog.py:82
msgid "Images"
msgstr "Відарысы"
#: data/gtk/preferences.blp:29
msgid "High Quality Images"
msgstr "Відарысы высокай якасці"
#: data/gtk/preferences.blp:30
msgid "Save game covers losslessly at the cost of storage"
msgstr "Захаванне вокладак гульняў без страт за кошт сховішча"
#: data/gtk/preferences.blp:35
msgid "Danger Zone"
msgstr "Небяспечная зона"
#: data/gtk/preferences.blp:48
msgid "Remove All Games"
msgstr "Выдаліць усе гульні"
#: data/gtk/preferences.blp:120
msgid "Remove Uninstalled Games"
msgstr "Выдаляць дэінсталяваныя гульні"
#: data/gtk/preferences.blp:125
msgid "Sources"
msgstr "Крыніцы"
#: data/gtk/preferences.blp:128 cartridges/importer/steam_source.py:114
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:137 data/gtk/preferences.blp:164
#: data/gtk/preferences.blp:199 data/gtk/preferences.blp:242
#: data/gtk/preferences.blp:269 data/gtk/preferences.blp:296
#: data/gtk/preferences.blp:323
msgid "Install Location"
msgstr "Месца ўсталёўкі"
#: data/gtk/preferences.blp:155 data/gtk/window.blp:564
#: cartridges/importer/lutris_source.py:96
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:181
msgid "Import Steam Games"
msgstr "Імпарт гульняў Steam"
#: data/gtk/preferences.blp:185
msgid "Import Flatpak Games"
msgstr "Імпарт гульняў Flatpak"
#: data/gtk/preferences.blp:190 cartridges/importer/heroic_source.py:355
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:216
msgid "Import Epic Games"
msgstr "Імпарт Epic Games"
#: data/gtk/preferences.blp:220
msgid "Import GOG Games"
msgstr "Імпарт гульняў GOG"
#: data/gtk/preferences.blp:224
msgid "Import Amazon Games"
msgstr "Імпарт гульняў Amazon"
#: data/gtk/preferences.blp:228
msgid "Import Sideloaded Games"
msgstr "Імпарт іншых гульняў"
#: data/gtk/preferences.blp:233 cartridges/importer/bottles_source.py:86
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:260 cartridges/importer/itch_source.py:81
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:287 cartridges/importer/legendary_source.py:97
msgid "Legendary"
msgstr "Legendary"
#: data/gtk/preferences.blp:314 cartridges/importer/retroarch_source.py:142
msgid "RetroArch"
msgstr "RetroArch"
#: data/gtk/preferences.blp:341 cartridges/importer/flatpak_source.py:143
msgid "Flatpak"
msgstr "Flatpak"
#. The location of the system-wide data directory
#: data/gtk/preferences.blp:351
msgid "System Location"
msgstr "Сістэмнае размяшчэнне"
#. The location of the user-specific data directory
#: data/gtk/preferences.blp:369
msgid "User Location"
msgstr "Карыстальніцкае размяшчэнне"
#: data/gtk/preferences.blp:386
msgid "Import Game Launchers"
msgstr "Імпарт сродкаў запуску гульняў"
#: data/gtk/preferences.blp:391 cartridges/importer/desktop_source.py:215
msgid "Desktop Entries"
msgstr "Запісы працоўнага стала"
#: data/gtk/preferences.blp:403 data/gtk/window.blp:562
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:407
msgid "Authentication"
msgstr "Аўтэнтыфікацыя"
#: data/gtk/preferences.blp:410
msgid "API Key"
msgstr "Ключ API"
#: data/gtk/preferences.blp:418
msgid "Use SteamGridDB"
msgstr "Выкарыстоўвайць SteamGridDB"
#: data/gtk/preferences.blp:419
msgid "Download images when adding or importing games"
msgstr "Спампоўка відарысаў пры даданні ці імпарце гульняў"
#: data/gtk/preferences.blp:423
msgid "Prefer Over Official Images"
msgstr "Аддавайце перавагу афіцыйным відарысам"
#: data/gtk/preferences.blp:427
msgid "Prefer Animated Images"
msgstr "Аддавайце перавагу аніміраваным відарысам"
#: data/gtk/preferences.blp:433
msgid "Update Covers"
msgstr "Абнавіць вокладкі"
#: data/gtk/preferences.blp:434
msgid "Fetch covers for games already in your library"
msgstr "Атрымаць вокладкі для гульняў, якія ўжо ёсць у вашай бібліятэцы"
#: data/gtk/preferences.blp:439
msgid "Update"
msgstr "Абнавіць"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "Гульні не знойдзены"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search"
msgstr "Паспрабуйце іншы пошук"
#: data/gtk/window.blp:21
msgid "No Games"
msgstr "Няма гульняў"
#: data/gtk/window.blp:22
msgid "Use the + button to add games"
msgstr "Выкарыстоўвайце кнопку +, каб дадаць гульні"
#: data/gtk/window.blp:40
msgid "No Hidden Games"
msgstr "Няма схаваных гульняў"
#: data/gtk/window.blp:41
msgid "Games you hide will appear here"
msgstr "Гульні, якія вы схаваеце, з'явяцца тут"
#: data/gtk/window.blp:76 data/gtk/window.blp:111 cartridges/main.py:228
msgid "All Games"
msgstr "Усе гульні"
#: data/gtk/window.blp:136 cartridges/main.py:230
msgid "Added"
msgstr "Дададзена"
#: data/gtk/window.blp:156
msgid "Imported"
msgstr "Імпартавана"
#: data/gtk/window.blp:258
msgid "Hidden Games"
msgstr "Схаваныя гульні"
#: data/gtk/window.blp:367
msgid "Game Title"
msgstr "Назва гульні"
#: data/gtk/window.blp:424
msgid "Play"
msgstr "Гуляць"
#: data/gtk/window.blp:501
msgid "Sort"
msgstr "Сартаваць"
#: data/gtk/window.blp:504
msgid "A-Z"
msgstr "А-Я"
#: data/gtk/window.blp:510
msgid "Z-A"
msgstr "Я-А"
#: data/gtk/window.blp:516
msgid "Newest"
msgstr "Найноўшыя"
#: data/gtk/window.blp:522
msgid "Oldest"
msgstr "Старэйшыя"
#: data/gtk/window.blp:528
msgid "Last Played"
msgstr "Апошняя гульня"
#: data/gtk/window.blp:535
msgid "Show Hidden"
msgstr "Паказаць схаваныя"
#: data/gtk/window.blp:544
msgid "About Cartridges"
msgstr "Аб картрыджах"
#: data/gtk/window.blp:561
msgid "IGDB"
msgstr "IGDB"
#: data/gtk/window.blp:563
msgid "ProtonDB"
msgstr "ProtonDB"
#: data/gtk/window.blp:565
msgid "HowLongToBeat"
msgstr "HowLongToBeat"
#. The variable is the title of the game
#: cartridges/main.py:205 cartridges/game.py:125
msgid "{} launched"
msgstr "{} запушчана"
#. Translators: Replace this with your name for it to show up in the about window
#: cartridges/main.py:270
msgid "translator_credits"
msgstr "Yahor Haurylenka https://github.com/k1llo"
#. The variable is the date when the game was added
#: cartridges/window.py:373
msgid "Added: {}"
msgstr "Дададзена: {}"
#: cartridges/window.py:376
msgid "Never"
msgstr "Ніколі"
#. The variable is the date when the game was last played
#: cartridges/window.py:380
msgid "Last played: {}"
msgstr "Гулялі апошні раз: {}"
#: cartridges/details_dialog.py:73
msgid "Apply"
msgstr "Ужыць"
#: cartridges/details_dialog.py:79
msgid "Add New Game"
msgstr "Дадаць новую гульню"
#: cartridges/details_dialog.py:80
msgid "Add"
msgstr "Дадаць"
#: cartridges/details_dialog.py:90
msgid "Executables"
msgstr "Выконваныя"
#. Translate this string as you would translate "file"
#: cartridges/details_dialog.py:105
msgid "file.txt"
msgstr "file.txt"
#. As in software
#: cartridges/details_dialog.py:107
msgid "program"
msgstr "праграма"
#. Translate this string as you would translate "path to {}"
#: cartridges/details_dialog.py:112 cartridges/details_dialog.py:114
msgid "C:\\path\\to\\{}"
msgstr "C:\\шлях\\да\\{}"
#. Translate this string as you would translate "path to {}"
#: cartridges/details_dialog.py:118 cartridges/details_dialog.py:120
msgid "/path/to/{}"
msgstr "/шлях/да/{}"
#: cartridges/details_dialog.py:125
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Каб запусціць выкананы файл \"{}\", выканайце каманду:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Каб адкрыць файл \"{}\" з дапамогай праграмы па змаўчанні, выкарыстоўвайце:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Калі шлях змяшчае прабелы, абавязкова заключыце яго ў падвойныя двукоссі!"
#: cartridges/details_dialog.py:167 cartridges/details_dialog.py:173
msgid "Couldn't Add Game"
msgstr "Не ўдалося дадаць гульню"
#: cartridges/details_dialog.py:167 cartridges/details_dialog.py:209
msgid "Game title cannot be empty."
msgstr "Назва гульні не можа быць пустой."
#: cartridges/details_dialog.py:173 cartridges/details_dialog.py:217
msgid "Executable cannot be empty."
msgstr "Выканальны файл не можа быць пустым."
#: cartridges/details_dialog.py:208 cartridges/details_dialog.py:216
msgid "Couldn't Apply Preferences"
msgstr "Не ўдалося прымяніць параметры"
#. The variable is the title of the game
#: cartridges/game.py:139
msgid "{} hidden"
msgstr "{} схаваная"
#: cartridges/game.py:139
msgid "{} unhidden"
msgstr "{} непрыхавана"
#. The variable is the title of the game
#. The variable is the number of games removed
#: cartridges/game.py:153 cartridges/importer/importer.py:391
msgid "{} removed"
msgstr "{} выдалена"
#: cartridges/preferences.py:133
msgid "All games removed"
msgstr "Усе гульні выдалены"
#: cartridges/preferences.py:181
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Для выкарыстання SteamGridDB патрабуецца ключ API. Вы можаце стварыць яго {}"
"тут{}."
#: cartridges/preferences.py:196
msgid "Downloading covers…"
msgstr "Спампоўка вокладак…"
#: cartridges/preferences.py:215
msgid "Covers updated"
msgstr "Вокладкі абноўлены"
#: cartridges/preferences.py:360
msgid "Installation Not Found"
msgstr "Усталяванне не знойдзена"
#: cartridges/preferences.py:361
msgid "Select a valid directory"
msgstr "Выберыце сапраўдны каталог"
#: cartridges/preferences.py:397 cartridges/importer/importer.py:318
msgid "Warning"
msgstr "Увага"
#: cartridges/preferences.py:431
msgid "Invalid Directory"
msgstr "Няправільны каталог"
#: cartridges/preferences.py:437
msgid "Set Location"
msgstr "Задаць размяшчэнне"
#: cartridges/utils/create_dialog.py:33 cartridges/importer/importer.py:319
msgid "Dismiss"
msgstr "Адхіліць"
#: cartridges/importer/importer.py:145
msgid "Importing Games…"
msgstr "Імпарт гульняў…"
#: cartridges/importer/importer.py:338
msgid "The following errors occured during import:"
msgstr "Падчас імпарту адбыліся наступныя памылкі:"
#: cartridges/importer/importer.py:367
msgid "No new games found"
msgstr "Новыя гульні не знойдзены"
#: cartridges/importer/importer.py:379
msgid "1 game imported"
msgstr "Імпартавана 1 гульня"
#. The variable is the number of games
#: cartridges/importer/importer.py:383
msgid "{} games imported"
msgstr "{} гульняў імпартавана"
#. A single game removed
#: cartridges/importer/importer.py:387
msgid "1 removed"
msgstr "1 выдалена"
#. The variable is the name of the source
#: cartridges/importer/location.py:34
msgid "Select the {} cache directory."
msgstr "Выберыце каталог кэша {}."
#. The variable is the name of the source
#: cartridges/importer/location.py:36
msgid "Select the {} configuration directory."
msgstr "Выберыце каталог канфігурацыі {}."
#. The variable is the name of the source
#: cartridges/importer/location.py:38
msgid "Select the {} data directory."
msgstr "Выберыце каталог даных {}."
#: cartridges/importer/retroarch_source.py:129
msgid "No RetroArch Core Selected"
msgstr "Ядро RetroArch не выбрана"
#. The variable is a newline separated list of playlists
#: cartridges/importer/retroarch_source.py:131
msgid "The following playlists have no default core:"
msgstr "Наступныя плэйлісты не маюць ядра па змаўчанні:"
#: cartridges/importer/retroarch_source.py:133
msgid "Games with no core selected were not imported"
msgstr "Гульні без выбранага ядра не былі імпартаваныя"
#: cartridges/store/managers/sgdb_manager.py:46
msgid "Couldn't Authenticate SteamGridDB"
msgstr "Немагчыма аўтэнтыфікаваць SteamGridDB"
#: cartridges/store/managers/sgdb_manager.py:47
msgid "Verify your API key in preferences"
msgstr "Праверце свой ключ API ў наладах"
#~ msgid "Cache Location"
#~ msgstr "Размяшчэнне кэша"

647
po/ca.po Normal file
View File

@@ -0,0 +1,647 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package.
# jolupa <jolupameister@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: Cartridges\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-14 12:48+0200\n"
"PO-Revision-Date: 2023-12-15 13:10+0000\n"
"Last-Translator: jolupa <jolupameister@gmail.com>\n"
"Language-Team: Catalan <https://hosted.weblate.org/projects/cartridges/"
"cartridges/ca/>\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.3\n"
#: data/page.kramo.Cartridges.desktop.in:3
#: data/page.kramo.Cartridges.metainfo.xml.in:9
#: data/page.kramo.Cartridges.metainfo.xml.in:40 data/gtk/window.blp:47
#: data/gtk/window.blp:83
msgid "Cartridges"
msgstr "Cartridges"
#: data/page.kramo.Cartridges.desktop.in:4
msgid "Game Launcher"
msgstr "Llançador de jocs"
#: data/page.kramo.Cartridges.desktop.in:5
#: data/page.kramo.Cartridges.metainfo.xml.in:10
msgid "Launch all your games"
msgstr "Llança tots els teus jocs"
#: data/page.kramo.Cartridges.desktop.in:11
msgid ""
"gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;"
msgstr ""
"jocs;llançador;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;"
#: data/page.kramo.Cartridges.metainfo.xml.in:12
msgid ""
"Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login "
"necessary. You can sort and hide games or download cover art from "
"SteamGridDB."
msgstr ""
"Cartridges es un llançador de jocs senzill per tots els teus jocs. Suporta "
"la importació de jocs des de Steam, Lutris, Heroic i molts més sense la "
"necessitat de iniciar sessió. Pots ordenar i amagar els jocs o descarregar "
"l'art de la coberta de SteamGridDB."
#: data/page.kramo.Cartridges.metainfo.xml.in:44 data/gtk/window.blp:318
#: cartridges/details_dialog.py:68
msgid "Game Details"
msgstr "Detalls del joc"
#: data/page.kramo.Cartridges.metainfo.xml.in:48
msgid "Edit Game Details"
msgstr "Editar els detalls del joc"
#: data/page.kramo.Cartridges.metainfo.xml.in:52 data/gtk/help-overlay.blp:19
#: data/gtk/window.blp:542 cartridges/details_dialog.py:267
#: cartridges/importer/importer.py:320 cartridges/importer/importer.py:370
msgid "Preferences"
msgstr "Preferències"
#: data/gtk/details-dialog.blp:15
msgid "Cancel"
msgstr "Cancel·lar"
#: data/gtk/details-dialog.blp:46
msgid "New Cover"
msgstr "Coberta nova"
#: data/gtk/details-dialog.blp:65
msgid "Delete Cover"
msgstr "Eliminar la coberta"
#: data/gtk/details-dialog.blp:93 data/gtk/game.blp:81
msgid "Title"
msgstr "Títol"
#: data/gtk/details-dialog.blp:97
msgid "Developer (optional)"
msgstr "Desenvolupador (opcional)"
#: data/gtk/details-dialog.blp:103
msgid "Executable"
msgstr "Executable"
#: data/gtk/details-dialog.blp:109
msgid "Select File"
msgstr "Seleccionar fitxer"
#: data/gtk/details-dialog.blp:120
msgid "More Info"
msgstr "Més informació"
#: data/gtk/game.blp:102 data/gtk/game.blp:110 data/gtk/window.blp:443
msgid "Edit"
msgstr "Editar"
#: data/gtk/game.blp:103 cartridges/window.py:350
msgid "Hide"
msgstr "Amagar"
#: data/gtk/game.blp:104 data/gtk/game.blp:112 data/gtk/window.blp:463
msgid "Remove"
msgstr "Esborrar"
#: data/gtk/game.blp:111 cartridges/window.py:352
msgid "Unhide"
msgstr "Mostrar"
#: data/gtk/help-overlay.blp:11 data/gtk/preferences.blp:9
msgid "General"
msgstr "General"
#: data/gtk/help-overlay.blp:14 data/gtk/window.blp:205 data/gtk/window.blp:221
#: data/gtk/window.blp:272 data/gtk/window.blp:288 data/gtk/window.blp:474
msgid "Search"
msgstr "Cercar"
#: data/gtk/help-overlay.blp:24 data/gtk/window.blp:543
msgid "Keyboard Shortcuts"
msgstr "Dreceres de teclat"
#: data/gtk/help-overlay.blp:29 cartridges/game.py:103
#: cartridges/preferences.py:134 cartridges/importer/importer.py:394
msgid "Undo"
msgstr "Desfés"
#: data/gtk/help-overlay.blp:34
msgid "Quit"
msgstr "Sortir"
#: data/gtk/help-overlay.blp:39 data/gtk/window.blp:92 data/gtk/window.blp:185
msgid "Toggle Sidebar"
msgstr "Alternar la barra lateral"
#: data/gtk/help-overlay.blp:44 data/gtk/window.blp:198 data/gtk/window.blp:265
msgid "Main Menu"
msgstr "Menú principal"
#: data/gtk/help-overlay.blp:50
msgid "Games"
msgstr "Jocs"
#: data/gtk/help-overlay.blp:53 data/gtk/window.blp:191 data/gtk/window.blp:550
msgid "Add Game"
msgstr "Afegeix joc"
#: data/gtk/help-overlay.blp:58 data/gtk/preferences.blp:113
#: data/gtk/window.blp:27 data/gtk/window.blp:554
msgid "Import"
msgstr "Importar"
#: data/gtk/help-overlay.blp:63
msgid "Show Hidden Games"
msgstr "Mostrar jocs ocults"
#: data/gtk/help-overlay.blp:68
msgid "Remove Game"
msgstr "Eliminar joc"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:415
msgid "Behavior"
msgstr "Comportament"
#: data/gtk/preferences.blp:16
msgid "Exit After Launching Games"
msgstr "Sortir després de llançar el joc"
#: data/gtk/preferences.blp:20
msgid "Cover Image Launches Game"
msgstr "La imatge de la coberta llança el joc"
#: data/gtk/preferences.blp:21
msgid "Swaps the behavior of the cover image and the play button"
msgstr "Canvia el comportament de la imatge de la coberta i el botó de jugar"
#: data/gtk/preferences.blp:26 cartridges/details_dialog.py:82
msgid "Images"
msgstr "Imatges"
#: data/gtk/preferences.blp:29
msgid "High Quality Images"
msgstr "Imatges de qualitat alta"
#: data/gtk/preferences.blp:30
msgid "Save game covers losslessly at the cost of storage"
msgstr "Guarda les cobertes del joc sense pèrdues amb el cost d'emmagatzematge"
#: data/gtk/preferences.blp:35
msgid "Danger Zone"
msgstr "Zona de perill"
#: data/gtk/preferences.blp:48
msgid "Remove All Games"
msgstr "Esborrar tots els jocs"
#: data/gtk/preferences.blp:120
msgid "Remove Uninstalled Games"
msgstr "Esborrar jocs desinstal·lats"
#: data/gtk/preferences.blp:125
msgid "Sources"
msgstr "Fonts"
#: data/gtk/preferences.blp:128 cartridges/importer/steam_source.py:114
msgid "Steam"
msgstr "Steam"
#: data/gtk/preferences.blp:137 data/gtk/preferences.blp:164
#: data/gtk/preferences.blp:199 data/gtk/preferences.blp:242
#: data/gtk/preferences.blp:269 data/gtk/preferences.blp:296
#: data/gtk/preferences.blp:323
msgid "Install Location"
msgstr "Ubicació de la instal·lació"
#: data/gtk/preferences.blp:155 data/gtk/window.blp:564
#: cartridges/importer/lutris_source.py:96
msgid "Lutris"
msgstr "Lutris"
#: data/gtk/preferences.blp:181
msgid "Import Steam Games"
msgstr "Importar jocs de Steam"
#: data/gtk/preferences.blp:185
msgid "Import Flatpak Games"
msgstr "Importar jocs de Flatpak"
#: data/gtk/preferences.blp:190 cartridges/importer/heroic_source.py:355
msgid "Heroic"
msgstr "Heroic"
#: data/gtk/preferences.blp:216
msgid "Import Epic Games"
msgstr "Importar jocs de Epic"
#: data/gtk/preferences.blp:220
msgid "Import GOG Games"
msgstr "Importar jocs de GOG"
#: data/gtk/preferences.blp:224
msgid "Import Amazon Games"
msgstr "Importar jocs de Amazon"
#: data/gtk/preferences.blp:228
msgid "Import Sideloaded Games"
msgstr "Importar jocs no aprovats"
#: data/gtk/preferences.blp:233 cartridges/importer/bottles_source.py:86
msgid "Bottles"
msgstr "Bottles"
#: data/gtk/preferences.blp:260 cartridges/importer/itch_source.py:81
msgid "itch"
msgstr "itch"
#: data/gtk/preferences.blp:287 cartridges/importer/legendary_source.py:97
msgid "Legendary"
msgstr "Legendary"
#: data/gtk/preferences.blp:314 cartridges/importer/retroarch_source.py:142
msgid "RetroArch"
msgstr "RetroArch"
#: data/gtk/preferences.blp:341 cartridges/importer/flatpak_source.py:143
msgid "Flatpak"
msgstr "Flatpak"
#. The location of the system-wide data directory
#: data/gtk/preferences.blp:351
msgid "System Location"
msgstr "Ubicació del sistema"
#. The location of the user-specific data directory
#: data/gtk/preferences.blp:369
msgid "User Location"
msgstr "Ubicació de l'usuari"
#: data/gtk/preferences.blp:386
msgid "Import Game Launchers"
msgstr "Importar llançadors de jocs"
#: data/gtk/preferences.blp:391 cartridges/importer/desktop_source.py:215
msgid "Desktop Entries"
msgstr "Entrades d'escriptori"
#: data/gtk/preferences.blp:403 data/gtk/window.blp:562
msgid "SteamGridDB"
msgstr "SteamGridDB"
#: data/gtk/preferences.blp:407
msgid "Authentication"
msgstr "Autenticació"
#: data/gtk/preferences.blp:410
msgid "API Key"
msgstr "Clau API"
#: data/gtk/preferences.blp:418
msgid "Use SteamGridDB"
msgstr "Fes servir SteamGridDB"
#: data/gtk/preferences.blp:419
msgid "Download images when adding or importing games"
msgstr "Descarregar les imatges al afegir o importar jocs"
#: data/gtk/preferences.blp:423
msgid "Prefer Over Official Images"
msgstr "Prefereix sobre imatges oficials"
#: data/gtk/preferences.blp:427
msgid "Prefer Animated Images"
msgstr "Prefereix imatges animades"
#: data/gtk/preferences.blp:433
msgid "Update Covers"
msgstr "Actualitzar cobertes"
#: data/gtk/preferences.blp:434
msgid "Fetch covers for games already in your library"
msgstr "Descarregar cobertes per a jocs que ja es troben a la teva llibreria"
#: data/gtk/preferences.blp:439
msgid "Update"
msgstr "Actualitzar"
#: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found"
msgstr "No hi han jocs"
#: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search"
msgstr "Prova una cerca diferent"
#: data/gtk/window.blp:21
msgid "No Games"
msgstr "Cap joc"
#: data/gtk/window.blp:22
msgid "Use the + button to add games"
msgstr "Fes servir el botó + per afegir jocs"
#: data/gtk/window.blp:40
msgid "No Hidden Games"
msgstr "No hi han jocs amagats"
#: data/gtk/window.blp:41
msgid "Games you hide will appear here"
msgstr "Els jocs que amaguis sortiran aquí"
#: data/gtk/window.blp:76 data/gtk/window.blp:111 cartridges/main.py:228
msgid "All Games"
msgstr "Tots els jocs"
#: data/gtk/window.blp:136 cartridges/main.py:230
msgid "Added"
msgstr "Afegit"
#: data/gtk/window.blp:156
msgid "Imported"
msgstr "Importat"
#: data/gtk/window.blp:258
msgid "Hidden Games"
msgstr "Jocs amagats"
#: data/gtk/window.blp:367
msgid "Game Title"
msgstr "Títol del joc"
#: data/gtk/window.blp:424
msgid "Play"
msgstr "Jugar"
#: data/gtk/window.blp:501
msgid "Sort"
msgstr "Ordenar"
#: data/gtk/window.blp:504
msgid "A-Z"
msgstr "A-Z"
#: data/gtk/window.blp:510
msgid "Z-A"
msgstr "Z-A"
#: data/gtk/window.blp:516
msgid "Newest"
msgstr "Més recent"
#: data/gtk/window.blp:522
msgid "Oldest"
msgstr "Més antic"
#: data/gtk/window.blp:528
msgid "Last Played"
msgstr "Últim jugat"
#: data/gtk/window.blp:535
msgid "Show Hidden"
msgstr "Mostrar els amagats"
#: data/gtk/window.blp:544
msgid "About Cartridges"
msgstr "Sobre Cartridges"
#: data/gtk/window.blp:561
msgid "IGDB"
msgstr "IGDB"
#: data/gtk/window.blp:563
msgid "ProtonDB"
msgstr "ProtonDB"
#: data/gtk/window.blp:565
msgid "HowLongToBeat"
msgstr "HowLongToBeat"
#. The variable is the title of the game
#: cartridges/main.py:205 cartridges/game.py:125
msgid "{} launched"
msgstr "{} llançat"
#. Translators: Replace this with your name for it to show up in the about window
#: cartridges/main.py:270
msgid "translator_credits"
msgstr "crèdits_traductors"
#. The variable is the date when the game was added
#: cartridges/window.py:373
msgid "Added: {}"
msgstr "Afegit: {}"
#: cartridges/window.py:376
msgid "Never"
msgstr "Mai"
#. The variable is the date when the game was last played
#: cartridges/window.py:380
msgid "Last played: {}"
msgstr "Últim jugat: {}"
#: cartridges/details_dialog.py:73
msgid "Apply"
msgstr "Aplicar"
#: cartridges/details_dialog.py:79
msgid "Add New Game"
msgstr "Afegeix joc nou"
#: cartridges/details_dialog.py:80
msgid "Add"
msgstr "Afegir"
#: cartridges/details_dialog.py:90
msgid "Executables"
msgstr "Executables"
#. Translate this string as you would translate "file"
#: cartridges/details_dialog.py:105
msgid "file.txt"
msgstr "fitxer.txt"
#. As in software
#: cartridges/details_dialog.py:107
msgid "program"
msgstr "programa"
#. Translate this string as you would translate "path to {}"
#: cartridges/details_dialog.py:112 cartridges/details_dialog.py:114
msgid "C:\\path\\to\\{}"
msgstr "C:\\camí\\a\\{}"
#. Translate this string as you would translate "path to {}"
#: cartridges/details_dialog.py:118 cartridges/details_dialog.py:120
msgid "/path/to/{}"
msgstr "/camí/a/{}"
#: cartridges/details_dialog.py:125
msgid ""
"To launch the executable \"{}\", use the command:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"To open the file \"{}\" with the default application, use:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"If the path contains spaces, make sure to wrap it in double quotes!"
msgstr ""
"Per llançar l'executable \"{}\", fes servir l'ordre:\n"
"\n"
"<tt>\"{}\"</tt>\n"
"\n"
"Per obrir el fitxer \"{}\" amb l'aplicació per defecte, fes servir:\n"
"\n"
"<tt>{} \"{}\"</tt>\n"
"\n"
"Si el camí conté espais, assegurat d'envoltar-lo amb cometes dobles!"
#: cartridges/details_dialog.py:167 cartridges/details_dialog.py:173
msgid "Couldn't Add Game"
msgstr "No es pot afegir el joc"
#: cartridges/details_dialog.py:167 cartridges/details_dialog.py:209
msgid "Game title cannot be empty."
msgstr "El títol del joc no pot estar buit."
#: cartridges/details_dialog.py:173 cartridges/details_dialog.py:217
msgid "Executable cannot be empty."
msgstr "El executable no pot estar buit."
#: cartridges/details_dialog.py:208 cartridges/details_dialog.py:216
msgid "Couldn't Apply Preferences"
msgstr "No s'han pogut aplicar les preferències"
#. The variable is the title of the game
#: cartridges/game.py:139
msgid "{} hidden"
msgstr "{} amagat"
#: cartridges/game.py:139
msgid "{} unhidden"
msgstr "{} mostrar"
#. The variable is the title of the game
#. The variable is the number of games removed
#: cartridges/game.py:153 cartridges/importer/importer.py:391
msgid "{} removed"
msgstr "{} eliminat"
#: cartridges/preferences.py:133
msgid "All games removed"
msgstr "Tots els jocs eliminats"
#: cartridges/preferences.py:181
msgid ""
"An API key is required to use SteamGridDB. You can generate one {}here{}."
msgstr ""
"Es necessita una clau API per poder fer servir SteamGridDB. Pots generar una "
"{}aquí{}."
#: cartridges/preferences.py:196
msgid "Downloading covers…"
msgstr "Descarregant cobertes…"
#: cartridges/preferences.py:215
msgid "Covers updated"
msgstr "Cobertes actualitzades"
#: cartridges/preferences.py:360
msgid "Installation Not Found"
msgstr "No s'ha trobat l'instal·lacióó"
#: cartridges/preferences.py:361
msgid "Select a valid directory"
msgstr "Selecciona un directori vàlid"
#: cartridges/preferences.py:397 cartridges/importer/importer.py:318
msgid "Warning"
msgstr "Avis"
#: cartridges/preferences.py:431
msgid "Invalid Directory"
msgstr "Directori no vàlid"
#: cartridges/preferences.py:437
msgid "Set Location"
msgstr "Escull una ubicació"
#: cartridges/utils/create_dialog.py:33 cartridges/importer/importer.py:319
msgid "Dismiss"
msgstr "Descartar"
#: cartridges/importer/importer.py:145
msgid "Importing Games…"
msgstr "Important jocs…"
#: cartridges/importer/importer.py:338
msgid "The following errors occured during import:"
msgstr "Han succeït els següents errors al importar:"
#: cartridges/importer/importer.py:367
msgid "No new games found"
msgstr "No s'han trobat jocs nous"
#: cartridges/importer/importer.py:379
msgid "1 game imported"
msgstr "1 joc importat"
#. The variable is the number of games
#: cartridges/importer/importer.py:383
msgid "{} games imported"
msgstr "{} jocs importats"
#. A single game removed
#: cartridges/importer/importer.py:387
msgid "1 removed"
msgstr "1 eliminat"
#. The variable is the name of the source
#: cartridges/importer/location.py:34
msgid "Select the {} cache directory."
msgstr "Selecciona el directori per la memòria cau {}."
#. The variable is the name of the source
#: cartridges/importer/location.py:36
msgid "Select the {} configuration directory."
msgstr "Selecciona el directori de configuració {}."
#. The variable is the name of the source
#: cartridges/importer/location.py:38
msgid "Select the {} data directory."
msgstr "Selecciona el directori de dades {}."
#: cartridges/importer/retroarch_source.py:129
msgid "No RetroArch Core Selected"
msgstr "No s'ha seleccionat cap nucli de RetroArch"
#. The variable is a newline separated list of playlists
#: cartridges/importer/retroarch_source.py:131
msgid "The following playlists have no default core:"
msgstr "La següent llista de reproducció no te cap nucli:"
#: cartridges/importer/retroarch_source.py:133
msgid "Games with no core selected were not imported"
msgstr "Els jocs sense cap nucli seleccionat no seran importats"
#: cartridges/store/managers/sgdb_manager.py:46
msgid "Couldn't Authenticate SteamGridDB"
msgstr "No es pot Autenticar a SteamGridDB"
#: cartridges/store/managers/sgdb_manager.py:47
msgid "Verify your API key in preferences"
msgstr "Verifica la teva clau API en les preferències"
#~ msgid "Cache Location"
#~ msgstr "Ubicació de la memòria cau"

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-08-27 14:03+0200\n" "POT-Creation-Date: 2024-04-14 12:48+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,27 +17,28 @@ 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"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/page.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/page.kramo.Cartridges.metainfo.xml.in:9
#: src/main.py:176 #: data/page.kramo.Cartridges.metainfo.xml.in:40 data/gtk/window.blp:47
#: data/gtk/window.blp:83
msgid "Cartridges" msgid "Cartridges"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:4 #: data/page.kramo.Cartridges.desktop.in:4
msgid "Game Launcher" msgid "Game Launcher"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:5 #: data/page.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7 #: data/page.kramo.Cartridges.metainfo.xml.in:10
msgid "Launch all your games" msgid "Launch all your games"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/page.kramo.Cartridges.desktop.in:11
msgid "" msgid ""
"gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;" "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/page.kramo.Cartridges.metainfo.xml.in:12
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login " "for importing games from Steam, Lutris, Heroic and more with no login "
@@ -45,71 +46,66 @@ msgid ""
"SteamGridDB." "SteamGridDB."
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 #: data/page.kramo.Cartridges.metainfo.xml.in:44 data/gtk/window.blp:318
msgid "Library" #: cartridges/details_dialog.py:68
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:34
msgid "Edit Game Details"
msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
#: src/details_window.py:71
msgid "Game Details" msgid "Game Details"
msgstr "" msgstr ""
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:430 #: data/page.kramo.Cartridges.metainfo.xml.in:48
#: src/details_window.py:265 src/importer/importer.py:301 msgid "Edit Game Details"
#: src/importer/importer.py:352 msgstr ""
#: data/page.kramo.Cartridges.metainfo.xml.in:52 data/gtk/help-overlay.blp:19
#: data/gtk/window.blp:542 cartridges/details_dialog.py:267
#: cartridges/importer/importer.py:320 cartridges/importer/importer.py:370
msgid "Preferences" msgid "Preferences"
msgstr "" msgstr ""
#: data/gtk/details-window.blp:25 #: data/gtk/details-dialog.blp:15
msgid "Cancel" msgid "Cancel"
msgstr "" msgstr ""
#: data/gtk/details-window.blp:58 #: data/gtk/details-dialog.blp:46
msgid "New Cover" msgid "New Cover"
msgstr "" msgstr ""
#: data/gtk/details-window.blp:77 #: data/gtk/details-dialog.blp:65
msgid "Delete Cover" msgid "Delete Cover"
msgstr "" msgstr ""
#: data/gtk/details-window.blp:105 data/gtk/game.blp:80 #: data/gtk/details-dialog.blp:93 data/gtk/game.blp:81
msgid "Title" msgid "Title"
msgstr "" msgstr ""
#: data/gtk/details-window.blp:109 #: data/gtk/details-dialog.blp:97
msgid "Developer (optional)" msgid "Developer (optional)"
msgstr "" msgstr ""
#: data/gtk/details-window.blp:115 #: data/gtk/details-dialog.blp:103
msgid "Executable" msgid "Executable"
msgstr "" msgstr ""
#: data/gtk/details-window.blp:121 #: data/gtk/details-dialog.blp:109
msgid "Select File" msgid "Select File"
msgstr "" msgstr ""
#: data/gtk/details-window.blp:132 #: data/gtk/details-dialog.blp:120
msgid "More Info" msgid "More Info"
msgstr "" msgstr ""
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195 #: data/gtk/game.blp:102 data/gtk/game.blp:110 data/gtk/window.blp:443
msgid "Edit" msgid "Edit"
msgstr "" msgstr ""
#: data/gtk/game.blp:107 src/window.py:190 #: data/gtk/game.blp:103 cartridges/window.py:350
msgid "Hide" msgid "Hide"
msgstr "" msgstr ""
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56 #: data/gtk/game.blp:104 data/gtk/game.blp:112 data/gtk/window.blp:463
#: data/gtk/window.blp:215
msgid "Remove" msgid "Remove"
msgstr "" msgstr ""
#: data/gtk/game.blp:126 src/window.py:192 #: data/gtk/game.blp:111 cartridges/window.py:352
msgid "Unhide" msgid "Unhide"
msgstr "" msgstr ""
@@ -117,54 +113,55 @@ msgstr ""
msgid "General" msgid "General"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14 data/gtk/window.blp:205 data/gtk/window.blp:221
msgid "Quit" #: data/gtk/window.blp:272 data/gtk/window.blp:288 data/gtk/window.blp:474
msgstr ""
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:226 data/gtk/window.blp:269
#: data/gtk/window.blp:336
msgid "Search" msgid "Search"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24 data/gtk/window.blp:543
msgid "Show preferences" msgid "Keyboard Shortcuts"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29 cartridges/game.py:103
msgid "Shortcuts" #: cartridges/preferences.py:134 cartridges/importer/importer.py:394
msgstr ""
#: data/gtk/help-overlay.blp:34 src/game.py:105 src/preferences.py:124
#: src/importer/importer.py:376
msgid "Undo" msgid "Undo"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:34
msgid "Open menu" msgid "Quit"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:39 data/gtk/window.blp:92 data/gtk/window.blp:185
msgid "Toggle Sidebar"
msgstr ""
#: data/gtk/help-overlay.blp:44 data/gtk/window.blp:198 data/gtk/window.blp:265
msgid "Main Menu"
msgstr ""
#: data/gtk/help-overlay.blp:50
msgid "Games" msgid "Games"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:53 data/gtk/window.blp:191 data/gtk/window.blp:550
msgid "Add new game" msgid "Add Game"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:58 data/gtk/preferences.blp:113
msgid "Import games" #: data/gtk/window.blp:27 data/gtk/window.blp:554
msgstr "" msgid "Import"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "" msgstr ""
#: data/gtk/help-overlay.blp:63 #: data/gtk/help-overlay.blp:63
msgid "Remove game" msgid "Show Hidden Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:88 #: data/gtk/help-overlay.blp:68
#: data/gtk/preferences.blp:339 msgid "Remove Game"
msgstr ""
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:415
msgid "Behavior" msgid "Behavior"
msgstr "" msgstr ""
@@ -172,155 +169,170 @@ msgstr ""
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:20
msgid "Cover Image Launches Game" msgid "Cover Image Launches Game"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:26 #: data/gtk/preferences.blp:21
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:36 src/details_window.py:85 #: data/gtk/preferences.blp:26 cartridges/details_dialog.py:82
msgid "Images" msgid "Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:29
msgid "High Quality Images" msgid "High Quality Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:30
msgid "Save game covers losslessly at the cost of storage" msgid "Save game covers losslessly at the cost of storage"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:50 #: data/gtk/preferences.blp:35
msgid "Danger Zone" msgid "Danger Zone"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:53 #: data/gtk/preferences.blp:48
msgid "Remove All Games" msgid "Remove All Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:84 data/gtk/window.blp:27 data/gtk/window.blp:456 #: data/gtk/preferences.blp:120
msgid "Import"
msgstr ""
#: data/gtk/preferences.blp:91
msgid "Remove Uninstalled Games" msgid "Remove Uninstalled Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:101 #: data/gtk/preferences.blp:125
msgid "Sources" msgid "Sources"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:104 #: data/gtk/preferences.blp:128 cartridges/importer/steam_source.py:114
msgid "Steam" msgid "Steam"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:108 data/gtk/preferences.blp:125 #: data/gtk/preferences.blp:137 data/gtk/preferences.blp:164
#: data/gtk/preferences.blp:172 data/gtk/preferences.blp:225 #: data/gtk/preferences.blp:199 data/gtk/preferences.blp:242
#: data/gtk/preferences.blp:242 data/gtk/preferences.blp:259 #: data/gtk/preferences.blp:269 data/gtk/preferences.blp:296
#: data/gtk/preferences.blp:276 data/gtk/preferences.blp:293 #: data/gtk/preferences.blp:323
msgid "Install Location" msgid "Install Location"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:121 #: data/gtk/preferences.blp:155 data/gtk/window.blp:564
#: cartridges/importer/lutris_source.py:96
msgid "Lutris" msgid "Lutris"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:137 #: data/gtk/preferences.blp:181
msgid "Cache Location"
msgstr ""
#: data/gtk/preferences.blp:149
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:158 #: data/gtk/preferences.blp:185
msgid "Import Flatpak Games" msgid "Import Flatpak Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:168 #: data/gtk/preferences.blp:190 cartridges/importer/heroic_source.py:355
msgid "Heroic" msgid "Heroic"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:184 #: data/gtk/preferences.blp:216
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:193 #: data/gtk/preferences.blp:220
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:202 #: data/gtk/preferences.blp:224
msgid "Import Amazon Games" msgid "Import Amazon Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:211 #: data/gtk/preferences.blp:228
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:221 #: data/gtk/preferences.blp:233 cartridges/importer/bottles_source.py:86
msgid "Bottles" msgid "Bottles"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:260 cartridges/importer/itch_source.py:81
msgid "itch" msgid "itch"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:255 #: data/gtk/preferences.blp:287 cartridges/importer/legendary_source.py:97
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:272 #: data/gtk/preferences.blp:314 cartridges/importer/retroarch_source.py:142
msgid "RetroArch" msgid "RetroArch"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:289 #: data/gtk/preferences.blp:341 cartridges/importer/flatpak_source.py:143
msgid "Flatpak" msgid "Flatpak"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:305 #. The location of the system-wide data directory
#: data/gtk/preferences.blp:351
msgid "System Location"
msgstr ""
#. The location of the user-specific data directory
#: data/gtk/preferences.blp:369
msgid "User Location"
msgstr ""
#: data/gtk/preferences.blp:386
msgid "Import Game Launchers" msgid "Import Game Launchers"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:315 #: data/gtk/preferences.blp:391 cartridges/importer/desktop_source.py:215
msgid "Desktop Entries" msgid "Desktop Entries"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:327 #: data/gtk/preferences.blp:403 data/gtk/window.blp:562
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:331 #: data/gtk/preferences.blp:407
msgid "Authentication" msgid "Authentication"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:334 #: data/gtk/preferences.blp:410
msgid "API Key" msgid "API Key"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:342 #: data/gtk/preferences.blp:418
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:343 #: data/gtk/preferences.blp:419
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:352 #: data/gtk/preferences.blp:423
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:361 #: data/gtk/preferences.blp:427
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "" msgstr ""
#: data/gtk/preferences.blp:433
msgid "Update Covers"
msgstr ""
#: data/gtk/preferences.blp:434
msgid "Fetch covers for games already in your library"
msgstr ""
#: data/gtk/preferences.blp:439
msgid "Update"
msgstr ""
#: data/gtk/window.blp:6 data/gtk/window.blp:14 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "" msgstr ""
#: data/gtk/window.blp:7 data/gtk/window.blp:15 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search"
msgstr "" msgstr ""
#: data/gtk/window.blp:21 #: data/gtk/window.blp:21
@@ -328,7 +340,7 @@ msgid "No Games"
msgstr "" msgstr ""
#: 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 "" msgstr ""
#: data/gtk/window.blp:40 #: data/gtk/window.blp:40
@@ -336,133 +348,138 @@ msgid "No Hidden Games"
msgstr "" msgstr ""
#: 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 "" msgstr ""
#: data/gtk/window.blp:64 data/gtk/window.blp:317 #: data/gtk/window.blp:76 data/gtk/window.blp:111 cartridges/main.py:228
msgid "Back" msgid "All Games"
msgstr "" msgstr ""
#: data/gtk/window.blp:121 #: data/gtk/window.blp:136 cartridges/main.py:230
msgid "Game Title" msgid "Added"
msgstr "" msgstr ""
#: data/gtk/window.blp:176 #: data/gtk/window.blp:156
msgid "Play" msgid "Imported"
msgstr "" msgstr ""
#: data/gtk/window.blp:255 data/gtk/window.blp:449 #: data/gtk/window.blp:258
msgid "Add Game"
msgstr ""
#: data/gtk/window.blp:262 data/gtk/window.blp:329
msgid "Main Menu"
msgstr ""
#: data/gtk/window.blp:284
msgid "Search games"
msgstr ""
#: data/gtk/window.blp:324
msgid "Hidden Games" msgid "Hidden Games"
msgstr "" msgstr ""
#: data/gtk/window.blp:351 #: data/gtk/window.blp:367
msgid "Search hidden games" msgid "Game Title"
msgstr "" msgstr ""
#: data/gtk/window.blp:388 #: data/gtk/window.blp:424
msgid "Play"
msgstr ""
#: data/gtk/window.blp:501
msgid "Sort" msgid "Sort"
msgstr "" msgstr ""
#: data/gtk/window.blp:391 #: data/gtk/window.blp:504
msgid "A-Z" msgid "A-Z"
msgstr "" msgstr ""
#: data/gtk/window.blp:397 #: data/gtk/window.blp:510
msgid "Z-A" msgid "Z-A"
msgstr "" msgstr ""
#: data/gtk/window.blp:403 #: data/gtk/window.blp:516
msgid "Newest" msgid "Newest"
msgstr "" msgstr ""
#: data/gtk/window.blp:409 #: data/gtk/window.blp:522
msgid "Oldest" msgid "Oldest"
msgstr "" msgstr ""
#: data/gtk/window.blp:415 #: data/gtk/window.blp:528
msgid "Last Played" msgid "Last Played"
msgstr "" msgstr ""
#: data/gtk/window.blp:422 #: data/gtk/window.blp:535
msgid "Show Hidden" msgid "Show Hidden"
msgstr "" msgstr ""
#: data/gtk/window.blp:435 #: data/gtk/window.blp:544
msgid "Keyboard Shortcuts"
msgstr ""
#: data/gtk/window.blp:440
msgid "About Cartridges" msgid "About Cartridges"
msgstr "" msgstr ""
#: data/gtk/window.blp:561
msgid "IGDB"
msgstr ""
#: data/gtk/window.blp:563
msgid "ProtonDB"
msgstr ""
#: data/gtk/window.blp:565
msgid "HowLongToBeat"
msgstr ""
#. The variable is the title of the game
#: cartridges/main.py:205 cartridges/game.py:125
msgid "{} launched"
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:195 #: cartridges/main.py:270
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:213 #: cartridges/window.py:373
msgid "Added: {}" msgid "Added: {}"
msgstr "" msgstr ""
#: src/window.py:216 #: cartridges/window.py:376
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:220 #: cartridges/window.py:380
msgid "Last played: {}" msgid "Last played: {}"
msgstr "" msgstr ""
#: src/details_window.py:76 #: cartridges/details_dialog.py:73
msgid "Apply" msgid "Apply"
msgstr "" msgstr ""
#: src/details_window.py:82 #: cartridges/details_dialog.py:79
msgid "Add New Game" msgid "Add New Game"
msgstr "" msgstr ""
#: src/details_window.py:83 #: cartridges/details_dialog.py:80
msgid "Add" msgid "Add"
msgstr "" msgstr ""
#: src/details_window.py:93 #: cartridges/details_dialog.py:90
msgid "Executables" msgid "Executables"
msgstr "" msgstr ""
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:108 #: cartridges/details_dialog.py:105
msgid "file.txt" msgid "file.txt"
msgstr "" msgstr ""
#. As in software #. As in software
#: src/details_window.py:110 #: cartridges/details_dialog.py:107
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:115 src/details_window.py:117 #: cartridges/details_dialog.py:112 cartridges/details_dialog.py:114
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:121 src/details_window.py:123 #: cartridges/details_dialog.py:118 cartridges/details_dialog.py:120
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "" msgstr ""
#: src/details_window.py:128 #: cartridges/details_dialog.py:125
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -475,120 +492,136 @@ 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:171 src/details_window.py:177 #: cartridges/details_dialog.py:167 cartridges/details_dialog.py:173
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "" msgstr ""
#: src/details_window.py:171 src/details_window.py:207 #: cartridges/details_dialog.py:167 cartridges/details_dialog.py:209
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:177 src/details_window.py:215 #: cartridges/details_dialog.py:173 cartridges/details_dialog.py:217
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "" msgstr ""
#: src/details_window.py:206 src/details_window.py:214 #: cartridges/details_dialog.py:208 cartridges/details_dialog.py:216
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 #: cartridges/game.py:139
msgid "{} launched"
msgstr ""
#. The variable is the title of the game
#: src/game.py:155
msgid "{} hidden" msgid "{} hidden"
msgstr "" msgstr ""
#: src/game.py:155 #: cartridges/game.py:139
msgid "{} unhidden" msgid "{} unhidden"
msgstr "" msgstr ""
#. The variable is the title of the game #. The variable is the title of the game
#. The variable is the number of games removed #. The variable is the number of games removed
#: src/game.py:172 src/importer/importer.py:373 #: cartridges/game.py:153 cartridges/importer/importer.py:391
msgid "{} removed" msgid "{} removed"
msgstr "" msgstr ""
#: src/preferences.py:123 #: cartridges/preferences.py:133
msgid "All games removed" msgid "All games removed"
msgstr "" msgstr ""
#: src/preferences.py:172 #: cartridges/preferences.py:181
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:293 #: cartridges/preferences.py:196
msgid "Downloading covers…"
msgstr ""
#: cartridges/preferences.py:215
msgid "Covers updated"
msgstr ""
#: cartridges/preferences.py:360
msgid "Installation Not Found" msgid "Installation Not Found"
msgstr "" msgstr ""
#: src/preferences.py:294 #: cartridges/preferences.py:361
msgid "Select a valid directory." msgid "Select a valid directory"
msgstr "" msgstr ""
#: src/preferences.py:330 src/importer/importer.py:299 #: cartridges/preferences.py:397 cartridges/importer/importer.py:318
msgid "Warning" msgid "Warning"
msgstr "" msgstr ""
#: src/preferences.py:364 #: cartridges/preferences.py:431
msgid "Invalid Directory" msgid "Invalid Directory"
msgstr "" msgstr ""
#: src/preferences.py:370 #: cartridges/preferences.py:437
msgid "Set Location" msgid "Set Location"
msgstr "" msgstr ""
#: src/utils/create_dialog.py:33 src/importer/importer.py:300 #: cartridges/utils/create_dialog.py:33 cartridges/importer/importer.py:319
msgid "Dismiss" msgid "Dismiss"
msgstr "" msgstr ""
#: src/importer/importer.py:137 #: cartridges/importer/importer.py:145
msgid "Importing Games…" msgid "Importing Games…"
msgstr "" msgstr ""
#: src/importer/importer.py:320 #: cartridges/importer/importer.py:338
msgid "The following errors occured during import:" msgid "The following errors occured during import:"
msgstr "" msgstr ""
#: src/importer/importer.py:349 #: cartridges/importer/importer.py:367
msgid "No new games found" msgid "No new games found"
msgstr "" msgstr ""
#: src/importer/importer.py:361 #: cartridges/importer/importer.py:379
msgid "1 game imported" msgid "1 game imported"
msgstr "" msgstr ""
#. The variable is the number of games #. The variable is the number of games
#: src/importer/importer.py:365 #: cartridges/importer/importer.py:383
msgid "{} games imported" msgid "{} games imported"
msgstr "" msgstr ""
#. A single game removed #. A single game removed
#: src/importer/importer.py:369 #: cartridges/importer/importer.py:387
msgid "1 removed" msgid "1 removed"
msgstr "" msgstr ""
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:33 #: cartridges/importer/location.py:34
msgid "Select the {} cache directory." msgid "Select the {} cache directory."
msgstr "" msgstr ""
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:35 #: cartridges/importer/location.py:36
msgid "Select the {} configuration directory." msgid "Select the {} configuration directory."
msgstr "" msgstr ""
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:37 #: cartridges/importer/location.py:38
msgid "Select the {} data directory." msgid "Select the {} data directory."
msgstr "" msgstr ""
#: src/store/managers/sgdb_manager.py:46 #: cartridges/importer/retroarch_source.py:129
msgid "No RetroArch Core Selected"
msgstr ""
#. The variable is a newline separated list of playlists
#: cartridges/importer/retroarch_source.py:131
msgid "The following playlists have no default core:"
msgstr ""
#: cartridges/importer/retroarch_source.py:133
msgid "Games with no core selected were not imported"
msgstr ""
#: cartridges/store/managers/sgdb_manager.py:46
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "" msgstr ""
#: src/store/managers/sgdb_manager.py:47 #: cartridges/store/managers/sgdb_manager.py:47
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "" msgstr ""

530
po/cs.po
View File

@@ -1,13 +1,13 @@
# SOME DESCRIPTIVE TITLE. # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR kramo # Copyright (C) YEAR kramo
# This file is distributed under the same license as the Cartridges package. # This file is distributed under the same license as the Cartridges package.
# foo expert <deferred_water346@simplelogin.com>, 2023. # foo expert <deferred_water346@simplelogin.com>, 2023, 2024.
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-08-16 11:06+0200\n" "POT-Creation-Date: 2024-04-14 12:48+0200\n"
"PO-Revision-Date: 2023-08-05 08:07+0000\n" "PO-Revision-Date: 2024-06-28 07:09+0000\n"
"Last-Translator: foo expert <deferred_water346@simplelogin.com>\n" "Last-Translator: foo expert <deferred_water346@simplelogin.com>\n"
"Language-Team: Czech <https://hosted.weblate.org/projects/cartridges/" "Language-Team: Czech <https://hosted.weblate.org/projects/cartridges/"
"cartridges/cs/>\n" "cartridges/cs/>\n"
@@ -15,32 +15,32 @@ msgstr ""
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "Plural-Forms: nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2);\n"
"X-Generator: Weblate 5.0-dev\n" "X-Generator: Weblate 5.7-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/page.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/page.kramo.Cartridges.metainfo.xml.in:9
#: src/main.py:169 #: data/page.kramo.Cartridges.metainfo.xml.in:40 data/gtk/window.blp:47
#: data/gtk/window.blp:83
msgid "Cartridges" msgid "Cartridges"
msgstr "Kazety" msgstr "Kazety"
#: data/hu.kramo.Cartridges.desktop.in:4 #: data/page.kramo.Cartridges.desktop.in:4
msgid "Game Launcher" msgid "Game Launcher"
msgstr "Spouštěč her" msgstr "Spouštěč her"
#: data/hu.kramo.Cartridges.desktop.in:5 #: data/page.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7 #: data/page.kramo.Cartridges.metainfo.xml.in:10
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Spusťte všechny vaše hry" msgstr "Spusťte všechny vaše hry"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/page.kramo.Cartridges.desktop.in:11
#, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgid "" msgid ""
"gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;" "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;"
msgstr "hraní;spouštěč;steam;lutris;heroic;láhve;itch;flatpak;legendary;" msgstr ""
"hraní;spouštěč;steam;lutris;heroic;láhve;itch;flatpak;legendary;retroarch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/page.kramo.Cartridges.metainfo.xml.in:12
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login " "for importing games from Steam, Lutris, Heroic and more with no login "
@@ -51,69 +51,66 @@ msgstr ""
"her ze služeb Steam, Lutris, Heroic a dalších bez nutnosti přihlášení. Hry " "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." "můžete třídit a skrývat nebo stahovat obálky ze služby SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 #: data/page.kramo.Cartridges.metainfo.xml.in:44 data/gtk/window.blp:318
msgid "Library" #: cartridges/details_dialog.py:68
msgstr "Knihovna"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34
msgid "Edit Game Details"
msgstr "Upravit podrobnosti o hře"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
#: src/details_window.py:67
msgid "Game Details" msgid "Game Details"
msgstr "Podrobnosti o hře" msgstr "Podrobnosti o hře"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:418 #: data/page.kramo.Cartridges.metainfo.xml.in:48
#: src/details_window.py:241 src/importer/importer.py:292 msgid "Edit Game Details"
#: src/importer/importer.py:342 msgstr "Upravit podrobnosti o hře"
#: data/page.kramo.Cartridges.metainfo.xml.in:52 data/gtk/help-overlay.blp:19
#: data/gtk/window.blp:542 cartridges/details_dialog.py:267
#: cartridges/importer/importer.py:320 cartridges/importer/importer.py:370
msgid "Preferences" msgid "Preferences"
msgstr "Předvolby" msgstr "Předvolby"
#: data/gtk/details-window.blp:25 #: data/gtk/details-dialog.blp:15
msgid "Cancel" msgid "Cancel"
msgstr "Zrušit" msgstr "Zrušit"
#: data/gtk/details-window.blp:57 #: data/gtk/details-dialog.blp:46
msgid "New Cover" msgid "New Cover"
msgstr "Nový obal" msgstr "Nový obal"
#: data/gtk/details-window.blp:75 #: data/gtk/details-dialog.blp:65
msgid "Delete Cover" msgid "Delete Cover"
msgstr "Odstranit obal" msgstr "Odstranit obal"
#: data/gtk/details-window.blp:102 data/gtk/game.blp:80 #: data/gtk/details-dialog.blp:93 data/gtk/game.blp:81
msgid "Title" msgid "Title"
msgstr "Název" msgstr "Název"
#: data/gtk/details-window.blp:105 #: data/gtk/details-dialog.blp:97
#, fuzzy
#| msgid "The developer or publisher (optional)"
msgid "Developer (optional)" msgid "Developer (optional)"
msgstr "Vývojář nebo vydavatel (nepovinné)" msgstr "Vývojář (nepovinné)"
#: data/gtk/details-window.blp:110 #: data/gtk/details-dialog.blp:103
msgid "Executable" msgid "Executable"
msgstr "Spustitelný soubor" msgstr "Spustitelný soubor"
#: data/gtk/details-window.blp:116 #: data/gtk/details-dialog.blp:109
msgid "Select File"
msgstr "Vybrat soubor"
#: data/gtk/details-dialog.blp:120
msgid "More Info" msgid "More Info"
msgstr "Více informací" msgstr "Více informací"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195 #: data/gtk/game.blp:102 data/gtk/game.blp:110 data/gtk/window.blp:443
msgid "Edit" msgid "Edit"
msgstr "Upravit" msgstr "Upravit"
#: data/gtk/game.blp:107 src/window.py:171 #: data/gtk/game.blp:103 cartridges/window.py:350
msgid "Hide" msgid "Hide"
msgstr "Skrýt" msgstr "Skrýt"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56 #: data/gtk/game.blp:104 data/gtk/game.blp:112 data/gtk/window.blp:463
#: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Odstranit" msgstr "Odstranit"
#: data/gtk/game.blp:126 src/window.py:173 #: data/gtk/game.blp:111 cartridges/window.py:352
msgid "Unhide" msgid "Unhide"
msgstr "Odkrýt" msgstr "Odkrýt"
@@ -121,54 +118,55 @@ msgstr "Odkrýt"
msgid "General" msgid "General"
msgstr "Obecné" msgstr "Obecné"
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14 data/gtk/window.blp:205 data/gtk/window.blp:221
msgid "Quit" #: data/gtk/window.blp:272 data/gtk/window.blp:288 data/gtk/window.blp:474
msgstr "Ukončit"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:324
msgid "Search" msgid "Search"
msgstr "Vyhledávání" msgstr "Vyhledávání"
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24 data/gtk/window.blp:543
msgid "Show preferences" msgid "Keyboard Shortcuts"
msgstr "Zobrazit předvolby" msgstr "Klávesové zkratky"
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29 cartridges/game.py:103
msgid "Shortcuts" #: cartridges/preferences.py:134 cartridges/importer/importer.py:394
msgstr "Zkratky"
#: data/gtk/help-overlay.blp:34 src/game.py:103 src/preferences.py:120
#: src/importer/importer.py:366
msgid "Undo" msgid "Undo"
msgstr "Zpět" msgstr "Zpět"
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:34
msgid "Open menu" msgid "Quit"
msgstr "Otevřít nabídku" msgstr "Ukončit"
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:39 data/gtk/window.blp:92 data/gtk/window.blp:185
msgid "Toggle Sidebar"
msgstr "Přepnout postranní panel"
#: data/gtk/help-overlay.blp:44 data/gtk/window.blp:198 data/gtk/window.blp:265
msgid "Main Menu"
msgstr "Hlavní nabídka"
#: data/gtk/help-overlay.blp:50
msgid "Games" msgid "Games"
msgstr "Hry" msgstr "Hry"
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:53 data/gtk/window.blp:191 data/gtk/window.blp:550
msgid "Add new game" msgid "Add Game"
msgstr "Přidat novou hru" msgstr "Přidat hru"
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:58 data/gtk/preferences.blp:113
msgid "Import games" #: data/gtk/window.blp:27 data/gtk/window.blp:554
msgstr "Importovat hry" msgid "Import"
msgstr "Import"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Zobrazit skryté hry"
#: data/gtk/help-overlay.blp:63 #: data/gtk/help-overlay.blp:63
msgid "Remove game" msgid "Show Hidden Games"
msgstr "Zobrazit skryté hry"
#: data/gtk/help-overlay.blp:68
msgid "Remove Game"
msgstr "Odstranit hru" msgstr "Odstranit hru"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:89 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:304 #: data/gtk/preferences.blp:415
msgid "Behavior" msgid "Behavior"
msgstr "Chování" msgstr "Chování"
@@ -176,295 +174,317 @@ msgstr "Chování"
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "Ukončit po spuštění her" msgstr "Ukončit po spuštění her"
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:20
msgid "Cover Image Launches Game" msgid "Cover Image Launches Game"
msgstr "Obrázek na obálce spouští hru" msgstr "Obrázek na obálce spouští hru"
#: data/gtk/preferences.blp:26 #: data/gtk/preferences.blp:21
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "Vymění chování obrázku na obálce a tlačítka pro přehrávání" 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 #: data/gtk/preferences.blp:26 cartridges/details_dialog.py:82
msgid "Images" msgid "Images"
msgstr "Obrázky" msgstr "Obrázky"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:29
msgid "High Quality Images" msgid "High Quality Images"
msgstr "Vysoce kvalitní obrázky" msgstr "Vysoce kvalitní obrázky"
#: data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:30
msgid "Save game covers losslessly at the cost of storage" 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" msgstr "Ukládat obaly her bezztrátově na úkor většího místa na disku"
#: data/gtk/preferences.blp:50 #: data/gtk/preferences.blp:35
msgid "Danger Zone" msgid "Danger Zone"
msgstr "Nebezpečná zóna" msgstr "Nebezpečná zóna"
#: data/gtk/preferences.blp:53 #: data/gtk/preferences.blp:48
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Odstranit všechny hry" msgstr "Odstranit všechny hry"
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:444 #: data/gtk/preferences.blp:120
msgid "Import"
msgstr "Import"
#: data/gtk/preferences.blp:92
#, fuzzy
#| msgid "Remove All Games"
msgid "Remove Uninstalled Games" msgid "Remove Uninstalled Games"
msgstr "Odstranit všechny hry" msgstr "Odstranit odinstalované hry"
#: data/gtk/preferences.blp:102 #: data/gtk/preferences.blp:125
msgid "Sources" msgid "Sources"
msgstr "Zdroje" msgstr "Zdroje"
#: data/gtk/preferences.blp:105 #: data/gtk/preferences.blp:128 cartridges/importer/steam_source.py:114
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:109 data/gtk/preferences.blp:123 #: data/gtk/preferences.blp:137 data/gtk/preferences.blp:164
#: data/gtk/preferences.blp:164 data/gtk/preferences.blp:214 #: data/gtk/preferences.blp:199 data/gtk/preferences.blp:242
#: data/gtk/preferences.blp:228 data/gtk/preferences.blp:242 #: data/gtk/preferences.blp:269 data/gtk/preferences.blp:296
#: data/gtk/preferences.blp:256 data/gtk/preferences.blp:270 #: data/gtk/preferences.blp:323
msgid "Install Location" msgid "Install Location"
msgstr "Umístění instalace" msgstr "Umístění instalace"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:155 data/gtk/window.blp:564
#: cartridges/importer/lutris_source.py:96
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:132 #: data/gtk/preferences.blp:181
msgid "Cache Location"
msgstr "Umístění dočasných souborů"
#: data/gtk/preferences.blp:141
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Importovat Steam hry" msgstr "Importovat Steam hry"
#: data/gtk/preferences.blp:150 #: data/gtk/preferences.blp:185
msgid "Import Flatpak Games" msgid "Import Flatpak Games"
msgstr "Importovat Flatpak hry" msgstr "Importovat Flatpak hry"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:190 cartridges/importer/heroic_source.py:355
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:173 #: data/gtk/preferences.blp:216
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Importovat Epic Games hry" msgstr "Importovat Epic Games hry"
#: data/gtk/preferences.blp:182 #: data/gtk/preferences.blp:220
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Importovat GOG hry" msgstr "Importovat GOG hry"
#: data/gtk/preferences.blp:191 #: data/gtk/preferences.blp:224
msgid "Import Amazon Games" msgid "Import Amazon Games"
msgstr "Importovat Amazon hry" msgstr "Importovat Amazon hry"
#: data/gtk/preferences.blp:200 #: data/gtk/preferences.blp:228
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Importovat ručně načtené hry" msgstr "Importovat ručně načtené hry"
#: data/gtk/preferences.blp:210 #: data/gtk/preferences.blp:233 cartridges/importer/bottles_source.py:86
msgid "Bottles" msgid "Bottles"
msgstr "Láhve" msgstr "Láhve"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:260 cartridges/importer/itch_source.py:81
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:287 cartridges/importer/legendary_source.py:97
msgid "Legendary" msgid "Legendary"
msgstr "Legendary" msgstr "Legendary"
#: data/gtk/preferences.blp:252 #: data/gtk/preferences.blp:314 cartridges/importer/retroarch_source.py:142
msgid "RetroArch" msgid "RetroArch"
msgstr "" msgstr "RetroArch"
#: data/gtk/preferences.blp:266 #: data/gtk/preferences.blp:341 cartridges/importer/flatpak_source.py:143
msgid "Flatpak" msgid "Flatpak"
msgstr "Flatpak" msgstr "Flatpak"
#: data/gtk/preferences.blp:279 #. The location of the system-wide data directory
#: data/gtk/preferences.blp:351
msgid "System Location"
msgstr "Systémové umístění"
#. The location of the user-specific data directory
#: data/gtk/preferences.blp:369
msgid "User Location"
msgstr "Uživatelské umístění"
#: data/gtk/preferences.blp:386
msgid "Import Game Launchers" msgid "Import Game Launchers"
msgstr "Importovat spouštěče her" msgstr "Importovat spouštěče her"
#: data/gtk/preferences.blp:292 #: data/gtk/preferences.blp:391 cartridges/importer/desktop_source.py:215
msgid "Desktop Entries"
msgstr "Položky na ploše"
#: data/gtk/preferences.blp:403 data/gtk/window.blp:562
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:296 #: data/gtk/preferences.blp:407
msgid "Authentication" msgid "Authentication"
msgstr "Ověření" msgstr "Ověření"
#: data/gtk/preferences.blp:299 #: data/gtk/preferences.blp:410
msgid "API Key" msgid "API Key"
msgstr "Klíč API" msgstr "Klíč API"
#: data/gtk/preferences.blp:307 #: data/gtk/preferences.blp:418
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Používat SteamGridDB" msgstr "Používat SteamGridDB"
#: data/gtk/preferences.blp:308 #: data/gtk/preferences.blp:419
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Stahovat obrázky při přidávání nebo importování her" msgstr "Stahovat obrázky při přidávání nebo importování her"
#: data/gtk/preferences.blp:317 #: data/gtk/preferences.blp:423
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Upřednostnit před oficiálními obrázky" msgstr "Upřednostnit před oficiálními obrázky"
#: data/gtk/preferences.blp:326 #: data/gtk/preferences.blp:427
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Upřednostnit animované obrázky" msgstr "Upřednostnit animované obrázky"
#: data/gtk/preferences.blp:433
msgid "Update Covers"
msgstr "Aktualizovat obálky"
#: data/gtk/preferences.blp:434
msgid "Fetch covers for games already in your library"
msgstr "Najít obálky pro hry ve vaší knihovně"
#: data/gtk/preferences.blp:439
msgid "Update"
msgstr "Aktualizovat"
#: data/gtk/window.blp:6 data/gtk/window.blp:14 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Nebyly nalezeny žádné hry" msgstr "Nebyly nalezeny žádné hry"
#: 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 "Zkuste hledat něco jiného." msgstr "Zkuste hledat něco jiného"
#: data/gtk/window.blp:21 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Žádné hry" msgstr "Žádné hry"
#: 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 "Tlačítkem + můžete přidávat hry." msgstr "Tlačítkem + můžete přidávat hry"
#: data/gtk/window.blp:40 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Žádné skryté hry" msgstr "Žádné skryté hry"
#: 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 "Hry, které skryjete, se zobrazí zde." msgstr "Hry, které skryjete, se zobrazí zde"
#: data/gtk/window.blp:64 data/gtk/window.blp:305 #: data/gtk/window.blp:76 data/gtk/window.blp:111 cartridges/main.py:228
msgid "Back" msgid "All Games"
msgstr "Zpět" msgstr "Všechny hry"
#: data/gtk/window.blp:121 #: data/gtk/window.blp:136 cartridges/main.py:230
msgid "Game Title" msgid "Added"
msgstr "Název hry" msgstr "Přidané"
#: data/gtk/window.blp:176 #: data/gtk/window.blp:156
msgid "Play" msgid "Imported"
msgstr "Hrát" msgstr "Importované"
#: data/gtk/window.blp:243 data/gtk/window.blp:437 #: data/gtk/window.blp:258
msgid "Add Game"
msgstr "Přidat hru"
#: data/gtk/window.blp:250 data/gtk/window.blp:317
msgid "Main Menu"
msgstr "Hlavní nabídka"
#: data/gtk/window.blp:272
#, fuzzy
#| msgid "Search"
msgid "Search games"
msgstr "Vyhledávání"
#: data/gtk/window.blp:312
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Skryté hry" msgstr "Skryté hry"
#: data/gtk/window.blp:339 #: data/gtk/window.blp:367
#, fuzzy msgid "Game Title"
#| msgid "Show hidden games" msgstr "Název hry"
msgid "Search hidden games"
msgstr "Zobrazit skryté hry"
#: data/gtk/window.blp:376 #: data/gtk/window.blp:424
msgid "Play"
msgstr "Hrát"
#: data/gtk/window.blp:501
msgid "Sort" msgid "Sort"
msgstr "Třídit" msgstr "Třídit"
#: data/gtk/window.blp:379 #: data/gtk/window.blp:504
msgid "A-Z" msgid "A-Z"
msgstr "A-Ž" msgstr "A-Ž"
#: data/gtk/window.blp:385 #: data/gtk/window.blp:510
msgid "Z-A" msgid "Z-A"
msgstr "Ž-A" msgstr "Ž-A"
#: data/gtk/window.blp:391 #: data/gtk/window.blp:516
msgid "Newest" msgid "Newest"
msgstr "Nejnovější" msgstr "Nejnovější"
#: data/gtk/window.blp:397 #: data/gtk/window.blp:522
msgid "Oldest" msgid "Oldest"
msgstr "Nejstarší" msgstr "Nejstarší"
#: data/gtk/window.blp:403 #: data/gtk/window.blp:528
msgid "Last Played" msgid "Last Played"
msgstr "Naposledy hráno" msgstr "Naposledy hráno"
#: data/gtk/window.blp:410 #: data/gtk/window.blp:535
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Zobrazit Skryté" msgstr "Zobrazit Skryté"
#: data/gtk/window.blp:423 #: data/gtk/window.blp:544
msgid "Keyboard Shortcuts"
msgstr "Klávesové zkratky"
#: data/gtk/window.blp:428
msgid "About Cartridges" msgid "About Cartridges"
msgstr "O Kazetách" msgstr "O Kazetách"
#: data/gtk/window.blp:561
msgid "IGDB"
msgstr "IGDB"
#: data/gtk/window.blp:563
msgid "ProtonDB"
msgstr "ProtonDB"
#: data/gtk/window.blp:565
msgid "HowLongToBeat"
msgstr "HowLongToBeat"
#. The variable is the title of the game
#: cartridges/main.py:205 cartridges/game.py:125
msgid "{} launched"
msgstr "{} spuštěno"
#. 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:188 #: cartridges/main.py:270
msgid "translator_credits" msgid "translator_credits"
msgstr "ooo.i.love.foo" msgstr "ooo.i.love.foo"
#. The variable is the date when the game was added #. The variable is the date when the game was added
#: src/window.py:194 #: cartridges/window.py:373
msgid "Added: {}" msgid "Added: {}"
msgstr "Přidáno: {}" msgstr "Přidáno: {}"
#: src/window.py:197 #: cartridges/window.py:376
msgid "Never" msgid "Never"
msgstr "Nikdy" msgstr "Nikdy"
#. 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:201 #: cartridges/window.py:380
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Naposledy hráno: {}" msgstr "Naposledy hráno: {}"
#: src/details_window.py:72 #: cartridges/details_dialog.py:73
msgid "Apply" msgid "Apply"
msgstr "Použít" msgstr "Použít"
#: src/details_window.py:78 #: cartridges/details_dialog.py:79
msgid "Add New Game" msgid "Add New Game"
msgstr "Přidat novou hru" msgstr "Přidat novou hru"
#: src/details_window.py:79 #: cartridges/details_dialog.py:80
msgid "Add" msgid "Add"
msgstr "" msgstr "Přidat"
#: cartridges/details_dialog.py:90
msgid "Executables"
msgstr "Spustitelné soubory"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:92 #: cartridges/details_dialog.py:105
msgid "file.txt" msgid "file.txt"
msgstr "soubor.txt" msgstr "soubor.txt"
#. As in software #. As in software
#: src/details_window.py:94 #: cartridges/details_dialog.py:107
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:99 src/details_window.py:101 #: cartridges/details_dialog.py:112 cartridges/details_dialog.py:114
msgid "C:\\path\\to\\{}" msgid "C:\\path\\to\\{}"
msgstr "C:\\cesta\\k\\{}" msgstr "C:\\cesta\\k\\{}"
#. Translate this string as you would translate "path to {}" #. Translate this string as you would translate "path to {}"
#: src/details_window.py:105 src/details_window.py:107 #: cartridges/details_dialog.py:118 cartridges/details_dialog.py:120
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/cesta/k/{}" msgstr "/cesta/k/{}"
#: src/details_window.py:112 #: cartridges/details_dialog.py:125
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -486,136 +506,176 @@ msgstr ""
"\n" "\n"
"Pokud cesta obsahuje mezery, nezapomeňte ji zabalit do dvojitých uvozovek!" "Pokud cesta obsahuje mezery, nezapomeňte ji zabalit do dvojitých uvozovek!"
#: src/details_window.py:147 src/details_window.py:153 #: cartridges/details_dialog.py:167 cartridges/details_dialog.py:173
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Nelze přidat hru" msgstr "Nelze přidat hru"
#: src/details_window.py:147 src/details_window.py:183 #: cartridges/details_dialog.py:167 cartridges/details_dialog.py:209
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Název hry nemůže být prázdný." msgstr "Název hry nemůže být prázdný."
#: src/details_window.py:153 src/details_window.py:191 #: cartridges/details_dialog.py:173 cartridges/details_dialog.py:217
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Spustitelný soubor nemůže být prázdný." msgstr "Spustitelný soubor nemůže být prázdný."
#: src/details_window.py:182 src/details_window.py:190 #: cartridges/details_dialog.py:208 cartridges/details_dialog.py:216
msgid "Couldn't Apply Preferences" msgid "Couldn't Apply Preferences"
msgstr "Nelze použít předvolby" msgstr "Nelze použít předvolby"
#. The variable is the title of the game #. The variable is the title of the game
#: src/game.py:139 #: cartridges/game.py:139
msgid "{} launched"
msgstr "{} spuštěno"
#. The variable is the title of the game
#: src/game.py:153
msgid "{} hidden" msgid "{} hidden"
msgstr "{} skryto" msgstr "{} skryto"
#: src/game.py:153 #: cartridges/game.py:139
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} odkryto" msgstr "{} odkryto"
#. The variable is the title of the game #. The variable is the title of the game
#. The variable is the number of games removed #. The variable is the number of games removed
#: src/game.py:170 src/importer/importer.py:363 #: cartridges/game.py:153 cartridges/importer/importer.py:391
msgid "{} removed" msgid "{} removed"
msgstr "{} odstraněno" msgstr "{} odstraněno"
#: src/preferences.py:119 #: cartridges/preferences.py:133
msgid "All games removed" msgid "All games removed"
msgstr "Všechny hry odstraněny" msgstr "Všechny hry odstraněny"
#: src/preferences.py:168 #: cartridges/preferences.py:181
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 ""
"K používání služby SteamGridDB je vyžadován klíč API. Můžete si ho " "K používání služby SteamGridDB je vyžadován klíč API. Můžete si ho "
"vygenerovat {}zde{}." "vygenerovat {}zde{}."
#: src/preferences.py:294 #: cartridges/preferences.py:196
msgid "Downloading covers…"
msgstr "Stahování obálek…"
#: cartridges/preferences.py:215
msgid "Covers updated"
msgstr "Obálky aktualizovány"
#: cartridges/preferences.py:360
msgid "Installation Not Found" msgid "Installation Not Found"
msgstr "Instalace nebyla nalezena" msgstr "Instalace nebyla nalezena"
#: src/preferences.py:296 #: cartridges/preferences.py:361
msgid "Select a valid directory." msgid "Select a valid directory"
msgstr "Vyberte platný adresář." msgstr "Vyberte platný adresář"
#: src/preferences.py:351 #: cartridges/preferences.py:397 cartridges/importer/importer.py:318
msgid "Warning"
msgstr "Pozor"
#: cartridges/preferences.py:431
msgid "Invalid Directory" msgid "Invalid Directory"
msgstr "Neplatný adresář" msgstr "Neplatný adresář"
#: src/preferences.py:357 #: cartridges/preferences.py:437
msgid "Set Location" msgid "Set Location"
msgstr "Nastavit umístění" msgstr "Nastavit umístění"
#: src/utils/create_dialog.py:25 src/importer/importer.py:291 #: cartridges/utils/create_dialog.py:33 cartridges/importer/importer.py:319
msgid "Dismiss" msgid "Dismiss"
msgstr "Zahodit" msgstr "Zahodit"
#: src/importer/importer.py:128 #: cartridges/importer/importer.py:145
#, fuzzy
#| msgid "Import Epic Games"
msgid "Importing Games…" msgid "Importing Games…"
msgstr "Importovat Epic Games hry" msgstr "Přidávání her…"
#: src/importer/importer.py:290 #: cartridges/importer/importer.py:338
msgid "Warning"
msgstr ""
#: src/importer/importer.py:311
msgid "The following errors occured during import:" msgid "The following errors occured during import:"
msgstr "" msgstr "Tyto chyby se vyskytly při importu:"
#: src/importer/importer.py:339 #: cartridges/importer/importer.py:367
#, fuzzy
#| msgid "No Games Found"
msgid "No new games found" msgid "No new games found"
msgstr "Nebyly nalezeny žádné hry" msgstr "Nebyly nalezeny žádné nové hry"
#: src/importer/importer.py:351 #: cartridges/importer/importer.py:379
#, fuzzy
#| msgid "All games removed"
msgid "1 game imported" msgid "1 game imported"
msgstr "Všechny hry odstraněny" msgstr "Přidána 1 hra"
#. The variable is the number of games #. The variable is the number of games
#: src/importer/importer.py:355 #: cartridges/importer/importer.py:383
#, fuzzy
#| msgid "All games removed"
msgid "{} games imported" msgid "{} games imported"
msgstr "Všechny hry odstraněny" msgstr "Přidány {} hry"
#. A single game removed #. A single game removed
#: src/importer/importer.py:359 #: cartridges/importer/importer.py:387
#, fuzzy
#| msgid "{} removed"
msgid "1 removed" msgid "1 removed"
msgstr "{} odstraněno" msgstr "1 odstraněna"
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:33 #: cartridges/importer/location.py:34
msgid "Select the {} cache directory." msgid "Select the {} cache directory."
msgstr "Vyberte adresář {} mezipaměti." msgstr "Vyberte adresář {} mezipaměti."
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:35 #: cartridges/importer/location.py:36
msgid "Select the {} configuration directory." msgid "Select the {} configuration directory."
msgstr "Vyberte konfigurační adresář {}." msgstr "Vyberte konfigurační adresář {}."
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:37 #: cartridges/importer/location.py:38
msgid "Select the {} data directory." msgid "Select the {} data directory."
msgstr "Vyberte datový adresář {}." msgstr "Vyberte datový adresář {}."
#: src/store/managers/sgdb_manager.py:46 #: cartridges/importer/retroarch_source.py:129
msgid "No RetroArch Core Selected"
msgstr "Žádné RetroArch jádro nevybráno"
#. The variable is a newline separated list of playlists
#: cartridges/importer/retroarch_source.py:131
msgid "The following playlists have no default core:"
msgstr "Tyto seznamy her nemají výchozí jádra:"
#: cartridges/importer/retroarch_source.py:133
msgid "Games with no core selected were not imported"
msgstr "Hry bez vybraného jádra nebyly přidány"
#: cartridges/store/managers/sgdb_manager.py:46
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "Nelze ověřit SteamGridDB" msgstr "Nelze ověřit SteamGridDB"
#: src/store/managers/sgdb_manager.py:47 #: cartridges/store/managers/sgdb_manager.py:47
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "Ověřte váš klíč API v předvolbách" msgstr "Ověřte váš klíč API v předvolbách"
#~ msgid "Cache Location"
#~ msgstr "Umístění dočasných souborů"
#~ msgid "Library"
#~ msgstr "Knihovna"
#~ msgid "Show preferences"
#~ msgstr "Zobrazit předvolby"
#~ msgid "Shortcuts"
#~ msgstr "Zkratky"
#~ msgid "Open menu"
#~ msgstr "Otevřít nabídku"
#~ msgid "Add new game"
#~ msgstr "Přidat novou hru"
#~ msgid "Import games"
#~ msgstr "Importovat hry"
#~ msgid "Back"
#~ msgstr "Zpět"
#, fuzzy
#~| msgid "Search"
#~ msgid "Search games"
#~ msgstr "Vyhledávání"
#, fuzzy
#~| msgid "Show hidden games"
#~ msgid "Search hidden games"
#~ msgstr "Zobrazit skryté hry"
#~ msgid "The title of the game" #~ msgid "The title of the game"
#~ msgstr "Název hry" #~ msgstr "Název hry"

554
po/de.po
View File

@@ -5,13 +5,14 @@
# WebSnke <websnke@tutanota.com>, 2023. # WebSnke <websnke@tutanota.com>, 2023.
# Ettore Atalan <atalanttore@googlemail.com>, 2023. # Ettore Atalan <atalanttore@googlemail.com>, 2023.
# Simon Hahne <simonhahne@web.de>, 2023. # Simon Hahne <simonhahne@web.de>, 2023.
# Konstantin Tutsch <mail@konstantintutsch.com>, 2024.
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-08-16 11:06+0200\n" "POT-Creation-Date: 2024-04-14 12:48+0200\n"
"PO-Revision-Date: 2023-08-05 08:07+0000\n" "PO-Revision-Date: 2024-02-19 06:35+0000\n"
"Last-Translator: Simon Hahne <simonhahne@web.de>\n" "Last-Translator: Konstantin Tutsch <mail@konstantintutsch.com>\n"
"Language-Team: German <https://hosted.weblate.org/projects/cartridges/" "Language-Team: German <https://hosted.weblate.org/projects/cartridges/"
"cartridges/de/>\n" "cartridges/de/>\n"
"Language: de\n" "Language: de\n"
@@ -19,105 +20,102 @@ 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 5.0-dev\n" "X-Generator: Weblate 5.4\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/page.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/page.kramo.Cartridges.metainfo.xml.in:9
#: src/main.py:169 #: data/page.kramo.Cartridges.metainfo.xml.in:40 data/gtk/window.blp:47
#: data/gtk/window.blp:83
msgid "Cartridges" msgid "Cartridges"
msgstr "Cartridges" msgstr "Cartridges"
#: data/hu.kramo.Cartridges.desktop.in:4 #: data/page.kramo.Cartridges.desktop.in:4
msgid "Game Launcher" msgid "Game Launcher"
msgstr "Spiele-Launcher" msgstr "Spiele-Launcher"
#: data/hu.kramo.Cartridges.desktop.in:5 #: data/page.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7 #: data/page.kramo.Cartridges.metainfo.xml.in:10
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Starte all deine Spiele" msgstr "Starten Sie alle Ihre Spiele"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/page.kramo.Cartridges.desktop.in:11
#, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
msgid "" msgid ""
"gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;" "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;"
msgstr "spiel;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;" msgstr ""
"spiel;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/page.kramo.Cartridges.metainfo.xml.in:12
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login " "for importing games from Steam, Lutris, Heroic and more with no login "
"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 ist ein einfacher Spiel-Launcher. Es unterstützt das Importieren " "Cartridges ist ein einfacher Game Launcher für alle deine Spiele. Es bietet "
"von Spielen aus Steam, Lutris, Heroic und mehr, keine Anmeldung " "Unterstützung für den Import von Spielen aus Steam, Lutris, Heroic und mehr, "
"erforderlich. Du kannst sortieren, Spiele verstecken oder das Cover-Art aus " "ohne dass eine Anmeldung erforderlich ist. Sie können Spiele sortieren und "
"SteamGRID herunterladen." "ausblenden oder Cover-Art von SteamGridDB herunterladen."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 #: data/page.kramo.Cartridges.metainfo.xml.in:44 data/gtk/window.blp:318
msgid "Library" #: cartridges/details_dialog.py:68
msgstr "Bibliothek"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34
msgid "Edit Game Details"
msgstr "Spieldetails bearbeiten"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
#: src/details_window.py:67
msgid "Game Details" msgid "Game Details"
msgstr "Spieldetails" msgstr "Spieldetails"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:418 #: data/page.kramo.Cartridges.metainfo.xml.in:48
#: src/details_window.py:241 src/importer/importer.py:292 msgid "Edit Game Details"
#: src/importer/importer.py:342 msgstr "Spieldetails bearbeiten"
#: data/page.kramo.Cartridges.metainfo.xml.in:52 data/gtk/help-overlay.blp:19
#: data/gtk/window.blp:542 cartridges/details_dialog.py:267
#: cartridges/importer/importer.py:320 cartridges/importer/importer.py:370
msgid "Preferences" msgid "Preferences"
msgstr "Einstellungen" msgstr "Einstellungen"
#: data/gtk/details-window.blp:25 #: data/gtk/details-dialog.blp:15
msgid "Cancel" msgid "Cancel"
msgstr "Abbrechen" msgstr "Abbrechen"
#: data/gtk/details-window.blp:57 #: data/gtk/details-dialog.blp:46
msgid "New Cover" msgid "New Cover"
msgstr "Neues Cover" msgstr "Neues Cover"
#: data/gtk/details-window.blp:75 #: data/gtk/details-dialog.blp:65
msgid "Delete Cover" msgid "Delete Cover"
msgstr "Cover löschen" msgstr "Cover löschen"
#: data/gtk/details-window.blp:102 data/gtk/game.blp:80 #: data/gtk/details-dialog.blp:93 data/gtk/game.blp:81
msgid "Title" msgid "Title"
msgstr "Titel" msgstr "Titel"
#: data/gtk/details-window.blp:105 #: data/gtk/details-dialog.blp:97
#, fuzzy
#| msgid "The developer or publisher (optional)"
msgid "Developer (optional)" msgid "Developer (optional)"
msgstr "Der Entwickler oder Verlag (optional)" msgstr "Entwickler (optional)"
#: data/gtk/details-window.blp:110 #: data/gtk/details-dialog.blp:103
msgid "Executable" msgid "Executable"
msgstr "Ausführbare Datei" msgstr "Ausführbare Datei"
#: data/gtk/details-window.blp:116 #: data/gtk/details-dialog.blp:109
msgid "Select File"
msgstr "Datei auswählen"
#: data/gtk/details-dialog.blp:120
msgid "More Info" msgid "More Info"
msgstr "Weitere Informationen" msgstr "Weitere Informationen"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195 #: data/gtk/game.blp:102 data/gtk/game.blp:110 data/gtk/window.blp:443
msgid "Edit" msgid "Edit"
msgstr "Bearbeiten" msgstr "Bearbeiten"
#: data/gtk/game.blp:107 src/window.py:171 #: data/gtk/game.blp:103 cartridges/window.py:350
msgid "Hide" msgid "Hide"
msgstr "Verstecken" msgstr "Verstecken"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56 #: data/gtk/game.blp:104 data/gtk/game.blp:112 data/gtk/window.blp:463
#: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Entfernen" msgstr "Entfernen"
#: data/gtk/game.blp:126 src/window.py:173 #: data/gtk/game.blp:111 cartridges/window.py:352
msgid "Unhide" msgid "Unhide"
msgstr "Unverstecken" msgstr "Unverstecken"
@@ -125,54 +123,55 @@ msgstr "Unverstecken"
msgid "General" msgid "General"
msgstr "Allgemein" msgstr "Allgemein"
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14 data/gtk/window.blp:205 data/gtk/window.blp:221
msgid "Quit" #: data/gtk/window.blp:272 data/gtk/window.blp:288 data/gtk/window.blp:474
msgstr "Beenden"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:324
msgid "Search" msgid "Search"
msgstr "Suchen" msgstr "Suchen"
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24 data/gtk/window.blp:543
msgid "Show preferences" msgid "Keyboard Shortcuts"
msgstr "Einstellungen anzeigen" msgstr "Tastaturkürzel"
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29 cartridges/game.py:103
msgid "Shortcuts" #: cartridges/preferences.py:134 cartridges/importer/importer.py:394
msgstr "Kürzel"
#: data/gtk/help-overlay.blp:34 src/game.py:103 src/preferences.py:120
#: src/importer/importer.py:366
msgid "Undo" msgid "Undo"
msgstr "Rückgängig" msgstr "Rückgängig"
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:34
msgid "Open menu" msgid "Quit"
msgstr "Menü öffnen" msgstr "Beenden"
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:39 data/gtk/window.blp:92 data/gtk/window.blp:185
msgid "Toggle Sidebar"
msgstr "Seitenleiste umschalten"
#: data/gtk/help-overlay.blp:44 data/gtk/window.blp:198 data/gtk/window.blp:265
msgid "Main Menu"
msgstr "Hauptmenü"
#: data/gtk/help-overlay.blp:50
msgid "Games" msgid "Games"
msgstr "Spiele" msgstr "Spiele"
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:53 data/gtk/window.blp:191 data/gtk/window.blp:550
msgid "Add new game" msgid "Add Game"
msgstr "Neues Spiel hinzufügen" msgstr "Spiel hinzufügen"
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:58 data/gtk/preferences.blp:113
msgid "Import games" #: data/gtk/window.blp:27 data/gtk/window.blp:554
msgstr "Spiele importieren" msgid "Import"
msgstr "Importieren"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Ausgeblendete Spiele anzeigen"
#: data/gtk/help-overlay.blp:63 #: data/gtk/help-overlay.blp:63
msgid "Remove game" msgid "Show Hidden Games"
msgstr "Ausgeblendete Spiele anzeigen"
#: data/gtk/help-overlay.blp:68
msgid "Remove Game"
msgstr "Spiel entfernen" msgstr "Spiel entfernen"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:89 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:304 #: data/gtk/preferences.blp:415
msgid "Behavior" msgid "Behavior"
msgstr "Verhalten" msgstr "Verhalten"
@@ -180,295 +179,317 @@ msgstr "Verhalten"
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "Nach dem Starten von Spielen beenden" msgstr "Nach dem Starten von Spielen beenden"
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:20
msgid "Cover Image Launches Game" msgid "Cover Image Launches Game"
msgstr "Coverbild Startet Spiel" msgstr "Coverbild Startet Spiel"
#: data/gtk/preferences.blp:26 #: data/gtk/preferences.blp:21
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "Tauscht das Verhalten des Covers und des Spielen-Knopfes" msgstr "Tauscht das Verhalten des Covers und des Spielen-Knopfes"
#: data/gtk/preferences.blp:36 src/details_window.py:81 #: data/gtk/preferences.blp:26 cartridges/details_dialog.py:82
msgid "Images" msgid "Images"
msgstr "Bilder" msgstr "Bilder"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:29
msgid "High Quality Images" msgid "High Quality Images"
msgstr "Hochaufgelöste Bilder" msgstr "Hochaufgelöste Bilder"
#: data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:30
msgid "Save game covers losslessly at the cost of storage" msgid "Save game covers losslessly at the cost of storage"
msgstr "Speichere Spielcovers verlustfrei auf Kosten des Speicherplatzes" msgstr "Speichere Spielcovers verlustfrei auf Kosten des Speicherplatzes"
#: data/gtk/preferences.blp:50 #: data/gtk/preferences.blp:35
msgid "Danger Zone" msgid "Danger Zone"
msgstr "Gefahrenzone" msgstr "Gefahrenzone"
#: data/gtk/preferences.blp:53 #: data/gtk/preferences.blp:48
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Alle Spiele entfernen" msgstr "Alle Spiele entfernen"
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:444 #: data/gtk/preferences.blp:120
msgid "Import"
msgstr "Importieren"
#: data/gtk/preferences.blp:92
#, fuzzy
#| msgid "Remove All Games"
msgid "Remove Uninstalled Games" msgid "Remove Uninstalled Games"
msgstr "Alle Spiele entfernen" msgstr "Deinstallierte Spiele entfernen"
#: data/gtk/preferences.blp:102 #: data/gtk/preferences.blp:125
msgid "Sources" msgid "Sources"
msgstr "Quellen" msgstr "Quellen"
#: data/gtk/preferences.blp:105 #: data/gtk/preferences.blp:128 cartridges/importer/steam_source.py:114
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:109 data/gtk/preferences.blp:123 #: data/gtk/preferences.blp:137 data/gtk/preferences.blp:164
#: data/gtk/preferences.blp:164 data/gtk/preferences.blp:214 #: data/gtk/preferences.blp:199 data/gtk/preferences.blp:242
#: data/gtk/preferences.blp:228 data/gtk/preferences.blp:242 #: data/gtk/preferences.blp:269 data/gtk/preferences.blp:296
#: data/gtk/preferences.blp:256 data/gtk/preferences.blp:270 #: data/gtk/preferences.blp:323
msgid "Install Location" msgid "Install Location"
msgstr "Installationsort" msgstr "Installationsort"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:155 data/gtk/window.blp:564
#: cartridges/importer/lutris_source.py:96
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:132 #: data/gtk/preferences.blp:181
msgid "Cache Location"
msgstr "Cache-Speicherort"
#: data/gtk/preferences.blp:141
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Steam-Spiele importieren" msgstr "Steam-Spiele importieren"
#: data/gtk/preferences.blp:150 #: data/gtk/preferences.blp:185
msgid "Import Flatpak Games" msgid "Import Flatpak Games"
msgstr "Flatpak-Spiele importieren" msgstr "Flatpak-Spiele importieren"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:190 cartridges/importer/heroic_source.py:355
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:173 #: data/gtk/preferences.blp:216
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Epic Games importieren" msgstr "Epic Games importieren"
#: data/gtk/preferences.blp:182 #: data/gtk/preferences.blp:220
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "GOG-Spiele importieren" msgstr "GOG-Spiele importieren"
#: data/gtk/preferences.blp:191 #: data/gtk/preferences.blp:224
msgid "Import Amazon Games" msgid "Import Amazon Games"
msgstr "Amazon-Spiele importieren" msgstr "Amazon-Spiele importieren"
#: data/gtk/preferences.blp:200 #: data/gtk/preferences.blp:228
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Sideloaded-Spiele importieren" msgstr "Sideloaded-Spiele importieren"
#: data/gtk/preferences.blp:210 #: data/gtk/preferences.blp:233 cartridges/importer/bottles_source.py:86
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:260 cartridges/importer/itch_source.py:81
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:287 cartridges/importer/legendary_source.py:97
msgid "Legendary" msgid "Legendary"
msgstr "Legendary" msgstr "Legendary"
#: data/gtk/preferences.blp:252 #: data/gtk/preferences.blp:314 cartridges/importer/retroarch_source.py:142
msgid "RetroArch" msgid "RetroArch"
msgstr "" msgstr "RetroArch"
#: data/gtk/preferences.blp:266 #: data/gtk/preferences.blp:341 cartridges/importer/flatpak_source.py:143
msgid "Flatpak" msgid "Flatpak"
msgstr "Flatpak" msgstr "Flatpak"
#: data/gtk/preferences.blp:279 #. The location of the system-wide data directory
#: data/gtk/preferences.blp:351
msgid "System Location"
msgstr "System Ort"
#. The location of the user-specific data directory
#: data/gtk/preferences.blp:369
msgid "User Location"
msgstr "Nutzer Ort"
#: data/gtk/preferences.blp:386
msgid "Import Game Launchers" msgid "Import Game Launchers"
msgstr "Spiele-Launcher importieren" msgstr "Spiele-Launcher importieren"
#: data/gtk/preferences.blp:292 #: data/gtk/preferences.blp:391 cartridges/importer/desktop_source.py:215
msgid "Desktop Entries"
msgstr "Desktop Einträge"
#: data/gtk/preferences.blp:403 data/gtk/window.blp:562
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:296 #: data/gtk/preferences.blp:407
msgid "Authentication" msgid "Authentication"
msgstr "Authentifizierung" msgstr "Authentifizierung"
#: data/gtk/preferences.blp:299 #: data/gtk/preferences.blp:410
msgid "API Key" msgid "API Key"
msgstr "API-Schlüssel" msgstr "API-Schlüssel"
#: data/gtk/preferences.blp:307 #: data/gtk/preferences.blp:418
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "SteamGridDB benutzen" msgstr "SteamGridDB benutzen"
#: data/gtk/preferences.blp:308 #: data/gtk/preferences.blp:419
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:317 #: data/gtk/preferences.blp:423
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Über offizielien Images bevorzugen" msgstr "Über offiziellen Bildern bevorzugen"
#: data/gtk/preferences.blp:326 #: data/gtk/preferences.blp:427
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Animierte Bilder bevorzugen" msgstr "Animierte Bilder bevorzugen"
#: data/gtk/preferences.blp:433
msgid "Update Covers"
msgstr "Cover aktualisieren"
#: data/gtk/preferences.blp:434
msgid "Fetch covers for games already in your library"
msgstr "Cover für in der Bibliothek vorhandene Spiele laden"
#: data/gtk/preferences.blp:439
msgid "Update"
msgstr "Aktualisieren"
#: data/gtk/window.blp:6 data/gtk/window.blp:14 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Keine Spiele gefunden" msgstr "Keine Spiele gefunden"
#: data/gtk/window.blp:7 data/gtk/window.blp:15 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search"
msgstr "Versuche eine andere Suche." msgstr "Versuche eine andere Suche"
#: data/gtk/window.blp:21 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Keine Spiele" msgstr "Keine Spiele"
#: 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 "Benutze denn + Knopf um Spiele hinzuzufügen." msgstr "Benutze denn + Knopf um Spiele hinzuzufügen"
#: data/gtk/window.blp:40 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Keine versteckten Spiele" msgstr "Keine versteckten Spiele"
#: data/gtk/window.blp:41 #: data/gtk/window.blp:41
msgid "Games you hide will appear here." msgid "Games you hide will appear here"
msgstr "Ausgeblendete Spiele, werden hier angezeigt." msgstr "Ausgeblendete Spiele, werden hier angezeigt"
#: data/gtk/window.blp:64 data/gtk/window.blp:305 #: data/gtk/window.blp:76 data/gtk/window.blp:111 cartridges/main.py:228
msgid "Back" msgid "All Games"
msgstr "Zurück" msgstr "Alle Spiele"
#: data/gtk/window.blp:121 #: data/gtk/window.blp:136 cartridges/main.py:230
msgid "Game Title" msgid "Added"
msgstr "Spieltitel" msgstr "Hinzugefügt"
#: data/gtk/window.blp:176 #: data/gtk/window.blp:156
msgid "Play" msgid "Imported"
msgstr "Spielen" msgstr "Importiert"
#: data/gtk/window.blp:243 data/gtk/window.blp:437 #: data/gtk/window.blp:258
msgid "Add Game"
msgstr "Spiel hinzufügen"
#: data/gtk/window.blp:250 data/gtk/window.blp:317
msgid "Main Menu"
msgstr "Hauptmenü"
#: data/gtk/window.blp:272
#, fuzzy
#| msgid "Search"
msgid "Search games"
msgstr "Suchen"
#: data/gtk/window.blp:312
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Ausgeblendete Spiele" msgstr "Ausgeblendete Spiele"
#: data/gtk/window.blp:339 #: data/gtk/window.blp:367
#, fuzzy msgid "Game Title"
#| msgid "Show hidden games" msgstr "Spieltitel"
msgid "Search hidden games"
msgstr "Ausgeblendete Spiele anzeigen"
#: data/gtk/window.blp:376 #: data/gtk/window.blp:424
msgid "Play"
msgstr "Spielen"
#: data/gtk/window.blp:501
msgid "Sort" msgid "Sort"
msgstr "Sortierung" msgstr "Sortierung"
#: data/gtk/window.blp:379 #: data/gtk/window.blp:504
msgid "A-Z" msgid "A-Z"
msgstr "A-Z" msgstr "A-Z"
#: data/gtk/window.blp:385 #: data/gtk/window.blp:510
msgid "Z-A" msgid "Z-A"
msgstr "Z-A" msgstr "Z-A"
#: data/gtk/window.blp:391 #: data/gtk/window.blp:516
msgid "Newest" msgid "Newest"
msgstr "Neuestes" msgstr "Neuestes"
#: data/gtk/window.blp:397 #: data/gtk/window.blp:522
msgid "Oldest" msgid "Oldest"
msgstr "Älteste" msgstr "Älteste"
#: data/gtk/window.blp:403 #: data/gtk/window.blp:528
msgid "Last Played" msgid "Last Played"
msgstr "Zuletzt gespielt" msgstr "Zuletzt gespielt"
#: data/gtk/window.blp:410 #: data/gtk/window.blp:535
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Ausgeblendete anzeigen" msgstr "Ausgeblendete anzeigen"
#: data/gtk/window.blp:423 #: data/gtk/window.blp:544
msgid "Keyboard Shortcuts"
msgstr "Tastaturkürzel"
#: data/gtk/window.blp:428
msgid "About Cartridges" msgid "About Cartridges"
msgstr "Über Cartridges" msgstr "Über Cartridges"
#: data/gtk/window.blp:561
msgid "IGDB"
msgstr "IGDB"
#: data/gtk/window.blp:563
msgid "ProtonDB"
msgstr "ProtonDB"
#: data/gtk/window.blp:565
msgid "HowLongToBeat"
msgstr "HowLongToBeat"
#. The variable is the title of the game
#: cartridges/main.py:205 cartridges/game.py:125
msgid "{} launched"
msgstr "{} gestartet"
#. 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:188 #: cartridges/main.py:270
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:194 #: cartridges/window.py:373
msgid "Added: {}" msgid "Added: {}"
msgstr "Hinzugefügt: {}" msgstr "Hinzugefügt: {}"
#: src/window.py:197 #: cartridges/window.py:376
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:201 #: cartridges/window.py:380
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Zuletzt gespielt: {}" msgstr "Zuletzt gespielt: {}"
#: src/details_window.py:72 #: cartridges/details_dialog.py:73
msgid "Apply" msgid "Apply"
msgstr "Anwenden" msgstr "Anwenden"
#: src/details_window.py:78 #: cartridges/details_dialog.py:79
msgid "Add New Game" msgid "Add New Game"
msgstr "Neues Spiel hinzufügen" msgstr "Neues Spiel hinzufügen"
#: src/details_window.py:79 #: cartridges/details_dialog.py:80
msgid "Add" msgid "Add"
msgstr "" msgstr "Hinzufügen"
#: cartridges/details_dialog.py:90
msgid "Executables"
msgstr "Ausführbare Dateien"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:92 #: cartridges/details_dialog.py:105
msgid "file.txt" msgid "file.txt"
msgstr "datei.txt" msgstr "datei.txt"
#. As in software #. As in software
#: src/details_window.py:94 #: cartridges/details_dialog.py:107
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:99 src/details_window.py:101 #: cartridges/details_dialog.py:112 cartridges/details_dialog.py:114
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:105 src/details_window.py:107 #: cartridges/details_dialog.py:118 cartridges/details_dialog.py:120
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/pfad/zu/{}" msgstr "/pfad/zu/{}"
#: src/details_window.py:112 #: cartridges/details_dialog.py:125
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -491,142 +512,176 @@ 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:147 src/details_window.py:153 #: cartridges/details_dialog.py:167 cartridges/details_dialog.py:173
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:147 src/details_window.py:183 #: cartridges/details_dialog.py:167 cartridges/details_dialog.py:209
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:153 src/details_window.py:191 #: cartridges/details_dialog.py:173 cartridges/details_dialog.py:217
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:182 src/details_window.py:190 #: cartridges/details_dialog.py:208 cartridges/details_dialog.py:216
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:139 #: cartridges/game.py:139
msgid "{} launched"
msgstr "{} gestartet"
#. The variable is the title of the game
#: src/game.py:153
msgid "{} hidden" msgid "{} hidden"
msgstr "{} versteckt" msgstr "{} versteckt"
#: src/game.py:153 #: cartridges/game.py:139
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} unversteckt" msgstr "{} unversteckt"
#. The variable is the title of the game #. The variable is the title of the game
#. The variable is the number of games removed #. The variable is the number of games removed
#: src/game.py:170 src/importer/importer.py:363 #: cartridges/game.py:153 cartridges/importer/importer.py:391
msgid "{} removed" msgid "{} removed"
msgstr "{} entfernt" msgstr "{} entfernt"
#: src/preferences.py:119 #: cartridges/preferences.py:133
msgid "All games removed" msgid "All games removed"
msgstr "Alle Spiele entfernt" msgstr "Alle Spiele entfernt"
#: src/preferences.py:168 #: cartridges/preferences.py:181
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:294 #: cartridges/preferences.py:196
msgid "Downloading covers…"
msgstr "Cover werden geladen…"
#: cartridges/preferences.py:215
msgid "Covers updated"
msgstr "Cover aktualisiert"
#: cartridges/preferences.py:360
msgid "Installation Not Found" msgid "Installation Not Found"
msgstr "Installation nicht gefunden" msgstr "Installation nicht gefunden"
#: src/preferences.py:296 #: cartridges/preferences.py:361
msgid "Select a valid directory." msgid "Select a valid directory"
msgstr "Wähle ein gültiges Verzeichnis aus." msgstr "Wähle ein gültiges Verzeichnis aus"
#: src/preferences.py:351 #: cartridges/preferences.py:397 cartridges/importer/importer.py:318
msgid "Warning"
msgstr "Warnung"
#: cartridges/preferences.py:431
msgid "Invalid Directory" msgid "Invalid Directory"
msgstr "Ungültiges Verzeichnis" msgstr "Ungültiges Verzeichnis"
#: src/preferences.py:357 #: cartridges/preferences.py:437
msgid "Set Location" msgid "Set Location"
msgstr "Ort festlegen" msgstr "Ort festlegen"
#: src/utils/create_dialog.py:25 src/importer/importer.py:291 #: cartridges/utils/create_dialog.py:33 cartridges/importer/importer.py:319
msgid "Dismiss" msgid "Dismiss"
msgstr "Verstanden" msgstr "Verstanden"
#: src/importer/importer.py:128 #: cartridges/importer/importer.py:145
msgid "Importing Games…" msgid "Importing Games…"
msgstr "Spiele werden importiert…" msgstr "Spiele werden importiert…"
#: src/importer/importer.py:290 #: cartridges/importer/importer.py:338
msgid "Warning"
msgstr ""
#: src/importer/importer.py:311
msgid "The following errors occured during import:" msgid "The following errors occured during import:"
msgstr "" msgstr "Die folgenden Fehler sind beim Import aufgetreten:"
#: src/importer/importer.py:339 #: cartridges/importer/importer.py:367
#, fuzzy
#| msgid "No Games Found"
msgid "No new games found" msgid "No new games found"
msgstr "Keine Spiele gefunden" msgstr "Keine neuen Spiele gefunden"
#: src/importer/importer.py:351 #: cartridges/importer/importer.py:379
#, fuzzy
#| msgid "Game Imported"
msgid "1 game imported" msgid "1 game imported"
msgstr "Spiel Importiert" msgstr "1 Spiel importiert"
#. The variable is the number of games #. The variable is the number of games
#: src/importer/importer.py:355 #: cartridges/importer/importer.py:383
#, fuzzy
#| msgid "Games Imported"
msgid "{} games imported" msgid "{} games imported"
msgstr "Spiele importiert" msgstr "{} Spiele importiert"
#. A single game removed #. A single game removed
#: src/importer/importer.py:359 #: cartridges/importer/importer.py:387
#, fuzzy
#| msgid "{} removed"
msgid "1 removed" msgid "1 removed"
msgstr "{} entfernt" msgstr "1 entfernt"
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:33 #: cartridges/importer/location.py:34
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} cache directory." msgid "Select the {} cache directory."
msgstr "Wähle das Cache-Verzeichnis von {} aus." msgstr "Wählen Sie das Cache-Verzeichnis {}."
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:35 #: cartridges/importer/location.py:36
#, fuzzy
#| msgid "Select the {} configuration directory."
msgid "Select the {} configuration directory." msgid "Select the {} configuration directory."
msgstr "Wähle das Konfigurationsverzeichnis von {} aus." msgstr "Wähle das Konfigurationsverzeichnis von {} aus."
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:37 #: cartridges/importer/location.py:38
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} data directory." msgid "Select the {} data directory."
msgstr "Wähle das Datenverzeichnis von {} aus." msgstr "Wähle das Datenverzeichnis von {} aus."
#: src/store/managers/sgdb_manager.py:46 #: cartridges/importer/retroarch_source.py:129
#, fuzzy msgid "No RetroArch Core Selected"
#| msgid "Couldn't Connect to SteamGridDB" msgstr "Kein RetroArch Kern ausgewählt"
msgid "Couldn't Authenticate SteamGridDB"
msgstr "Verbindung zu SteamGridDB konnte nicht hergestellt werden"
#: src/store/managers/sgdb_manager.py:47 #. The variable is a newline separated list of playlists
#: cartridges/importer/retroarch_source.py:131
msgid "The following playlists have no default core:"
msgstr "Diese Playlists haben keinen Standard Kern:"
#: cartridges/importer/retroarch_source.py:133
msgid "Games with no core selected were not imported"
msgstr "Spiele ohne ausgewählten Kern wurden nicht importiert"
#: cartridges/store/managers/sgdb_manager.py:46
msgid "Couldn't Authenticate SteamGridDB"
msgstr "SteamGridDB konnte nicht authentifiziert werden"
#: cartridges/store/managers/sgdb_manager.py:47
msgid "Verify your API key in preferences" msgid "Verify your API key in preferences"
msgstr "Verifiziere deinen API-Schlüssel in den Einstellungen" msgstr "Verifiziere deinen API-Schlüssel in den Einstellungen"
#~ msgid "Cache Location"
#~ msgstr "Cache-Speicherort"
#~ msgid "Library"
#~ msgstr "Bibliothek"
#~ msgid "Show preferences"
#~ msgstr "Einstellungen anzeigen"
#~ msgid "Shortcuts"
#~ msgstr "Kürzel"
#~ msgid "Open menu"
#~ msgstr "Menü öffnen"
#~ msgid "Add new game"
#~ msgstr "Neues Spiel hinzufügen"
#~ msgid "Import games"
#~ msgstr "Spiele importieren"
#~ msgid "Back"
#~ msgstr "Zurück"
#, fuzzy
#~| msgid "Search"
#~ msgid "Search games"
#~ msgstr "Suchen"
#, fuzzy
#~| msgid "Show hidden games"
#~ msgid "Search hidden games"
#~ msgstr "Ausgeblendete Spiele anzeigen"
#~ msgid "The title of the game" #~ msgid "The title of the game"
#~ msgstr "Der Titel des Spiels" #~ msgstr "Der Titel des Spiels"
@@ -670,9 +725,6 @@ msgstr "Verifiziere deinen API-Schlüssel in den Einstellungen"
#~ 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 "Importing Covers…"
#~ msgstr "Spielecover werden importiert…"
#~ msgid "Directory to use when importing games" #~ msgid "Directory to use when importing games"
#~ msgstr "Verzeichnis, das beim Importieren von Spielen verwendet wird" #~ msgstr "Verzeichnis, das beim Importieren von Spielen verwendet wird"

575
po/el.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-08-16 11:06+0200\n" "POT-Creation-Date: 2024-04-14 12:48+0200\n"
"PO-Revision-Date: 2023-05-29 18:48+0000\n" "PO-Revision-Date: 2023-10-08 16:00+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/"
"cartridges/el/>\n" "cartridges/el/>\n"
@@ -16,31 +16,32 @@ 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.1-dev\n"
#: data/hu.kramo.Cartridges.desktop.in:3 #: data/page.kramo.Cartridges.desktop.in:3
#: data/hu.kramo.Cartridges.metainfo.xml.in:6 data/gtk/window.blp:47 #: data/page.kramo.Cartridges.metainfo.xml.in:9
#: src/main.py:169 #: data/page.kramo.Cartridges.metainfo.xml.in:40 data/gtk/window.blp:47
#: data/gtk/window.blp:83
msgid "Cartridges" msgid "Cartridges"
msgstr "Κασέτες" msgstr "Κασέτες"
#: data/hu.kramo.Cartridges.desktop.in:4 #: data/page.kramo.Cartridges.desktop.in:4
msgid "Game Launcher" msgid "Game Launcher"
msgstr "Πρόγραμμα Εκκίνησης Παιχνιδιών" msgstr "Πρόγραμμα Εκκίνησης Παιχνιδιών"
#: data/hu.kramo.Cartridges.desktop.in:5 #: data/page.kramo.Cartridges.desktop.in:5
#: data/hu.kramo.Cartridges.metainfo.xml.in:7 #: data/page.kramo.Cartridges.metainfo.xml.in:10
msgid "Launch all your games" msgid "Launch all your games"
msgstr "Εκκινήστε όλα σας τα παιχνίδια" msgstr "Εκκινήστε όλα σας τα παιχνίδια"
#: data/hu.kramo.Cartridges.desktop.in:11 #: data/page.kramo.Cartridges.desktop.in:11
#, fuzzy
#| msgid "gaming;launcher;steam;lutris;heroic;bottles;itch;"
msgid "" msgid ""
"gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;" "gaming;launcher;steam;lutris;heroic;bottles;itch;flatpak;legendary;retroarch;"
msgstr "gaming;εκκινητής;steam;lutris;heroic;bottles;itch;" msgstr ""
"gaming;εκκινητής;steam;lutris;heroic;bottles;itch;flatpak;legendary;"
"retroarch;"
#: data/hu.kramo.Cartridges.metainfo.xml.in:9 #: data/page.kramo.Cartridges.metainfo.xml.in:12
msgid "" msgid ""
"Cartridges is a simple game launcher for all of your games. It has support " "Cartridges is a simple game launcher for all of your games. It has support "
"for importing games from Steam, Lutris, Heroic and more with no login " "for importing games from Steam, Lutris, Heroic and more with no login "
@@ -53,69 +54,66 @@ msgstr ""
"να κρύψετε τα παιχνίδια σας, καθώς και να κατεβάσετε τα εξώφυλλα τους από το " "να κρύψετε τα παιχνίδια σας, καθώς και να κατεβάσετε τα εξώφυλλα τους από το "
"SteamGridDB." "SteamGridDB."
#: data/hu.kramo.Cartridges.metainfo.xml.in:30 #: data/page.kramo.Cartridges.metainfo.xml.in:44 data/gtk/window.blp:318
msgid "Library" #: cartridges/details_dialog.py:68
msgstr "Βιβλιοθήκη"
#: data/hu.kramo.Cartridges.metainfo.xml.in:34
msgid "Edit Game Details"
msgstr "Επεξεργασία Λεπτομερειών Παιχνιδιού"
#: data/hu.kramo.Cartridges.metainfo.xml.in:38 data/gtk/window.blp:71
#: src/details_window.py:67
msgid "Game Details" msgid "Game Details"
msgstr "Λεπτομέρειες Παιχνιδιού" msgstr "Λεπτομέρειες Παιχνιδιού"
#: data/hu.kramo.Cartridges.metainfo.xml.in:42 data/gtk/window.blp:418 #: data/page.kramo.Cartridges.metainfo.xml.in:48
#: src/details_window.py:241 src/importer/importer.py:292 msgid "Edit Game Details"
#: src/importer/importer.py:342 msgstr "Επεξεργασία Λεπτομερειών Παιχνιδιού"
#: data/page.kramo.Cartridges.metainfo.xml.in:52 data/gtk/help-overlay.blp:19
#: data/gtk/window.blp:542 cartridges/details_dialog.py:267
#: cartridges/importer/importer.py:320 cartridges/importer/importer.py:370
msgid "Preferences" msgid "Preferences"
msgstr "Προτιμήσεις" msgstr "Προτιμήσεις"
#: data/gtk/details-window.blp:25 #: data/gtk/details-dialog.blp:15
msgid "Cancel" msgid "Cancel"
msgstr "Ακύρωση" msgstr "Ακύρωση"
#: data/gtk/details-window.blp:57 #: data/gtk/details-dialog.blp:46
msgid "New Cover" msgid "New Cover"
msgstr "Νέο Εξώφυλλο" msgstr "Νέο Εξώφυλλο"
#: data/gtk/details-window.blp:75 #: data/gtk/details-dialog.blp:65
msgid "Delete Cover" msgid "Delete Cover"
msgstr "Διαγραφή Εξώφυλλου" msgstr "Διαγραφή Εξώφυλλου"
#: data/gtk/details-window.blp:102 data/gtk/game.blp:80 #: data/gtk/details-dialog.blp:93 data/gtk/game.blp:81
msgid "Title" msgid "Title"
msgstr "Τίτλος" msgstr "Τίτλος"
#: data/gtk/details-window.blp:105 #: data/gtk/details-dialog.blp:97
#, fuzzy
#| msgid "The developer or publisher (optional)"
msgid "Developer (optional)" msgid "Developer (optional)"
msgstr "Προγραμματιστής ή Εκδότης (προαιρετικό)" msgstr "Προγραμματιστής (προαιρετικό)"
#: data/gtk/details-window.blp:110 #: data/gtk/details-dialog.blp:103
msgid "Executable" msgid "Executable"
msgstr "Πρόγραμμα" msgstr "Εκτελέσιμο αρχείο"
#: data/gtk/details-window.blp:116 #: data/gtk/details-dialog.blp:109
msgid "Select File"
msgstr "Επιλογή αρχείου"
#: data/gtk/details-dialog.blp:120
msgid "More Info" msgid "More Info"
msgstr "Περισσότερες Πληροφορίες" msgstr "Περισσότερες Πληροφορίες"
#: data/gtk/game.blp:102 data/gtk/game.blp:121 data/gtk/window.blp:195 #: data/gtk/game.blp:102 data/gtk/game.blp:110 data/gtk/window.blp:443
msgid "Edit" msgid "Edit"
msgstr "Επεξεργασία" msgstr "Επεξεργασία"
#: data/gtk/game.blp:107 src/window.py:171 #: data/gtk/game.blp:103 cartridges/window.py:350
msgid "Hide" msgid "Hide"
msgstr "Απόκρυψη" msgstr "Απόκρυψη"
#: data/gtk/game.blp:112 data/gtk/game.blp:131 data/gtk/preferences.blp:56 #: data/gtk/game.blp:104 data/gtk/game.blp:112 data/gtk/window.blp:463
#: data/gtk/window.blp:209
msgid "Remove" msgid "Remove"
msgstr "Αφαίρεση" msgstr "Αφαίρεση"
#: data/gtk/game.blp:126 src/window.py:173 #: data/gtk/game.blp:111 cartridges/window.py:352
msgid "Unhide" msgid "Unhide"
msgstr "Φανέρωση" msgstr "Φανέρωση"
@@ -123,54 +121,55 @@ msgstr "Φανέρωση"
msgid "General" msgid "General"
msgstr "Γενικά" msgstr "Γενικά"
#: data/gtk/help-overlay.blp:14 #: data/gtk/help-overlay.blp:14 data/gtk/window.blp:205 data/gtk/window.blp:221
msgid "Quit" #: data/gtk/window.blp:272 data/gtk/window.blp:288 data/gtk/window.blp:474
msgstr "Κλείσιμο"
#: data/gtk/help-overlay.blp:19 data/gtk/window.blp:217 data/gtk/window.blp:257
#: data/gtk/window.blp:324
msgid "Search" msgid "Search"
msgstr "Εύρεση" msgstr "Αναζήτηση"
#: data/gtk/help-overlay.blp:24 #: data/gtk/help-overlay.blp:24 data/gtk/window.blp:543
msgid "Show preferences" msgid "Keyboard Shortcuts"
msgstr "Εμφάνιση προτιμήσεων" msgstr "Συντομεύσεις Πληκτρολογίου"
#: data/gtk/help-overlay.blp:29 #: data/gtk/help-overlay.blp:29 cartridges/game.py:103
msgid "Shortcuts" #: cartridges/preferences.py:134 cartridges/importer/importer.py:394
msgstr "Συντομεύσεις"
#: data/gtk/help-overlay.blp:34 src/game.py:103 src/preferences.py:120
#: src/importer/importer.py:366
msgid "Undo" msgid "Undo"
msgstr "Αναίρεση" msgstr "Αναίρεση"
#: data/gtk/help-overlay.blp:39 #: data/gtk/help-overlay.blp:34
msgid "Open menu" msgid "Quit"
msgstr "Άνοιγμα μενού" msgstr "Κλείσιμο"
#: data/gtk/help-overlay.blp:45 #: data/gtk/help-overlay.blp:39 data/gtk/window.blp:92 data/gtk/window.blp:185
msgid "Toggle Sidebar"
msgstr "Ρύθμιση πάνελ"
#: data/gtk/help-overlay.blp:44 data/gtk/window.blp:198 data/gtk/window.blp:265
msgid "Main Menu"
msgstr "Κύριο μενού"
#: data/gtk/help-overlay.blp:50
msgid "Games" msgid "Games"
msgstr "Παιχνίδια" msgstr "Παιχνίδια"
#: data/gtk/help-overlay.blp:48 #: data/gtk/help-overlay.blp:53 data/gtk/window.blp:191 data/gtk/window.blp:550
msgid "Add new game" msgid "Add Game"
msgstr "Πρόσθεση νέου παιχνιδιού" msgstr "Προσθήκη παιχνιδιού"
#: data/gtk/help-overlay.blp:53 #: data/gtk/help-overlay.blp:58 data/gtk/preferences.blp:113
msgid "Import games" #: data/gtk/window.blp:27 data/gtk/window.blp:554
msgstr "Εισαγωγή παιχνιδιών" msgid "Import"
msgstr "Εισαγωγή"
#: data/gtk/help-overlay.blp:58
msgid "Show hidden games"
msgstr "Εμφάνιση κρυμμένων παιχνιδιών"
#: data/gtk/help-overlay.blp:63 #: data/gtk/help-overlay.blp:63
msgid "Remove game" msgid "Show Hidden Games"
msgstr "Εμφάνιση κρυμμένων παιχνιδιών"
#: data/gtk/help-overlay.blp:68
msgid "Remove Game"
msgstr "Αφαίρεση παιχνιδιού" msgstr "Αφαίρεση παιχνιδιού"
#: data/gtk/preferences.blp:13 data/gtk/preferences.blp:89 #: data/gtk/preferences.blp:13 data/gtk/preferences.blp:117
#: data/gtk/preferences.blp:304 #: data/gtk/preferences.blp:415
msgid "Behavior" msgid "Behavior"
msgstr "Συμπεριφορά" msgstr "Συμπεριφορά"
@@ -178,306 +177,320 @@ msgstr "Συμπεριφορά"
msgid "Exit After Launching Games" msgid "Exit After Launching Games"
msgstr "Έξοδος μετά την εκκίνηση παιχνιδιών" msgstr "Έξοδος μετά την εκκίνηση παιχνιδιών"
#: data/gtk/preferences.blp:25 #: data/gtk/preferences.blp:20
msgid "Cover Image Launches Game" msgid "Cover Image Launches Game"
msgstr "Εξώφυλλο εκκινεί το παιχνίδι" msgstr "Εξώφυλλο εκκινεί το παιχνίδι"
#: data/gtk/preferences.blp:26 #: data/gtk/preferences.blp:21
msgid "Swaps the behavior of the cover image and the play button" msgid "Swaps the behavior of the cover image and the play button"
msgstr "Αντικατάσταση συμπεριφοράς εξωφύλλου και του κουμπιού αναπαραγωγής" msgstr "Αντικατάσταση συμπεριφοράς εξωφύλλου και του κουμπιού αναπαραγωγής"
#: data/gtk/preferences.blp:36 src/details_window.py:81 #: data/gtk/preferences.blp:26 cartridges/details_dialog.py:82
msgid "Images" msgid "Images"
msgstr "Εικόνες" msgstr "Εικόνες"
#: data/gtk/preferences.blp:39 #: data/gtk/preferences.blp:29
msgid "High Quality Images" msgid "High Quality Images"
msgstr "Εικόνες Υψηλής Ποιότητας" msgstr "Εικόνες Υψηλής Ποιότητας"
#: data/gtk/preferences.blp:40 #: data/gtk/preferences.blp:30
msgid "Save game covers losslessly at the cost of storage" msgid "Save game covers losslessly at the cost of storage"
msgstr "" msgstr ""
"Αποθήκευση εξωφύλλου παιχνιδιού σε υψηλή ευκρίνεια, με κόστος τη χωρητικότητα" "Αποθήκευση εξωφύλλου παιχνιδιού σε υψηλή ευκρίνεια, με κόστος τη χωρητικότητα"
#: data/gtk/preferences.blp:50 #: data/gtk/preferences.blp:35
msgid "Danger Zone" msgid "Danger Zone"
msgstr "Επικίνδυνη Ζώνη" msgstr "Επικίνδυνη Ζώνη"
#: data/gtk/preferences.blp:53 #: data/gtk/preferences.blp:48
msgid "Remove All Games" msgid "Remove All Games"
msgstr "Αφαίρεση Όλων Των Παιχνιδιών" msgstr "Αφαίρεση Όλων Των Παιχνιδιών"
#: data/gtk/preferences.blp:85 data/gtk/window.blp:27 data/gtk/window.blp:444 #: data/gtk/preferences.blp:120
msgid "Import"
msgstr "Εισαγωγή"
#: data/gtk/preferences.blp:92
#, fuzzy
#| msgid "Remove All Games"
msgid "Remove Uninstalled Games" msgid "Remove Uninstalled Games"
msgstr "Αφαίρεση Όλων Των Παιχνιδιών" msgstr "Αφαίρεση απεγκατεστημένων παιχνιδιών"
#: data/gtk/preferences.blp:102 #: data/gtk/preferences.blp:125
msgid "Sources" msgid "Sources"
msgstr "Πηγές" msgstr "Πηγές"
#: data/gtk/preferences.blp:105 #: data/gtk/preferences.blp:128 cartridges/importer/steam_source.py:114
msgid "Steam" msgid "Steam"
msgstr "Steam" msgstr "Steam"
#: data/gtk/preferences.blp:109 data/gtk/preferences.blp:123 #: data/gtk/preferences.blp:137 data/gtk/preferences.blp:164
#: data/gtk/preferences.blp:164 data/gtk/preferences.blp:214 #: data/gtk/preferences.blp:199 data/gtk/preferences.blp:242
#: data/gtk/preferences.blp:228 data/gtk/preferences.blp:242 #: data/gtk/preferences.blp:269 data/gtk/preferences.blp:296
#: data/gtk/preferences.blp:256 data/gtk/preferences.blp:270 #: data/gtk/preferences.blp:323
#, fuzzy
#| msgid "itch Install Location"
msgid "Install Location" msgid "Install Location"
msgstr "Τοποθεσία Εγκατάστασης itch" msgstr "Τοποθεσία εγκατάστασης"
#: data/gtk/preferences.blp:119 #: data/gtk/preferences.blp:155 data/gtk/window.blp:564
#: cartridges/importer/lutris_source.py:96
msgid "Lutris" msgid "Lutris"
msgstr "Lutris" msgstr "Lutris"
#: data/gtk/preferences.blp:132 #: data/gtk/preferences.blp:181
#, fuzzy
#| msgid "Lutris Cache Location"
msgid "Cache Location"
msgstr "Τοποθεσία cache του Lutris"
#: data/gtk/preferences.blp:141
msgid "Import Steam Games" msgid "Import Steam Games"
msgstr "Εισαγωγή Παιχνιδιών Steam" msgstr "Εισαγωγή παιχνιδιών Steam"
#: data/gtk/preferences.blp:150 #: data/gtk/preferences.blp:185
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Flatpak Games" msgid "Import Flatpak Games"
msgstr "Εισαγωγή Παιχνιδιών Steam" msgstr "Εισαγωγή παιχνιδιών Flatpak"
#: data/gtk/preferences.blp:160 #: data/gtk/preferences.blp:190 cartridges/importer/heroic_source.py:355
msgid "Heroic" msgid "Heroic"
msgstr "Heroic" msgstr "Heroic"
#: data/gtk/preferences.blp:173 #: data/gtk/preferences.blp:216
msgid "Import Epic Games" msgid "Import Epic Games"
msgstr "Εισαγωγή Παιχνιδιών Epic" msgstr "Εισαγωγή παιχνιδιών Epic"
#: data/gtk/preferences.blp:182 #: data/gtk/preferences.blp:220
msgid "Import GOG Games" msgid "Import GOG Games"
msgstr "Εισαγωγή Παιχνιδιών GOG" msgstr "Εισαγωγή παιχνιδιών GOG"
#: data/gtk/preferences.blp:191 #: data/gtk/preferences.blp:224
#, fuzzy
#| msgid "Import Steam Games"
msgid "Import Amazon Games" msgid "Import Amazon Games"
msgstr "Εισαγωγή Παιχνιδιών Steam" msgstr "Εισαγωγή παιχνιδιών Amazon"
#: data/gtk/preferences.blp:200 #: data/gtk/preferences.blp:228
msgid "Import Sideloaded Games" msgid "Import Sideloaded Games"
msgstr "Εισαγωγή Παιχνιδιών Μέσω Sideloading" msgstr "Εισαγωγή παιχνιδιών μέσω sideloading"
#: data/gtk/preferences.blp:210 #: data/gtk/preferences.blp:233 cartridges/importer/bottles_source.py:86
msgid "Bottles" msgid "Bottles"
msgstr "Bottles" msgstr "Bottles"
#: data/gtk/preferences.blp:224 #: data/gtk/preferences.blp:260 cartridges/importer/itch_source.py:81
msgid "itch" msgid "itch"
msgstr "itch" msgstr "itch"
#: data/gtk/preferences.blp:238 #: data/gtk/preferences.blp:287 cartridges/importer/legendary_source.py:97
msgid "Legendary" msgid "Legendary"
msgstr "" msgstr "Legendary"
#: data/gtk/preferences.blp:252 #: data/gtk/preferences.blp:314 cartridges/importer/retroarch_source.py:142
msgid "RetroArch" msgid "RetroArch"
msgstr "" msgstr "RetroArch"
#: data/gtk/preferences.blp:266 #: data/gtk/preferences.blp:341 cartridges/importer/flatpak_source.py:143
msgid "Flatpak" msgid "Flatpak"
msgstr "" msgstr "Flatpak"
#: data/gtk/preferences.blp:279 #. The location of the system-wide data directory
#: data/gtk/preferences.blp:351
#, fuzzy #, fuzzy
#| msgid "Game Launcher" msgid "System Location"
msgid "Import Game Launchers" msgstr "Ορίστε Τοποθεσία"
msgstr "Πρόγραμμα Εκκίνησης Παιχνιδιών"
#: data/gtk/preferences.blp:292 #. The location of the user-specific data directory
#: data/gtk/preferences.blp:369
#, fuzzy
msgid "User Location"
msgstr "Ορίστε Τοποθεσία"
#: data/gtk/preferences.blp:386
msgid "Import Game Launchers"
msgstr "Εισαγωγή εκκινητών παιχνιδιών"
#: data/gtk/preferences.blp:391 cartridges/importer/desktop_source.py:215
msgid "Desktop Entries"
msgstr "Εισαγωγές desktop"
#: data/gtk/preferences.blp:403 data/gtk/window.blp:562
msgid "SteamGridDB" msgid "SteamGridDB"
msgstr "SteamGridDB" msgstr "SteamGridDB"
#: data/gtk/preferences.blp:296 #: data/gtk/preferences.blp:407
msgid "Authentication" msgid "Authentication"
msgstr "Επιβεβαίωση" msgstr "Επιβεβαίωση"
#: data/gtk/preferences.blp:299 #: data/gtk/preferences.blp:410
msgid "API Key" msgid "API Key"
msgstr "Κλειδί API" msgstr "Κλειδί API"
#: data/gtk/preferences.blp:307 #: data/gtk/preferences.blp:418
msgid "Use SteamGridDB" msgid "Use SteamGridDB"
msgstr "Χρήση SteamGridDB" msgstr "Χρήση SteamGridDB"
#: data/gtk/preferences.blp:308 #: data/gtk/preferences.blp:419
msgid "Download images when adding or importing games" msgid "Download images when adding or importing games"
msgstr "Λήψη εικόνων κατά τη διάρκεια πρόσθεσης ή εισαγωγής παιχνιδιών" msgstr "Λήψη εικόνων κατά τη διάρκεια πρόσθεσης ή εισαγωγής παιχνιδιών"
#: data/gtk/preferences.blp:317 #: data/gtk/preferences.blp:423
msgid "Prefer Over Official Images" msgid "Prefer Over Official Images"
msgstr "Προτίμηση Επίσημων Εικόνων" msgstr "Προτίμηση Επίσημων Εικόνων"
#: data/gtk/preferences.blp:326 #: data/gtk/preferences.blp:427
msgid "Prefer Animated Images" msgid "Prefer Animated Images"
msgstr "Προτίμηση Κινούμενων Εικόνων" msgstr "Προτίμηση Κινούμενων Εικόνων"
#: data/gtk/preferences.blp:433
msgid "Update Covers"
msgstr "Ανανέωση εξώφυλλου"
#: data/gtk/preferences.blp:434
msgid "Fetch covers for games already in your library"
msgstr "Ανάκτηση εξώφυλλων για τα προϋπάρχων παιχνίδια στη βιβλιοθήκη σας"
#: data/gtk/preferences.blp:439
msgid "Update"
msgstr "Ανανέωση"
#: data/gtk/window.blp:6 data/gtk/window.blp:14 #: data/gtk/window.blp:6 data/gtk/window.blp:14
msgid "No Games Found" msgid "No Games Found"
msgstr "Δεν Βρέθηκαν Παιχνίδια" msgstr "Δεν Βρέθηκαν Παιχνίδια"
#: data/gtk/window.blp:7 data/gtk/window.blp:15 #: data/gtk/window.blp:7 data/gtk/window.blp:15
msgid "Try a different search." msgid "Try a different search"
msgstr "Δοκιμάστε μια διαφορετική αναζήτηση." msgstr "Δοκιμάστε μια διαφορετική αναζήτηση"
#: data/gtk/window.blp:21 #: data/gtk/window.blp:21
msgid "No Games" msgid "No Games"
msgstr "Δίχως Παιχνίδια" msgstr "Δίχως Παιχνίδια"
#: 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 "Χρησιμοποιήστε το κουμπί + για να προσθέσετε παιχνίδια." msgstr "Χρησιμοποιήστε το κουμπί + για να προσθέσετε παιχνίδια"
#: data/gtk/window.blp:40 #: data/gtk/window.blp:40
msgid "No Hidden Games" msgid "No Hidden Games"
msgstr "Δεν υπάρχουν κρυφά παιχνίδια" msgstr "Δεν υπάρχουν κρυφά παιχνίδια"
#: 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 "Τα παιχνίδια που κρύβετε θα εμφανίζονται εδώ." msgstr "Τα παιχνίδια που κρύβετε θα εμφανίζονται εδώ"
#: data/gtk/window.blp:64 data/gtk/window.blp:305 #: data/gtk/window.blp:76 data/gtk/window.blp:111 cartridges/main.py:228
msgid "Back" msgid "All Games"
msgstr "Πίσω" msgstr "Όλα τα παιχνίδια"
#: data/gtk/window.blp:121 #: data/gtk/window.blp:136 cartridges/main.py:230
msgid "Game Title" msgid "Added"
msgstr "Τίτλος παιχνιδιού" msgstr "Προστέθηκε"
#: data/gtk/window.blp:176 #: data/gtk/window.blp:156
msgid "Play" msgid "Imported"
msgstr "Παίξτε" msgstr "Εισήχθη"
#: data/gtk/window.blp:243 data/gtk/window.blp:437 #: data/gtk/window.blp:258
msgid "Add Game"
msgstr "Προσθήκη παιχνιδιού"
#: data/gtk/window.blp:250 data/gtk/window.blp:317
msgid "Main Menu"
msgstr "Κύριο μενού"
#: data/gtk/window.blp:272
#, fuzzy
#| msgid "Search"
msgid "Search games"
msgstr "Εύρεση"
#: data/gtk/window.blp:312
msgid "Hidden Games" msgid "Hidden Games"
msgstr "Κρυμμένα παιχνίδια" msgstr "Κρυμμένα παιχνίδια"
#: data/gtk/window.blp:339 #: data/gtk/window.blp:367
#, fuzzy msgid "Game Title"
#| msgid "Show hidden games" msgstr "Τίτλος παιχνιδιού"
msgid "Search hidden games"
msgstr "Εμφάνιση κρυμμένων παιχνιδιών"
#: data/gtk/window.blp:376 #: data/gtk/window.blp:424
msgid "Play"
msgstr "Παίξτε"
#: data/gtk/window.blp:501
msgid "Sort" msgid "Sort"
msgstr "Ταξινόμηση" msgstr "Ταξινόμηση"
#: data/gtk/window.blp:379 #: data/gtk/window.blp:504
msgid "A-Z" msgid "A-Z"
msgstr "Α-Ζ" msgstr "Α-Ζ"
#: data/gtk/window.blp:385 #: data/gtk/window.blp:510
msgid "Z-A" msgid "Z-A"
msgstr "Ζ-Α" msgstr "Ζ-Α"
#: data/gtk/window.blp:391 #: data/gtk/window.blp:516
msgid "Newest" msgid "Newest"
msgstr "Νεότερο" msgstr "Νεότερο"
#: data/gtk/window.blp:397 #: data/gtk/window.blp:522
msgid "Oldest" msgid "Oldest"
msgstr "Παλαιότερο" msgstr "Παλαιότερο"
#: data/gtk/window.blp:403 #: data/gtk/window.blp:528
msgid "Last Played" msgid "Last Played"
msgstr "Τελευταία αναπαραγωγή" msgstr "Τελευταία αναπαραγωγή"
#: data/gtk/window.blp:410 #: data/gtk/window.blp:535
msgid "Show Hidden" msgid "Show Hidden"
msgstr "Εμφάνιση Κρυφών" msgstr "Εμφάνιση Κρυφών"
#: data/gtk/window.blp:423 #: data/gtk/window.blp:544
msgid "Keyboard Shortcuts"
msgstr "Συντομεύσεις Πληκτρολογίου"
#: data/gtk/window.blp:428
msgid "About Cartridges" msgid "About Cartridges"
msgstr "Σχετικά με τις Κασέτες" msgstr "Σχετικά με τις Κασέτες"
#: data/gtk/window.blp:561
msgid "IGDB"
msgstr ""
#: data/gtk/window.blp:563
msgid "ProtonDB"
msgstr ""
#: data/gtk/window.blp:565
msgid "HowLongToBeat"
msgstr ""
#. The variable is the title of the game
#: cartridges/main.py:205 cartridges/game.py:125
msgid "{} launched"
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:188 #: cartridges/main.py:270
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:194 #: cartridges/window.py:373
msgid "Added: {}" msgid "Added: {}"
msgstr "Προστέθηκε: {}" msgstr "Προστέθηκε: {}"
#: src/window.py:197 #: cartridges/window.py:376
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:201 #: cartridges/window.py:380
msgid "Last played: {}" msgid "Last played: {}"
msgstr "Τελευταία αναπαραγωγή: {}" msgstr "Τελευταία αναπαραγωγή: {}"
#: src/details_window.py:72 #: cartridges/details_dialog.py:73
msgid "Apply" msgid "Apply"
msgstr "Εφαρμογή" msgstr "Εφαρμογή"
#: src/details_window.py:78 #: cartridges/details_dialog.py:79
msgid "Add New Game" msgid "Add New Game"
msgstr "Προσθήκη νέου παιχνιδιού" msgstr "Προσθήκη νέου παιχνιδιού"
#: src/details_window.py:79 #: cartridges/details_dialog.py:80
msgid "Add" msgid "Add"
msgstr "" msgstr "Προσθήκη"
#: cartridges/details_dialog.py:90
msgid "Executables"
msgstr "Προγράμματα"
#. Translate this string as you would translate "file" #. Translate this string as you would translate "file"
#: src/details_window.py:92 #: cartridges/details_dialog.py:105
msgid "file.txt" msgid "file.txt"
msgstr "αρχειο.txt" msgstr "αρχειο.txt"
#. As in software #. As in software
#: src/details_window.py:94 #: cartridges/details_dialog.py:107
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:99 src/details_window.py:101 #: cartridges/details_dialog.py:112 cartridges/details_dialog.py:114
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:105 src/details_window.py:107 #: cartridges/details_dialog.py:118 cartridges/details_dialog.py:120
msgid "/path/to/{}" msgid "/path/to/{}"
msgstr "/προς/φάκελο/{}" msgstr "/προς/φάκελο/{}"
#: src/details_window.py:112 #: cartridges/details_dialog.py:125
msgid "" msgid ""
"To launch the executable \"{}\", use the command:\n" "To launch the executable \"{}\", use the command:\n"
"\n" "\n"
@@ -501,139 +514,172 @@ msgstr ""
"Αν η διεύθυνση φακέλου περιέχει κενά, φροντίστε να την περικλείσετε σε διπλά " "Αν η διεύθυνση φακέλου περιέχει κενά, φροντίστε να την περικλείσετε σε διπλά "
"εισαγωγικά!" "εισαγωγικά!"
#: src/details_window.py:147 src/details_window.py:153 #: cartridges/details_dialog.py:167 cartridges/details_dialog.py:173
msgid "Couldn't Add Game" msgid "Couldn't Add Game"
msgstr "Αδυναμία προσθήκης παιχνιδιού" msgstr "Αδυναμία προσθήκης παιχνιδιού"
#: src/details_window.py:147 src/details_window.py:183 #: cartridges/details_dialog.py:167 cartridges/details_dialog.py:209
msgid "Game title cannot be empty." msgid "Game title cannot be empty."
msgstr "Ο τίτλος παιχνιδιού δεν μπορεί να είναι κενός." msgstr "Ο τίτλος παιχνιδιού δεν μπορεί να είναι κενός."
#: src/details_window.py:153 src/details_window.py:191 #: cartridges/details_dialog.py:173 cartridges/details_dialog.py:217
msgid "Executable cannot be empty." msgid "Executable cannot be empty."
msgstr "Η εφαρμογή δεν μπορεί να είναι κενή." msgstr "Η εφαρμογή δεν μπορεί να είναι κενή."
#: src/details_window.py:182 src/details_window.py:190 #: cartridges/details_dialog.py:208 cartridges/details_dialog.py:216
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:139 #: cartridges/game.py:139
msgid "{} launched"
msgstr "{} εκκινήθη"
#. The variable is the title of the game
#: src/game.py:153
msgid "{} hidden" msgid "{} hidden"
msgstr "{} αποκρύφθηκε" msgstr "{} αποκρύφθηκε"
#: src/game.py:153 #: cartridges/game.py:139
msgid "{} unhidden" msgid "{} unhidden"
msgstr "{} φανερώθηκε" msgstr "{} φανερώθηκε"
#. The variable is the title of the game #. The variable is the title of the game
#. The variable is the number of games removed #. The variable is the number of games removed
#: src/game.py:170 src/importer/importer.py:363 #: cartridges/game.py:153 cartridges/importer/importer.py:391
msgid "{} removed" msgid "{} removed"
msgstr "{} αφαιρέθηκε" msgstr "{} αφαιρέθηκε"
#: src/preferences.py:119 #: cartridges/preferences.py:133
msgid "All games removed" msgid "All games removed"
msgstr "Όλα τα παιχνίδια αφαιρέθηκαν" msgstr "Όλα τα παιχνίδια αφαιρέθηκαν"
#: src/preferences.py:168 #: cartridges/preferences.py:181
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:294 #: cartridges/preferences.py:196
#, fuzzy msgid "Downloading covers…"
#| msgid "Installation Not Found" msgstr "Λήψη εξώφυλλων…"
#: cartridges/preferences.py:215
msgid "Covers updated"
msgstr "Τα εξώφυλλα ανανεώθηκαν"
#: cartridges/preferences.py:360
msgid "Installation Not Found" msgid "Installation Not Found"
msgstr "Η εγκατάσταση δεν βρέθηκε" msgstr "Η εγκατάσταση δεν βρέθηκε"
#: src/preferences.py:296 #: cartridges/preferences.py:361
#, fuzzy msgid "Select a valid directory"
#| msgid "Select the {} data directory." msgstr "Επιλέξτε έναν έγκυρο προορισμό"
msgid "Select a valid directory."
msgstr "Επιλέξτε τον κατάλογο δεδομένων {}."
#: src/preferences.py:351 #: cartridges/preferences.py:397 cartridges/importer/importer.py:318
msgid "Warning"
msgstr "Προσοχή"
#: cartridges/preferences.py:431
msgid "Invalid Directory" msgid "Invalid Directory"
msgstr "" msgstr "Μη έγκυρος προορισμός"
#: src/preferences.py:357 #: cartridges/preferences.py:437
msgid "Set Location" msgid "Set Location"
msgstr "Ορίστε Τοποθεσία" msgstr "Ορίστε Τοποθεσία"
#: src/utils/create_dialog.py:25 src/importer/importer.py:291 #: cartridges/utils/create_dialog.py:33 cartridges/importer/importer.py:319
msgid "Dismiss" msgid "Dismiss"
msgstr "Απόρριψη" msgstr "Απόρριψη"
#: src/importer/importer.py:128 #: cartridges/importer/importer.py:145
msgid "Importing Games…" msgid "Importing Games…"
msgstr "Εισαγωγή παιχνιδιών…" msgstr "Εισαγωγή παιχνιδιών…"
#: src/importer/importer.py:290 #: cartridges/importer/importer.py:338
msgid "Warning"
msgstr ""
#: src/importer/importer.py:311
msgid "The following errors occured during import:" msgid "The following errors occured during import:"
msgstr "" msgstr "Τα παρακάτω σφάλματα παρουσιάστηκαν κατά την εισαγωγή:"
#: src/importer/importer.py:339 #: cartridges/importer/importer.py:367
msgid "No new games found" msgid "No new games found"
msgstr "Δεν βρέθηκαν νέα παιχνίδια" msgstr "Δεν βρέθηκαν νέα παιχνίδια"
#: src/importer/importer.py:351 #: cartridges/importer/importer.py:379
msgid "1 game imported" msgid "1 game imported"
msgstr "1 παιχνίδι εισήχθη" msgstr "1 παιχνίδι εισήχθη"
#. The variable is the number of games #. The variable is the number of games
#: src/importer/importer.py:355 #: cartridges/importer/importer.py:383
msgid "{} games imported" msgid "{} games imported"
msgstr "{} παιχνίδια εισήχθησαν" msgstr "{} παιχνίδια εισήχθησαν"
#. A single game removed #. A single game removed
#: src/importer/importer.py:359 #: cartridges/importer/importer.py:387
#, fuzzy
#| msgid "{} removed"
msgid "1 removed" msgid "1 removed"
msgstr "{} αφαιρέθηκε" msgstr "1 αφαιρέθηκε"
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:33 #: cartridges/importer/location.py:34
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} cache directory." msgid "Select the {} cache directory."
msgstr "Επιλέξτε τον κατάλογο δεδομένων {}." msgstr "Επιλέξτε τον προορισμό cache του {}."
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:35 #: cartridges/importer/location.py:36
#, fuzzy
#| msgid "Select the {} configuration directory."
msgid "Select the {} configuration directory." msgid "Select the {} configuration directory."
msgstr "Επιλέξτε τον κατάλογο διαμόρφωσης {}." msgstr "Επιλέξτε τον προορισμό ρυθμίσεων του {}."
#. The variable is the name of the source #. The variable is the name of the source
#: src/importer/sources/location.py:37 #: cartridges/importer/location.py:38
#, fuzzy
#| msgid "Select the {} data directory."
msgid "Select the {} data directory." msgid "Select the {} data directory."
msgstr "Επιλέξτε τον κατάλογο δεδομένων {}." msgstr "Επιλέξτε τον προορισμό δεδομένων του {}."
#: src/store/managers/sgdb_manager.py:46 #: cartridges/importer/retroarch_source.py:129
#, fuzzy msgid "No RetroArch Core Selected"
#| msgid "Couldn't Connect to SteamGridDB" msgstr "Δεν υπάρχει επιλεγμένος πυρήνας RetroArch"
#. The variable is a newline separated list of playlists
#: cartridges/importer/retroarch_source.py:131
msgid "The following playlists have no default core:"
msgstr "Οι παρακάτω λίστες δεν έχουν προεπιλεγμένο πυρήνα:"
#: cartridges/importer/retroarch_source.py:133
msgid "Games with no core selected were not imported"
msgstr "Παιχνίδια χωρίς επιλεγμένο πυρήνα δεν εισήχθησαν"
#: cartridges/store/managers/sgdb_manager.py:46
msgid "Couldn't Authenticate SteamGridDB" msgid "Couldn't Authenticate SteamGridDB"
msgstr "Η σύνδεση στο SteamGridDB δεν μπόρεσε να πραγματοποιηθεί"
#: src/store/managers/sgdb_manager.py:47
msgid "Verify your API key in preferences"
msgstr "" msgstr ""
"Η επιβεβαίωση γνησιότητας του SteamGridDB δεν μπόρεσε να πραγματοποιηθεί"
#: cartridges/store/managers/sgdb_manager.py:47
msgid "Verify your API key in preferences"
msgstr "Επιβεβαιώστε το κλειδί API σας στις ρυθμίσεις"
#~ msgid "Cache Location"
#~ msgstr "Τοποθεσία cache"
#~ msgid "Library"
#~ msgstr "Βιβλιοθήκη"
#~ msgid "Show preferences"
#~ msgstr "Εμφάνιση προτιμήσεων"
#~ msgid "Shortcuts"
#~ msgstr "Συντομεύσεις"
#~ msgid "Open menu"
#~ msgstr "Άνοιγμα μενού"
#~ msgid "Add new game"
#~ msgstr "Πρόσθεση νέου παιχνιδιού"
#~ msgid "Import games"
#~ msgstr "Εισαγωγή παιχνιδιών"
#~ msgid "Back"
#~ msgstr "Πίσω"
#~ msgid "Search games"
#~ msgstr "Αναζήτηση παιχνιδιών"
#~ msgid "Search hidden games"
#~ msgstr "Αναζήτηση κρυμμένων παιχνιδιών"
#~ msgid "The title of the game" #~ msgid "The title of the game"
#~ msgstr "Τίτλος Παιχνιδιού" #~ msgstr "Τίτλος Παιχνιδιού"
@@ -678,6 +724,3 @@ msgstr ""
#~ msgid "Select the Lutris cache directory." #~ msgid "Select the Lutris cache directory."
#~ msgstr "Επιλέξτε τη τοποθεσία cache του Lutris." #~ msgstr "Επιλέξτε τη τοποθεσία cache του Lutris."
#~ msgid "Importing Covers…"
#~ msgstr "Εισαγωγή εξώφυλλων…"

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