Skip to content

[feat] i18n: route remaining 33 hardcoded strings through useTranslator() - #4011

Merged
nynexman4464 merged 1 commit into
mainfrom
nynexman4464/feat/i18n-remaining-fixes
Jul 17, 2026
Merged

nynexman4464 merged 1 commit into
mainfrom
nynexman4464/feat/i18n-remaining-fixes

Conversation

@nynexman4464

@nynexman4464 nynexman4464 commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #3941. Routes the last 33 hardcoded English strings through useTranslator(), completing the string coverage for the i18n scaffold work in the #3641 series.

30 new catalog entries added to packages/core/locales/en.json. All migrations use the standard alias-and-resolve pattern for prop defaults, or t() calls for JSX attribute and config-property cases.

One user-visible change

Placeholders that used ... (three ASCII dots) are normalized to … (Unicode ellipsis, U+2026) in the shipped en.json catalog. This is a typography normalization consistent with the ellipsis characters already used in previously-migrated PowerSearch / MultiSelector strings. Consumers who snapshot-test on the exact three-dot form will see a diff; consumers passing an explicit placeholder prop are unaffected. One existing test updated to match (CommandPaletteInput.test.tsx).

Testing

  • 4,592 core tests pass (204 files).
  • pnpm -F @astryxdesign/core lint: clean.
  • pnpm -F @astryxdesign/core typecheck: clean.

Refs #3641, builds on #3941. A separate PR follows with the ESLint rule that caught these violations.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 15, 2026
@vercel

vercel Bot commented Jul 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
astryx Ready Ready Preview, Comment Jul 17, 2026 8:27pm

Request Review

@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-remaining-fixes branch from 3598cf6 to 936197e Compare July 15, 2026 17:25
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-rest branch from 4c1934a to b5fdbf7 Compare July 15, 2026 18:19
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-remaining-fixes branch from 936197e to 9630886 Compare July 15, 2026 18:19
@nynexman4464
nynexman4464 marked this pull request as ready for review July 15, 2026 18:35
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-rest branch from b5fdbf7 to 6ece8eb Compare July 15, 2026 18:48
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-remaining-fixes branch from 9630886 to 6f31894 Compare July 15, 2026 18:48
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-rest branch from 6ece8eb to 5f1da52 Compare July 15, 2026 19:43
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-remaining-fixes branch from 6f31894 to e2791bf Compare July 15, 2026 19:43
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-rest branch from 5f1da52 to ac3ee1f Compare July 15, 2026 20:12
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-remaining-fixes branch from e2791bf to 74ff041 Compare July 15, 2026 20:12
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-rest branch from ac3ee1f to e3022a5 Compare July 15, 2026 22:51
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-remaining-fixes branch from 74ff041 to b91aed4 Compare July 15, 2026 22:51
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-rest branch from e3022a5 to 8d01d60 Compare July 17, 2026 16:26
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-remaining-fixes branch from b91aed4 to 1f1fa76 Compare July 17, 2026 16:26
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-rest branch from 8d01d60 to 22b5f1a Compare July 17, 2026 17:54
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-remaining-fixes branch from 1f1fa76 to bd1f0b2 Compare July 17, 2026 17:54
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-rest branch 2 times, most recently from 4f16c5e to a8d0b79 Compare July 17, 2026 20:02
Completes the string coverage for the i18n scaffold work in the #3641
series. 30 new catalog entries added to packages/core/locales/en.json.
The lint rule that caught these violations lands in a separate PR.

Files migrated: Breadcrumbs, Chat (Composer/ComposerDrawer/
ComposerInput/useSpeechRecognition), CommandPalette (root/input/list),
ContextMenu, DateInput, DateRangeInput, DateTimeInput, Link,
MobileNavToggle, MoreMenu, MultiSelector (trigger placeholder),
Outline, PowerSearch (label/placeholder/apply defaults that #3922
missed), Resizable/ResizeHandle, Selector (trigger placeholder),
SideNavHeading (nav-menu dialog), Table pagination plugin, TimeInput,
TopNavHeading (nav-menu dialog), Typeahead.

Placeholders that used '...' (three ASCII dots) are normalized to '…'
(Unicode ellipsis) in the shipped en.json catalog — a small
typography normalization consistent with existing ellipsis characters
in previously-migrated strings.

Refs #3641, builds on #3941
@nynexman4464
nynexman4464 force-pushed the nynexman4464/feat/i18n-remaining-fixes branch from bd1f0b2 to 3396467 Compare July 17, 2026 20:24
@nynexman4464
nynexman4464 changed the base branch from nynexman4464/feat/i18n-rest to main July 17, 2026 20:24
github-actions Bot added a commit that referenced this pull request Jul 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

🧪 Sandbox Preview

View Sandbox for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

No new or modified components detected.

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@astryxdesign/core N/A 4.7KB 0B

Accessibility Audit

Status: No accessibility violations detected.


Generated by PR Enrichment workflow | Storybook | Sandbox | View full report

@nynexman4464
nynexman4464 merged commit 50723f3 into main Jul 17, 2026
19 checks passed
@github-actions
github-actions Bot deleted the nynexman4464/feat/i18n-remaining-fixes branch July 18, 2026 06:42

This branch was successfully deployed

1 active deployment
Preview — 33964673 Deployed Jul 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant