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); }
public FormPlayer() { InitializeComponent(); onInit?.Invoke(this); AppLanguage.InitLanguage(contextMenuStrip1); }
protected override string GetLocalizedString(string value) { return(AppLanguage.getLang(value)); }