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

Reply via email to