changeset 34849:8e39cb975b4e

Update subtitle file filter for file selector. Add descriptive names for the subtitle types and add JACOSub (*.jss).
author ib
date Mon, 21 May 2012 09:52:25 +0000
parents 6c750d212873
children 470c696cc5cf
files gui/ui/gtk/fileselect.c
diffstat 1 files changed, 12 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/gtk/fileselect.c	Mon May 21 09:47:09 2012 +0000
+++ b/gui/ui/gtk/fileselect.c	Mon May 21 09:52:25 2012 +0000
@@ -94,17 +94,18 @@
 
 char * fsSubtitleFilterNames[][2] =
          {
-           { "AQT (*.aqt)",						"*.aqt" },
-           { "ASS (*.ass)",						"*.ass" },
-           { "RT  (*.rt) ",						"*.rt"  },
-           { "SMI (*.smi)",						"*.smi" },
-           { "SRT (*.srt)",						"*.srt" },
-           { "SSA (*.ssa)",						"*.ssa" },
-           { "SUB (*.sub)",						"*.sub" },
-           { "TXT (*.txt)",						"*.txt" },
-           { "UTF (*.utf)",						"*.utf" },
-           { "Subtitles",						"*.aqt,*.ass,*.rt,*.smi,*.srt,*.ssa,*.sub,*.txt,*.utf" },
-           { "All files",						"*" },
+           { "AQTitle (*.aqt)",                   "*.aqt" },
+           { "Advanced SubStation Alpha (*.ass)", "*.ass" },
+           { "JACOSub (*.jss) ",                  "*.jss" },
+           { "RealText (*.rt) ",                  "*.rt"  },
+           { "SAMI (*.smi)",                      "*.smi" },
+           { "SubRip (*.srt)",                    "*.srt" },
+           { "SubStation Alpha (*.ssa)",          "*.ssa" },
+           { "MicroDVD (*.sub)",                  "*.sub" },
+           { "Text (*.txt)",                      "*.txt" },
+           { "UTF (*.utf)",                       "*.utf" },
+           { "All subtitles",                     "*.aqt,*.ass,*.jss,*.rt,*.smi,*.srt,*.ssa,*.sub,*.txt,*.utf" },
+           { "All files",                         "*" },
 	   { NULL,NULL }
 	 };
 int fsLastSubtitleFilterSelected = -1;