Review Request 112146: Make Parley scripts translatable using Kross

Yuri Chornoivan yurchor at ukr.net
Sun Aug 25 16:38:36 UTC 2013



> On Aug. 25, 2013, 4:30 p.m., Albert Astals Cid wrote:
> > So you say that kdecore.i18n in python basically doesn't work. Maybe you could report a but about it? Don't think noone will try to fix it, but better have it reported than not.
> > 
> > Also, have you checked that Messages.sh still extacts those T.i18n() ?

No, I do not say this. It just does not work this way. And I do not know what to report exactly.

Using Kross is recommended here:

http://api.kde.org/4.11-api/kdelibs-apidocs/kross/html/classKross_1_1TranslationModule.html

This method is used for Calligra Plan and Calligra Sheets Python scripts and is proven to work (at least noone complained yet).

Yes, extraction works well. I was well tested here locally.


- Yuri


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112146/#review38560
-----------------------------------------------------------


On Aug. 18, 2013, 5:32 p.m., Yuri Chornoivan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/112146/
> -----------------------------------------------------------
> 
> (Updated Aug. 18, 2013, 5:32 p.m.)
> 
> 
> Review request for KDE Edu and Frederik Gladhorn.
> 
> 
> Description
> -------
> 
> "Fetch Sound" and example scripts are not untranslatable, "Google Images" needs some not very elegant solution to not crash on non-ASCII locales.
> 
> The patch against git/master tries to resolve these issues.
> 
> 
> Diffs
> -----
> 
>   plugins/example.py d2ea5ed 
>   plugins/google_images.py 5317ba6 
>   plugins/wiktionary/wiktionary_sound.py 1e03b02 
> 
> Diff: http://git.reviewboard.kde.org/r/112146/diff/
> 
> 
> Testing
> -------
> 
> Tested with Ukrainian translation (extraction, translation). Seems everything works without crashes and with "Scripts" menu items translated.
> 
> 
> Thanks,
> 
> Yuri Chornoivan
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20130825/830d1d48/attachment-0001.html>


More information about the kde-edu mailing list