From 9482998b15c0533abb636541a9e0f49ba0811c83 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 20 Aug 2021 19:08:47 +0530 Subject: [PATCH] Internationalize and remove dash Signed-off-by: RMidhunSuresh --- src/domain/login/CompleteSSOLoginViewModel.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/domain/login/CompleteSSOLoginViewModel.js b/src/domain/login/CompleteSSOLoginViewModel.js index 9434f84a..2ec2f371 100644 --- a/src/domain/login/CompleteSSOLoginViewModel.js +++ b/src/domain/login/CompleteSSOLoginViewModel.js @@ -48,13 +48,13 @@ export class CompleteSSOLoginViewModel extends ViewModel { let error = ""; switch (status) { case LoginFailure.Credentials: - error = `Your login-token is invalid.`; + error = this.i18n`Your logintoken is invalid.`; break; case LoginFailure.Connection: - error = `Can't connect to ${homeserver}.`; + error = this.i18n`Can't connect to ${homeserver}.`; break; case LoginFailure.Unknown: - error = `Something went wrong while checking your login-token.`; + error = this.i18n`Something went wrong while checking your logintoken.`; break; } if (error) {