mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-27 20:18:40 +00:00
Fix instances of double translation and guard translation calls using typescript (#11443)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d13b6e1b41
commit
ac70f7ac9b
+1
-2
@@ -305,8 +305,7 @@ export function attemptTokenLogin(
|
||||
logger.warn("Cannot log in with token: can't determine HS URL to use");
|
||||
onFailedDelegatedAuthLogin(
|
||||
_t(
|
||||
"We asked the browser to remember which homeserver you use to let you sign in, " +
|
||||
"but unfortunately your browser has forgotten it. Go to the sign in page and try again.",
|
||||
"We asked the browser to remember which homeserver you use to let you sign in, but unfortunately your browser has forgotten it. Go to the sign in page and try again.",
|
||||
),
|
||||
);
|
||||
return Promise.resolve(false);
|
||||
|
||||
Reference in New Issue
Block a user