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: 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.",

View file

@ -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: <div>
{_t("Go to the browser to complete login")}
<Spinner />
</div>,
title: _t("Go to your browser to complete Sign In"),
description: <Spinner />,
});
}
}