D12982: Make the new KCMs with QtQuick translatable

Luigi Toscano noreply at phabricator.kde.org
Wed May 23 13:54:19 UTC 2018


ltoscano added a comment.


  In D12982#267013 <https://phabricator.kde.org/D12982#267013>, @davidedmundson wrote:
  
  > > Please also note that, if supporting a different name for the translation catalog would mean changing something in Frameworks,...
  >
  > Relevant parts are:
  >
  > .pot needs to match TRANSLATION_DOMAIN for C++ code
  
  
  .pot needs to match TRANSLATION_DOMAIN for libraries; otherwise you set the domain through KLocalizedString::setApplicationDomain.
  
  > .pot needs to match aboutData()->componentName() for QtQuick loaded code  (configmodule.cpp:159)
  > 
  > Neither of those should require a frameworks change as they can all be adjusted
  
  configmodule.cpp is part of KDeclarative, so making sure that you can use TRANSLATION_DOMAIN requires a change in Frameworks.

REPOSITORY
  R119 Plasma Desktop

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

To: yurchor, #plasma, kde-i18n-doc, ltoscano
Cc: davidedmundson, mart, hein, aacid, ltoscano, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180523/c66e2b34/attachment.html>


More information about the Plasma-devel mailing list