Mercurial > mplayer.hg
changeset 34853:f6f1cfdaaccf
Enable translation of external audio file filter items.
author | ib |
---|---|
date | Mon, 21 May 2012 11:34:45 +0000 |
parents | 9b31dd16948d |
children | 5f876a4fa781 |
files | gui/ui/gtk/fileselect.c help/help_mp-de.h help/help_mp-en.h |
diffstat | 3 files changed, 22 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/gtk/fileselect.c Mon May 21 11:16:25 2012 +0000 +++ b/gui/ui/gtk/fileselect.c Mon May 21 11:34:45 2012 +0000 @@ -118,14 +118,14 @@ char * fsAudioFileNames[][2] = { - { "Dolby Digital / Raw audio (*.ac3, *.pcm)", "*.ac3,*.pcm" }, - { "MPEG audio (*.mp2, *.mp3, *.mpga, *.m4a, *.aac, *.f4a)", "*.mp2,*.mp3,*.mpga,*.m4a,*.aac,*.f4a" }, - { "Matroska audio (*.mka)", "*.mka" }, - { "Ogg audio (*.oga, *.ogg, *.spx)", "*.oga,*.ogg,*.spx" }, - { "WAV audio (*.wav)", "*.wav" }, - { "Windows Media audio (*.wma)", "*.wma" }, - { "All audio files", "*.ac3,*.pcm,*.mp2,*.mp3,*.mpga,*.m4a,*.aac,*.f4a,*.mka,*.oga,*.ogg,*.spx,*.wav,*.wma" }, - { "All files", "*" }, + { MSGTR_Filter_DDRawAudio, "*.ac3,*.pcm" }, + { MSGTR_Filter_MPEGAudio, "*.mp2,*.mp3,*.mpga,*.m4a,*.aac,*.f4a" }, + { MSGTR_Filter_MatroskaAudio, "*.mka" }, + { MSGTR_Filter_OGGAudio, "*.oga,*.ogg,*.spx" }, + { MSGTR_Filter_WAVAudio, "*.wav" }, + { MSGTR_Filter_WMAAudio, "*.wma" }, + { MSGTR_Filter_AllAudioFiles, "*.ac3,*.pcm,*.mp2,*.mp3,*.mpga,*.m4a,*.aac,*.f4a,*.mka,*.oga,*.ogg,*.spx,*.wav,*.wma" }, + { MSGTR_Filter_AllFiles, "*" }, { NULL, NULL } }; int fsLastAudioFilterSelected = -1;
--- a/help/help_mp-de.h Mon May 21 11:16:25 2012 +0000 +++ b/help/help_mp-de.h Mon May 21 11:34:45 2012 +0000 @@ -769,6 +769,13 @@ #define MSGTR_Filter_Type1 "Typ-1-Schriften (*.pfb)" #define MSGTR_Filter_AllFonts "Alle Schriften" #define MSGTR_Filter_FontFiles "Schriftbeschreibungen (*.desc)" +#define MSGTR_Filter_DDRawAudio "Dolby Digital / PCM (*.ac3, *.pcm)" +#define MSGTR_Filter_MPEGAudio "MPEG-Audio (*.mp2, *.mp3, *.mpga, *.m4a, *.aac, *.f4a)" +#define MSGTR_Filter_MatroskaAudio "Matroska-Audio (*.mka)" +#define MSGTR_Filter_OGGAudio "Ogg-Audio (*.oga, *.ogg, *.spx)" +#define MSGTR_Filter_WAVAudio "WAV-Audio (*.wav)" +#define MSGTR_Filter_WMAAudio "Windows-Media-Audio (*.wma)" +#define MSGTR_Filter_AllAudioFiles "Alle Audiodateien" // --- buttons --- #define MSGTR_Ok "Ok"
--- a/help/help_mp-en.h Mon May 21 11:16:25 2012 +0000 +++ b/help/help_mp-en.h Mon May 21 11:34:45 2012 +0000 @@ -563,6 +563,13 @@ #define MSGTR_Filter_Type1 "Type1 fonts (*.pfb)" #define MSGTR_Filter_AllFonts "All fonts" #define MSGTR_Filter_FontFiles "Font files (*.desc)" +#define MSGTR_Filter_DDRawAudio "Dolby Digital / PCM (*.ac3, *.pcm)" +#define MSGTR_Filter_MPEGAudio "MPEG audio (*.mp2, *.mp3, *.mpga, *.m4a, *.aac, *.f4a)" +#define MSGTR_Filter_MatroskaAudio "Matroska audio (*.mka)" +#define MSGTR_Filter_OGGAudio "Ogg audio (*.oga, *.ogg, *.spx)" +#define MSGTR_Filter_WAVAudio "WAV audio (*.wav)" +#define MSGTR_Filter_WMAAudio "Windows Media audio (*.wma)" +#define MSGTR_Filter_AllAudioFiles "All audio files" // --- buttons --- #define MSGTR_Ok "OK"