Merge pull request #3117 from sbwalker/dev
fix #3094 - localization of admin module titles
This commit is contained in:
commit
e7b35bd0c2
@ -2,6 +2,7 @@
|
||||
@namespace Oqtane.Themes.Controls
|
||||
@inherits ContainerBase
|
||||
@attribute [OqtaneIgnore]
|
||||
@inject IStringLocalizer<SharedResources> SharedLocalizer
|
||||
|
||||
<span class="app-moduletitle">
|
||||
@((MarkupString)title)
|
||||
@ -23,7 +24,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
title = ModuleState.Title;
|
||||
title = SharedLocalizer[ModuleState.Title];
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user