forked from mystiq/hydrogen-web
Use generic language in session load status
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
3fa955e594
commit
683d2c21eb
1 changed files with 3 additions and 3 deletions
|
@ -114,15 +114,15 @@ export class SessionLoadViewModel extends ViewModel {
|
||||||
case LoadStatus.NotLoading:
|
case LoadStatus.NotLoading:
|
||||||
return `Preparing…`;
|
return `Preparing…`;
|
||||||
case LoadStatus.Login:
|
case LoadStatus.Login:
|
||||||
return `Checking your login and password…`;
|
return `Checking your credentials…`;
|
||||||
case LoadStatus.LoginFailed:
|
case LoadStatus.LoginFailed:
|
||||||
switch (sc.loginFailure) {
|
switch (sc.loginFailure) {
|
||||||
case LoginFailure.LoginFailure:
|
case LoginFailure.LoginFailure:
|
||||||
return `Your username and/or password don't seem to be correct.`;
|
return `Your credentials don't seem to be correct.`;
|
||||||
case LoginFailure.Connection:
|
case LoginFailure.Connection:
|
||||||
return `Can't connect to ${this._homeserver}.`;
|
return `Can't connect to ${this._homeserver}.`;
|
||||||
case LoginFailure.Unknown:
|
case LoginFailure.Unknown:
|
||||||
return `Something went wrong while checking your login and password.`;
|
return `Something went wrong while checking your credentials.`;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case LoadStatus.SessionSetup:
|
case LoadStatus.SessionSetup:
|
||||||
|
|
Loading…
Reference in a new issue