D22774: In the note applet, always paste without formatting by default. Add an action to paste preserving formatting in the contextual menu.

David Edmundson noreply at phabricator.kde.org
Mon Aug 26 16:22:08 BST 2019


davidedmundson added inline comments.

INLINE COMMENTS

> luc4 wrote in main.qml:238
> I think I copied from here: https://git.reviewboard.kde.org/r/121698/diff/1/#. Is it outdated maybe?

~ish.

To explain what it's doing.

i18n("hello")

will return a translated version of the word "hello" based on the currently loaded domain, which is done automatically for applets and applications, but there's some issues with library code.

i18nd("somePotFile", "hello") will explicitly load the pot file "somePotFile" then translate the word hello.

---

In this particular case, everything used is within the applet, so you can just use i18n

REPOSITORY
  R114 Plasma Addons

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

To: luc4, davidedmundson, #plasma
Cc: ngraham, 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/20190826/9887fe91/attachment-0001.html>


More information about the Plasma-devel mailing list