# HG changeset patch # User ib # Date 1337594637 0 # Node ID 470c696cc5cf799f452209df7ddd0d831610d2f3 # Parent 8e39cb975b4e9316e558156857cee2d541f9daf9 Enable translation of subtitle file filter items. diff -r 8e39cb975b4e -r 470c696cc5cf gui/ui/gtk/fileselect.c --- 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; diff -r 8e39cb975b4e -r 470c696cc5cf help/help_mp-de.h --- 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" diff -r 8e39cb975b4e -r 470c696cc5cf help/help_mp-en.h --- 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"