Update copy for SSO modal

This commit is contained in:
Michael Telatynski 2020-03-02 20:04:31 +00:00
parent 178c61dbf7
commit 09ed0e781a
2 changed files with 3 additions and 7 deletions

View File

@ -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: 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.", "Invalid configuration: no default server specified.": "Invalid configuration: no default server specified.",
"Riot Desktop on %(platformName)s": "Riot Desktop on %(platformName)s", "Riot Desktop on %(platformName)s": "Riot Desktop on %(platformName)s",
"Single sign-on": "Single sign-on", "Go to your browser to complete Sign In": "Go to your browser to complete Sign In",
"Go to the browser to complete login": "Go to the browser to complete login",
"Unknown device": "Unknown device", "Unknown device": "Unknown device",
"%(appName)s via %(browserName)s on %(osName)s": "%(appName)s via %(browserName)s on %(osName)s", "%(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.", "You need to be using HTTPS to place a screen-sharing call.": "You need to be using HTTPS to place a screen-sharing call.",

View File

@ -408,11 +408,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
startSingleSignOn(mxClient: MatrixClient, loginType: "sso" | "cas") { startSingleSignOn(mxClient: MatrixClient, loginType: "sso" | "cas") {
super.startSingleSignOn(mxClient, loginType); // this will get intercepted by electron-main will-navigate super.startSingleSignOn(mxClient, loginType); // this will get intercepted by electron-main will-navigate
Modal.createTrackedDialog('Electron', 'SSO', InfoDialog, { Modal.createTrackedDialog('Electron', 'SSO', InfoDialog, {
title: _t("Single sign-on"), title: _t("Go to your browser to complete Sign In"),
description: <div> description: <Spinner />,
{_t("Go to the browser to complete login")}
<Spinner />
</div>,
}); });
} }
} }