Commit Graph

172 Commits

Author SHA1 Message Date
schroda
2542732b62 [skip ci] Fail on lingui compile error 2026-04-07 16:12:02 +02:00
schroda
8a5aaf51f3 Add guard to "enable flaresolverr" setting 2026-04-07 15:16:08 +02:00
Hosted Weblate
4b7653f5ec Translations update from Hosted Weblate
Co-authored-by: AteX <atex@users.noreply.hosted.weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: moron1717 <spai8774766@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/pl/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ru/
Translation: Suwayomi/Suwayomi-WebUI
2026-03-30 22:32:51 +02:00
schroda
5a2e5f83bc Update available languages 2026-03-20 03:21:45 +01:00
Hosted Weblate
98f7b34227 Translations update from Hosted Weblate
Co-authored-by: CyberMageIL <CyberMageIL@Gmail.com>
Co-authored-by: Elyan Voryn <blzkira77@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Infy's Tagalog Translations <ced.paltep10@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ar/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/fil/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/he/
Translation: Suwayomi/Suwayomi-WebUI
2026-03-20 03:14:08 +01:00
Hosted Weblate
aade88a2f2 Translations update from Hosted Weblate
Co-authored-by: Cyber Mage <CyberMageIL@gmail.com>
Co-authored-by: CyberMageIL <CyberMageIL@Gmail.com>
Co-authored-by: Damien O'Neil <maxiburning@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: makoto <makoto326@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/fr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/he/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ja/
Translation: Suwayomi/Suwayomi-WebUI
2026-03-09 01:40:06 +01:00
schroda
00d6350cee Optionally include client data during manga migration 2026-03-08 22:42:39 +01:00
schroda
95ccdad275 Align "offset spread pages" hotkey text with setting 2026-02-21 15:15:04 +01:00
Hosted Weblate
612ee71776 Translations update from Hosted Weblate
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Nguyễn Trung Đức <vaicato16@gmail.com>
Co-authored-by: Sazuru <sazuru@gmail.com>
Co-authored-by: UnknownSkyrimPasserby <f7022961@opayq.com>
Co-authored-by: mahranaka <robertlang123450@gmail.com>
Co-authored-by: Црнобог <68vuletic@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/pl/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ru/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/vi/
Translation: Suwayomi/Suwayomi-WebUI
2026-02-21 15:12:14 +01:00
schroda
1007533349 Fix some translation issues
- Interpolation issues
- Wrong translations added during migration to lingui
2026-02-04 00:50:16 +01:00
Hosted Weblate
66b80bc19f 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: 圭紫 <kaceykoo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/de/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/zh_Hant/
Translation: Suwayomi/Suwayomi-WebUI
2026-02-03 23:35:51 +01:00
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
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
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
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
25b8c85ef2 Fix broken webui was updated info text
Regression 65a9a905be
2026-01-15 01:27:08 +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
github-actions[bot]
1c4debc0db Update available languages 2026-01-10 15:58:27 +00:00
github-actions[bot]
d3aacfdc3f Update available languages 2025-12-30 16:24:23 +00:00
github-actions[bot]
e87d8ccc27 Update available languages 2025-11-25 00:11:58 +00:00
schroda
ad3b8d4567 Update server injected subpath detection 2025-09-25 00:20:31 +02:00
Soner Köksal
4d4477640e Add dynamic subpath support (#1011)
* Add dynamic subpath support for WebUI

- Add SubpathConfig utility for server-side subpath detection
- Configure React Router basename from server config
- Update API base URL handling for subpath compatibility
- Fix asset loading with relative paths
- Add VITE_SUBPATH environment variable for development
- Update locales and manifest paths for subpath support

Closes #174

* Move VITE_SUBPATH interface to vite-env.d.ts

* Ensure production bundle always uses relative base
2025-09-23 23:23:19 +02:00
github-actions[bot]
4a07198af6 Update available languages 2025-09-21 15:07:41 +00:00
github-actions[bot]
870174632b Update available languages 2025-08-18 23:32:49 +00:00
schroda
aee758916b Update available languages 2025-07-03 20:22:39 +02:00
schroda
53b31955af Update available languages 2025-05-17 19:05:09 +02:00
schroda
dbf06a54b9 Update available languages 2025-04-05 13:08:48 +02:00
schroda
5c770ffa62 Update available languages 2025-03-25 21:00:11 +01:00
schroda
c4ba483efe Add new languages to resources 2025-03-09 16:26:23 +01:00
schroda
09ff0f3ca0 Set i18n supported languages 2025-02-17 03:07:20 +01:00
schroda
0a34ae01ba Require languages to be at least 75% translated 2025-02-17 02:57:16 +01:00
schroda
61ae717e9a Add new languages to resources 2024-11-27 22:02:26 +01:00
schroda
6664efb48e Add new languages to resources 2024-08-05 16:07:15 +02:00
schroda
01ab88af62 Add new languages to resources 2024-07-17 22:54:26 +02:00
schroda
64c1ad6de3 Fix i18n type checking 2024-05-23 01:22:12 +02:00
schroda
b581c0d896 Add new languages to resources 2024-05-11 01:28:25 +02:00
schroda
082f923e10 Improve i18n resource typing 2024-04-24 23:56:06 +02:00
schroda
a7cafb59a4 Fix missing translations for language selection setting 2024-04-24 23:53:43 +02:00
schroda
6276da42cf Feature/i18n load resources from backend (#746)
* Load i18n resources from backend

* Move locales to public folder
2024-04-14 17:32:25 +02:00
schroda
43597e8428 Add new languages to resources 2024-04-14 17:28:19 +02:00
Hosted Weblate
3be6a0dab3 Translated using Weblate (Indonesian): currently translated at 10.6% (48 of 452 strings)
Translated using Weblate (Chinese (Simplified)): currently translated at 100.0% (452 of 452 strings)

Translated using Weblate (Spanish): currently translated at 100.0% (452 of 452 strings)

Translated using Weblate (Italian): currently translated at 10.4% (47 of 451 strings)

Translated using Weblate (Chinese (Simplified)): currently translated at 100.0% (451 of 451 strings)

Translated using Weblate (Spanish): currently translated at 100.0% (451 of 451 strings)

Translated using Weblate (Chinese (Simplified)): currently translated at 100.0% (449 of 449 strings)

Translated using Weblate (Chinese (Simplified)): currently translated at 100.0% (449 of 449 strings)

Translated using Weblate (Turkish): currently translated at 1.3% (6 of 449 strings)

Translated using Weblate (Vietnamese): currently translated at 62.8% (282 of 449 strings)

Translated using Weblate (Japanese): currently translated at 4.4% (20 of 449 strings)

Added translation using Weblate (Turkish)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Traditional))

