From 5a014b093ccefed72fa09c3b19b18d4ee7578218 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 30 Mar 2014 21:00:47 -0400 Subject: add localization stub --- .../Localization/ILocalizationManager.cs | 32 +++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Controller/Localization') diff --git a/MediaBrowser.Controller/Localization/ILocalizationManager.cs b/MediaBrowser.Controller/Localization/ILocalizationManager.cs index dde2f7878..5993c7ac5 100644 --- a/MediaBrowser.Controller/Localization/ILocalizationManager.cs +++ b/MediaBrowser.Controller/Localization/ILocalizationManager.cs @@ -1,7 +1,7 @@ using MediaBrowser.Model.Entities; using MediaBrowser.Model.Globalization; +using System; using System.Collections.Generic; -using System.Threading.Tasks; namespace MediaBrowser.Controller.Localization { @@ -31,5 +31,35 @@ namespace MediaBrowser.Controller.Localization /// The rating. /// System.Int32. int? GetRatingLevel(string rating); + + /// + /// Gets the localized string. + /// + /// The phrase. + /// The culture. + /// System.String. + string GetLocalizedString(string phrase, string culture); + + /// + /// Gets the localized string. + /// + /// The phrase. + /// System.String. + string GetLocalizedString(string phrase); + + /// + /// Localizes the document. + /// + /// The document. + /// The culture. + /// The token builder. + /// System.String. + string LocalizeDocument(string document, string culture, Func tokenBuilder); + + /// + /// Gets the localization options. + /// + /// IEnumerable{LocalizatonOption}. + IEnumerable GetLocalizationOptions(); } } -- cgit v1.2.3