Mercurial > mplayer.hg
changeset 34857:cceef8552b0c
Enable translation of video and audio file filter items.
author | ib |
---|---|
date | Mon, 21 May 2012 15:12:18 +0000 |
parents | 707029278e04 |
children | f1b2304e0157 |
files | gui/ui/gtk/fileselect.c help/help_mp-de.h help/help_mp-en.h |
diffstat | 3 files changed, 50 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/gtk/fileselect.c Mon May 21 14:45:15 2012 +0000 +++ b/gui/ui/gtk/fileselect.c Mon May 21 15:12:18 2012 +0000 @@ -63,24 +63,24 @@ char * fsVideoFilterNames[][2] = { - { "AVI files", "*.avi" }, - { "DivX files", "*.divx" }, - { "Flash Video", "*.flv" }, - { "MP3 files", "*.mp3" }, - { "MP4 files", "*.aac,*.f4a,*.f4b,*.f4v,*.m4a,*.m4b,*.m4v,*.mp4" }, - { "MPEG files", "*.m1v,*.m2v,*.mp2,*.mpe,*.mpeg,*.mpg,*.mpga,*.vdr,*.vob" }, - { "MPEG-2 transport streams", "*.bdm,*.bdmv,*.clpi,*.cpi,*.m2t,*.m2ts,*.mpl,*.mpls,*.mts,*.rec,*.trp,*.ts,*.ty" }, - { "Matroska media", "*.mka,*.mkv" }, - { "OGG media", "*.oga,*.ogg,*.ogm,*.ogv,*.ogx,*.spx" }, - { "QuickTime media", "*.moov,*.mov,*.qt,*.qtvr" }, - { "RealNetworks media", "*.ra,*.rm,*.rmvb,*.rv" }, - { "VCD/SVCD images", "*.bin" }, - { "WAV files", "*.wav" }, - { "Windows media", "*.asf,*.wma,*.wmv" }, - { "Playlists", "*.asx,*.m3u,*.m3u8,*.pls,*.ram,*.rmj,*.rmm,*.smi,*.smil,*.sml,*.vlc,*.wax,*.wmx,*.wvx" }, - { "Audio files", "*.aac,*.ac3,*.aif,*.aifc,*.aiff,*.amr,*.ape,*.au,*.awb,*.cdg,*.f4a,*.f4b,*.flac,*.m4a,*.m4b,*.mka,*.mp+,*.mp2,*.mp3,*.mpc,*.mpga,*.mpp,*.nsa,*.oga,*.ogg,*.pcm,*.qcp,*.ra,*.snd,*.spx,*.voc,*.vqf,*.w64,*.wav,*.wma,*.wv,*.wvp" }, - { "Video files", "*.264,*.3g2,*.3ga,*.3gp,*.3gp2,*.3gpp,*.3gpp2,*.asf,*.avi,*.bdm,*.bdmv,*.bin,*.clpi,*.cpi,*.divx,*.dv,*.f4v,*.flc,*.fli,*.flv,*.m1v,*.m2t,*.m2ts,*.m2v,*.m4v,*.mkv,*.moov,*.mov,*.mp2,*.mp4,*.mpe,*.mpeg,*.mpg,*.mpl,*.mpls,*.mts,*.mxf,*.nsv,*.nuv,*.ogg,*.ogm,*.ogv,*.ogx,*.pva,*.qt,*.qtvr,*.rec,*.rm,*.rmvb,*.rv,*.spl,*.str,*.swf,*.trp,*.ts,*.ty,*.vdr,*.viv,*.vivo,*.vob,*.webm,*.wmv" }, - { "All files", "*" }, + { MSGTR_Filter_AVIFiles, "*.avi" }, + { MSGTR_Filter_DivXFiles, "*.divx" }, + { MSGTR_Filter_FlashVideo, "*.flv" }, + { MSGTR_Filter_MP3Files, "*.mp3" }, + { MSGTR_Filter_MP4Files, "*.aac,*.f4a,*.f4b,*.f4v,*.m4a,*.m4b,*.m4v,*.mp4" }, + { MSGTR_Filter_MPEGFiles, "*.m1v,*.m2v,*.mp2,*.mpe,*.mpeg,*.mpg,*.mpga,*.vdr,*.vob" }, + { MSGTR_Filter_MP2TS, "*.bdm,*.bdmv,*.clpi,*.cpi,*.m2t,*.m2ts,*.mpl,*.mpls,*.mts,*.rec,*.trp,*.ts,*.ty" }, + { MSGTR_Filter_MatroskaMedia, "*.mka,*.mkv" }, + { MSGTR_Filter_OGGMedia, "*.oga,*.ogg,*.ogm,*.ogv,*.ogx,*.spx" }, + { MSGTR_Filter_QTMedia, "*.moov,*.mov,*.qt,*.qtvr" }, + { MSGTR_Filter_RNMedia, "*.ra,*.rm,*.rmvb,*.rv" }, + { MSGTR_Filter_VideoCDImages, "*.bin" }, + { MSGTR_Filter_WAVFiles, "*.wav" }, + { MSGTR_Filter_WindowsMedia, "*.asf,*.wma,*.wmv" }, + { MSGTR_Filter_Playlists, "*.asx,*.m3u,*.m3u8,*.pls,*.ram,*.rmj,*.rmm,*.smi,*.smil,*.sml,*.vlc,*.wax,*.wmx,*.wvx" }, + { MSGTR_Filter_AllAudioFiles, "*.aac,*.ac3,*.aif,*.aifc,*.aiff,*.amr,*.ape,*.au,*.awb,*.cdg,*.f4a,*.f4b,*.flac,*.m4a,*.m4b,*.mka,*.mp+,*.mp2,*.mp3,*.mpc,*.mpga,*.mpp,*.nsa,*.oga,*.ogg,*.pcm,*.qcp,*.ra,*.snd,*.spx,*.voc,*.vqf,*.w64,*.wav,*.wma,*.wv,*.wvp" }, + { MSGTR_Filter_AllVideoFiles, "*.264,*.3g2,*.3ga,*.3gp,*.3gp2,*.3gpp,*.3gpp2,*.asf,*.avi,*.bdm,*.bdmv,*.bin,*.clpi,*.cpi,*.divx,*.dv,*.f4v,*.flc,*.fli,*.flv,*.m1v,*.m2t,*.m2ts,*.m2v,*.m4v,*.mkv,*.moov,*.mov,*.mp2,*.mp4,*.mpe,*.mpeg,*.mpg,*.mpl,*.mpls,*.mts,*.mxf,*.nsv,*.nuv,*.ogg,*.ogm,*.ogv,*.ogx,*.pva,*.qt,*.qtvr,*.rec,*.rm,*.rmvb,*.rv,*.spl,*.str,*.swf,*.trp,*.ts,*.ty,*.vdr,*.viv,*.vivo,*.vob,*.webm,*.wmv" }, + { MSGTR_Filter_AllFiles, "*" }, { NULL,NULL } }; int fsLastVideoFilterSelected = -1;
--- a/help/help_mp-de.h Mon May 21 14:45:15 2012 +0000 +++ b/help/help_mp-de.h Mon May 21 15:12:18 2012 +0000 @@ -776,6 +776,22 @@ #define MSGTR_Filter_WAVAudio "WAV-Audio (*.wav)" #define MSGTR_Filter_WMAAudio "Windows-Media-Audio (*.wma)" #define MSGTR_Filter_AllAudioFiles "Alle Audiodateien" +#define MSGTR_Filter_AllVideoFiles "Alle Videodateien" +#define MSGTR_Filter_AVIFiles "AVI-Dateien" +#define MSGTR_Filter_DivXFiles "DivX-Dateien" +#define MSGTR_Filter_FlashVideo "Flash Video" +#define MSGTR_Filter_MP3Files "MP3-Dateien" +#define MSGTR_Filter_MP4Files "MP4-Dateien" +#define MSGTR_Filter_MPEGFiles "MPEG-Dateien" +#define MSGTR_Filter_MP2TS "MPEG-2 Transportströme" +#define MSGTR_Filter_MatroskaMedia "Matroska-Medien" +#define MSGTR_Filter_OGGMedia "Ogg-Medien" +#define MSGTR_Filter_QTMedia "QuickTime-Medien" +#define MSGTR_Filter_RNMedia "RealNetworks-Medien" +#define MSGTR_Filter_VideoCDImages "VCD-/SVCD-Abbilder" +#define MSGTR_Filter_WAVFiles "WAV-Dateien" +#define MSGTR_Filter_WindowsMedia "Windows-Medien" +#define MSGTR_Filter_Playlists "Wiedergabelisten" // --- buttons --- #define MSGTR_Ok "Ok"
--- a/help/help_mp-en.h Mon May 21 14:45:15 2012 +0000 +++ b/help/help_mp-en.h Mon May 21 15:12:18 2012 +0000 @@ -570,6 +570,22 @@ #define MSGTR_Filter_WAVAudio "WAV audio (*.wav)" #define MSGTR_Filter_WMAAudio "Windows Media audio (*.wma)" #define MSGTR_Filter_AllAudioFiles "All audio files" +#define MSGTR_Filter_AllVideoFiles "All video files" +#define MSGTR_Filter_AVIFiles "AVI files" +#define MSGTR_Filter_DivXFiles "DivX files" +#define MSGTR_Filter_FlashVideo "Flash Video" +#define MSGTR_Filter_MP3Files "MP3 files" +#define MSGTR_Filter_MP4Files "MP4 files +#define MSGTR_Filter_MPEGFiles "MPEG files" +#define MSGTR_Filter_MP2TS "MPEG-2 transport streams" +#define MSGTR_Filter_MatroskaMedia "Matroska media" +#define MSGTR_Filter_OGGMedia "Ogg media" +#define MSGTR_Filter_QTMedia "QuickTime media" +#define MSGTR_Filter_RNMedia "RealNetworks media" +#define MSGTR_Filter_VideoCDImages "VCD/SVCD images" +#define MSGTR_Filter_WAVFiles "WAV files" +#define MSGTR_Filter_WindowsMedia "Windows media" +#define MSGTR_Filter_Playlists "Playlists" // --- buttons --- #define MSGTR_Ok "OK"