mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
611 B
19 lines
611 B
using Microsoft.AspNetCore.Mvc.Localization;
|
|
using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Components;
|
|
using Volo.Abp.DependencyInjection;
|
|
using Volo.Blogging.Localization;
|
|
|
|
namespace Volo.BloggingTestApp.Branding
|
|
{
|
|
[Dependency(ReplaceServices = true)]
|
|
public class BloggingTestAppBrandingProvider : DefaultBrandingProvider
|
|
{
|
|
public IHtmlLocalizer<BloggingResource> L { get; set; }
|
|
public BloggingTestAppBrandingProvider(IHtmlLocalizer<BloggingResource> localizer)
|
|
{
|
|
L = localizer;
|
|
}
|
|
public override string AppName => L["Blogs"].Value;
|
|
}
|
|
}
|