Fix i18n issue

This commit is contained in:
Gucheng Wang
2023-03-18 20:42:02 +08:00
parent ed9ceaefe1
commit 2bc4cd9337
12 changed files with 5 additions and 14 deletions

View File

@ -139,7 +139,7 @@ class AuthCallback extends React.Component {
window.location.href = newUrl.toString();
}
} else {
Setting.showMessage("error", `Failed to log in: ${res.msg}`);
Setting.showMessage("error", `${i18next.t("application:Failed to sign in")}: ${res.msg}`);
}
});
return;