Repository navigation
US English in the library's visible copy, at the source - #33
Merged
Merged
Conversation
The palettes, style boards, type pairings, element catalog and demos are rendered by superherotech.ai (/elements/, /styles/, /colours/, /type/), the portal's brand guide and the console's client page. They were written in UK English, and the site patched some of it per page with a local usText(). Fixing it here ends that helper and lets the portal and console re-adopt US copy by hash. Spelling: color, flavor, gray, center, labeled, honor, neighbor, somber, jewelry, tire, karat, advisor, glamor, inquiries. Vocabulary, where the UK word misleads a US reader: row house, childcare and preschool, real estate agents, vacation rentals, accounting, toy stores, bookstores, scallions, mashed potatoes, homey (a US "homely" means plain). Unchanged on purpose: every identifier and data key (the board's `colour` field, type's `licence`/`licenceUrl`/LICENCE, the `--inc-centre-bg` custom property a client's CSS sets, `aria-labelledby`), code comments, and café. New body hashes printed by the checks (portal and console re-adopt these): styles 046176ba89eab9a55de44517432fbf29fbd6af03f61191d6211426c15334bfa5 type 7fcb2d99e21760a92ccbefdc688c3930a8f95c6d393344e4abf3bf567dd0e3ec palettes 11779df1e0d00751c49c10158a5c8c1b605dcb9e1ab95537c018a56e87d16067 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.
The palettes, style boards, type pairings, element catalog and demos render on superherotech.ai (
/elements/,/styles/,/colours/,/type/), in the portal's brand guide and on the console's client page. They were written in UK English. The site patched some of it per page with a localusText(), and/elements/not at all.This fixes the words at the source, so every consumer renders US English and the per-page helper can go.
Spelling: color, flavor, gray, center, labeled, honor, neighbor, somber, jewelry, tire, karat, advisor, glamor, inquiries, forced-colors.
Vocabulary, where the UK word misleads a US reader: row house, childcare and preschool, real estate agents, vacation rentals, accounting, toy stores, bookstores, scallions, mashed potatoes, homey.
Unchanged on purpose
colourfield, type'slicence/licenceUrl/LICENCE, the--inc-centre-bgcustom property a client's CSS sets,aria-labelledby.public/demo/icon-data.json.New body hashes (printed by
npm run check; the portal and console re-adopt these):046176ba89eab9a55de44517432fbf29fbd6af03f61191d6211426c15334bfa57fcb2d99e21760a92ccbefdc688c3930a8f95c6d393344e4abf3bf567dd0e3ec11779df1e0d00751c49c10158a5c8c1b605dcb9e1ab95537c018a56e87d16067Merge order: this first, then Website, then SuperheroPortal, then SuperheroAdmin. The site's Pages build pulls this repo's
main, and the site PR removes its helper.npm ci && npm run checkpasses.🤖 Generated with Claude Code