Commit Graph

86 Commits

Author SHA1 Message Date
kramo
89080c03bc Handle bogus sources gracefully 2025-04-28 20:09:11 +02:00
kramo
cb7aaf1f39 Fix header comment for details-dialog 2025-04-17 21:24:11 +02:00
kramo
597c668d69 Fix #336 2025-02-15 20:19:13 +01:00
kramo
77d7572ad1 Use correct sys.platform convention 2025-01-28 13:53:28 +01:00
kramo
242f8b0e34 2024-12-21 15:12:35 +01:00
Weblate (bot)
b30a337fef Translations update from Hosted Weblate (#312)
* Translated using Weblate (Turkish)

Currently translated at 100.0% (146 of 146 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ömer Faruk Kaygısız <farukkaygisiz24@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/tr/
Translation: Cartridges/Cartridges

* Translated using Weblate (Tamil)

Currently translated at 100.0% (146 of 146 strings)

Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ta/
Translation: Cartridges/Cartridges

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (146 of 146 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (146 of 146 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (146 of 146 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (146 of 146 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (146 of 146 strings)

Co-authored-by: Džeremi <chichvarov1315@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@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 (Romanian)

Currently translated at 100.0% (146 of 146 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ro/
Translation: Cartridges/Cartridges

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (146 of 146 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (146 of 146 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (146 of 146 strings)

Co-authored-by: Cleverson Cândido <optimuspraimu@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/pt/
Translation: Cartridges/Cartridges

* Translated using Weblate (Croatian)

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

Currently translated at 100.0% (146 of 146 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 97.9% (143 of 146 strings)

Translated using Weblate (Arabic)

Currently translated at 97.9% (143 of 146 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jadiir M. Aal Jaidaan <ashrafquatre@gmail.com>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/ar/
Translation: Cartridges/Cartridges

* Translated using Weblate (Spanish)

Currently translated at 100.0% (146 of 146 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (146 of 146 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: TacoCake <kiwifruit@seibmoz.anonaddy.me>
Translate-URL: https://hosted.weblate.org/projects/cartridges/cartridges/fr/
Translation: Cartridges/Cartridges

* Translated using Weblate (Swedish)

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

Currently translated at 100.0% (146 of 146 strings)

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/fa/
Translation: Cartridges/Cartridges

* Translated using Weblate (Finnish)

Currently translated at 99.3% (145 of 146 strings)

Translated using Weblate (Finnish)

Currently translated at 99.3% (145 of 146 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ricky Tigg <ricky.tigg@gmail.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: Ömer Faruk Kaygısız <farukkaygisiz24@gmail.com>
Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
Co-authored-by: Rafael Fontenelle <rafaelff@gnome.org>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Co-authored-by: Džeremi <chichvarov1315@gmail.com>
Co-authored-by: Сергей <asvmail.as@gmail.com>
Co-authored-by: Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>
Co-authored-by: Dan <jonweblin2205@protonmail.com>
Co-authored-by: Cleverson Cândido <optimuspraimu@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: kramo <contact@kramo.page>
Co-authored-by: Jadiir M. Aal Jaidaan <ashrafquatre@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: TacoCake <kiwifruit@seibmoz.anonaddy.me>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com>
Co-authored-by: Ricky Tigg <ricky.tigg@gmail.com>
2024-12-21 15:08:21 +01:00
kramo
00368f7a3c Increase default number of columns in library view 2024-12-05 16:47:37 +01:00
Claire (qwery)
8199a817eb Fix: Import never finishes (#301)
* Add separate callback to update progressbar

* Black formatting

* Make watchdog useful

The app was still not thread safe because the dialog was
closed from a thread which was the likely cause of the
crashing.

Still needs more testing to validate this solution

* Prevent opening preferences while importing

* Formatting changes & regrouping of methods

- Rearranged methods into groups based on public or private and their
usage. No functional changes, just reorganizing for convenience.

 - Renamed import_callback -> finish_import.
 - Renamed __watchdog -> monitor_import

If you don't like it, this can be reverted.

* Black formatting

* Cleanup for review

* Fix attempt 2 & remove public/private comments

Readded watchdog in its original form.

Removed comments for public or private methods. Comments for import
actions/gui are still there
2024-11-28 13:31:27 +01:00
Sunniva Løvstad
8a020970fd Add ngettext to the domain (#310)
* Update PO: add relative timestamps

* make ngettext enter the domain

This was a tricky one to solve…
2024-11-05 18:55:22 +01:00
Balló György
3e9c947cf0 Skip write-only formats (#308)
PALM and PDF are write-only formats by PIL, these cannot be opened.

Also move SVG out from the loop to avoid adding it multiple times.

Reference:
https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#write-only-formats
2024-11-04 12:13:17 +01:00
Balló György
965b6d94f2 Pass blurred image directly to texture (#307)
Instead of saving the blurred image into a temporary file and then read it
back, pass it direcly to texture via a buffer.
2024-11-03 11:48:10 +01:00
Balló György
d0042d443b Queue draw after setting paintable (#309)
Without this, the animation is not rendered on the screen.
2024-11-03 11:45:23 +01:00
skilpedde
2d0576f201 Update PO: add relative timestamps 2024-11-02 23:04:18 +01:00
skilpedde
86887367a3 Merge branch 'main' of https://github.com/kra-mo/cartridges into kra-mo-main 2024-10-31 17:37:56 +01:00
kramo
4ee3fe2473 Add an option to import games automatically (#302) 2024-10-31 14:12:33 +01:00
skilpedde
bdb067af64 More PO improvements 2024-10-25 21:54:31 +02:00
skilpedde
498f99e771 Update to dgettext and fix translator-credits string 2024-10-22 13:03:25 +02:00
kramo
bb3780f048 Fix #292 2024-10-11 19:31:20 +02:00
kramo
8a8b0525b4 Use Adw.Spinner 2024-09-18 16:47:37 +02:00
kramo
256f6f2325 Merge branch 'main' into pr/257 2024-09-18 16:36:12 +02:00
kramo
e5287c9d3f Type hint GTK template imports 2024-07-30 09:32:37 +02:00
kramo
22a755c2e4 Type hint shared module 2024-07-30 09:00:49 +02:00
kramo
239420148a Improve UX for COSMIC 2024-07-18 15:34:22 +02:00
kramo
7367e40cb3 Fix #281 2024-07-18 11:30:28 +02:00
kramo
7efa17915f v2.9.2 2024-07-11 01:34:13 +02:00
kramo
b3a65c3d23 Move ApplicationDelegate to separate module 2024-07-11 01:18:26 +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
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
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
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
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
Jamie Gravendeel
38f85d2f4a Port to Libadwaita 1.6 widgets
Co-authored-by: kramo <contact@kramo.page>
2024-05-01 12:31:12 +02:00
kramo
e8db732868 Fix #252 2024-04-17 14:42:54 +02:00
kramo
f3bd8b898b 🫠 2024-04-16 20:32:39 +02:00
kramo
4a530ce92e Remove translations from Windows builds 2024-04-16 19:36:52 +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
kramo
eee4e3e2f2 Style import preferences rows better 2024-04-14 12:38:29 +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
f2e5e5b03f Improve notifications for GNOME 46 2024-03-24 16:19:24 +01:00
kramo
8a7875b843 Update copyrights 2024-03-23 20:45:23 +01:00