]> git.ipfire.org Git - thirdparty/cups.git/commit - scheduler/printers.c
Generate strings files for localizing PPD options (Issue #5194)
authorMichael R Sweet <michaelrsweet@gmail.com>
Tue, 19 Dec 2017 19:53:00 +0000 (14:53 -0500)
committerMichael R Sweet <michaelrsweet@gmail.com>
Tue, 19 Dec 2017 19:53:00 +0000 (14:53 -0500)
commit2fa1ba3cc0e02799b739ef0e06efc940a8c5a33e
tree3d9da027144be82db3acea277a4c7dcd58d0f40f
parent3d90ace3170087acd66d189fcf2362242815f88d
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.
CHANGES.md
cups/language-private.h
cups/language.c
cups/ppd-cache.c
cups/ppd-private.h
scheduler/client.c
scheduler/ipp.c
scheduler/printers.c
scheduler/printers.h