if (*ptr != '>')
{
_cupsLangPrintf(stderr,
- _("ppdc: Invalid #include/#po filename \"%s\"!\n"), n);
+ _("ppdc: Invalid #include/#po filename \"%s\"\n"), n);
return (0);
}
if (!get_token(fp, name, sizeof(name)))
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected name after %s on line %d of %s!\n"),
+ _("ppdc: Expected name after %s on line %d of %s\n"),
loc ? "LocAttribute" : "Attribute", fp->line, fp->filename);
return (0);
}
if (!get_token(fp, selector, sizeof(selector)))
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected selector after %s on line %d of %s!\n"),
+ _("ppdc: Expected selector after %s on line %d of %s\n"),
loc ? "LocAttribute" : "Attribute", fp->line, fp->filename);
return (0);
}
if (!get_token(fp, value, sizeof(value)))
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected value after %s on line %d of %s!\n"),
+ _("ppdc: Expected value after %s on line %d of %s\n"),
loc ? "LocAttribute" : "Attribute", fp->line, fp->filename);
return (0);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected name/text combination for ColorModel on "
- "line %d of %s!\n"), fp->line, fp->filename);
+ "line %d of %s\n"), fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected colorspace for ColorModel on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected color order for ColorModel on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected compression for ColorModel on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected resolution/mediatype following "
- "ColorProfile on line %d of %s!\n"),
+ "ColorProfile on line %d of %s\n"),
fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected constraints string for UIConstraints on "
- "line %d of %s!\n"), fp->line, fp->filename);
+ "line %d of %s\n"), fp->line, fp->filename);
return (NULL);
}
if (*ptr != '*')
{
_cupsLangPrintf(stderr,
- _("ppdc: Option constraint must *name on line %d of %s!\n"),
+ _("ppdc: Option constraint must *name on line %d of %s\n"),
fp->line, fp->filename);
return (NULL);
}
if (*ptr != '*')
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected two option names on line %d of %s!\n"),
+ _("ppdc: Expected two option names on line %d of %s\n"),
fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected duplex type after Duplex on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
return;
}
}
else
_cupsLangPrintf(stderr,
- _("ppdc: Unknown duplex type \"%s\" on line %d of %s!\n"),
+ _("ppdc: Unknown duplex type \"%s\" on line %d of %s\n"),
temp, fp->line, fp->filename);
}
if (!get_token(fp, type, sizeof(type)))
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected a filter definition on line %d of %s!\n"),
+ _("ppdc: Expected a filter definition on line %d of %s\n"),
fp->line, fp->filename);
return (NULL);
}
if (!get_token(fp, program, sizeof(program)))
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected a program name on line %d of %s!\n"),
+ _("ppdc: Expected a program name on line %d of %s\n"),
fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Invalid empty MIME type for filter on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
return (NULL);
}
if (cost < 0 || cost > 200)
{
_cupsLangPrintf(stderr,
- _("ppdc: Invalid cost for filter on line %d of %s!\n"),
+ _("ppdc: Invalid cost for filter on line %d of %s\n"),
fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Invalid empty program name for filter on line %d "
- "of %s!\n"), fp->line, fp->filename);
+ "of %s\n"), fp->line, fp->filename);
return (NULL);
}
// Get the number from the file and range-check...
if (!get_token(fp, temp, sizeof(temp)))
{
- _cupsLangPrintf(stderr, _("ppdc: Expected real number on line %d of %s!\n"),
+ _cupsLangPrintf(stderr, _("ppdc: Expected real number on line %d of %s\n"),
fp->line, fp->filename);
return (-1.0f);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Unknown trailing characters in real number \"%s\" "
- "on line %d of %s!\n"), temp, fp->line, fp->filename);
+ "on line %d of %s\n"), temp, fp->line, fp->filename);
return (-1.0f);
}
else
if (!get_token(fp, name, sizeof(name)))
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected name after Font on line %d of %s!\n"),
+ _("ppdc: Expected name after Font on line %d of %s\n"),
fp->line, fp->filename);
return (0);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected encoding after Font on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
return (0);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected version after Font on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
return (0);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected charset after Font on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
return (0);
}
if (!get_token(fp, temp, sizeof(temp)))
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected status after Font on line %d of %s!\n"),
+ _("ppdc: Expected status after Font on line %d of %s\n"),
fp->line, fp->filename);
return (0);
}
else
{
_cupsLangPrintf(stderr,
- _("ppdc: Bad status keyword %s on line %d of %s!\n"),
+ _("ppdc: Bad status keyword %s on line %d of %s\n"),
temp, fp->line, fp->filename);
return (0);
}
if (!get_token(fp, name, sizeof(name)))
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected name/text after %s on line %d of %s!\n"),
+ _("ppdc: Expected name/text after %s on line %d of %s\n"),
keyword, fp->line, fp->filename);
return (NULL);
}
if (!get_token(fp, name, sizeof(name)))
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected group name/text on line %d of %s!\n"),
+ _("ppdc: Expected group name/text on line %d of %s\n"),
fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected name/text after Installable on line %d "
- "of %s!\n"), fp->line, fp->filename);
+ "of %s\n"), fp->line, fp->filename);
return (NULL);
}
if (!get_token(fp, temp, sizeof(temp)))
{
- _cupsLangPrintf(stderr, _("ppdc: Expected integer on line %d of %s!\n"),
+ _cupsLangPrintf(stderr, _("ppdc: Expected integer on line %d of %s\n"),
fp->line, fp->filename);
return (-1);
}
if (!get_token(fp, name, sizeof(name)))
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected option name/text on line %d of %s!\n"),
+ _("ppdc: Expected option name/text on line %d of %s\n"),
fp->line, fp->filename);
return (NULL);
}
if (!get_token(fp, type, sizeof(type)))
{
- _cupsLangPrintf(stderr, _("ppdc: Expected option type on line %d of %s!\n"),
+ _cupsLangPrintf(stderr, _("ppdc: Expected option type on line %d of %s\n"),
fp->line, fp->filename);
return (NULL);
}
else
{
_cupsLangPrintf(stderr,
- _("ppdc: Invalid option type \"%s\" on line %d of %s!\n"),
+ _("ppdc: Invalid option type \"%s\" on line %d of %s\n"),
type, fp->line, fp->filename);
return (NULL);
}
if (!get_token(fp, type, sizeof(type)))
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected option section on line %d of %s!\n"),
+ _("ppdc: Expected option section on line %d of %s\n"),
fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Invalid option section \"%s\" on line %d of "
- "%s!\n"), type, fp->line, fp->filename);
+ "%s\n"), type, fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Option %s redefined with a different type on line "
- "%d of %s!\n"), name, fp->line, fp->filename);
+ "%d of %s\n"), name, fp->line, fp->filename);
return (NULL);
}
else if (g != mg)
{
_cupsLangPrintf(stderr,
_("ppdc: Option %s defined in two different groups on line "
- "%d of %s!\n"), name, fp->line, fp->filename);
+ "%d of %s\n"), name, fp->line, fp->filename);
return (NULL);
}
if (!get_token(fp, locale, sizeof(locale)))
{
_cupsLangPrintf(stderr,
- _("ppdc: Expected locale after #po on line %d of %s!\n"),
+ _("ppdc: Expected locale after #po on line %d of %s\n"),
fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected filename after #po %s on line %d of "
- "%s!\n"), locale, fp->line, fp->filename);
+ "%s\n"), locale, fp->line, fp->filename);
return (NULL);
}
if (find_po(locale))
{
_cupsLangPrintf(stderr,
- _("ppdc: Duplicate #po for locale %s on line %d of %s!\n"),
+ _("ppdc: Duplicate #po for locale %s on line %d of %s\n"),
locale, fp->line, fp->filename);
return (NULL);
}
else
{
_cupsLangPrintf(stderr,
- _("ppdc: Unable to find #po file %s on line %d of %s!\n"),
+ _("ppdc: Unable to find #po file %s on line %d of %s\n"),
poname, fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected override field after Resolution on line "
- "%d of %s!\n"), fp->line, fp->filename);
+ "%d of %s\n"), fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected name/text after Resolution on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
return (NULL);
}
case 0 :
_cupsLangPrintf(stderr,
_("ppdc: Bad resolution name \"%s\" on line %d of "
- "%s!\n"), name, fp->line, fp->filename);
+ "%s\n"), name, fp->line, fp->filename);
break;
case 1 :
ydpi = xdpi;
{
_cupsLangPrintf(stderr,
_("ppdc: Expected resolution/mediatype following "
- "SimpleColorProfile on line %d of %s!\n"),
+ "SimpleColorProfile on line %d of %s\n"),
fp->line, fp->filename);
return (NULL);
}
{
_cupsLangPrintf(stderr,
_("ppdc: Unterminated string starting with %c on line %d "
- "of %s!\n"), quote, startline, fp->filename);
+ "of %s\n"), quote, startline, fp->filename);
return (NULL);
}
delete fp;
if (cond_current != cond_stack)
- _cupsLangPrintf(stderr, _("ppdc: Missing #endif at end of \"%s\"!\n"), f);
+ _cupsLangPrintf(stderr, _("ppdc: Missing #endif at end of \"%s\"\n"), f);
}
if ((cond_current - cond_stack) >= 100)
{
_cupsLangPrintf(stderr,
- _("ppdc: Too many nested #if's on line %d of %s!\n"),
+ _("ppdc: Too many nested #if's on line %d of %s\n"),
fp->line, fp->filename);
break;
}
{
if (cond_current == cond_stack)
{
- _cupsLangPrintf(stderr, _("ppdc: Missing #if on line %d of %s!\n"),
+ _cupsLangPrintf(stderr, _("ppdc: Missing #if on line %d of %s\n"),
fp->line, fp->filename);
break;
}
{
if (cond_current == cond_stack)
{
- _cupsLangPrintf(stderr, _("ppdc: Missing #if on line %d of %s!\n"),
+ _cupsLangPrintf(stderr, _("ppdc: Missing #if on line %d of %s\n"),
fp->line, fp->filename);
break;
}
{
if (cond_current == cond_stack)
{
- _cupsLangPrintf(stderr, _("ppdc: Missing #if on line %d of %s!\n"),
+ _cupsLangPrintf(stderr, _("ppdc: Missing #if on line %d of %s\n"),
fp->line, fp->filename);
break;
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected include filename on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
break;
}
delete incfile;
if (cond_current != old_current)
- _cupsLangPrintf(stderr, _("ppdc: Missing #endif at end of \"%s\"!\n"),
+ _cupsLangPrintf(stderr, _("ppdc: Missing #endif at end of \"%s\"\n"),
incname);
}
else
// Can't find it!
_cupsLangPrintf(stderr,
_("ppdc: Unable to find include file \"%s\" on line %d "
- "of %s!\n"), inctemp, fp->line, fp->filename);
+ "of %s\n"), inctemp, fp->line, fp->filename);
break;
}
}
{
_cupsLangPrintf(stderr,
_("ppdc: Choice found on line %d of %s with no "
- "Option!\n"), fp->line, fp->filename);
+ "Option\n"), fp->line, fp->filename);
break;
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected string after Copyright on line %d "
- "of %s!\n"), fp->line, fp->filename);
+ "of %s\n"), fp->line, fp->filename);
break;
}
{
_cupsLangPrintf(stderr,
_("ppdc: Option %s defined in two different groups on "
- "line %d of %s!\n"), "cupsDarkness", fp->line,
+ "line %d of %s\n"), "cupsDarkness", fp->line,
fp->filename);
c->release();
continue;
{
_cupsLangPrintf(stderr,
_("ppdc: Expected driver type keyword following "
- "DriverType on line %d of %s!\n"),
+ "DriverType on line %d of %s\n"),
fp->line, fp->filename);
continue;
}
d->type = PPDC_DRIVER_LABEL;
else
_cupsLangPrintf(stderr,
- _("ppdc: Unknown driver type %s on line %d of %s!\n"),
+ _("ppdc: Unknown driver type %s on line %d of %s\n"),
temp, fp->line, fp->filename);
}
else if (!strcasecmp(temp, "Duplex"))
{
_cupsLangPrintf(stderr,
_("ppdc: Option %s defined in two different groups on "
- "line %d of %s!\n"), "cupsFinishing", fp->line,
+ "line %d of %s\n"), "cupsFinishing", fp->line,
fp->filename);
c->release();
continue;
{
_cupsLangPrintf(stderr,
_("ppdc: Option %s defined in two different groups on "
- "line %d of %s!\n"), "InputSlot", fp->line,
+ "line %d of %s\n"), "InputSlot", fp->line,
fp->filename);
c->release();
continue;
{
_cupsLangPrintf(stderr,
_("ppdc: Expected name after Manufacturer on line %d "
- "of %s!\n"), fp->line, fp->filename);
+ "of %s\n"), fp->line, fp->filename);
break;
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected name after MediaSize on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
break;
}
{
_cupsLangPrintf(stderr,
_("ppdc: Unknown media size \"%s\" on line %d of "
- "%s!\n"), name, fp->line, fp->filename);
+ "%s\n"), name, fp->line, fp->filename);
break;
}
{
_cupsLangPrintf(stderr,
_("ppdc: Option %s defined in two different groups on "
- "line %d of %s!\n"), "MediaType", fp->line,
+ "line %d of %s\n"), "MediaType", fp->line,
fp->filename);
c->release();
continue;
{
_cupsLangPrintf(stderr,
_("ppdc: Expected name after ModelName on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
break;
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected name after FileName on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
break;
}
{
_cupsLangPrintf(stderr,
_("ppdc: Expected name after PCFileName on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
break;
}
{
_cupsLangPrintf(stderr,
_("ppdc: Option %s defined in two different groups on "
- "line %d of %s!\n"), "Resolution", fp->line,
+ "line %d of %s\n"), "Resolution", fp->line,
fp->filename);
c->release();
continue;
{
_cupsLangPrintf(stderr,
_("ppdc: Expected string after Version on line %d of "
- "%s!\n"), fp->line, fp->filename);
+ "%s\n"), fp->line, fp->filename);
break;
}
else
{
_cupsLangPrintf(stderr,
- _("ppdc: Unknown token \"%s\" seen on line %d of %s!\n"),
+ _("ppdc: Unknown token \"%s\" seen on line %d of %s\n"),
temp, fp->line, fp->filename);
break;
}