Repository navigation
feat(ui): say "class" everywhere - #517
Merged
Merged
Conversation
Eight lines that said "event" or "meditation" now read class-worded keys
from SahajCloud#1289: "One-off class", "This class is over", "This class is
full", "There is no link to share for this class yet.", "No classes found.",
"See classes near %{city}", "No classes within %{km} km." and "No classes
match your filters." The meaning changed, so each is a new key and every
other language gets a fresh translation. The old keys sit in RETIRING_KEYS
until SahajCloud drops them.
The snapshot also copies production's new English for eleven keys that only
changed case or noun, published in SahajCloud on 2026-11-26 ("Dark theme",
"Every day", "Online classes", "See classes in %{region}", and others). The
full sync stays blocked on #466, so both are copied by hand, matching what
production serves.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each translation uses the word its locale already uses for a class in finding_classes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
Ardnived
added a commit
to sydevs/SahajCloud
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]>
Ardnived
added a commit
that referenced
this pull request
Nov 26, 2026
SahajCloud#1292 removed 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, which nothing here has read since #517. They leave the snapshot by hand, as #507 did, because the full sync stays blocked on #466, and their RETIRING_KEYS entries go with them. Co-authored-by: Claude Opus 5.5 <[email protected]>
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
Change outline
Behaviour — which key each surface reads
The meaning changed, so each line moves to a new key, and other languages get a fresh translation instead of a stale "event".
Contract — the English snapshot and the retiring keys
Preview
Preview pending: the Cloudflare branch alias appears once Workers Builds runs. Locally reviewed:
molecules--fallbacks: no classes found, share unavailable, no matching filters, no classes within, class fullviews--eventwithexample=Ended/Full: "This class is over" / "This class is full"organisms--event-details: "One-off class"molecules--settings-menu: "Light theme"/999999999reads "We couldn't find that class."Contract impact
None a host observes.
src/types/payload/gains the eight keys in the contracts re-sync bot PR that follows SahajCloud#1289; nothing here reads them from those types.Test results
Manual verification
Notes for reviewer
share.title_class./code-review medium(no pr-review-toolkit here)./simplifywas not run: the diff is copy and key names, read inline.Detail
Review findings dismissed:
not_found_event,back_to_regionand others reworded in place rather than under new keys. Agreed scope: only English is live, and a new key would leave other languages blank rather than stale.payload-types.tslacks the new keys. The contracts bot re-syncs it after SahajCloud merges, and thet()keys are typed from the snapshot.Dropped from the proposal branch:
REWORDED_KEYS(only English is live, so call the new keys directly), the snapshot stand-in edits (replaced by real production values), and e2337d4's relative-date capitalisation (#509 already rewrote it).🤖 Generated with Claude Code