[MPlayer-cvslog] r34945 - in trunk: gui/ui/gtk/fileselect.c help/help_mp-de.h help/help_mp-en.h

ib subversion at mplayerhq.hu
Mon May 21 17:12:18 CEST 2012


Author: ib
Date: Mon May 21 17:12:18 2012
New Revision: 34945

Log:
Enable translation of video and audio file filter items.

Modified:
   trunk/gui/ui/gtk/fileselect.c

Changes in other areas also in this revision:
Modified:
   trunk/help/help_mp-de.h
   trunk/help/help_mp-en.h

Modified: trunk/gui/ui/gtk/fileselect.c
==============================================================================
--- trunk/gui/ui/gtk/fileselect.c	Mon May 21 16:45:15 2012	(r34944)
+++ trunk/gui/ui/gtk/fileselect.c	Mon May 21 17:12:18 2012	(r34945)
@@ -63,24 +63,24 @@ static gint     fsCurrFNameListSelected,
 
 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;


More information about the MPlayer-cvslog mailing list