diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2009-10-15 18:50:47 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2009-10-15 18:50:47 +0000 |
commit | 4d301e694f72b03ab2b6c8189387bd7076a3a2ea (patch) | |
tree | 3fe42587c15d843dd9eba082b9519ab52f2571cd /berkeley | |
parent | b226ab99134159fff1c3192d3bf22d2652db386b (diff) | |
download | cups-4d301e694f72b03ab2b6c8189387bd7076a3a2ea.tar.gz |
Merge changes from CUPS 1.5svn-r8849.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1725 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'berkeley')
-rw-r--r-- | berkeley/lpq.c | 12 | ||||
-rw-r--r-- | berkeley/lpr.c | 26 | ||||
-rw-r--r-- | berkeley/lprm.c | 14 |
3 files changed, 26 insertions, 26 deletions
diff --git a/berkeley/lpq.c b/berkeley/lpq.c index 50d240e12..b744848f7 100644 --- a/berkeley/lpq.c +++ b/berkeley/lpq.c @@ -100,7 +100,7 @@ main(int argc, /* I - Number of command-line arguments */ httpEncryption(http, HTTP_ENCRYPT_REQUIRED); #else _cupsLangPrintf(stderr, - _("%s: Sorry, no encryption support compiled in!\n"), + _("%s: Sorry, no encryption support compiled in\n"), argv[0]); #endif /* HAVE_SSL */ break; @@ -115,7 +115,7 @@ main(int argc, /* I - Number of command-line arguments */ { _cupsLangPrintf(stderr, _("%s: Error - expected username after " - "\'-U\' option!\n"), + "\'-U\' option!n"), argv[0]); return (1); } @@ -154,11 +154,11 @@ main(int argc, /* I - Number of command-line arguments */ { if (instance) _cupsLangPrintf(stderr, - _("%s: Error - unknown destination \"%s/%s\"!\n"), + _("%s: Error - unknown destination \"%s/%s\"\n"), argv[0], dest, instance); else _cupsLangPrintf(stderr, - _("%s: Unknown destination \"%s\"!\n"), + _("%s: Unknown destination \"%s\"\n"), argv[0], dest); return (1); @@ -186,7 +186,7 @@ main(int argc, /* I - Number of command-line arguments */ { _cupsLangPrintf(stderr, _("%s: Error - expected hostname after " - "\'-h\' option!\n"), + "\'-h\' option\n"), argv[0]); return (1); } @@ -243,7 +243,7 @@ main(int argc, /* I - Number of command-line arguments */ if (dest && !cupsGetDest(dest, NULL, num_dests, dests)) _cupsLangPrintf(stderr, _("%s: error - %s environment variable names " - "non-existent destination \"%s\"!\n"), + "non-existent destination \"%s\"\n"), argv[0], val, dest); else _cupsLangPrintf(stderr, diff --git a/berkeley/lpr.c b/berkeley/lpr.c index 2e30bc310..84dc220fb 100644 --- a/berkeley/lpr.c +++ b/berkeley/lpr.c @@ -3,7 +3,7 @@ * * "lpr" command for the Common UNIX Printing System (CUPS). * - * Copyright 2007-2008 by Apple Inc. + * Copyright 2007-2009 by Apple Inc. * Copyright 1997-2007 by Easy Software Products. * * These coded instructions, statements, and computer programs are the @@ -74,7 +74,7 @@ main(int argc, /* I - Number of command-line arguments */ cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); #else _cupsLangPrintf(stderr, - _("%s: Sorry, no encryption support compiled in!\n"), + _("%s: Sorry, no encryption support compiled in\n"), argv[0]); #endif /* HAVE_SSL */ break; @@ -89,7 +89,7 @@ main(int argc, /* I - Number of command-line arguments */ { _cupsLangPrintf(stderr, _("%s: Error - expected username after " - "\'-U\' option!\n"), + "\'-U\' option\n"), argv[0]); return (1); } @@ -109,7 +109,7 @@ main(int argc, /* I - Number of command-line arguments */ { _cupsLangPrintf(stderr, _("%s: Error - expected hostname after " - "\'-H\' option!\n"), + "\'-H\' option\n"), argv[0]); return (1); } @@ -132,7 +132,7 @@ main(int argc, /* I - Number of command-line arguments */ { _cupsLangPrintf(stderr, _("%s: Error - expected value after \'-%c\' " - "option!\n"), argv[0], ch); + "option\n"), argv[0], ch); return (1); } } @@ -146,7 +146,7 @@ main(int argc, /* I - Number of command-line arguments */ case 'v' : /* Raster image */ _cupsLangPrintf(stderr, _("%s: Warning - \'%c\' format modifier not " - "supported - output may not be correct!\n"), + "supported - output may not be correct\n"), argv[0], ch); break; @@ -160,7 +160,7 @@ main(int argc, /* I - Number of command-line arguments */ { _cupsLangPrintf(stderr, _("%s: error - expected option=value after " - "\'-o\' option!\n"), + "\'-o\' option\n"), argv[0]); return (1); } @@ -217,7 +217,7 @@ main(int argc, /* I - Number of command-line arguments */ { _cupsLangPrintf(stderr, _("%s: Error - expected destination after " - "\'-P\' option!\n"), + "\'-P\' option\n"), argv[0]); return (1); } @@ -249,7 +249,7 @@ main(int argc, /* I - Number of command-line arguments */ { _cupsLangPrintf(stderr, _("%s: Error - expected copy count after " - "\'-#\' option!\n"), + "\'-#\' option\n"), argv[0]); return (1); } @@ -273,7 +273,7 @@ main(int argc, /* I - Number of command-line arguments */ { _cupsLangPrintf(stderr, _("%s: Error - expected name after \'-%c\' " - "option!\n"), argv[0], ch); + "option\n"), argv[0], ch); return (1); } @@ -283,7 +283,7 @@ main(int argc, /* I - Number of command-line arguments */ default : _cupsLangPrintf(stderr, - _("%s: Error - unknown option \'%c\'!\n"), + _("%s: Error - unknown option \'%c\'\n"), argv[0], argv[i][1]); return (1); } @@ -354,7 +354,7 @@ main(int argc, /* I - Number of command-line arguments */ if (printer && !cupsGetNamedDest(NULL, printer, NULL)) _cupsLangPrintf(stderr, _("%s: Error - %s environment variable names " - "non-existent destination \"%s\"!\n"), + "non-existent destination \"%s\"\n"), argv[0], val, printer); else if (cupsLastError() == IPP_NOT_FOUND) _cupsLangPrintf(stderr, @@ -362,7 +362,7 @@ main(int argc, /* I - Number of command-line arguments */ argv[0]); else _cupsLangPrintf(stderr, - _("%s: Error - scheduler not responding!\n"), + _("%s: Error - scheduler not responding\n"), argv[0]); return (1); diff --git a/berkeley/lprm.c b/berkeley/lprm.c index eeeca538b..e07eb2225 100644 --- a/berkeley/lprm.c +++ b/berkeley/lprm.c @@ -3,7 +3,7 @@ * * "lprm" command for the Common UNIX Printing System (CUPS). * - * Copyright 2007 by Apple Inc. + * Copyright 2007-2009 by Apple Inc. * Copyright 1997-2006 by Easy Software Products. * * These coded instructions, statements, and computer programs are the @@ -69,7 +69,7 @@ main(int argc, /* I - Number of command-line arguments */ cupsSetEncryption(HTTP_ENCRYPT_REQUIRED); #else _cupsLangPrintf(stderr, - _("%s: Sorry, no encryption support compiled in!\n"), + _("%s: Sorry, no encryption support compiled in\n"), argv[0]); #endif /* HAVE_SSL */ break; @@ -90,7 +90,7 @@ main(int argc, /* I - Number of command-line arguments */ NULL)) == NULL) { _cupsLangPrintf(stderr, - _("%s: Error - unknown destination \"%s\"!\n"), + _("%s: Error - unknown destination \"%s\"\n"), argv[0], name); goto error; } @@ -108,7 +108,7 @@ main(int argc, /* I - Number of command-line arguments */ { _cupsLangPrintf(stderr, _("%s: Error - expected username after " - "\'-U\' option!\n"), + "\'-U\' option\n"), argv[0]); goto error; } @@ -128,7 +128,7 @@ main(int argc, /* I - Number of command-line arguments */ { _cupsLangPrintf(stderr, _("%s: Error - expected hostname after " - "\'-h\' option!\n"), + "\'-h\' option\n"), argv[0]); goto error; } @@ -145,7 +145,7 @@ main(int argc, /* I - Number of command-line arguments */ default : _cupsLangPrintf(stderr, - _("%s: Error - unknown option \'%c\'!\n"), + _("%s: Error - unknown option \'%c\'\n"), argv[0], argv[i][1]); goto error; } @@ -179,7 +179,7 @@ main(int argc, /* I - Number of command-line arguments */ else { _cupsLangPrintf(stderr, - _("%s: Error - unknown destination \"%s\"!\n"), + _("%s: Error - unknown destination \"%s\"\n"), argv[0], argv[i]); goto error; } |