Skip to content

Commit

Permalink
Update missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
lubej committed Oct 3, 2023
1 parent 1406529 commit 7e6ec9c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const DerivationFormatter = (props: DerivationFormatterProps) => {
const { t } = useTranslation()
const walletTypes: { [type in WalletType]: string } = {
[WalletType.UsbLedger]: t('toolbar.wallets.type.usbLedger', 'USB Ledger'),
[WalletType.BleLedger]: t('toolbar.wallets.type.bluetoothLedger', 'Bluetooth Ledger'),
[WalletType.BleLedger]: t('toolbar.wallets.type.bluetoothLedger', 'BLE Ledger'),
[WalletType.Mnemonic]: t('toolbar.wallets.type.mnemonic', 'Mnemonic'),
[WalletType.PrivateKey]: t('toolbar.wallets.type.privateKey', 'Private key'),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function ListBleLedgerDevicesModal(props: ListBleLedgerDevicesModalProps)
return (
<ResponsiveLayer onEsc={props.abort} onClickOutside={props.abort} modal background="background-front">
<Box width="800px" pad="medium">
<ModalHeader>Select Ledger device</ModalHeader>
<ModalHeader>{t('openWallet.importAccounts.selectLedgerDevice', 'Select Ledger device')}</ModalHeader>

<Box style={{ minHeight: '525px' }}>
<DevicesSelector devices={bleDevices} />
Expand All @@ -97,7 +97,9 @@ export function ListBleLedgerDevicesModal(props: ListBleLedgerDevicesModalProps)
{![ImportAccountsStep.LoadingBleDevices].includes(step) && !bleDevices.length && (
<Box direction="row" gap="medium" alignContent="center" pad={{ top: 'small' }}>
<Box alignSelf="center">
<Text size="xlarge">No BLE devices found</Text>
<Text size="xlarge">
{t('openWallet.importAccounts.NoBLEDevicesFound', 'No Bluetooth devices found')}
</Text>
</Box>
</Box>
)}
Expand Down
4 changes: 3 additions & 1 deletion src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@
},
"header": "How do you want to open your wallet?",
"importAccounts": {
"NoBLEDevicesFound": "No Bluetooth devices found",
"accountCounter": "{{count}} accounts selected",
"accountCounter_one": "One account selected",
"accountCounter_plural": "{{count}} accounts selected",
Expand All @@ -251,6 +252,7 @@
"pageNumber": "Page {{pageNum}} of {{totalPages}}",
"prev": "Prev",
"selectDevice": "Select device",
"selectLedgerDevice": "Select Ledger device",
"selectWallets": "Select accounts to open",
"usbLedger": "USB Ledger"
},
Expand Down Expand Up @@ -445,7 +447,7 @@
"wallets": {
"select": "Select",
"type": {
"bluetoothLedger": "Bluetooth Ledger",
"bluetoothLedger": "BLE Ledger",
"mnemonic": "Mnemonic",
"privateKey": "Private key",
"usbLedger": "USB Ledger"
Expand Down

0 comments on commit 7e6ec9c

Please sign in to comment.