Repository navigation
feat(translations): the atlas filter buttons' "N languages" and "N timings" - #1307
Merged
Merged
Conversation
…mings"
Two plural sy-atlas-translations keys for SahajAtlasWeb's filter buttons on a
computer, which name a count once more than two answers are picked:
- filters.language.count: "%{count} language" / "%{count} languages"
- filters.when.count: "%{count} timing" / "%{count} timings"
A plural key's English cannot be a schema default, so a data-only migration
adds both English families to production; the nine locale seeds carry machine
translations in each locale's plural forms.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🚅 Deployed to the SahajCloud-pr-1307 environment in sahajcloud
1 service not affected by this PR
|
railway-app
Bot
temporarily deployed
to
sahajcloud / SahajCloud-pr-1307
November 27, 2026 19:42
Destroyed
This was referenced Nov 27, 2026
Ardnived
added a commit
to sydevs/SahajAtlasWeb
that referenced
this pull request
Nov 27, 2026
…answers
- CheckboxGroup (molecule): checkboxes with a count at each row's end and the
row's hover tint. Past 10 options it adds a search box and opens with the
checked options first (order taken at mount, so nothing moves under the
pointer). Both language lists, the phone's dropdown and the button's menu,
use it.
- The When and Language buttons name a count ("3 timings", "3 languages")
once more than two answers are picked (filters.when.count,
filters.language.count, from sydevs/SahajCloud#1307).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ardnived
added a commit
to sydevs/SahajAtlasWeb
that referenced
this pull request
Nov 27, 2026
Hand-added from sydevs/SahajCloud#1307, as production serves them: the full sync stays blocked on main until #466 lands. 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-translationsgains two plural keys for SahajAtlasWeb's filter buttons on a computer, which name a count once more than two answers are picked:filters.language.count("3 languages") andfilters.when.count("3 timings").Change outline
Contract — the
sy-atlas-translationsschemafilters src/globals/SahajAtlasTranslations/translationsSchema.json language label · all + count plural # "%{count} language" / "%{count} languages" when label + count plural # "%{count} timing" / "%{count} timings"The nine other locale seeds carry machine translations in each locale's own plural forms (one/few/many/other for cs, ru and uk).
src/payload-types.tsis regenerated.Preview
No preview surface
Contract impact
pnpm types:cmspicks up four optional keys. Nothing is removed or renamed.Migration
src/migrations/20261127_220000_atlas_filter_counts.ts, data only. Its.jsonis the prior snapshot re-stamped.enrow ofsy_atlas_translations_localesand the latest version row, where absent. No DDL: both keys join existing groups.downremoves every plural form of both keys from every locale.Test results
.claude/skills/pr-prep/check.sh): lint, format check, typecheck, unit lane all passedtranslations-globals.int.spec.ts,translations-english-defaults.int.spec.ts,seeds/tests/atlas-translations-import.test.ts(50) passed;db:migrations:create probewrote no filesNotes for reviewer
filters.language.countfilters.when.count🤖 Generated with Claude Code