Commit Graph

2296 Commits

Author SHA1 Message Date
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
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
Allan Nordhøy
226a0cc249 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/
2023-03-27 20:55:51 +03:30
Aria Moradi
9fef2bf488 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/
2023-03-27 20:55:47 +03:30
Allan Nordhøy
0126cd266b Added translation using Weblate (Norwegian Bokmål) 2023-03-27 20:54:57 +03:30
Yon
16c0f854fe Fix discord and github links (#267) 2023-03-25 22:05:25 +03:30
schroda
39780df0e0 add language selection to settings (#260)
* Add language selection to settings

* Add available languages to i18n
2023-03-25 22:04:05 +03:30
schroda
d58bd6cd92 add translation keys (#246)
* Fix i18n tsc issue

"t" can return null by default.
This was already disabled in the config, but it had no effect on tsc.

* Fix translation in "DefaultNavBar"

key was missing and since this is a constant the translation wouldn't update in case the language got changed after first load.

* Enable typing for i18n translation keys

* Add translation keys
2023-03-23 16:29:32 +03:30
schroda
8c129f2e08 Disable "SSR" option in "useMediaQuery" (#263)
"useMediaQuery" renders once with default values and only on the second render with the resolved values.

Thus, "lastPageNum" can potentially get initialized with the value for small/medium screens instead for large screens.
2023-03-16 20:30:02 +03:30
schroda
8cd1afd2c7 Ignore filters only while searching (#256)
In case the "ignoreFilters" flag was set to true and the search string was empty/undefined all mangas of the category were visible, ignoring the set filters.
2023-03-11 21:42:43 +03:30
schroda
398626250e Remove console log (#258)
#255 accidentally added a console log which caused the build to fail
2023-03-11 21:38:31 +03:30
schroda
23001a4298 update react scripts dependency (#255)
* Move "dependencies" close to "devDependencies"

Makes it easier to have a quick overview

* Upgrade "react-scripts" to latest version

With new versions of node (> v16) the build scripts fails with the following error "error:0308010C:digital envelope routines::unsupported"

* Upgrade "react-scripts" to v5 - Fix import

* Upgrade "eslint" dependencies

The latest version of "react-scripts" uses eslint v8 causing the following error "... ERROR in Plugin "react" was conflicted between ".eslintrc.js" >> eslint-config-airbnb ..."

* Upgrade "eslint" dependencies - Allow nested components as props

* Upgrade "eslint" dependencies - Fix lint issues
2023-03-11 20:35:58 +03:30
akabhirav
91e7bd2b27 Added sort by last read (#254) 2023-03-05 10:26:50 +03:30
akabhirav
e32078917d Replace Sort by ID with Date Added (#253) 2023-03-04 20:21:39 +03:30
akabhirav
a67370be62 Introduce override filters while searching setting (#242)
* Introduced override filters while searching setting

* update branch; change strings and method names

* fix eslint issue

* code review changes

* moved search setting types into its own type

---------

Co-authored-by: akxer <>
2023-03-04 20:21:24 +03:30
schroda
dcc18bba00 extension card cleanup (#252)
* [Cleanup] Use enums for extension "InstalledState"

* [Cleanup] Reduce code duplication
2023-03-03 17:51:11 +03:30
schroda
9625436518 get first unread chapter from original chapter list (#250)
The first unread chapter was retrieved from the filtered and sorted chapter list, which could result in e.g. incorrectly recognizing the latest released chapter as the first unread chapter.

Ideally the server would return the manga with its last read chapter, but this is currently not available.
2023-03-03 13:09:11 +03:30
schroda
c6257acdf1 Show empty library in case search doesn't match anything (#251)
* Show empty library in case search doesn't match anything

In case the search didn't match anything all mangas where shown instead of an empty library.

* Rename filter manga function parameter and variable

Makes it easier to read
2023-03-01 22:08:12 +03:30
Daniel
96fd1cf73b remove manually created typing d ts file (#249)
* Rename file

".d.ts" files are files that are automatically generated during compilation (in case option is set) and shouldn't be created manually.

* Export types and interfaces

* Add missing imports
2023-02-24 19:10:37 +03:30
Weblate (bot)
56fe90d049 Translations update from Hosted Weblate (#241)
* 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/

---------

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>
2023-02-19 19:54:03 +03:30
Daniel
cd1d24ada7 Add logic to migrate metadata values (#227)
Makes it possible to rename or fix values of already saved metadata without the user losing his data
2023-02-17 15:40:44 +03:30
akabhirav
5473d14eae Adds search by genre to WebUI (#238)
* add pagination to library and fix some prettier issues

* add genre search support like tachiyomi android app

* Search by genre like you do in tachiyomi mobile app

---------

Co-authored-by: akxer <>
2023-02-16 09:26:09 +03:30
Aria Moradi
94e45c2133 add translation keys 2023-02-14 20:08:03 +03:30
Aria Moradi
688358f673 add translation keys 2023-02-14 16:47:38 +03:30
Aria Moradi
76d44bd657 clean up translations 2023-02-14 16:28:37 +03:30
Aria Moradi
ce83914599 add translation files 2023-02-13 20:23:53 +03:30
Aria Moradi
1c7c3e566c add i18n (#239) 2023-02-13 20:21:44 +03:30
akabhirav
aaedbb7be9 add pagination to library and fix some prettier issues (#237)
Co-authored-by: akxer <>
2023-02-12 18:43:41 +03:30
Daniel
ad9a12b2ec Fix reader nav bar scroll to page (#236)
* Correctly scroll to page

Using "curPage" as the "initialPage" broke "scrolling up".
The page got reset to the first page in that case

* Support resume and scrolling to page for "DoublePagedPager"

* Support resume and scrolling to page for "PagedPager"

* Prevent "ReaderNavBar" from disappearing in "VerticalPager"

Due to handling the overflow on the "root" div and the "nav bar" being sticky and having a combined with of 100vw with the "vertical pager", once the first page was reached, that was behind the 100vw, the "nav bar" got moved out of the screen.
This made using the "nav bar" unusable for the "vertical pager".
2023-02-12 18:42:17 +03:30
Daniel
b16b9eb55a Fix lint error (#235) 2023-02-12 18:41:29 +03:30
Daniel
baa2f680f7 add chapter dropdown to reader nav bar (#229)
* Add chapter dropdown to reader chapter nav buttons

Makes it possible to select a specific chapter inside the reader without having to leave and open the manga page

* Always show chapter nav buttons

In case they are unusable, they will be disabled
2023-02-08 21:07:39 +03:30
Daniel
c7aaed8378 Add chapter page dropdown (#230)
Makes it possible to select a specific page of the current chapter
2023-02-08 20:56:09 +03:30
Daniel
2c11708c92 increase prettier line length to 120 (#233)
* [Prettier] Increase max line length to 120

100 is quite low, especially on modern monitors.
The length is also reached quite quickly with 4 spaces per tab depending on the indentation depth

* [Prettier] Increase max line length to 120 - Fix formatting
2023-02-08 20:49:26 +03:30
Daniel
b958d74b92 Fix import path (#228) 2023-02-06 12:37:26 +03:30
Daniel
4e0a860dfd add prettier for auto formatting (#231)
* [Prettier] Add "prettier"

Makes the formatting of the code consistent.
By using the eslint-plugin-prettier formatting issues will be highlighted as a lint error.
These errors will be auto fixed by running "lint --fix" (which can be done automatically on file save)

* [Prettier] Add "prettier" - Fix formatting
2023-02-06 12:36:33 +03:30
Daniel
2eeea41a45 force absolute import path (#223)
* Add "no-relative-import-paths" eslint plugin

* Add "no-relative-import-paths" eslint plugin - Fix imports
2023-02-05 18:45:20 +03:30
Daniel
144b4cdb49 Ignore filters while searching (#226)
Search was only searching in the filtered manga, thus, it was not possible to find a manga that was not included in the set filters
2023-02-05 18:44:05 +03:30
Daniel
fc9dc35b60 show more detailed upload dates for today and yesterday (#222)
* Always show month and day of the chapters release date with 2 digits

In case the month or date is one digit a leading 0 will be added

* Show more detailed upload date information for chapter uploads from today or yesterday

In case the upload date is from today or yesterday the shown upload date will be e.g. "Today at 02:50", otherwise, just the date will be shown e.g. "04.01.2023"
2023-01-07 19:16:07 +03:30
Daniel
c92977844e Add tooltip containing full manga title to title of manga (#221)
In case the title is truncated it's still possible to view the full manga title.
Same way as it is done on e.g. Twitch or YouTube
2023-01-07 19:14:39 +03:30
Daniel
f7b369b95d set browser tab title (#220)
* Update the browser tab title

The tab title will be set to the same title as the "NavigationBar" with "- Tachidesk" as the suffix

* Set the manga title and chapter name as browser tab title in the reader

While the reader is still loading the "mangaId" and the "chapterIndex" will be set as the title.
2023-01-07 19:14:00 +03:30