ALT Linux repositórios
S: | 2.4.7-alt1 |
5.0: | 1.3.10-alt1 |
4.1: | 1.3.10-alt0.M41.4 |
+updates: | 1.3.9-alt1.M41.1 |
4.0: | 1.2.12-alt6.M40.9 |
+updates: | 1.2.12-alt6.M40.8 |
3.0: | 1.1.20-alt14.1 |
Group :: Sistema/Servidores
RPM: cups
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: ALT-checkpo.patch
Download
Download
diff --git a/backend/failover.c b/backend/failover.c
index 9affd8f..870c277 100644
--- a/backend/failover.c
+++ b/backend/failover.c
@@ -568,7 +568,7 @@ get_printer_attributes(const char *device_uri, ipp_t **attributes)
* Try connecting to the remote server...
*/
fprintf(stderr, "DEBUG: Connecting to %s:%d\n", hostname, port);
- _cupsLangPuts(stderr, _("INFO: Connecting to printer...\n"));
+ _cupsLangPuts(stderr, _(":INFO: Connecting to printer...\n"));
http = httpConnectEncrypt(hostname, port, cupsEncryption());
@@ -582,17 +582,17 @@ get_printer_attributes(const char *device_uri, ipp_t **attributes)
switch (error)
{
case EHOSTDOWN :
- _cupsLangPuts(stderr, _("WARNING: "
+ _cupsLangPuts(stderr, _(":WARNING: "
"The printer may not exist or "
"is unavailable at this time.\n"));
break;
case EHOSTUNREACH :
- _cupsLangPuts(stderr, _("WARNING: "
+ _cupsLangPuts(stderr, _(":WARNING: "
"The printer is unreachable at this "
"time.\n"));
break;
case ECONNREFUSED :
- _cupsLangPuts(stderr, _("WARNING: "
+ _cupsLangPuts(stderr, _(":WARNING: "
"Connection Refused.\n"));
break;
default :
@@ -659,7 +659,7 @@ get_printer_attributes(const char *device_uri, ipp_t **attributes)
break;
default :
_cupsLangPrintf(stderr,
- _("DEBUG: Invalid version, %d, from URI. "
+ _(":DEBUG: Invalid version, %d, from URI. "
"Using default of 1.1 \n"),
version);
version = 11;
@@ -715,12 +715,12 @@ get_printer_attributes(const char *device_uri, ipp_t **attributes)
{
case IPP_FORBIDDEN :
case IPP_NOT_AUTHORIZED :
- _cupsLangPuts(stderr, _("ERROR: Not Authorized.\n"));
+ _cupsLangPuts(stderr, _(":ERROR: Not Authorized.\n"));
rc = CUPS_BACKEND_AUTH_REQUIRED;
break;
case IPP_PRINTER_BUSY :
case IPP_SERVICE_UNAVAILABLE :
- _cupsLangPuts(stderr, _("ERROR: "
+ _cupsLangPuts(stderr, _(":ERROR: "
"The printer is not responding.\n"));
rc = CUPS_BACKEND_FAILED;
break;
@@ -729,7 +729,7 @@ get_printer_attributes(const char *device_uri, ipp_t **attributes)
fprintf(stderr, "ERROR: Destination does not support IPP version %d\n",
version);
case IPP_NOT_FOUND :
- _cupsLangPuts(stderr, _("ERROR: "
+ _cupsLangPuts(stderr, _(":ERROR: "
"The printer configuration is incorrect or the "
"printer no longer exists.\n"));
rc = CUPS_BACKEND_STOP;
diff --git a/scheduler/ipp.c b/scheduler/ipp.c
index 885fc56..ec6da67 100644
--- a/scheduler/ipp.c
+++ b/scheduler/ipp.c
@@ -7191,7 +7191,7 @@ get_job_attrs(cupsd_client_t *con, /* I - Client connection */
/*
* Unfortunately we have to lie to the user...
*/
- send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist!"), jobid);
+ send_ipp_status(con, IPP_NOT_FOUND, _("Job #%d does not exist."), jobid);
return;
}
#endif /* WITH_LSPP */