Beispiel #1
0
        public string getText()
        {
            if (isAttachmentFile)
            {
                return(codec_long_name);
            }

            var str = fileIndex + ":" + index + " " + AppLanguage.getLang(codec_type) + ": " + codec_name;

            if (codec_type == "video")
            {
                str += " " + width + "*" + height;
            }

            if (codec_type == "audio")
            {
                str += " " + sample_rate + "hz";
            }


            str += " " + getBitRate() + " " + getLang();

            if (disposition.defaul == 1)
            {
                str += " " + dfv.lang.dat.default_;
            }
            str += " " + getName();
            return(str);
        }
Beispiel #2
0
 protected override string GetLocalizedString(string value)
 {
     return(AppLanguage.getLang(value));
 }