public static ___q ( this culture, string html ) : System.Web.Mvc.MvcHtmlString | ||
culture | this | The culture being extended |
html | string | The html text to be translated |
Результат | System.Web.Mvc.MvcHtmlString |
public static MvcHtmlString ___q(this CultureInfo culture, string html, params object[] htmlArguments)
{
var result = new MvcHtmlString('"' + HttpUtility.HtmlAttributeEncode(string.Format(I18NComplete.GetText(html, lcid: culture.LCID), htmlArguments.Select(a => HttpUtility.HtmlEncode(a)).ToArray())) + '"');
return
#if DEBUG
I18NComplete.OnGetting___q(result, culture, html, htmlArguments) ??
#endif
result;
}