Mercurial > mplayer.hg
diff gui/ui/gtk/fileselect.c @ 34851:4c5ef823ee0f
Enable translation of font file filter items.
author | ib |
---|---|
date | Mon, 21 May 2012 10:33:08 +0000 |
parents | 470c696cc5cf |
children | 9b31dd16948d |
line wrap: on
line diff
--- a/gui/ui/gtk/fileselect.c Mon May 21 10:03:57 2012 +0000 +++ b/gui/ui/gtk/fileselect.c Mon May 21 10:33:08 2012 +0000 @@ -132,13 +132,13 @@ char * fsFontFileNames[][2] = { #ifdef CONFIG_FREETYPE - { "True Type fonts (*.ttf)", "*.ttf" }, - { "Type1 fonts (*.pfb)", "*.pfb" }, - { "All fonts", "*.ttf,*.pfb" }, + { MSGTR_Filter_TTF, "*.ttf" }, + { MSGTR_Filter_Type1, "*.pfb" }, + { MSGTR_Filter_AllFonts, "*.ttf,*.pfb" }, #else - { "Font files (*.desc)", "*.desc" }, + { MSGTR_Filter_FontFiles, "*.desc" }, #endif - { "All files", "*" }, + { MSGTR_Filter_AllFiles, "*" }, { NULL,NULL } }; int fsLastFontFilterSelected = -1;