From 0c1fd4d30b23fbc9390e807c4fef000ad984a67c Mon Sep 17 00:00:00 2001 From: David Lechner Date: Tue, 20 Dec 2022 12:15:03 -0600 Subject: [PATCH] firmware/dfuWindowsDriverInstallDialog: add Back button translation --- .../DfuWindowsDriverInstallDialog.tsx | 9 +++++++++ .../dfuWindowsDriverInstallDialog/translations/en.json | 3 +++ 2 files changed, 12 insertions(+) diff --git a/src/firmware/dfuWindowsDriverInstallDialog/DfuWindowsDriverInstallDialog.tsx b/src/firmware/dfuWindowsDriverInstallDialog/DfuWindowsDriverInstallDialog.tsx index 9552f737..5ab158fd 100644 --- a/src/firmware/dfuWindowsDriverInstallDialog/DfuWindowsDriverInstallDialog.tsx +++ b/src/firmware/dfuWindowsDriverInstallDialog/DfuWindowsDriverInstallDialog.tsx @@ -367,46 +367,55 @@ const DfuWindowsDriverInstallDialog: React.VoidFunctionComponent = () => { } + backButtonProps={{ text: i18n.translate('backButton.label') }} nextButtonProps={{ text: i18n.translate('nextButton.label') }} /> } + backButtonProps={{ text: i18n.translate('backButton.label') }} nextButtonProps={{ text: i18n.translate('nextButton.label') }} /> } + backButtonProps={{ text: i18n.translate('backButton.label') }} nextButtonProps={{ text: i18n.translate('nextButton.label') }} /> } + backButtonProps={{ text: i18n.translate('backButton.label') }} nextButtonProps={{ text: i18n.translate('nextButton.label') }} /> } + backButtonProps={{ text: i18n.translate('backButton.label') }} nextButtonProps={{ text: i18n.translate('nextButton.label') }} /> } + backButtonProps={{ text: i18n.translate('backButton.label') }} nextButtonProps={{ text: i18n.translate('nextButton.label') }} /> } + backButtonProps={{ text: i18n.translate('backButton.label') }} nextButtonProps={{ text: i18n.translate('nextButton.label') }} /> } + backButtonProps={{ text: i18n.translate('backButton.label') }} nextButtonProps={{ text: i18n.translate('nextButton.label') }} /> } + backButtonProps={{ text: i18n.translate('backButton.label') }} nextButtonProps={{ text: i18n.translate('nextButton.label') }} /> diff --git a/src/firmware/dfuWindowsDriverInstallDialog/translations/en.json b/src/firmware/dfuWindowsDriverInstallDialog/translations/en.json index 5e358435..0f152692 100644 --- a/src/firmware/dfuWindowsDriverInstallDialog/translations/en.json +++ b/src/firmware/dfuWindowsDriverInstallDialog/translations/en.json @@ -1,5 +1,8 @@ { "title": "Windows DFU USB driver installation instructions", + "backButton": { + "label": "Back" + }, "nextButton": { "label": "Next" },