Skip to content

fix(i18n): dedupe funds.amount_range, align zh/tr placeholders, theme token - #23

Merged
Panelica merged 1 commit into
Panelica:mainfrom
hedon77:fix/core-test-fixes
Sep 2, 2026
Merged

fix(i18n): dedupe funds.amount_range, align zh/tr placeholders, theme token#23
Panelica merged 1 commit into
Panelica:mainfrom
hedon77:fix/core-test-fixes

Conversation

@hedon77

@hedon77 hedon77 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

What

  • Remove the dead nested \ unds.amount_range\ copy (the flat \ unds.amount_range\ with :min/:max\ is authoritative) in en/pl/tr/zh.
  • Align zh/tr flat \ unds.amount_range\ to use :min/:max\ placeholders.
  • Replace hardcoded \�ackground:#fff\ on the Stripe card element with \�ar(--bg).

Why

Fixes the translation duplicate-key and Simplified Chinese parity failures, plus the client theme-token audit.

@hedon77

hedon77 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Review — ready to merge

Independent i18n/theme fix: dedupes \ unds.amount_range, aligns zh/tr placeholders, uses \�ar(--bg)\ on the Stripe element.

Sugestia: można mergować niezależnie.

@Panelica

Panelica commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Thank you for the i18n/theme cleanup. We just merged the first clean batch into main: #16 (client delete), #24 (invoice number display), #13 (Tpay), #22 (addon settings framework) and #14 (tax rewrite). This small fix now conflicts with main because the client language files and the invoice view moved under the merged PRs. A quick rebase on the updated main and it's ready. Appreciated.

@hedon77
hedon77 force-pushed the fix/core-test-fixes branch from 49afc49 to fdf9020 Compare September 1, 2026 19:39
@hedon77

hedon77 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

*Zrebasowane na aktualny \main* — gałąź merguje się teraz czysto, konflikt zniesiony. Gotowe do merga.

@Panelica
Panelica merged commit c7e82a2 into Panelica:main Sep 2, 2026
1 check passed
Panelica pushed a commit that referenced this pull request Sep 3, 2026
The zh files had drifted from English after several merges (#9, #14, #17, #21,
#23): same keys, but flattened/reordered, so the zh structure test failed.
Rebuild admin/client/common/messages to English's exact nesting and order,
keeping every existing Chinese translation. Also fix funds.amount_range, which
carried :min/:max placeholders English does not pass, so it rendered the raw
tokens; it now matches the English static form.
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.

2 participants