# HG changeset patch # User ib # Date 1337633635 0 # Node ID 1a07230149a064c946deb376214f7c87919c0156 # Parent 2041abc4ee067a3b90899941c48112563ea692d5 Revise UTF-8 encoded subtitle file filter for file selector. diff -r 2041abc4ee06 -r 1a07230149a0 gui/ui/gtk/fileselect.c --- a/gui/ui/gtk/fileselect.c Mon May 21 20:32:55 2012 +0000 +++ b/gui/ui/gtk/fileselect.c Mon May 21 20:53:55 2012 +0000 @@ -96,7 +96,7 @@ { "SubStation Alpha (*.ssa)", "*.ssa" }, { "MicroDVD (*.sub)", "*.sub" }, { "Text (*.txt)", "*.txt" }, - { "UTF (*.utf)", "*.utf" }, + { MSGTR_Filter_UTF8Subtitles, "*.utf,*.utf-8,*.utf8" }, { MSGTR_Filter_AllSubtitles, "*.aqt,*.ass,*.jss,*.rt,*.smi,*.srt,*.ssa,*.sub,*.txt,*.utf" }, { MSGTR_Filter_AllFiles, "*" }, { NULL,NULL } diff -r 2041abc4ee06 -r 1a07230149a0 help/help_mp-de.h --- a/help/help_mp-de.h Mon May 21 20:32:55 2012 +0000 +++ b/help/help_mp-de.h Mon May 21 20:53:55 2012 +0000 @@ -763,6 +763,7 @@ #define MSGTR_NoChapter "kein Kapitel" #define MSGTR_Chapter "Kapitel %d" #define MSGTR_NoFileLoaded "Keine Datei geladen." +#define MSGTR_Filter_UTF8Subtitles "UTF-8 kodierte Untertitel (*.utf, *.utf-8, *.utf8)" #define MSGTR_Filter_AllSubtitles "Alle Untertitel" #define MSGTR_Filter_AllFiles "Alle Dateien" #define MSGTR_Filter_TTF "TrueType-Schriften (*.ttf)" diff -r 2041abc4ee06 -r 1a07230149a0 help/help_mp-en.h --- a/help/help_mp-en.h Mon May 21 20:32:55 2012 +0000 +++ b/help/help_mp-en.h Mon May 21 20:53:55 2012 +0000 @@ -557,6 +557,7 @@ #define MSGTR_NoChapter "No chapter" #define MSGTR_Chapter "Chapter %d" #define MSGTR_NoFileLoaded "No file loaded." +#define MSGTR_Filter_UTF8Subtitles "UTF-8 encoded subtitles (*.utf, *.utf-8, *.utf8)" #define MSGTR_Filter_AllSubtitles "All subtitles" #define MSGTR_Filter_AllFiles "All files" #define MSGTR_Filter_TTF "True Type fonts (*.ttf)"