Exemple #1
0
        static LazyTranslation Get(this icon msg)
        {
            if (_systemLanguage == -1)
            {
                InitSystemLanguage();
            }

            return(msg.Get(_systemLanguage));
        }
Exemple #2
0
        public static string GetDescription(this icon msg)
        {
            var lt = msg.Get();

            return(lt != null ? lt.details : msg.ToString());
        }
Exemple #3
0
        public static string GetText(this icon msg)
        {
            var lt = msg.Get();

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