mirror of
https://github.com/readest/readest.git
synced 2026-11-29 19:02:28 +00:00
* feat(calibre): add multi-language support * fix(calibre): harden the translation build and pluralize the run summary - i18n.py compile: validate placeholders in every plural form, skip fuzzy and empty translations (gettext would show them blank), and write no .mo for a catalog with errors so make fails again instead of shipping it. Missing messages only warn; calibre shows them in English. - Makefile: derive the .mo list from the .po files so a new language is built and zipped, and compile only the stale language. - worker: give each status its own ngettext summary message, restoring the lowercase English summary and letting translators handle agreement. - api: translate the fallback error messages; oauth: escape translated text in the login pages. - pl: use the Polish plural rule; ru: genitive after "Отправка"/"Сверка"; status labels capitalized where they now only fill the table column. - README: list the languages that actually ship. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Huang Xin <chrox.huang@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test_client.py | ||
| test_hashes.py | ||
| test_i18n.py | ||
| test_oauth.py | ||
| test_version.py | ||
| test_wire.py | ||