Revert "Refactor LocalizationManager and remove dead method"

This reverts commit db2b53a4b5.
This commit is contained in:
David Ullmer
2021-08-10 13:39:51 +02:00
parent 77aee515a2
commit 6b61b50b53
2 changed files with 231 additions and 203 deletions

View File

@@ -56,6 +56,14 @@ namespace MediaBrowser.Model.Globalization
/// <returns><see cref="IEnumerable{LocalizatonOption}" />.</returns>
IEnumerable<LocalizationOption> GetLocalizationOptions();
/// <summary>
/// Checks if the string contains a character with the specified unicode category.
/// </summary>
/// <param name="value">The string.</param>
/// <param name="category">The unicode category.</param>
/// <returns>Wether or not the string contains a character with the specified unicode category.</returns>
bool HasUnicodeCategory(string value, UnicodeCategory category);
/// <summary>
/// Returns the correct <see cref="CultureInfo" /> for the given language.
/// </summary>