Repository navigation
feat(translations): add the Atlas registration captcha-blocked message to sy-atlas-translations - #1272
Merged
Conversation
…e to sy-atlas-translations `registration.form.captcha_blocked` is the line the Sahaj Atlas sign-up form shows above its "Try again" button, with Register disabled, when the hidden Turnstile check fails to load (sydevs/SahajAtlasWeb). It is visible text, so it belongs here and not in the widget's screen-reader-only set. Browsing the rest of the Atlas still works in that state. The English is declared as `default` beside the key, the convention #1218 set and #1268 followed for the atlas keys before it: the deploy's own boot delivers it through `reconcileEnglishDefaults`, so production needs no hand-written data migration and the corpus file carries no copy of it. Checked against a real database for this global: the key lands on the main row and the latest version row, English only, and a stored value is kept. `common.errors.captcha_blocked` stays: the deployed widget still reads it, and a follow-up drops it once the widget stops. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🚅 Deployed to the SahajCloud-pr-1272 environment in sahajcloud
1 service not affected by this PR
|
|
🤖 no session running Written by the sydevs dispatcher. Sessions never edit this comment. |
railway-app
Bot
temporarily deployed
to
sahajcloud / SahajCloud-pr-1272
November 25, 2026 20:02
Destroyed
There was a problem hiding this comment.
Approved for Ardnived, who wrote it: GitHub refuses an author's own approval. CI is green and the automated review has run. Enable auto-merge when you want it merged: the queue tests it against its base. 🤖 Written by the sydevs autonomous loop — see what this is
|
Adversarial review skipped: 2 file(s), 9 changed line(s), under 🤖 sydevs dispatcher |
This was referenced Nov 25, 2026
This was referenced Nov 25, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
registration.form.captcha_blockedtosy-atlas-translations, for the Atlas sign-up form.default, so the deploy's boot fills production with no migration.Change outline
Contract —
sy-atlas-translationsOne new key in the Registration tab's form group. The widget in
sydevs/SahajAtlasWebreads it. A locale that omits it is served English by the client read.registration.form src/globals/SahajAtlasTranslations/translationsSchema.json captcha_retry + captcha_blocked default "We couldn't load the security check, so you can't register just yet." subscribePreview
No preview surface
Contract impact
sydevs/SahajAtlasWeb. It readsregistration.form.captcha_blockedfrom thesy-atlas-translationsAPI.src/payload-types.tsgains an optionalcaptcha_blockedfield. A copied contract is re-synced in a bot PR after this merges (pnpm types:cmsin each consumer).common.errors.captcha_blockedis untouched. The deployed widget still reads it. The Atlas PR marks it retiring. A follow-up PR drops it here once that has deployed. Retiring a key is a data migration, persrc/globals/AGENTS.md.Test results
.claude/skills/pr-prep/check.sh: lint, format, typecheck of src and tests, 294 unit files, 3916 tests)atlas-translations-schema,translations-english-defaultsandtranslations-no-a11yunit specs pass, 81 tests in all with the check below.reconcileEnglishDefaultsagainst a real database for this global. It filled the key in English on the main row and the latest version row, wrote nothing intofr, and kept an editor's value across two runs. feat(translations): declare a key's English in the schema, reconciled on boot #1218's own int spec coverswm-web-translationsonly.Manual verification
Notes for reviewer
src/globals/AGENTS.md("A key's English is declared beside it, asdefault") andsrc/migrations/AGENTS.md("A new translation key needs no migration at all") retired the hand-written one per key. feat(translations): add the inline embed's strings, drop the compact tab #1268 shipped the atlas's last three keys this way.seeds/sy-atlas-translations/data.en.json. The corpus must not carry a key that declares adefault, andatlas-translations-schema.spec.tsholds that.Detail
_meta.omitted_keyssays an untranslated key is omitted, and the client read serves English for it.payload-types.tsis the one regenerated hunk.defaultis not emitted into the types, only the description.🤖 Generated with Claude Code