Review Request 111470: Allow loading google images plugin on non-ASCII locales
Albert Astals Cid
aacid at kde.org
Sun Jul 21 15:58:22 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111470/#review36254
-----------------------------------------------------------
plugins/google_images.py
<http://git.reviewboard.kde.org/r/111470/#comment26821>
I'm not much into python, but seems to me that instead of adding the toUtf8 it'd be simpler to remove the str() (if that works of course :D)
- Albert Astals Cid
On July 10, 2013, 6:11 a.m., Yuri Chornoivan wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111470/
> -----------------------------------------------------------
>
> (Updated July 10, 2013, 6:11 a.m.)
>
>
> Review request for KDE Edu and Frederik Gladhorn.
>
>
> Description
> -------
>
> Parley Google images plugin fails to load in Ukrainian (Cyrillic) with the message:
>
> /usr/share/apps/parley/plugins/google_images.py, line 250:
> 'ascii' codec can't encode characters in position 0-6: ordinal not in range(128)
> Backtrace:
> File "/usr/share/apps/parley/plugins/google_images.py", line 250, in <module>
> action1.statusTip = str(i18n("Fetches an image for the selected translation"))
>
> This patch tries to avoid this inconvenience.
>
>
> Diffs
> -----
>
> plugins/google_images.py 5317ba6
>
> Diff: http://git.reviewboard.kde.org/r/111470/diff/
>
>
> Testing
> -------
>
> No errors while loading editor. Plugin does not work anyway, but it's a different story. ;)
>
>
> Thanks,
>
> Yuri Chornoivan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20130721/6e30226a/attachment.html>
More information about the kde-edu
mailing list