Commit Graph

1061 Commits

Author SHA1 Message Date
schroda
13dbb8faf4 Prevent add category FAB from overlaying last category (#301) 2023-05-15 18:41:43 +02:00
schroda
14ac872876 Prevent manga page FAB from changing position when selecting chapters (#300)
When selecting chapters the FAB button slightly moved further up and to the left.
This happened because "em" was used for the positioning and the "SelectionFAB" being inside a "Box" component while the "Start/ResumeFAB" had "no extra" parent component.
2023-05-15 18:36:16 +02:00
schroda
0a0d902bd2 Fix/manga screen prevent fab from overlaying last chapter in list (#298)
* Introduce "StyledFAb"

MUI "Fab" with the "default" styling applied

* Prevent FAB from overlaying last chapter in list of Manga details page
2023-05-15 18:23:26 +02:00
schroda
5aaf0854fe Fix/download queue staying stopped when removing download (#299)
* [Cleanup] Use async/await

* Show download queue removal error toast

* Optionally restart download queue after removing download

When removing a download while the download queue was running, the queue was never started again.
2023-05-15 18:15:28 +02:00
schroda
8dae72604f Update to SWR version 2.x (#296)
* Update SWR to version 2.1.5

* Improve generic type names

* Use "isLoading" property of "useSWR" response

* Correctly load library without selected tab

With the latest SWR version the library was empty on the first load.
Not sure what exactly is the reason, but due to "isPaused" the request wasn't sent even after "activeTab" wasn't undefined anymore.
Instead of using "isPaused", passing "null" as the key will also prevent SWR from doing the request.
2023-05-15 11:56:55 +02:00
schroda
4aff22079a Settings language add description (#294)
* Add translation notice to language setting

* Make local source guide link readable in dark mode
2023-05-12 11:52:00 +02:00
schroda
c8b0c64a8d Add new languages to resources (#293) 2023-05-12 11:51:15 +02:00
Weblate (bot)
b6c87dd630 Translations update from Hosted Weblate (#276)
* Translated using Weblate (French)

Currently translated at 0.5% (1 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (175 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/

* Added translation using Weblate (Chinese (Simplified))

* Translated using Weblate (German)

Currently translated at 100.0% (175 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (175 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/zh_Hans/

* Added translation using Weblate (Japanese)

* Translated using Weblate (German)

Currently translated at 100.0% (175 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (175 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/es/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (175 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/zh_Hans/

* Added translation using Weblate (Chinese (Traditional))

* Translated using Weblate (Spanish)

Currently translated at 100.0% (178 of 178 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/es/

* Translated using Weblate (Arabic)

Currently translated at 6.1% (11 of 178 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ar/

* Translated using Weblate (Arabic)

Currently translated at 10.4% (20 of 192 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ar/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 97.9% (188 of 192 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/zh_Hans/

* Translated using Weblate (Portuguese)

Currently translated at 44.7% (86 of 192 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/pt/

* Added translation using Weblate (Ukrainian)

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (194 of 194 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/uk/

---------

Co-authored-by: Aria Moradi <aria.moradi007@gmail.com>
Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Co-authored-by: misaka10843 <misaka10843@outlook.jp>
Co-authored-by: Fumo Vite <simonfumo@protonmail.com>
Co-authored-by: Yon <genjilolic@gmail.com>
Co-authored-by: rx443 <hi@corx.me>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Bander AL-shreef <bander.alshreef@gmail.com>
Co-authored-by: DevCoz <qq851428876@gmail.com>
Co-authored-by: Shinzo wo name <sasoj27791@in2reach.com>
Co-authored-by: Dan <denqwerta@gmail.com>
2023-05-11 22:50:56 +02:00
Allan Nordhøy
b4b3dc54a7 App strings reworked (#277)
* App strings reworked

* Lowercase labels, fixes

* Allowed languages, reverted sorting

* Use emoji for reader types

* Update image cache strings

* Change "Catalog" to "category"

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2023-05-11 18:01:05 +02:00
schroda
bd91510227 Remove eslint rule deactivations (#290) 2023-05-11 18:00:37 +02:00
schroda
d92dc83dda Display strings in uppercase (#291)
Translation string will be changed to a capitalized string instead of uppercase.
2023-05-11 02:17:59 +03:30
schroda
2e05e7d35c fix/manga_screen_missing_source_toast (#288) 2023-05-02 00:35:56 +02:00
schroda
548b22d211 fix/library_settings_screen_title_update_on_language_change (#287) 2023-05-01 23:32:38 +02:00
schroda
b906509f9f Add missing licence text (#286) 2023-05-01 23:31:41 +02:00
schroda
f5a961e82f Fix/manga white screen missing extension (#285)
* Prevent white screen when source is missing

A undefined source caused a TypeError

* Show error message when source is missing
2023-05-01 23:31:14 +02:00
schroda
9a27335760 Add option to include and exclude categories from the global update (#265) 2023-04-22 13:03:51 +02:00
schroda
79b2305e54 Feature/library show number of mangas in category (#269)
* Pass optional browser tab only title

Makes it possible to have a different title for the "NavBar" and the browser tab

* Show number of items in category and library

---------

Co-authored-by: schroda <github@dasch.simplelogin.com>
2023-04-22 11:39:59 +02:00
schroda
4157611d83 Feature/improve typing of metadata related logic (#268)
* Improve metadata typing

* Rename types

Still included the "I" prefix for interfaces

* Improve typing in setting util files
2023-04-22 11:34:19 +02:00
schroda
0a56a2f6d4 Extensions cleanup (#257)
* [Cleanup] Add enums and types

* Extract "default languages" from ISOLanguages

The "default languages" will also be translated depending on which language the user selected
2023-04-21 00:27:42 +02:00
schroda
c81189a9ed Fix/chapter mark as unread not resetting last page read (#282)
* [ChapterCard] Reset last page read to first page when changing chapters read status

The last page read was set to the second page instead of the first one

* [ChapterList] Reset last page read to first page when changing chapters read status

The "ChapterCard" and the "FAB" didn't have the same behaviour when marking a chapter as unread.
The "ChapterCard" also reset the last read page while the FAB only changed the read status.
2023-04-12 18:37:23 +02:00
schroda
22b3437dcd Keep "add category" fab position fixed (#283)
The button is supposed to stay in the bottom right corner at all times
2023-04-12 18:36:52 +02:00
schroda
d51150b784 Feature/reader skip duplicate chapters (#262)
* Skip duplicate chapters in the Reader

* Debounce "end of page" handling in the reader

* Update keyboard event listener

In case the "go" function changed, the listeners have to be updated
2023-04-05 13:37:12 +02:00
schroda
b1dc13cd30 Update browser and nav bar title on language change (#275) 2023-03-29 00:44:03 +03:30
Aria Moradi
92506ccf78 Revert "Translated using Weblate (Portuguese)"
This reverts commit 14d23c3d29.
2023-03-29 00:39:03 +03:30
Aria Moradi
31d3656697 Revert "Translated using Weblate (German)"
This reverts commit fe5edb1c4b.
2023-03-29 00:38:54 +03:30
Aria Moradi
14bdb6d9ac Revert "Translated using Weblate (Arabic)"
This reverts commit c34e55ce80.
2023-03-29 00:38:34 +03:30
Aria Moradi
2e14b71d18 Revert "Translated using Weblate (Spanish)"
This reverts commit f9e5e6cf7a.
2023-03-29 00:38:11 +03:30
Aria Moradi
ff79d9e964 Revert "Translated using Weblate (French)"
This reverts commit d04d33c658.
2023-03-29 00:37:59 +03:30
Aria Moradi
2050875d6f Merge pull request #274 from weblate/weblate-suwayomi-tachidesk-webui
Translations update from Hosted Weblate
2023-03-28 20:10:02 +03:30
Anonymous
d04d33c658 Translated using Weblate (French)
Currently translated at 0.0% (0 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/
2023-03-28 18:38:44 +02:00
Anonymous
f9e5e6cf7a Translated using Weblate (Spanish)
Currently translated at 0.0% (0 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/es/
2023-03-28 18:38:42 +02:00
Anonymous
c34e55ce80 Translated using Weblate (Arabic)
Currently translated at 0.5% (1 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ar/
2023-03-28 18:38:40 +02:00
Anonymous
fe5edb1c4b Translated using Weblate (German)
Currently translated at 0.5% (1 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/
2023-03-28 18:38:37 +02:00
Anonymous
14d23c3d29 Translated using Weblate (Portuguese)
Currently translated at 0.0% (0 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/pt/
2023-03-28 18:38:34 +02:00
Hosted Weblate
43f367a546 Merge remote-tracking branch 'origin/master' 2023-03-28 18:36:36 +02:00
Aria Moradi
07c0e83f8f fix translation files (#273) 2023-03-28 20:06:26 +03:30
Weblate (bot)
6f75837b81 Translations update from Hosted Weblate (#272)
* Added translation using Weblate (German)

* Translated using Weblate (German)

Currently translated at 0.5% (1 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/

---------

Co-authored-by: Aria Moradi <aria.moradi007@gmail.com>
2023-03-28 19:56:26 +03:30
Aria Moradi
8497a0b12e add trnalation policy 2023-03-27 21:23:48 +03:30
Aria Moradi
aedbccf83e Translated using Weblate (German)
Currently translated at 0.5% (1 of 175 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/
2023-03-27 19:42:46 +02:00
Aria Moradi
8fcbe29031 Added translation using Weblate (German) 2023-03-27 19:42:12 +02:00
Weblate (bot)
ffe0d5160d Translations update from Hosted Weblate (#270)
* Added translation using Weblate (Norwegian Bokmål)

* Translated using Weblate (French)

Currently translated at 100.0% (2 of 2 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/

* Deleted translation using Weblate (French)

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (2 of 2 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/nb_NO/

* Deleted translation using Weblate (Norwegian Bokmål)

* Added translation using Weblate (German)

* Added translation using Weblate (Arabic)

* Translated using Weblate (German)

Currently translated at 20.0% (1 of 5 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/

* Added translation using Weblate (Spanish)

* Translated using Weblate (Arabic)

Currently translated at 11.1% (1 of 9 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ar/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (9 of 9 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/es/

* Added translation using Weblate (French)

* Translated using Weblate (German)

Currently translated at 100.0% (9 of 9 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/

* Translated using Weblate (French)

Currently translated at 100.0% (9 of 9 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/fr/

* Added translation using Weblate (Portuguese)

---------

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Aria Moradi <aria.moradi007@gmail.com>
Co-authored-by: Shippo <Shipox@users.noreply.hosted.weblate.org>
Co-authored-by: PedroJLR <jacobnchrono@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Zereef <rafael.v.veloso@proton.me>
2023-03-27 21:07:29 +03:30
Zereef
fdb44bb46b Added translation using Weblate (Portuguese) 2023-03-27 20:56:48 +03:30
J. Lavoie
42b80b439b Translated using Weblate (German)
Currently translated at 100.0% (9 of 9 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/
2023-03-27 20:56:45 +03:30
J. Lavoie
c11a057a42 Added translation using Weblate (French) 2023-03-27 20:56:40 +03:30
Shippo
f71a29fa93 Translated using Weblate (Arabic)
Currently translated at 11.1% (1 of 9 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/ar/
2023-03-27 20:56:37 +03:30
PedroJLR
dce6f5259f Added translation using Weblate (Spanish) 2023-03-27 20:56:18 +03:30
Aria Moradi
ce06220b9c Translated using Weblate (German)
Currently translated at 20.0% (1 of 5 strings)

Translation: Suwayomi/Tachidesk-WebUI
Translate-URL: https://hosted.weblate.org/projects/suwayomi/tachidesk-webui/de/
2023-03-27 20:56:16 +03:30
Shippo
75e0215881 Added translation using Weblate (Arabic) 2023-03-27 20:56:01 +03:30
Aria Moradi
70511aa1c8 Added translation using Weblate (German) 2023-03-27 20:55:59 +03:30
Aria Moradi
52b08cfeb1 Deleted translation using Weblate (Norwegian Bokmål) 2023-03-27 20:55:51 +03:30