Fix "auto webtoon mode" detection

The detection didn't work properly in case the selected manga was in a different language than English or the current active translation.
In that case it didn't work because the translation for that locale wasn't loaded.

So to ensure that the translation exists for each language, we have to hardcode it.
This commit is contained in:
schroda
2026-02-21 21:22:54 +01:00
parent 576cf85c38
commit 41fe42f29b
7 changed files with 223 additions and 28 deletions

View File

@@ -48,6 +48,7 @@ jobs:
cd master
echo "WEBLATE_TOKEN=${{ secrets.MY_SECRET }}" > .env
yarn i18n:gen-resources
yarn manga:gen-type-tags
- name: Push changes
run: |