Skip to content

Commit

Permalink
Merge pull request #3117 from sbwalker/dev
Browse files Browse the repository at this point in the history
fix #3094 - localization of admin module titles
  • Loading branch information
sbwalker authored Aug 7, 2023
2 parents 0710736 + 176bd22 commit e7b35bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Oqtane.Client/Themes/Controls/Container/ModuleTitle.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@namespace Oqtane.Themes.Controls
@inherits ContainerBase
@attribute [OqtaneIgnore]
@inject IStringLocalizer<SharedResources> SharedLocalizer

<span class="app-moduletitle">
@((MarkupString)title)
Expand All @@ -23,7 +24,7 @@
}
else
{
title = ModuleState.Title;
title = SharedLocalizer[ModuleState.Title];
}
}

Expand Down

0 comments on commit e7b35bd

Please sign in to comment.