mirror of https://github.com/abpframework/abp.git
2 changed files with 20 additions and 2 deletions
@ -0,0 +1,18 @@ |
|||||
|
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; |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue