Add i18n support for cups advance options
Used 'ppdLocalize' to translate cups options Change-Id: I7fea7c26194fd6c6ee62a17d3e35d7c2c5be6d3c Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
parent
ff67dedaaf
commit
ccc9cd4404
@ -491,6 +491,7 @@ void QPpdPrintDevice::loadPrinter()
|
||||
if (m_ppd) {
|
||||
ppdMarkDefaults(m_ppd);
|
||||
cupsMarkOptions(m_ppd, m_cupsDest->num_options, m_cupsDest->options);
|
||||
ppdLocalize(m_ppd);
|
||||
} else {
|
||||
cupsFreeDests(1, m_cupsDest);
|
||||
m_cupsDest = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user