Exemple #1
0
        public static string GetAdaultChildSetting(byte bt)
        {
            if (FileMngr.m_dirPath == null)
            {
                return("");
            }
            string str = LanguageMngr.adault_or_child(bt);

            //if (LanguageMngr.m_language == LANGUAGE.CHINA)
            //{
            //    str = Convert.ToBoolean(bt) ? "儿童" : "成人";
            //}
            //else if (LanguageMngr.m_language == LANGUAGE.ENGLISH)
            //{
            //    str = Convert.ToBoolean(bt) ? "Child" : "Adault";
            //}
            //else
            //{
            //    //等有其他语言再添加
            //}
            return(str);
        }