]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - pdftops/pdftops.cxx
Load cups into easysw/current.
[thirdparty/cups.git] / pdftops / pdftops.cxx
index cb3b55e4c9aebd27fae0203ec1345680f946e7a5..fcd5ce4bba4642a2436e96d193960ce3ec7773ec 100644 (file)
@@ -1,5 +1,5 @@
 //
-// "$Id: pdftops.cxx 6324 2007-03-11 02:09:46Z mike $"
+// "$Id: pdftops.cxx 6421 2007-03-30 20:02:19Z mike $"
 //
 //   PDF to PostScript filter front-end for the Common UNIX Printing
 //   System (CUPS).
@@ -35,6 +35,7 @@
 #include <stdlib.h>
 #include <stddef.h>
 #include <cups/string.h>
+#include <cups/i18n.h>
 #include "parseargs.h"
 #include "GString.h"
 #include "gmem.h"
@@ -92,14 +93,15 @@ main(int  argc,                             // I - Number of command-line args
 
   // Make sure we have the right number of arguments for CUPS!
   if (argc < 6 || argc > 7) {
-    fputs("Usage: pdftops job user title copies options [filename]\n", stderr);
+    fprintf(stderr, _("Usage: %s job user title copies options [filename]\n"),
+            argv[0]);
     return (1);
   }
 
   // Copy stdin if needed...
   if (argc == 6) {
     if ((fd = cupsTempFd(tempfile, sizeof(tempfile))) < 0) {
-      perror("ERROR: Unable to copy PDF file");
+      perror(_("ERROR: Unable to copy PDF file"));
       return (1);
     }
 
@@ -348,5 +350,5 @@ main(int  argc,                             // I - Number of command-line args
 
 
 //
-// End of "$Id: pdftops.cxx 6324 2007-03-11 02:09:46Z mike $".
+// End of "$Id: pdftops.cxx 6421 2007-03-30 20:02:19Z mike $".
 //