Skip to content

feat(translations): the atlas's "N more classes in this area." line - #1310

Merged
Ardnived merged 2 commits into
mainfrom
feat/atlas-filter-more-area
Nov 27, 2026
Merged

Ardnived merged 2 commits into
mainfrom
feat/atlas-filter-more-area

Conversation

@Ardnived

@Ardnived Ardnived commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • sy-atlas-translations gains filters.chrome.more_area, a plural key: "1 more class in this area." / "4 more classes in this area.", in every locale.
  • SahajAtlasWeb#542 shows it under a filtered list of results, followed by the existing "Clear filters" (filters.chrome.clear), when the filters hide in-person classes in the area searched.

Change outline

Contract — the sy-atlas-translations keys

 filters.chrome                                  translationsSchema.json, seeds/sy-atlas-translations/*.json
+  more_area_one / _few / _many / _other         "%{count} more class(es) in this area."

The descriptions of clear and widen now also name the list of results, where #542 shows them. src/payload-types.ts is regenerated.

Preview

No preview surface

Contract impact

Migration

  • New migration: src/migrations/20261128_010000_atlas_filter_more_area.ts, data only. Its .json is the prior snapshot re-stamped.
  • Impact: writes the English plural family (one, other) with addEnglishKey; the other locales come from the seeds.
  • Reversible: yes. down drops every stored form from every locale.

Test results

  • Lean gate (.claude/skills/pr-prep/check.sh): lint, format check, typecheck, unit lane (3924) all passed
  • Targeted: translations-globals.int.spec.ts (36), seeds/tests/atlas-translations-import.test.ts (9) passed
  • Build: N/A

Notes for reviewer

Locale one other (and few/many)
en %{count} more class in this area. %{count} more classes in this area.
cs V této oblasti je ještě %{count} lekce. jsou ještě %{count} lekce (few), je ještě %{count} lekce (many), je ještě %{count} lekcí
de %{count} weiterer Kurs in dieser Gegend. %{count} weitere Kurse in dieser Gegend.
es %{count} clase más en esta zona. %{count} clases más en esta zona.
fr %{count} autre cours dans cette zone. %{count} autres cours dans cette zone.
hu Még %{count} foglalkozás ezen a környéken. same
nl Nog %{count} les in deze omgeving. Nog %{count} lessen in deze omgeving.
pt-BR Mais %{count} aula nesta região. Mais %{count} aulas nesta região.
ru Ещё %{count} занятие в этом районе. занятия (few), занятий (many), занятия
uk Ще %{count} заняття в цьому районі. заняття (few), занять (many), заняття

🤖 Generated with Claude Code

@railway-app

railway-app Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

🚅 Deployed to the SahajCloud-pr-1310 environment in sahajcloud

Service Status Web Updated
SahajCloud ✅ Success (View Logs) Web Nov 27, 2026 at 10:00 pm UTC
1 service not affected by this PR
  • mailpit

@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1310 November 27, 2026 21:14 Destroyed
@sydevs-dispatcher

sydevs-dispatcher Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

🤖 no session running
conflict held since 21:14Z, waiting for the base to settle

Written by the sydevs dispatcher. Sessions never edit this comment.

# Conflicts:
#	src/migrations/index.ts
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1310 November 27, 2026 21:57 Destroyed
@Ardnived
Ardnived merged commit c9a4064 into main Nov 27, 2026
10 checks passed
@Ardnived
Ardnived deleted the feat/atlas-filter-more-area branch November 27, 2026 22:14
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Done in SYDevelopers Technical Roadmap Nov 27, 2026

This branch was successfully deployed

No deployments
sahajcloud / SahajCloud-pr-1310 — 81f7dcbf Deployed Nov 27, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant