Initialize the translations of the ppd
ClosedPublic

Authored by ltoscano on Jan 20 2018, 7:32 PM.

Details

Summary

The to ppdLocalize() make sure that the translated strings in the PPD for
the current language are returned instead of the untranslated string.

Unfortunately not all translations are returned, for example section
titles are not translated (the translations are defined a bit differently
in the PPD file and I didn't fine an easy way in the API to extract them).

BUG: 387494

Test Plan

(Most) translations are now available for the printer reported in the bug,
and at least another printer.

Diff Detail

Repository
R363 Print Manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ltoscano created this revision.Jan 20 2018, 7:32 PM
Restricted Application added a subscriber: kde-utils-devel. · View Herald TranscriptJan 20 2018, 7:32 PM
ltoscano requested review of this revision.Jan 20 2018, 7:32 PM
aacid accepted this revision.Jan 21 2018, 6:38 PM
This revision is now accepted and ready to land.Jan 21 2018, 6:38 PM
This revision was automatically updated to reflect the committed changes.