Commit Graph

3147 Commits

Author SHA1 Message Date
schroda
76474712a3 Use BCP-47 language codes for i18n resource files
Lingui expects the codes to be compliant to BCP-47 while weblate was not set up to create the resource files in that format.
And react-i18next was able to just handle them.

fixes #1058
2026-01-30 21:57:12 +01:00
schroda
edbbc81575 Fix missing type support for i18n resources
Due to the change in 65a9a905be - moving to a json file - it wasn't ensured anymore that IsoLanguages contained the i18n language codes
2026-01-30 21:54:39 +01:00
schroda
c5cdd347b7 Update available languages 2026-01-30 21:54:35 +01:00
Constantin Piber
ab28158f74 Fix translation formatting of Custom Theme docs (#1056)
* Fix translation formatting of Custom Theme docs

* Update available languages

* Update changed string in other languages

Avoids re-translation effort

* Revert change to i18n locale resources

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2026-01-30 21:54:22 +01:00
github-actions[bot]
78f4c6fb6b Update available languages 2026-01-30 20:00:46 +00:00
Hosted Weblate
e8b229ac1f Translations update from Hosted Weblate
Co-authored-by: Constantin Piber <cp.piber@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Micka149 <dr.mischutckin2017@yandex.ru>
Co-authored-by: Pysta <stefanjanckulik@gmail.com>
Co-authored-by: Roland Vezsenyi <miscogd5yf2paqvxvc@farvoid.com>
Co-authored-by: plum7x <plumgift@hotmail.com>
Co-authored-by: Şükrü Özcan <sukru.ozcan71@gmail.com>
Co-authored-by: 清水汐音 <chenzhongjie19940725@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/de/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/hu/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ru/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/tr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hant/
Translation: Suwayomi/Suwayomi-WebUI
2026-01-30 21:00:03 +01:00
schroda
86b00dbcc7 Fix missing pinned sources in search all
Regression 2e08d2c95a
2026-01-28 22:59:41 +01:00
schroda
1d8944bb48 Add option to disable server version updated info 2026-01-25 18:03:24 +01:00
schroda
749c81eef1 Add option to partially disable webui version updated info 2026-01-25 18:02:59 +01:00
schroda
4d7eb74a56 Merge "selected source/extension" languages 2026-01-25 17:35:42 +01:00
schroda
dd1f5bd218 Cleanup "Sources::filter" 2026-01-25 17:35:24 +01:00
schroda
2e08d2c95a Fix "Sources::filter"
The "showNsfw" filter could only filter for either all sources or sources that aren't nsfw.
The "pinned" and "enabled" filtered behaved similarly, but at the same time they were also completely buggy.
E.g. "pinned = false" just returned all sources including pinned ones.
2026-01-25 17:35:23 +01:00
schroda
bdb9a000f2 Remove "local source" from source languages filter
The "local source" can't be hidden and therefore should not be shown in the filter
2026-01-25 17:35:23 +01:00
schroda
eace67e464 Exclude "local source" for language detection for sources language filter
The local source is always shown, and therefore its language ("other") should only be shown in the language filter in case an actual source is installed that supports is of "other" language.
2026-01-25 16:08:21 +01:00
schroda
e63a51e060 Fix bug caused by GroupedVirtuoso
If there are only empty groups, "computeItemKey" gets called with a none-existent index which leads to "Virtuoso.util::convertIndex" to throw an error
2026-01-25 16:08:18 +01:00
schroda
742a02c5cf Fix source language filter
In case the saved "selected languages" contained languages that did not have any installed source, they caused TypeErrors when trying to access them in e.g. "sourcesByLanguage".
2026-01-25 16:08:13 +01:00
schroda
01ce4a8ded Handle changed server behavior with subpath injection
The server doesn't inject the subpath anymore in case no path is set.
To handle this, the app needs to set the "base" element itself to ensure that the resources are requested from the proper path.
2026-01-23 21:07:38 +01:00
schroda
12cac252de Prevent language switch on initial load
The change of bb36a46a24 causes a "language blink" on the initial load.
This happens due to having to wait till the selected language has been loaded from the server. Until this request is resolved, lingui initializes with the detected language, which might not match the selected one. This then causes the language to potentially be changed shortly after the initial load to a different language.
2026-01-23 02:15:26 +01:00
schroda
bb36a46a24 Save selected app language on server 2026-01-22 00:14:52 +01:00
schroda
94ee49f3ca Fix manga page styling
Re-apply 0a4aa6a721
2026-01-21 23:28:22 +01:00
schroda
65a5bed3d1 Fix hidden manga details on manga page
Regression 0a4aa6a721
2026-01-19 18:26:04 +01:00
schroda
0a4aa6a721 Fix manga page background image styling
In chromium browser there seems to be some layout issue depending on the available width.
In that case, there is a small part of the image visible that is not behind the applied "backdrop filter".
Which makes it look like a small bright vertical bar because it has the normal brightness of the image.
2026-01-19 02:38:09 +01:00
schroda
19b31528da Reduce manga page button sizes on small screens
Partially closes #1049
2026-01-18 19:18:50 +01:00
schroda
9e621edbf4 Use active theme as default value when creating new custom theme 2026-01-18 19:17:21 +01:00
schroda
54e9f6f9bc Reduce manga page chapter list item text size
Partially closes #1049
2026-01-18 19:17:21 +01:00
schroda
383d46846e Reduce manga page thumbnail size on small screens
Partially closes #1049
2026-01-18 19:17:19 +01:00
schroda
2b986c3564 Reduce base font size
Partially closes #1049
2026-01-18 19:07:12 +01:00
schroda
41b0fe77d6 Fix reference error causing white screen 2026-01-18 18:07:07 +01:00
schroda
7e39df09c4 Add max-age expiration to service worker image caches 2026-01-18 16:57:05 +01:00
schroda
7b13c1dcc1 Split service worker image cache into multiple 2026-01-18 16:56:57 +01:00
schroda
25b8c85ef2 Fix broken webui was updated info text
Regression 65a9a905be
2026-01-15 01:27:08 +01:00
schroda
bc077bdad7 Prevent potential TypeError
"sourcesByLanguage" can be empty while the sources are still loading
2026-01-15 01:22:46 +01:00
schroda
081d37a459 Make source language filter language header sticky 2026-01-15 00:53:49 +01:00
schroda
a8eea7eddd Change source language filter source select input to checkbox 2026-01-14 23:44:21 +01:00
schroda
7ef353aa2e Fix missing pinned sources in source language filter 2026-01-14 23:39:17 +01:00
schroda
cfc0e672ef Store refresh token in local storage
For convenience to not have to log in everytime after closing the tab, opening a new tab, closing the browser/pwa app.

closes #1018
2026-01-14 17:13:32 +01:00
schroda
650adde181 Fix forced webui page reload on update 2026-01-14 16:47:39 +01:00
schroda
0fd5bb3284 Fix missing "custom app languages"
Regression c1ac58f4d6
2026-01-14 16:34:38 +01:00
schroda
65a9a905be Migrate to lingui
Switch to "lingui" for better DX.
Tried to persist existing languages as much as possible.

Removed "vite-plugin-node-polyfills" because it's incompatible with "lingui"
2026-01-13 17:33:36 +01:00
schroda
c1ac58f4d6 Split up language utils file 2026-01-13 17:33:34 +01:00
schroda
3d8d230995 Render some components outside of auth guard 2026-01-13 17:32:57 +01:00
github-actions[bot]
1c4debc0db Update available languages 2026-01-10 15:58:27 +00:00
Hosted Weblate
96175ea402 Translations update from Hosted Weblate
Co-authored-by: Constantin Piber <cp.piber@gmail.com>
Co-authored-by: Gino Cicatiello <ginocic@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: JeanCPG97 <jeanpiedragames97@gmail.com>
Co-authored-by: Micka149 <dr.mischutckin2017@yandex.ru>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: TheRay82 <theray82@users.noreply.hosted.weblate.org>
Co-authored-by: 清水汐音 <chenzhongjie19940725@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/de/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/es/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/fa/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/it/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ru/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/vi/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hans/
Translation: Suwayomi/Suwayomi-WebUI
2026-01-10 16:57:39 +01:00
Bartu Özen
f7f1a15e7e Improve library manga sorting (#1051)
* Improve library manga sorting

* Update CHANGELOG.md

* Revert unread count sort change
2026-01-10 16:44:01 +01:00
schroda
9642c85007 Fix total library size chip color in light mode 2026-01-08 16:09:50 +01:00
schroda
23c587b351 Change pure black mode paper background color to true black 2026-01-08 15:42:59 +01:00
schroda
0ed0ab1109 Prevent red hue in automated neutral background colors 2026-01-08 15:15:03 +01:00
schroda
f7967fbfe2 Change "save dynamic theme" button toolbar menu position 2026-01-08 15:13:45 +01:00
schroda
62fc547957 Do not disable "save dynamic color theme" button during refresh 2026-01-08 15:13:03 +01:00
schroda
f2b440a669 Fix disabled save custom theme button in "save_dynamic" mode 2026-01-08 15:11:55 +01:00