Repository navigation
feat(translations): the atlas's class-worded lines, under new keys - #1289
Merged
Merged
Conversation
Seven sy-atlas-translations keys so SahajAtlasWeb says "class" where these lines said "event" or "meditation". The meaning changed, so each is a new key and other languages get a fresh translation, not a stale one: - event.display.type_oneoff_class: "One-off class" - event.display.class_ended: "This class is over" - event.display.class_full: "This class is full" - common.errors.share_unavailable_class - common.errors.no_classes, common.errors.classes_near_city - search.results.no_nearby_classes Each declares its English as a schema default, so production fills on boot. The old keys stay until the atlas no longer reads them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t their class-worded keys Co-Authored-By: Claude Opus 5.5 <[email protected]>
railway-app
Bot
temporarily deployed
to
sahajcloud / SahajCloud-pr-1289
November 26, 2026 22:04
Destroyed
|
🚅 Deployed to the SahajCloud-pr-1289 environment in sahajcloud
1 service not affected by this PR
|
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
…ss-worded line Co-Authored-By: Claude Opus 5.5 <[email protected]>
railway-app
Bot
temporarily deployed
to
sahajcloud / SahajCloud-pr-1289
November 26, 2026 22:18
Destroyed
This was referenced Nov 26, 2026
Ardnived
added a commit
that referenced
this pull request
Nov 26, 2026
…1292) The widget reads their class-worded replacements (#1289) since sydevs/SahajAtlasWeb#517, so translators were still asked to fill common.errors.share_unavailable, no_events and near_city, search.results.no_nearby, filters.chrome.no_results, and event.display.event_ended, event_full and type_oneoff for nothing. Removes them from the schema, the ten seed files and the generated types, and adds a data migration sweeping the stored copy out of each group's column on the main and every version row, since each group declares additionalProperties: false and a leftover would refuse every later save. down restores nothing: the old schema declares the keys but requires none. The replacements' descriptions drop their "Replaces" notes, and the strict budget spec keeps class_full alone. Co-authored-by: Claude Opus 5.5 <[email protected]>
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
sy-atlas-translationskeys so the atlas says "class" where it said "event" or "meditation".Change outline
Contract —
sy-atlas-translationsgains eight keys, each with an English defaultreconcileEnglishDefaultsfills them in production on boot. The old keys stay, and their descriptions now point translators at the new ones.Preview
Contract impact
src/payload-types.tsgains the eight keys onSyAtlasTranslation. Consumer: SahajAtlasWeb. Itsfeat(ui): say "class" everywherePR reads these keys and merges after this one deploys.Test results
atlas-translations-schema60 passed;translations-english-defaults,translations-globals,available-localesint specs 60 passedManual verification
Notes for reviewer
/code-review high.Detail
Review findings dismissed:
availableLocales, and the ticket leaves other languages out. A seed file reaches only a fresh database, so seeding translations would not reach production anyway.classes_near_cityvsclass_full). They match the ticket and the atlas branch. The atlas types everyt()key from its snapshot, so a mistyped key fails its typecheck.gating.tsstill says "This event has ended." / "This event is full." The atlas maps each refusalcodeto its own key (RegistrationForm.tsx) and never renders the server's message.🤖 Generated with Claude Code