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 */