From 09ed0e781ab0609e138eca17a5448d14c3fe1b68 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 2 Mar 2020 20:04:31 +0000 Subject: [PATCH] Update copy for SSO modal --- src/i18n/strings/en_EN.json | 3 +-- src/vector/platform/ElectronPlatform.js | 7 ++----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 635374d24..36f19a75a 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -7,8 +7,7 @@ "Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.": "Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.", "Invalid configuration: no default server specified.": "Invalid configuration: no default server specified.", "Riot Desktop on %(platformName)s": "Riot Desktop on %(platformName)s", - "Single sign-on": "Single sign-on", - "Go to the browser to complete login": "Go to the browser to complete login", + "Go to your browser to complete Sign In": "Go to your browser to complete Sign In", "Unknown device": "Unknown device", "%(appName)s via %(browserName)s on %(osName)s": "%(appName)s via %(browserName)s on %(osName)s", "You need to be using HTTPS to place a screen-sharing call.": "You need to be using HTTPS to place a screen-sharing call.", diff --git a/src/vector/platform/ElectronPlatform.js b/src/vector/platform/ElectronPlatform.js index 6662b4bc7..0d644aa42 100644 --- a/src/vector/platform/ElectronPlatform.js +++ b/src/vector/platform/ElectronPlatform.js @@ -408,11 +408,8 @@ export default class ElectronPlatform extends VectorBasePlatform { startSingleSignOn(mxClient: MatrixClient, loginType: "sso" | "cas") { super.startSingleSignOn(mxClient, loginType); // this will get intercepted by electron-main will-navigate Modal.createTrackedDialog('Electron', 'SSO', InfoDialog, { - title: _t("Single sign-on"), - description:
- {_t("Go to the browser to complete login")} - -
, + title: _t("Go to your browser to complete Sign In"), + description: , }); } }