Skip to content

feat(catalog): add field-error text for title allowance refusals - #229

Merged
Quick104 merged 2 commits into
mainfrom
fix/allowance-refusal-field-codes
Dec 5, 2026
Merged

Quick104 merged 2 commits into
mainfrom
fix/allowance-refusal-field-codes

Conversation

@Quick104

@Quick104 Quick104 commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Adds error.field.* text for the four reasons the server gives when a household manager can't allow a limited profile a title or collection above its rating limit:

  • error.field.no_maturity_limits: the profile has no rating or age limit.
  • error.field.no_library_access: the profile can't see the title's library.
  • error.field.not_a_title: the item is an episode or season.
  • error.field.collection_not_live: the collection isn't a manual one the manager created.

The server returned these refusals as a plain validation_failed with no field code, so clients could only show the English detail. A silo-server change now sends each one as a field-error code. Per the server's i18n rules, every field-error code needs an error.field.<code> key, so a translated client can show the reason in the user's language. The keys have no x-platforms, like the other field-error keys.

Translations: run make translate-pr before merging.

AI disclosure: written with Claude Code (claude-opus-5-5) in T3 Code; reviewed by the author.

Translations

make translate-pr translated 152 strings; all 38 languages have every key (make check-complete).

Last pass, per language

Model: claude-opus-5-5

Language Written Failed Batches Claude calls Wall time
es 4 0 1 1 0 min
de 4 0 1 1 0 min
fr 4 0 1 1 0 min
pt-BR 4 0 1 1 0 min
nl 4 0 1 1 0 min
it 4 0 1 1 0 min
pl 4 0 1 1 0 min
tr 4 0 1 1 0 min
sv 4 0 1 1 0 min
da 4 0 1 1 0 min
nb 4 0 1 1 0 min
fi 4 0 1 1 0 min
cs 4 0 1 1 0 min
hr 4 0 1 1 0 min
ru 4 0 1 1 0 min
uk 4 0 1 1 0 min
ja 4 0 1 1 0 min
ko 4 0 1 1 0 min
zh-Hans 4 0 1 1 0 min
zh-Hant 4 0 1 1 0 min
ar 4 0 1 1 0 min
hu 4 0 1 1 0 min
ro 4 0 1 1 0 min
sk 4 0 1 1 0 min
sl 4 0 1 1 0 min
bg 4 0 1 1 0 min
el 4 0 1 1 0 min
ca 4 0 1 1 0 min
lt 4 0 1 1 0 min
lv 4 0 1 1 0 min
et 4 0 1 1 0 min
vi 4 0 1 1 0 min
pt-PT 4 0 1 1 0 min
id 4 0 1 1 0 min
ms 4 0 1 1 0 min
he 4 0 1 1 0 min
hi 4 0 1 1 0 min
th 4 0 1 1 0 min

Note

Add field-error text for title allowance refusals in all locales

Adds user-facing error text for four title allowance refusal cases: error.field.collection_not_live, error.field.no_library_access, error.field.no_maturity_limits, and error.field.not_a_title. Text is added to all 41 locale .arb files in catalog/, with matching translation-state records in state/ (Opus attribution).

Macroscope summarized 981aff1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Dec 5, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-05T19:41:21.572524Z a125b9b PR opened
🔒 Security Review ✅ Completed 2026-12-05T19:42:30.880253Z a125b9b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

Locale catalogs add translations for four field-error messages covering collection eligibility, library access, maturity limits, and eligible title types. Locale state files add translation metadata for the same error keys. No application behavior changes are described.

Changes: Localized field-error messages

Layer / File(s) Summary
Add field-error messages and metadata
catalog/*arb, state/*.json
The English catalog adds descriptions for four field-error codes. Other catalogs add translations, and the locale state files record translation metadata for those keys.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Tools execution failed with the following error:

Failed to run tools: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error)

@silo-triage silo-triage Bot added size/XXL 1000–2999 added + deleted lines (all files); change volume, not priority. and removed size/S 0–49 added + deleted lines (all files); change volume, not priority. labels Dec 5, 2026
@Quick104
Quick104 merged commit 3638800 into main Dec 5, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XXL 1000–2999 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant