diff --git a/src/Controllers/HomeController.cs b/src/Controllers/HomeController.cs
index 6b0647f..6b8645e 100644
--- a/src/Controllers/HomeController.cs
+++ b/src/Controllers/HomeController.cs
@@ -129,14 +129,14 @@ public class HomeController : Controller
switch (authenticationResult.AuthenticationState)
{
case UserNotAuthenticatedReason.InvalidCredentials:
- return View(new LoginViewModel() { ErrorText = "Invalid login credentials" }); // TODO add localization (e.g. T["Invalid login credentials"]; see: https://learn.microsoft.com/de-de/dotnet/core/extensions/localization)
+ return View(new LoginViewModel() { ErrorText = "Invalid login credentials" });
case UserNotAuthenticatedReason.UserLockedOut:
- return View(new LoginViewModel() { ErrorText = "Your account has been locked. Wait a few minutes or ask an administrator to unlock you" }); // TODO add localization (e.g. T["Invalid login credentials"]; see: https://learn.microsoft.com/de-de/dotnet/core/extensions/localization)
+ return View(new LoginViewModel() { ErrorText = "Your account has been locked. Wait a few minutes or ask an administrator to unlock you" });
case UserNotAuthenticatedReason.UserNotAuthorized:
- return View(new LoginViewModel() { ErrorText = "You are not authorized for login. Ask an administrator to authorize you." }); // TODO add localization (e.g. T["Invalid login credentials"]; see: https://learn.microsoft.com/de-de/dotnet/core/extensions/localization)
+ return View(new LoginViewModel() { ErrorText = "You are not authorized for login. Ask an administrator to authorize you." });
default:
await HttpContext.RaiseError(new HellFrozeOverException());
- return View(new LoginViewModel() { ErrorText = "Hell froze over. Make a screenshot and send it to an administrator." }); // TODO add localization (e.g. T["Invalid login credentials"]; see: https://learn.microsoft.com/de-de/dotnet/core/extensions/localization)
+ return View(new LoginViewModel() { ErrorText = "Hell froze over. Make a screenshot and send it to an administrator." });
}
}
diff --git a/src/Resources/Views.Home.Login.de.resx b/src/Resources/Views.Home.Login.de.resx
index 22edd86..d010f49 100644
--- a/src/Resources/Views.Home.Login.de.resx
+++ b/src/Resources/Views.Home.Login.de.resx
@@ -25,4 +25,16 @@