D23783: [kcm] Fix i18n output file name and split texts

Pino Toscano noreply at phabricator.kde.org
Sun Sep 8 14:55:12 BST 2019


pino added a comment.


  In D23783#527719 <https://phabricator.kde.org/D23783#527719>, @romangg wrote:
  
  > In D23783#527582 <https://phabricator.kde.org/D23783#527582>, @pino wrote:
  >
  > > It's a normal QML function ...
  >
  >
  > If it's just a QML function why is it a problem to `+` some strings when providing them as an argument?
  
  
  This is not a "problem" when translating the string at runtime, but rather when extracting it (with xgettext).
  (x)gettext extracts only string literals, and a string concatenation is not (they are two strings, actually). This is why continuation lines do not pose issue: they are still a single literal string.

REPOSITORY
  R104 KScreen

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

To: romangg, #plasma, victorr, yurchor
Cc: zzag, pino, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190908/2a306e98/attachment.html>


More information about the Plasma-devel mailing list