readest/apps/readest-calibre-plugin/tests
gswang 1f6dfcff30
feat(calibre): add multi-language support (#6768)
* 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>
2026-10-13 18:46:06 +02:00
..
test_client.py fix(sync): pull the books delta in bounded pages for large libraries (#5364) 2026-07-27 16:11:09 +02:00
test_hashes.py feat(calibre): add Readest calibre plugin to push books and metadata (#4918) 2026-07-04 16:40:16 +02:00
test_i18n.py feat(calibre): add multi-language support (#6768) 2026-10-13 18:46:06 +02:00
test_oauth.py feat(calibre): add multi-language support (#6768) 2026-10-13 18:46:06 +02:00
test_version.py feat(calibre): Check Readest status action, with faster cloud lookups (#5332) 2026-07-26 07:05:32 +02:00
test_wire.py fix(calibre): push custom columns in the shape bookshelf filters read (#6538) 2026-10-01 20:34:42 +02:00