Skip to content

Commit

Permalink
refactor: improve literals
Browse files Browse the repository at this point in the history
  • Loading branch information
cpl121 committed Oct 11, 2023
1 parent 13b1672 commit f2ed857
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions packages/desktop/components/modals/AccountActionsMenu.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
})
showAppNotification({
type: 'info',
message: localize('views.generateNewLedgerAddress.confirmedBody'),
message: localize('general.verifyLedgerDepositAddress'),
})
}
} catch (err) {
Expand Down Expand Up @@ -67,7 +67,11 @@
<account-actions-menu class="flex flex-col">
<MenuItem icon={Icon.Doc} title={localize('actions.viewBalanceBreakdown')} onClick={onViewBalanceClick} />
{#if $isActiveLedgerProfile}
<MenuItem icon={Icon.Ledger} title={localize('actions.verifyAddress')} onClick={onVerifyAddressClick} />
<MenuItem
icon={Icon.Ledger}
title={localize('actions.verifyDepositAddress')}
onClick={onVerifyAddressClick}
/>
{/if}
<MenuItem icon={Icon.Customize} title={localize('actions.customizeAcount')} onClick={onCustomiseAccountClick} />
<ToggleHiddenAccountMenuItem onClick={modal?.close} />
Expand Down
5 changes: 3 additions & 2 deletions packages/shared/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@
"viewDownloads" : "View downloads",
"viewStatus": "View status",
"viewBalanceBreakdown": "View balance breakdown",
"verifyAddress": "Verify address",
"verifyDepositAddress": "Verify deposit address",
"showHiddenAccounts": "Show hidden wallets",
"confirm": "Confirm",
"hideNetworkStatistics": "Hide network statistics",
Expand Down Expand Up @@ -1665,7 +1665,8 @@
"jwt": "JSON web token",
"internalTransaction": "Internal transaction",
"coinType":"Coin type",
"custom": "Custom"
"custom": "Custom",
"verifyLedgerDepositAddress": "Please check the ledger device and verify that the deposit address matches the one displayed on the ledger device"
},
"filters":{
"title": "Filters",
Expand Down

0 comments on commit f2ed857

Please sign in to comment.