/*
- * "$Id: ppd.c,v 1.51.2.50 2003/04/10 03:01:48 mike Exp $"
+ * "$Id: ppd.c,v 1.51.2.51 2003/04/11 13:07:36 mike Exp $"
*
* PPD file routines for the Common UNIX Printing System (CUPS).
*
sizeof(option->defchoice));
break;
}
+
+ if (strcmp(keyword, "PageSize") == 0)
+ strlcpy(option->text, cupsLangString(language, CUPS_MSG_MEDIA_SIZE),
+ sizeof(option->text));
+ else if (strcmp(keyword, "MediaType") == 0)
+ strlcpy(option->text, cupsLangString(language, CUPS_MSG_MEDIA_TYPE),
+ sizeof(option->text));
+ else if (strcmp(keyword, "InputSlot") == 0)
+ strlcpy(option->text, cupsLangString(language, CUPS_MSG_MEDIA_SOURCE),
+ sizeof(option->text));
+ else if (strcmp(keyword, "ColorModel") == 0)
+ strlcpy(option->text, cupsLangString(language, CUPS_MSG_OUTPUT_MODE),
+ sizeof(option->text));
+ else if (strcmp(keyword, "Resolution") == 0)
+ strlcpy(option->text, cupsLangString(language, CUPS_MSG_RESOLUTION),
+ sizeof(option->text));
+ else
+ strlcpy(option->text, keyword, sizeof(option->text));
}
}
/*
- * End of "$Id: ppd.c,v 1.51.2.50 2003/04/10 03:01:48 mike Exp $".
+ * End of "$Id: ppd.c,v 1.51.2.51 2003/04/11 13:07:36 mike Exp $".
*/