예제 #1
0
        static LazyTranslation Get(this MsgPainter msg)
        {
            if (_systemLanguage == -1)
            {
                InitSystemLanguage();
            }

            return(msg.Get(_systemLanguage));
        }
예제 #2
0
 public static bool DocumentationWarning(this MsgPainter msg) => PainterDataAndConfig.hideDocumentation ? false : msg.Get().WarningDocumentation();
예제 #3
0
 public static bool DocumentationClick(this MsgPainter msg) => PainterDataAndConfig.hideDocumentation ? false : msg.Get().DocumentationClick();
예제 #4
0
        public static string GetDescription(this MsgPainter msg)
        {
            var lt = msg.Get();

            return(lt != null ? lt.details : msg.ToString());
        }
예제 #5
0
        public static string GetText(this MsgPainter msg)
        {
            var lt = msg.Get();

            return(lt != null?lt.ToString() : msg.ToString());
        }