Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(suite): fix copy in xpub modal #13217

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/suite-data/files/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1484,6 +1484,7 @@
"TR_QR_CODE": "QR code",
"TR_QR_RECEIVE_ADDRESS_CONFIRM": "Confirm on Trezor before scanning",
"TR_QR_RECEIVE_ADDRESS_CONFIRM_EXPLANATION": "Please confirm the receiving address on your Trezor device first, as its trusted display can't be hacked.",
"TR_QR_PUBLIC_KEY_CONFIRM_EXPLANATION": "Please confirm the public key (XPUB) on your Trezor device first, as its trusted display can't be hacked.",
"TR_RANDOM_SEED_WORDS_DISCLAIMER": "You may be asked to type some words that aren't part of your wallet backup",
"TR_RANGE": "range",
"TR_RBF_STATUS": "Status",
Expand Down
4 changes: 1 addition & 3 deletions packages/suite/src/components/suite/QrCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ export const QrCode = ({ value, className, bgColor, fgColor, showMessage }: QrCo
<SpanToResetWhitespace>
<Translation id="TR_QR_RECEIVE_ADDRESS_CONFIRM" />
</SpanToResetWhitespace>
<StyledTooltip
content={<Translation id="TR_QR_RECEIVE_ADDRESS_CONFIRM_EXPLANATION" />}
>
<StyledTooltip content={<Translation id="TR_QR_PUBLIC_KEY_CONFIRM_EXPLANATION" />}>
<StyledIcon icon="INFO" size={12} color={fgColor || colors.TYPE_DARK_GREY} />
</StyledTooltip>
</Message>
Expand Down
6 changes: 3 additions & 3 deletions packages/suite/src/support/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5710,10 +5710,10 @@ export default defineMessages({
id: 'TR_QR_RECEIVE_ADDRESS_CONFIRM',
defaultMessage: 'Confirm on Trezor before scanning',
},
TR_QR_RECEIVE_ADDRESS_CONFIRM_EXPLANATION: {
id: 'TR_QR_RECEIVE_ADDRESS_CONFIRM_EXPLANATION',
TR_QR_PUBLIC_KEY_CONFIRM_EXPLANATION: {
id: 'TR_QR_PUBLIC_KEY_CONFIRM_EXPLANATION',
defaultMessage:
"Please confirm the receiving address on your Trezor device first, as its trusted display can't be hacked.",
"Please confirm the public key (XPUB) on your Trezor device first, as its trusted display can't be hacked.",
},
TR_MY_ASSETS: {
id: 'TR_MY_ASSETS',
Expand Down
Loading