Skip to content

Commit

Permalink
Make infoBox copy message more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Sep 29, 2022
1 parent 9553534 commit 974ffa0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/Transaction/InfoBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function InfoBox({ copyToClipboard, icon: IconComponent, label, trimValue
<Notification
toast
status={'normal'}
title={t('account.addressCopied', 'Address copied.')}
title={t('infoBox.valueCopied', '{{ label }} copied.', { label })}
onClose={hideNotification}
/>
)}
Expand Down
3 changes: 3 additions & 0 deletions src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@
"header": "Access existing wallet"
}
},
"infoBox": {
"valueCopied": "{{ label }} copied."
},
"ledger": {
"instructionSteps": {
"closeLedgerLive": "Close Ledger Live app on the computer",
Expand Down

0 comments on commit 974ffa0

Please sign in to comment.