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