summaryrefslogtreecommitdiff
path: root/cups/ppd-private.h
diff options
context:
space:
mode:
authorMichael R Sweet <michaelrsweet@gmail.com>2017-12-19 14:53:00 -0500
committerMichael R Sweet <michaelrsweet@gmail.com>2017-12-19 14:53:00 -0500
commit2fa1ba3cc0e02799b739ef0e06efc940a8c5a33e (patch)
tree3d9da027144be82db3acea277a4c7dcd58d0f40f /cups/ppd-private.h
parent3d90ace3170087acd66d189fcf2362242815f88d (diff)
downloadcups-2fa1ba3cc0e02799b739ef0e06efc940a8c5a33e.tar.gz
Generate strings files for localizing PPD options (Issue #5194)
cups/language-private.h: - New _cupsMessageAdd and _cupsMessageSave private APIs. cups/language.c: - Implement new _cupsMessageAdd and _cupsMessageSave private APIs. cups/ppd-cache.c: - Generate strings array when loading cache from PPD. - Remove strings_uri (just pulling strings from PPD now). cups/ppd-private.h: - Remove strings_uri and add strings array to cache. scheduler/client.c: - Add support for /strings/NAME.strings - Cleanup implementation of GET/HEAD/POST to files. scheduler/ipp.c: - Return local strings file URI. - Clean up copy_printer_attrs implementation. scheduler/printers.c: - Save strings array to cache file, drop support for strings_uri. scheduler/printers.h: - Add strings filename to cupsd_printer_t structure.
Diffstat (limited to 'cups/ppd-private.h')
-rw-r--r--cups/ppd-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/ppd-private.h b/cups/ppd-private.h
index 6cd168327..21e519ebd 100644
--- a/cups/ppd-private.h
+++ b/cups/ppd-private.h
@@ -146,7 +146,7 @@ struct _ppd_cache_s /**** PPD cache and PWG conversion data ****/
char *password; /* cupsJobPassword value */
cups_array_t *mandatory; /* cupsMandatory value */
char *charge_info_uri; /* cupsChargeInfoURI value */
- char *strings_uri; /* cupsStringsURI value */
+ cups_array_t *strings; /* Localization strings */
cups_array_t *support_files; /* Support files - ICC profiles, etc. */
};