Skip to content

Commit

Permalink
Rephrase WebUSB not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
lubej committed May 8, 2024
1 parent 0d68feb commit 8469e39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/components/ErrorFormatter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function ErrorFormatter(props: Props) {
[WalletErrors.NoOpenWallet]: t('errors.noOpenWallet', 'No wallet opened'),
[WalletErrors.USBTransportNotSupported]: t(
'errors.usbTransportNotSupported',
'Your browser does not support WebUSB (e.g. Firefox). Try using Chrome.',
'Current platform does not support WebUSB capability. Try on different platform or browser(preferably Chrome).',
),
[WalletErrors.USBTransportError]: t('errors.usbTransportError', 'USB Transport error: {{message}}.', {
message,
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/OpenWalletPage/Features/FromLedger/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function FromLedger({ webExtensionUSBLedgerAccess }: SelectOpenMethodProp
<Text size="small" textAlign="center">
{t(
'errors.usbTransportNotSupported',
'Your browser does not support WebUSB (e.g. Firefox). Try using Chrome.',
'Current platform does not support WebUSB capability. Try on different platform or browser(preferably Chrome).',
)}
</Text>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"unknownLedgerError": "Unknown ledger error: {{message}}",
"unknownParaTimeError": "Unknown ParaTime error: {{message}}",
"usbTransportError": "USB Transport error: {{message}}.",
"usbTransportNotSupported": "Your browser does not support WebUSB (e.g. Firefox). Try using Chrome."
"usbTransportNotSupported": "Current platform does not support WebUSB capability. Try on different platform or browser(preferably Chrome)."
},
"fatalError": {
"checkStatus": "Check network status",
Expand Down

0 comments on commit 8469e39

Please sign in to comment.