1
0
mirror of synced 2024-11-25 15:20:26 +01:00
TaikoLocalServer/TaikoWebUI/ResXMudLocalizer.cs
2024-03-16 17:46:06 +08:00

17 lines
394 B
C#

using TaikoWebUI.Localization;
using Microsoft.Extensions.Localization;
namespace TaikoWebUI;
internal class ResXMudLocalizer : MudLocalizer
{
private IStringLocalizer localization;
public ResXMudLocalizer(IStringLocalizer<LocalizationResource> localizer)
{
localization = localizer;
}
public override LocalizedString this[string key] => localization[key];
}