]> git.ipfire.org Git - thirdparty/cups.git/commit
Last of the media improvements (Issue #5167)
authorMichael Sweet <michael.r.sweet@gmail.com>
Thu, 30 Nov 2017 16:38:54 +0000 (11:38 -0500)
committerMichael Sweet <michael.r.sweet@gmail.com>
Thu, 30 Nov 2017 16:38:54 +0000 (11:38 -0500)
commit84de5e9234e078e149a982848bf49ed4a8e83bd1
tree41ac2b1d906ea0e266ad0683d419e91bea9bb9db
parent63b75fbef93c854583d3cb22b951f12ecb75efa3
Last of the media improvements (Issue #5167)

cups/dest-localization.c:
- Use "other tray" and "other media" for unknown media sources and types.

cups/dest-options.c:
- media-key is king for size matching.
- Synthesize a media-key value using the size name unless we can't get one.

cups/language-private.h:
- Add _CUPS_MESSAGE_PO constant.

cups/pwg-media.c:
- Allow PWG names with a trailing "_foo" qualifier (so media-key still works
  if an application just adds the _cups_size_t.media value as the "media"
  option.

locale/*.{po,pot,strings}:
- Update localization strings.

locale/cups.footer:
- Add common HP and Canon media types.

locale/checkpo.c:
- Fix \ validation.
19 files changed:
cups/dest-localization.c
cups/dest-options.c
cups/language-private.h
cups/pwg-media.c
locale/checkpo.c
locale/cups.footer
locale/cups.pot
locale/cups.strings
locale/cups_ca.po
locale/cups_cs.po
locale/cups_de.po
locale/cups_es.po
locale/cups_fr.po
locale/cups_it.po
locale/cups_ja.po
locale/cups_pt_BR.po
locale/cups_ru.po
locale/cups_zh_CN.po
locale/locale.txt [deleted file]