static LazyTranslation Get(this MsgPainter msg) { if (_systemLanguage == -1) { InitSystemLanguage(); } return(msg.Get(_systemLanguage)); }
public static bool DocumentationWarning(this MsgPainter msg) => PainterDataAndConfig.hideDocumentation ? false : msg.Get().WarningDocumentation();
public static bool DocumentationClick(this MsgPainter msg) => PainterDataAndConfig.hideDocumentation ? false : msg.Get().DocumentationClick();
public static string GetDescription(this MsgPainter msg) { var lt = msg.Get(); return(lt != null ? lt.details : msg.ToString()); }
public static string GetText(this MsgPainter msg) { var lt = msg.Get(); return(lt != null?lt.ToString() : msg.ToString()); }