From 879b4e15e56aa54e621c069282e19162e9631578 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 9 Apr 2020 16:18:12 -0600 Subject: [PATCH] Use singular text on 'delete sessions' button for SSO Missed in https://github.com/matrix-org/matrix-react-sdk/pull/4357 Not a release blocker at this time. --- src/components/views/settings/DevicesPanel.js | 2 +- src/i18n/strings/en_EN.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/views/settings/DevicesPanel.js b/src/components/views/settings/DevicesPanel.js index e097ef9e47..fe4a4abfdc 100644 --- a/src/components/views/settings/DevicesPanel.js +++ b/src/components/views/settings/DevicesPanel.js @@ -139,7 +139,7 @@ export default class DevicesPanel extends React.Component { body: _t("Click the button below to confirm deleting these sessions.", { count: numDevices, }), - continueText: _t("Delete sessions"), + continueText: _t("Delete sessions", {count: numDevices}), continueKind: "danger", }, }; diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 067d5d8eee..ae8ed90402 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -618,7 +618,8 @@ "Confirm deleting these sessions": "Confirm deleting these sessions", "Click the button below to confirm deleting these sessions.|other": "Click the button below to confirm deleting these sessions.", "Click the button below to confirm deleting these sessions.|one": "Click the button below to confirm deleting this session.", - "Delete sessions": "Delete sessions", + "Delete sessions|other": "Delete sessions", + "Delete sessions|one": "Delete session", "Authentication": "Authentication", "Delete %(count)s sessions|other": "Delete %(count)s sessions", "Delete %(count)s sessions|one": "Delete %(count)s session",