From b2ff6c2aa96d75f8eb9255d328733a48e7285c66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Tue, 13 Nov 2018 15:26:38 +0100 Subject: [PATCH] Add missing translation for connectDevice.desc + wording polish --- .../modals/AddAccounts/steps/02-step-connect-device.js | 6 +++--- static/i18n/en/app.json | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/modals/AddAccounts/steps/02-step-connect-device.js b/src/components/modals/AddAccounts/steps/02-step-connect-device.js index 0531ab3f..3e753d03 100644 --- a/src/components/modals/AddAccounts/steps/02-step-connect-device.js +++ b/src/components/modals/AddAccounts/steps/02-step-connect-device.js @@ -15,6 +15,8 @@ import type { StepProps } from '../index' function StepConnectDevice({ t, currency, device, setAppOpened }: StepProps) { invariant(currency, 'No crypto asset given') + const currencyName = `${currency.name} (${currency.ticker})` + return ( @@ -23,9 +25,7 @@ function StepConnectDevice({ t, currency, device, setAppOpened }: StepProps) { {`Follow the steps below to add `} - {`${currency.name} (${ - currency.ticker - })`} + {currencyName} {` accounts from your Ledger device.`} diff --git a/static/i18n/en/app.json b/static/i18n/en/app.json index d6dc3f3b..c427b6d8 100644 --- a/static/i18n/en/app.json +++ b/static/i18n/en/app.json @@ -186,6 +186,9 @@ "import": "Accounts", "finish": "Confirmation" }, + "connectDevice": { + "desc": "Follow the steps below to add <1><0>{{currencyName}} accounts" + }, "accountAlreadyImportedSubtitle": "Accounts already in portfolio ({{count}})", "accountToImportSubtitle": "Add existing account", "accountToImportSubtitle_plural": "Add existing accounts",