Review Request 124394: Timer: trying to fix missing translation in config file (not working)

Martin Klapetek martin.klapetek at gmail.com
Tue Jul 21 21:13:00 UTC 2015



> On July 19, 2015, 6:51 p.m., Kai Uwe Broulik wrote:
> > What about just leaving the default an empty string and then do a fallback on the QML side?
> 
> Bernhard Friedreich wrote:
>     that should be possible yes.. but shouldn't it also work like this?
> 
> Martin Klapetek wrote:
>     I think you are supposed to just add "TranslationSystem=kde" and "TranslationDomain=your-translation-domain" into the kcfgc file and the rest is automagic. Emphasizes on the "think".
> 
> Martin Klapetek wrote:
>     ...and then you should use <label>...</label> or <text>...</text>.
> 
> Bernhard Friedreich wrote:
>     hm.. I couldn't find any examples on how to integrate a kcfgc file with a plasmoid - is this supposed to be done? Or shall I just fallback to the solution proposed by Kai? If you think this is the way to go I'll try of course :)

I'd say whatever works. I'm not entirely sure it works with qml and we use the "fallback" everywhere anyway.


- Martin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124394/#review82655
-----------------------------------------------------------


On July 19, 2015, 4:25 p.m., Bernhard Friedreich wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124394/
> -----------------------------------------------------------
> 
> (Updated July 19, 2015, 4:25 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Bugs: 347492
>     http://bugs.kde.org/show_bug.cgi?id=347492
> 
> 
> Repository: kdeplasma-addons
> 
> 
> Description
> -------
> 
> I'm trying to fix a missing translation in the timer applets config file (config.xml using kcfg) but I can't get it to work :(
> 
> David Edmundson commented in the bug if this fixed it - I don't think so - or at least I don't understand what to do with it..
> https://git.reviewboard.kde.org/r/123872/
> 
> Any suggestions?
> 
> 
> Diffs
> -----
> 
>   applets/timer/package/contents/config/main.xml 833bf8f45df4f0e468301a426852bf01c94e1221 
> 
> Diff: https://git.reviewboard.kde.org/r/124394/diff/
> 
> 
> Testing
> -------
> 
> Tried adding the applet - the full i18n String is used instead of a translation/the original string
> 
> 
> Thanks,
> 
> Bernhard Friedreich
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150721/f59bac5b/attachment-0001.html>


More information about the Plasma-devel mailing list