diff --git a/src/components/activities/loginActivity/LoginActivity.tsx b/src/components/activities/loginActivity/LoginActivity.tsx index aafe229c2..83cf39fef 100644 --- a/src/components/activities/loginActivity/LoginActivity.tsx +++ b/src/components/activities/loginActivity/LoginActivity.tsx @@ -56,7 +56,7 @@ const LoginActivity: FC = () => { const error = state.main.authentication.error; return error?.status === 401 ? t("errors.incorrectcredentials") - : error?.message ?? t("errors.somethingwrong"); + : t(error?.message ?? "errors.somethingwrong"); }); const status = useAppSelector( diff --git a/src/resources/i18n/en.json b/src/resources/i18n/en.json index bfdba9d71..eb1f69cea 100644 --- a/src/resources/i18n/en.json +++ b/src/resources/i18n/en.json @@ -898,6 +898,9 @@ "sql": { "theselecteditemisstillusedsomewhere": { "msg": "The selected item is still used somewhere." + }, + "problemsoccurredwithserverconnection": { + "msg": "Problems occurred with server connection." } }, "userbrowser": {