Split logintoken into two words

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-08-23 15:06:16 +05:30
parent 04806a1425
commit 84fd286140

View file

@ -55,13 +55,13 @@ export class CompleteSSOLoginViewModel extends ViewModel {
let error = ""; let error = "";
switch (status) { switch (status) {
case LoginFailure.Credentials: case LoginFailure.Credentials:
error = this.i18n`Your logintoken is invalid.`; error = this.i18n`Your login token is invalid.`;
break; break;
case LoginFailure.Connection: case LoginFailure.Connection:
error = this.i18n`Can't connect to ${homeserver}.`; error = this.i18n`Can't connect to ${homeserver}.`;
break; break;
case LoginFailure.Unknown: case LoginFailure.Unknown:
error = this.i18n`Something went wrong while checking your logintoken.`; error = this.i18n`Something went wrong while checking your login token.`;
break; break;
} }
if (error) { if (error) {