Skip to content

Fix "Makerts" typo and use toLowerCase in markets setup message#3695

Merged
fredericoo merged 1 commit intoShopify:mainfrom
J8118:fix/makerts-typo-markets-setup
Apr 15, 2026
Merged

Fix "Makerts" typo and use toLowerCase in markets setup message#3695
fredericoo merged 1 commit intoShopify:mainfrom
J8118:fix/makerts-typo-markets-setup

Conversation

@J8118
Copy link
Copy Markdown
Contributor

@J8118 J8118 commented Apr 10, 2026

Summary

Two issues in setup/markets.ts line 68-70:

  1. "Makerts" typo — should be "Markets" in the success message
  2. .toLocaleLowerCase() — uses system locale for case conversion, which can produce wrong results on non-English systems (e.g., Turkish locale converts I to ı instead of i). Since these are technical strategy names, .toLowerCase() is correct.

File changed:

  • packages/cli/src/commands/hydrogen/setup/markets.ts (lines 68-70)

Before:

headline: `Makerts support setup complete with strategy ${I18N_STRATEGY_NAME_MAP[
  strategy
].toLocaleLowerCase()}.`,

After:

headline: `Markets support setup complete with strategy ${I18N_STRATEGY_NAME_MAP[
  strategy
].toLowerCase()}.`,

Fix "Makerts" to "Markets" in the success headline. Also change
toLocaleLowerCase() to toLowerCase() since strategy names are
technical identifiers that should not be affected by system locale.
@J8118 J8118 requested a review from a team as a code owner April 10, 2026 09:17
Copy link
Copy Markdown
Contributor

@fredericoo fredericoo left a comment

Choose a reason for hiding this comment

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

LGTM - "Makerts" -> "Markets" in the user-facing CLI message. clear typo fix.

@fredericoo fredericoo merged commit 1040066 into Shopify:main Apr 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants