Skip to content

fix(i18n): quote yes/no keys in the English locale - #1135

Open
raulriera wants to merge 1 commit into
masterfrom
fix/en-yes-no-keys
Open

fix(i18n): quote yes/no keys in the English locale#1135
raulriera wants to merge 1 commit into
masterfrom
fix/en-yes-no-keys

Conversation

@raulriera

Copy link
Copy Markdown
Member

Summary

  • Unquoted yes:/no: in en.yml parse as YAML 1.1 booleans, so the English locale stored keys true/false and t(:yes)/t(:no) showed "translation missing" on the Stripe Connect status page (es/pt already quote them)
  • Adds a locale regression test asserting both keys exist in en, es and pt

Test plan

  • Red test shows :yes missing in :en
  • Green after quoting
  • Full suite passes (523 runs, 0 failures)

Unquoted yes:/no: parse as YAML 1.1 booleans, so English stored the
keys true/false and t(:yes)/t(:no) rendered 'translation missing' on
the Stripe Connect status page. Spanish and Portuguese already quote
them. Adds a locale regression test covering all three languages.
@github-actions github-actions Bot added the fix A bug has been resolved label Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug has been resolved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant