1
0
mirror of synced 2024-11-30 17:24:33 +01:00
TaikoLocalServer/TaikoWebUI/ResXMudLocalizer.cs
2024-11-29 15:50:01 +08:00

12 lines
331 B
C#

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