From 9ccc4c405988dfbbc2726ce9db9d6e2ee1d26818 Mon Sep 17 00:00:00 2001 From: Leigh Pointer Date: Thu, 23 Dec 2021 11:36:20 +0100 Subject: [PATCH] Missing Resx Keys Added missing Keys for Login and Visitor --- Oqtane.Client/Modules/Admin/Login/Index.razor | 6 +++--- Oqtane.Client/Resources/Modules/Admin/Login/Index.resx | 9 +++++++++ .../Resources/Modules/Admin/Visitors/Index.resx | 3 +++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Oqtane.Client/Modules/Admin/Login/Index.razor b/Oqtane.Client/Modules/Admin/Login/Index.razor index 07fafe07..2bd43685 100644 --- a/Oqtane.Client/Modules/Admin/Login/Index.razor +++ b/Oqtane.Client/Modules/Admin/Login/Index.razor @@ -177,17 +177,17 @@ { await UserService.ForgotPasswordAsync(user); await logger.LogInformation(LogFunction.Security, "Password Reset Notification Sent For Username {Username}", _username); - _message = "Please Check The Email Address Associated To Your User Account For A Password Reset Notification"; + _message = Localizer["Message.ForgotUser"]; } else { - _message = "User Does Not Exist"; + _message = Localizer["Message.UserDoesNotExist"]; _type = MessageType.Warning; } } else { - _message = "Please Enter The Username Related To Your Account And Then Select The Forgot Password Option Again"; + _message = Localizer["Message.ForgotPassword"]; } StateHasChanged(); diff --git a/Oqtane.Client/Resources/Modules/Admin/Login/Index.resx b/Oqtane.Client/Resources/Modules/Admin/Login/Index.resx index feaa718f..36ae93c3 100644 --- a/Oqtane.Client/Resources/Modules/Admin/Login/Index.resx +++ b/Oqtane.Client/Resources/Modules/Admin/Login/Index.resx @@ -138,4 +138,13 @@ You Are Already Signed In + + Please Enter The Username Related To Your Account And Then Select The Forgot Password Option Again + + + Please Check The Email Address Associated To Your User Account For A Password Reset Notification + + + User Does Not Exist + \ No newline at end of file diff --git a/Oqtane.Client/Resources/Modules/Admin/Visitors/Index.resx b/Oqtane.Client/Resources/Modules/Admin/Visitors/Index.resx index 7f305a74..c418f58e 100644 --- a/Oqtane.Client/Resources/Modules/Admin/Visitors/Index.resx +++ b/Oqtane.Client/Resources/Modules/Admin/Visitors/Index.resx @@ -171,4 +171,7 @@ Created + + Details + \ No newline at end of file