summaryrefslogtreecommitdiff
path: root/filter/rastertohp.c
diff options
context:
space:
mode:
authorjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2007-04-02 15:56:16 +0000
committerjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2007-04-02 15:56:16 +0000
commitc0e1af835b65e53b4506f37f235c7cdc820dffa8 (patch)
tree02074fc1df79e914b7a6777ab1e6e9e6da1e79ad /filter/rastertohp.c
parentf42414bf8a43f4c1b464bf1de9d357edba4fd439 (diff)
downloadcups-c0e1af835b65e53b4506f37f235c7cdc820dffa8.tar.gz
Load cups into easysw/current.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@303 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'filter/rastertohp.c')
-rw-r--r--filter/rastertohp.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/filter/rastertohp.c b/filter/rastertohp.c
index e36c5902d..c2feb39a9 100644
--- a/filter/rastertohp.c
+++ b/filter/rastertohp.c
@@ -1,10 +1,10 @@
/*
- * "$Id: rastertohp.c 4493 2005-02-18 02:09:53Z mike $"
+ * "$Id: rastertohp.c 6420 2007-03-30 20:00:59Z mike $"
*
* Hewlett-Packard Page Control Language filter for the Common UNIX
* Printing System (CUPS).
*
- * Copyright 1993-2005 by Easy Software Products.
+ * Copyright 1993-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
* property of Easy Software Products and are protected by Federal
@@ -42,6 +42,7 @@
#include <cups/cups.h>
#include <cups/string.h>
+#include <cups/i18n.h>
#include "raster.h"
#include <stdlib.h>
#include <unistd.h>
@@ -762,7 +763,8 @@ main(int argc, /* I - Number of command-line arguments */
* and return.
*/
- fputs("ERROR: rastertopcl job-id user title copies options [file]\n", stderr);
+ fprintf(stderr, _("Usage: %s job-id user title copies options [file]\n"),
+ argv[0]);
return (1);
}
@@ -825,7 +827,7 @@ main(int argc, /* I - Number of command-line arguments */
*/
if ((y & 127) == 0)
- fprintf(stderr, "INFO: Printing page %d, %d%% complete...\n", Page,
+ fprintf(stderr, _("INFO: Printing page %d, %d%% complete...\n"), Page,
100 * y / header.cupsHeight);
/*
@@ -875,14 +877,14 @@ main(int argc, /* I - Number of command-line arguments */
*/
if (Page == 0)
- fputs("ERROR: No pages found!\n", stderr);
+ fputs(_("ERROR: No pages found!\n"), stderr);
else
- fputs("INFO: " CUPS_SVERSION " is ready to print.\n", stderr);
+ fputs(_("INFO: Ready to print.\n"), stderr);
return (Page == 0);
}
/*
- * End of "$Id: rastertohp.c 4493 2005-02-18 02:09:53Z mike $".
+ * End of "$Id: rastertohp.c 6420 2007-03-30 20:00:59Z mike $".
*/