Chinese (Traditional): currently translated at 99.1% (445 of 449 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (449 of 449 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

Spanish: currently translated at 100.0% (449 of 449 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (448 of 448 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

Spanish: currently translated at 100.0% (448 of 448 strings)

Translations update from Hosted Weblate

Translated using Weblate (Japanese)

Japanese: currently translated at 3.1% (14 of 447 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (447 of 447 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 98.8% (442 of 447 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

Spanish: currently translated at 100.0% (447 of 447 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (415 of 415 strings)

Translations update from Hosted Weblate

Translated using Weblate (French)

French: currently translated at 37.3% (155 of 415 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

Spanish: currently translated at 100.0% (415 of 415 strings)

Translations update from Hosted Weblate

Translated using Weblate (Vietnamese)

Vietnamese: currently translated at 67.8% (281 of 414 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (414 of 414 strings)

Translations update from Hosted Weblate

Translated using Weblate (Spanish)

Spanish: currently translated at 100.0% (414 of 414 strings)

Translations update from Hosted Weblate

Translated using Weblate (Ukrainian)

Ukrainian: currently translated at 100.0% (413 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (German)

German: currently translated at 47.9% (198 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (413 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (413 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Traditional))

Chinese (Traditional): currently translated at 97.0% (401 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 100.0% (413 of 413 strings)

Translations update from Hosted Weblate

Translated using Weblate (Chinese (Simplified))

Chinese (Simplified): currently translated at 98.0% (405 of 413 strings)

Co-authored-by: Axel C <definsitecristofer@gmail.com>
Co-authored-by: Danylo Gavrylenko <g.danylo228@gmail.com>
Co-authored-by: Efe Devirgen <efedevirgen@gmail.com>
Co-authored-by: Fordas <fordas15@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: HugoLeBoennec <hugo.leboennec@viacesi.fr>
Co-authored-by: PandaKewt <chuminhtuan30306@gmail.com>
Co-authored-by: Roberto Palmese <robix.email@gmail.com>
Co-authored-by: Siamese <Siamese2250@users.noreply.hosted.weblate.org>
Co-authored-by: Son of the Rocks <sonoftherocks@web.de>
Co-authored-by: ZerOriSama <godarms2010@live.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: ji jo (roczz2887) <rocmoezhao@gmail.com>
Co-authored-by: m0eak <moeakyou@gmail.com>
Co-authored-by: plum7x <plumgift@hotmail.com>
Co-authored-by: tongxin lou <loutongxin1@gmail.com>
Co-authored-by: 坂田银时 <3199616102@qq.com>
Co-authored-by: 小楼一夜听春雨 <gr2066878693@gmail.com>
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/fr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/id/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/it/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/ja/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/tr/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/uk/
Translate-URL: https://hosted.weblate.org/projects/suwayomi/suwayomi-webui/vi/
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
2024-04-14 16:26:04 +02:00
schroda
5edb14aefc Feature/settings auto downlaod add new exclude reuploads setting (#717)
* [Codegen] Update generated files

* [Tooling] Run ts-node with transpile only option

* Add new ignore re-uploads from auto download setting
2024-04-07 21:47:07 +02:00
schroda
29860482a6 Feature/browse source manga long press remove add manga from library (#710)
* Extract CategorySelect usage into hook

* Extract logic to change manga in library state into hook

* Change manga in library state on long press when browsing source
2024-04-07 15:33:08 +02:00