D9996: Initialize the translations of the ppd

Luigi Toscano noreply at phabricator.kde.org
Sat Jan 20 19:33:02 UTC 2018


ltoscano created this revision.
ltoscano added a reviewer: dantti.
Restricted Application added a subscriber: kde-utils-devel.
ltoscano requested review of this revision.

REVISION 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.

REPOSITORY
  R363 Print Manager

BRANCH
  Applications/17.12

REVISION DETAIL
  https://phabricator.kde.org/D9996

AFFECTED FILES
  configure-printer/PrinterOptions.cpp

To: ltoscano, dantti
Cc: kde-utils-devel, #localization
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20180120/c0dca06a/attachment.html>


More information about the Kde-utils-devel mailing list