Merge pull request #3117 from sbwalker/dev

fix #3094 - localization of admin module titles
This commit is contained in:
Shaun Walker 2023-08-07 12:14:11 -04:00 committed by GitHub
commit e7b35bd0c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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];
}
}