Mercurial > mplayer.hg
changeset 34850:470c696cc5cf
Enable translation of subtitle file filter items.
author | ib |
---|---|
date | Mon, 21 May 2012 10:03:57 +0000 |
parents | 8e39cb975b4e |
children | 4c5ef823ee0f |
files | gui/ui/gtk/fileselect.c help/help_mp-de.h help/help_mp-en.h |
diffstat | 3 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/gtk/fileselect.c Mon May 21 09:52:25 2012 +0000 +++ b/gui/ui/gtk/fileselect.c Mon May 21 10:03:57 2012 +0000 @@ -104,8 +104,8 @@ { "MicroDVD (*.sub)", "*.sub" }, { "Text (*.txt)", "*.txt" }, { "UTF (*.utf)", "*.utf" }, - { "All subtitles", "*.aqt,*.ass,*.jss,*.rt,*.smi,*.srt,*.ssa,*.sub,*.txt,*.utf" }, - { "All files", "*" }, + { MSGTR_Filter_AllSubtitles, "*.aqt,*.ass,*.jss,*.rt,*.smi,*.srt,*.ssa,*.sub,*.txt,*.utf" }, + { MSGTR_Filter_AllFiles, "*" }, { NULL,NULL } }; int fsLastSubtitleFilterSelected = -1;
--- a/help/help_mp-de.h Mon May 21 09:52:25 2012 +0000 +++ b/help/help_mp-de.h Mon May 21 10:03:57 2012 +0000 @@ -763,6 +763,8 @@ #define MSGTR_NoChapter "kein Kapitel" #define MSGTR_Chapter "Kapitel %d" #define MSGTR_NoFileLoaded "Keine Datei geladen." +#define MSGTR_Filter_AllSubtitles "Alle Untertitel" +#define MSGTR_Filter_AllFiles "Alle Dateien" // --- buttons --- #define MSGTR_Ok "Ok"
--- a/help/help_mp-en.h Mon May 21 09:52:25 2012 +0000 +++ b/help/help_mp-en.h Mon May 21 10:03:57 2012 +0000 @@ -557,6 +557,8 @@ #define MSGTR_NoChapter "No chapter" #define MSGTR_Chapter "Chapter %d" #define MSGTR_NoFileLoaded "No file loaded." +#define MSGTR_Filter_AllSubtitles "All subtitles" +#define MSGTR_Filter_AllFiles "All files" // --- buttons --- #define MSGTR_Ok "OK"