Skip to content

feat(translations): the atlas Share view's QR code strings - #1276

Merged
Ardnived merged 2 commits into
mainfrom
feat/atlas-qr-strings
Nov 25, 2026
Merged

Ardnived merged 2 commits into
mainfrom
feat/atlas-qr-strings

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Summary

  • Four sy-atlas-translations keys for the atlas widget's "QR code for posters" row on Share.
  • Each declares its English as a schema default, so production fills on boot and no seed changes.

Change outline

Contract — sy-atlas-translations, share

The widget reads these four from the Share view's new closed row. The code's spoken name stays in SahajAtlasWeb's own a11y strings, so it is not declared here.

 share                         src/globals/SahajAtlasTranslations/translationsSchema.json
   title
   native
   copied
+  qr_title                    # default "QR code for posters": the closed row
+  qr_hint                     # default "Print this on posters or flyers. …": note under the code
+  qr_download                 # default "Download for printing": saves a print-size PNG
+  qr_failed                   # default "The QR code didn’t load. …": shown instead of the code

Preview

No preview surface

Contract impact

src/payload-types.ts gains the four optional keys on SyAtlasTranslationsShareStrings. Consumer: sydevs/SahajAtlasWeb, whose feat/qr-poster branch (not yet pushed) wires the t() calls after pnpm sync:translations --write reads these from production.

Test results

  • Lean gate: ✓ (lint, format check, typecheck, unit lane)
  • Targeted specs: translations-english-defaults.int.spec.ts 5 passed; atlas-translations-schema, translations-english-defaults, translations-no-a11y 79 passed
  • Build: N/A

Notes for reviewer

Tiny diff, read inline.

/code-review high ran (no review toolkit installed). Dismissed: "reopening the row may not retry the load". In Chromium, with the encoder chunk blocked once, close and reopen refetched it and drew the code. Safari and Firefox were not checked.

Closes #1275

🤖 Generated with Claude Code

Ardnived and others added 2 commits November 25, 2026 13:27
Four keys for SahajAtlasWeb's "QR code for posters" row on Share, each with
its English as a schema default: share.qr_title, qr_hint, qr_download and
qr_failed. The code's spoken name is a repo a11y string there, so it is not
declared here.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…'s description fits its copy

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@railway-app

railway-app Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

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

Service Status Web Updated
SahajCloud 😴 Sleeping (View Logs) Web Nov 25, 2026 at 9:03 pm UTC
1 service not affected by this PR
  • mailpit

@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1276 November 25, 2026 20:38 Destroyed
@sydevs-dispatcher

sydevs-dispatcher Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🤖 no session running

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

@sydevs-dispatcher sydevs-dispatcher Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for Ardnived, who wrote it: GitHub refuses an author's own approval. CI is green and the automated review has run. 🤖 Written by the sydevs autonomous loop — see what this is

@sydevs-dispatcher

Copy link
Copy Markdown

Adversarial review skipped: 2 file(s), 36 changed line(s), under review.skipWhen. Say @sydevs-bot review to force one.

🤖 sydevs dispatcher

@Ardnived
Ardnived added this pull request to the merge queue Nov 25, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Awaiting in SYDevelopers Technical Roadmap Nov 25, 2026
Merged via the queue into main with commit a625152 Nov 25, 2026
19 of 20 checks passed
@Ardnived
Ardnived deleted the feat/atlas-qr-strings branch November 25, 2026 21:04
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Awaiting to Done in SYDevelopers Technical Roadmap Nov 25, 2026

This branch was successfully deployed

No deployments
sahajcloud / SahajCloud-pr-1276 — 4339069f Deployed Nov 25, 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.

feat(translations): the atlas Share view's QR code strings

1 participant