Skip to content

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

Open
J8118 wants to merge 1 commit intoShopify:mainfrom
J8118:fix/makerts-typo-markets-setup
Open

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

Conversation

@J8118
Copy link
Copy Markdown

@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
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.

1 participant