Mark preview filename as translatable.

This commit is contained in:
Matthias Clasen 2006-06-16 13:45:51 +00:00
parent de15bb09c3
commit bc4d333990
3 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2006-06-16 Matthias Clasens <mclasen@redhat.com>
* gtk/gtkprintoperation-unix.c: Mark the preview filename
as translatable (#345093, Christian Persch)
Fri Jun 16 11:49:53 2006 Tim Janik <timj@imendio.com>
* fixed #337882 by applying patches from Tommi Komulainen:

View File

@ -1,3 +1,8 @@
2006-06-16 Matthias Clasens <mclasen@redhat.com>
* gtk/gtkprintoperation-unix.c: Mark the preview filename
as translatable (#345093, Christian Persch)
Fri Jun 16 11:49:53 2006 Tim Janik <timj@imendio.com>
* fixed #337882 by applying patches from Tommi Komulainen:

View File

@ -587,10 +587,11 @@ _gtk_print_operation_platform_backend_create_preview_surface (GtkPrintOperation
/* use temp dirs because apps like evince need to have extensions
* to determine the mime type
*/
tmp_dir = mkdtemp(dir_template);
tmp_dir = mkdtemp (dir_template);
/* print preview pdf filename (please leave the trailing .pdf in place) */
preview_filename = g_build_filename (tmp_dir,
"Print Preview.pdf",
NULL);
_("Print Preview.pdf"),
NULL);
g_free (dir_template);
*target = preview_filename;