Repository navigation
B1.5: guard against literals outside the locale files - #23
Merged
Merged
Conversation
Show the support, limitation and data-handling sentences in Arabic on the availability gate, the data-handling notice and the Limitations page. English stays in the registry, which is the release record, and Arabic lives in locales/registry.ar.ts. Release state and privacy class are still read only from the registry. Tests cover every tool, the same figures as the English record, no blanket local-only promise in Arabic, and unchanged English output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add src/i18n/literals.test.ts, which fails on visible text in JSX, on user-facing attributes, and on message and label fields. Move the strings it found to the catalogs: file-size labels, editor load errors, sidebar, crop box, canvas status and the properties heading, which also stops showing "null Settings" when no tool is active. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
B1.5 literal guard:
src/i18n/literals.test.tsfails on visible text outside the locale files (JSX text, user-facing attributes, message and label fields). It uses the TypeScript compiler API, already a dev dependency, so no new package.The strings it found moved to the catalogs. The properties heading no longer shows "null Settings" when no tool is active.
Stacked on #22, so merge that first. The Arabic copy review stays WAITING FOR OWNER.
Validation
🤖 Generated with Claude Code