comparison 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
comparison
equal deleted inserted replaced
34850:470c696cc5cf 34851:4c5ef823ee0f
130 int fsLastAudioFilterSelected = -1; 130 int fsLastAudioFilterSelected = -1;
131 131
132 char * fsFontFileNames[][2] = 132 char * fsFontFileNames[][2] =
133 { 133 {
134 #ifdef CONFIG_FREETYPE 134 #ifdef CONFIG_FREETYPE
135 { "True Type fonts (*.ttf)", "*.ttf" }, 135 { MSGTR_Filter_TTF, "*.ttf" },
136 { "Type1 fonts (*.pfb)", "*.pfb" }, 136 { MSGTR_Filter_Type1, "*.pfb" },
137 { "All fonts", "*.ttf,*.pfb" }, 137 { MSGTR_Filter_AllFonts, "*.ttf,*.pfb" },
138 #else 138 #else
139 { "Font files (*.desc)", "*.desc" }, 139 { MSGTR_Filter_FontFiles, "*.desc" },
140 #endif 140 #endif
141 { "All files", "*" }, 141 { MSGTR_Filter_AllFiles, "*" },
142 { NULL,NULL } 142 { NULL,NULL }
143 }; 143 };
144 int fsLastFontFilterSelected = -1; 144 int fsLastFontFilterSelected = -1;
145 145
146 GtkWidget * fsFileNamesList; 146 GtkWidget * fsFileNamesList;