1
0
mirror of synced 2024-12-18 09:25:56 +01:00
TaikoLocalServer/TaikoWebUI/ResXMudLocalizer.cs

17 lines
394 B
C#
Raw Normal View History

using TaikoWebUI.Localization;
using Microsoft.Extensions.Localization;
2024-03-16 10:46:06 +01:00
namespace TaikoWebUI;
internal class ResXMudLocalizer : MudLocalizer
{
private IStringLocalizer localization;
public ResXMudLocalizer(IStringLocalizer<LocalizationResource> localizer)
{
localization = localizer;
}
public override LocalizedString this[string key] => localization[key];
}