20 lines
516 B
C#
20 lines
516 B
C#
using Microsoft.Extensions.Localization;
|
|
using KonSoft.Report.Localization;
|
|
using Volo.Abp.DependencyInjection;
|
|
using Volo.Abp.Ui.Branding;
|
|
|
|
namespace KonSoft.Report;
|
|
|
|
[Dependency(ReplaceServices = true)]
|
|
public class ReportBrandingProvider : DefaultBrandingProvider
|
|
{
|
|
private IStringLocalizer<ReportResource> _localizer;
|
|
|
|
public ReportBrandingProvider(IStringLocalizer<ReportResource> localizer)
|
|
{
|
|
_localizer = localizer;
|
|
}
|
|
|
|
public override string AppName => _localizer["AppName"];
|
|
}
|