Skip to content

fix: extra placeholder rename#9306

Merged
gomesalexandre merged 2 commits intodevelopfrom
fix-extra-placeholder-rename
Apr 9, 2025
Merged

fix: extra placeholder rename#9306
gomesalexandre merged 2 commits intodevelopfrom
fix-extra-placeholder-rename

Conversation

@firebomb1
Copy link
Copy Markdown
Contributor

@firebomb1 firebomb1 commented Apr 9, 2025

Description

#9261 renamed the placeholder %{extra} to %{extraPercent} in the English copy (trade.tradeCompleteSurplus) but left the translations with the old placeholder name so non-English user do not see a value but %{extra} instead of the actual value currently when they get this message.

That's one edge case in which updating translations could be done outside of the flow I guess, any element that is not translated but gets changed in English 😅 (placeholders, tags, brands and asset tickers)

Risk

High Risk PRs Require 2 approvals

None. Only translations.

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

None.

Testing

In trade with surplus and using non-English languages the surplus value should be displayed.

Engineering

☝️

Operations

☝️

  • 🏁 My feature is behind a flag and doesn't require operations testing (yet)

@firebomb1 firebomb1 self-assigned this Apr 9, 2025
@firebomb1 firebomb1 requested a review from a team as a code owner April 9, 2025 11:32
Copy link
Copy Markdown
Contributor

@gomesalexandre gomesalexandre left a comment

Choose a reason for hiding this comment

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

LGTM

  • develop
image
  • this diff
image

@gomesalexandre gomesalexandre enabled auto-merge (squash) April 9, 2025 21:11
@gomesalexandre gomesalexandre merged commit bf70efb into develop Apr 9, 2025
3 checks passed
@gomesalexandre gomesalexandre deleted the fix-extra-placeholder-rename branch April 9, 2025 21:20
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