From f8e1c8c53d578eadfa3c85f000233d8243b79d00 Mon Sep 17 00:00:00 2001 From: hishamco Date: Fri, 20 Nov 2020 02:05:48 +0300 Subject: [PATCH] Localize Login & UserProfile components --- Oqtane.Client/Themes/Controls/Login.razor | 9 +++++---- Oqtane.Client/Themes/Controls/UserProfile.razor | 7 ++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Oqtane.Client/Themes/Controls/Login.razor b/Oqtane.Client/Themes/Controls/Login.razor index 84ef808e..f4c415c9 100644 --- a/Oqtane.Client/Themes/Controls/Login.razor +++ b/Oqtane.Client/Themes/Controls/Login.razor @@ -1,5 +1,6 @@ -@namespace Oqtane.Themes.Controls -@inherits LoginBase +@namespace Oqtane.Themes.Controls +@inherits LoginBase +@inject IStringLocalizer Localizer \ No newline at end of file diff --git a/Oqtane.Client/Themes/Controls/UserProfile.razor b/Oqtane.Client/Themes/Controls/UserProfile.razor index a5d95aeb..e939d633 100644 --- a/Oqtane.Client/Themes/Controls/UserProfile.razor +++ b/Oqtane.Client/Themes/Controls/UserProfile.razor @@ -1,5 +1,6 @@ -@namespace Oqtane.Themes.Controls -@inherits ThemeControlBase +@namespace Oqtane.Themes.Controls +@inherits ThemeControlBase +@inject IStringLocalizer Localizer @inject NavigationManager NavigationManager @@ -14,7 +15,7 @@ @if (PageState.Site.AllowRegistration) { - + }