System.Web.Mvc.LocalizableWebViewPage.___q C# (CSharp) Method

___q() public static method

Quotes the text as the xgettext cannot correctly extract values from attributes

Translates the given html applying '"'+HttpUtility.HtmlAttributeEncode(string.Format(html, htmlArguments))+'"' to the current culture language.

Warning! Neither the html nor the htmlArguments will be encoded whatsoever

Usage: <div title=@___q("< class='tip'>There are {0} {1} in cart.</div>", 3, "<b>Items</b>")>... -- Note the missing quotes!

public static ___q ( string html ) : System.Web.Mvc.MvcHtmlString
html string The html to be translated
return System.Web.Mvc.MvcHtmlString
        public static MvcHtmlString ___q(string html, params object[] htmlArguments)
        {
            return CultureInfo.CurrentUICulture.___q(html, htmlArguments);
        }