forked from mystiq/hydrogen-web
Internationalize and remove dash
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
2468bc3e9f
commit
9482998b15
1 changed files with 3 additions and 3 deletions
|
@ -48,13 +48,13 @@ export class CompleteSSOLoginViewModel extends ViewModel {
|
||||||
let error = "";
|
let error = "";
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case LoginFailure.Credentials:
|
case LoginFailure.Credentials:
|
||||||
error = `Your login-token is invalid.`;
|
error = this.i18n`Your logintoken is invalid.`;
|
||||||
break;
|
break;
|
||||||
case LoginFailure.Connection:
|
case LoginFailure.Connection:
|
||||||
error = `Can't connect to ${homeserver}.`;
|
error = this.i18n`Can't connect to ${homeserver}.`;
|
||||||
break;
|
break;
|
||||||
case LoginFailure.Unknown:
|
case LoginFailure.Unknown:
|
||||||
error = `Something went wrong while checking your login-token.`;
|
error = this.i18n`Something went wrong while checking your logintoken.`;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (error) {
|
if (error) {
|
||||||
|
|
Loading…
Reference in a new issue