Test that each view rendered in French shows no English catalogue value #253
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
spec
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#242 Translate the front with a language provider (English + French)
amaurycoudr/chess-project
Reference
amaurycoudr/chess-project#253
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem Statement
front/no-literal-copycan't see English kept in plain tables and constants. After #251, such English would still show in French.Solution
A test that renders each view in French and asserts that no English catalogue value (
apps/front/messages/en.json) appears. Cost judged negligible (~100–300 ms).Implementation Decisions
SITE_NAME("Chess"),LANGUAGE_NAMES("English"), SAN or Room codes.Not planned: see the reasoning on #313. If the gap matters later, a lint extension flagging letter-bearing string literals in module-level constants of
.tsxfiles would cover it statically, in a dedicated rules PR.mentioned in issue #242
marked this issue as related to #242