Mark preview filename as translatable.
This commit is contained in:
parent
de15bb09c3
commit
bc4d333990
@ -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>
|
Fri Jun 16 11:49:53 2006 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* fixed #337882 by applying patches from Tommi Komulainen:
|
* fixed #337882 by applying patches from Tommi Komulainen:
|
||||||
|
@ -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>
|
Fri Jun 16 11:49:53 2006 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* fixed #337882 by applying patches from Tommi Komulainen:
|
* fixed #337882 by applying patches from Tommi Komulainen:
|
||||||
|
@ -587,10 +587,11 @@ _gtk_print_operation_platform_backend_create_preview_surface (GtkPrintOperation
|
|||||||
/* use temp dirs because apps like evince need to have extensions
|
/* use temp dirs because apps like evince need to have extensions
|
||||||
* to determine the mime type
|
* 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,
|
preview_filename = g_build_filename (tmp_dir,
|
||||||
"Print Preview.pdf",
|
_("Print Preview.pdf"),
|
||||||
NULL);
|
NULL);
|
||||||
g_free (dir_template);
|
g_free (dir_template);
|
||||||
*target = preview_filename;
|
*target = preview_filename;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user