From 1e442b2260aec69447eb263476b858d9ca781d80 Mon Sep 17 00:00:00 2001 From: Emmanuel <63562663+EECvision@users.noreply.github.com> Date: Tue, 12 Apr 2022 14:16:00 +0100 Subject: [PATCH] Fix inconsistent grammar in device sign out modal (#8253) --- src/components/views/settings/DevicesPanel.tsx | 4 +++- src/i18n/strings/en_EN.json | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/views/settings/DevicesPanel.tsx b/src/components/views/settings/DevicesPanel.tsx index 4779c013be..71f9b07e99 100644 --- a/src/components/views/settings/DevicesPanel.tsx +++ b/src/components/views/settings/DevicesPanel.tsx @@ -205,7 +205,9 @@ export default class DevicesPanel extends React.Component { continueKind: "primary", }, [SSOAuthEntry.PHASE_POSTAUTH]: { - title: _t("Confirm signing out these devices"), + title: _t("Confirm signing out these devices", { + count: numDevices, + }), body: _t("Click the button below to confirm signing out these devices.", { count: numDevices, }), diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 9afc3d58c3..6040b4baac 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1226,7 +1226,8 @@ "Unable to load device list": "Unable to load device list", "Confirm logging out these devices by using Single Sign On to prove your identity.|other": "Confirm logging out these devices by using Single Sign On to prove your identity.", "Confirm logging out these devices by using Single Sign On to prove your identity.|one": "Confirm logging out this device by using Single Sign On to prove your identity.", - "Confirm signing out these devices": "Confirm signing out these devices", + "Confirm signing out these devices|other": "Confirm signing out these devices", + "Confirm signing out these devices|one": "Confirm signing out this device", "Click the button below to confirm signing out these devices.|other": "Click the button below to confirm signing out these devices.", "Click the button below to confirm signing out these devices.|one": "Click the button below to confirm signing out this device.", "Sign out devices|other": "Sign out devices",