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 @@ -7,10 +8,10 @@ ... - + - + \ 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) { - + }