Give the pairing pages' "Record" column its own context, apart from the button's verb (#1178) #1179

Merged
tiagoagueda merged 1 commit from record-noun-context into main 2026-10-31 18:06:35 +00:00
Owner

#327 headed a column "Record" (one of the person's own records) on the pairing page and an item's page. gettext merged it into the status card's button "Record", a verb, so every language showed the verb as a column header: fr "Enregistrer", pt-PT "Registar", de "Erfassen", es "Registrar".

  • The two headers carry context "one of the person's own records", so they are a separate entry.
  • messages.py extract adds that entry empty to every catalogue, for Weblate to fill as a noun.
  • The button keeps the translations it had.

Locally: extract --check, check, tests/test_pairing.py, tests/test_translations.py and tests/test_changelog.py pass.

After the merge the fr-FR and pt-PT slots get filled in Weblate, so Weblate's next pull request passes its gate.

Closes #1178

🤖 Generated with Claude Code

#327 headed a column "Record" (one of the person's own records) on the pairing page and an item's page. gettext merged it into the status card's button "Record", a verb, so every language showed the verb as a column header: fr "Enregistrer", pt-PT "Registar", de "Erfassen", es "Registrar". - The two headers carry `context "one of the person's own records"`, so they are a separate entry. - `messages.py extract` adds that entry empty to every catalogue, for Weblate to fill as a noun. - The button keeps the translations it had. Locally: `extract --check`, `check`, `tests/test_pairing.py`, `tests/test_translations.py` and `tests/test_changelog.py` pass. After the merge the fr-FR and pt-PT slots get filled in Weblate, so Weblate's next pull request passes its gate. Closes #1178 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Give the pairing pages' "Record" column its own context, apart from the button's verb (#1178)
All checks were successful
CI / Unit tests and coverage (Python 3.14) (pull_request) Successful in 18m9s
CI / Checks: lint, migrations, catalogues, settings, built files (pull_request) Successful in 2m27s
CI / Database tests on PostgreSQL (pull_request) Successful in 5m3s
CI / Security audit (pull_request) Successful in 1m40s
CI / Browser tests (Chromium) (pull_request) Successful in 42m19s
11679eb4ea
#327 headed a column "Record" (one of the person's own records) on the
pairing page and an item's page, and gettext merged it into the status
card's button "Record", a verb, so every language showed the verb there:
"Enregistrer", "Registar", "Erfassen". The two headers now carry the
context "one of the person's own records" and so are an entry of their
own, empty in every catalogue for Weblate to fill; the button keeps the
translations it had.

Closes #1178

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tiagoagueda deleted branch record-noun-context 2026-10-31 18:06:39 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo!1179
No description provided.