jellyfin-server/MediaBrowser.Controller/Extensions/StringExtensions.cs

18 lines
434 B
C#

using MediaBrowser.Model.Globalization;
namespace MediaBrowser.Controller.Extensions
{
/// <summary>
/// Class BaseExtensions
/// </summary>
public static class StringExtensions
{
public static ILocalizationManager LocalizationManager { get; set; }
public static string RemoveDiacritics(this string text)
{
return LocalizationManager.RemoveDiacritics(text);
}
}
}