GNOME Bugzilla – Bug 619039
Use Unicode strings for translatable messages in Python plugins
Last modified: 2010-12-17 20:39:40 UTC
Convert all the translatable strings in the Python plugins to use Unicode strings, and ensure that all the .py files are UTF-8 encoded. This fixes gettext for translatable strings which use Unicode characters (such as ellipses). This also introduces Unicode characters to a few more strings, for consistency.
Created attachment 161389 [details] [review] Use Unicode strings for translatable messages in Python plugins
(See bug #591496 for background information.)
Bastien?
Argh, this causes massive failures with the new pygobject stuff: bug #620579. I'll commit it once that's fixed.
Created attachment 165000 [details] [review] Use Unicode strings for translatable messages in Python plugins Patch updated against master, for applying later.
commit 42679707cd3281843ea2f347785ff52e682ff196 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Thu Nov 18 21:09:57 2010 +0000 Use Unicode strings for translatable messages in Python plugins Convert all the translatable strings in the Python plugins to use Unicode strings, and ensure that all the .py files are UTF-8 encoded. This fixes gettext for translatable strings which use Unicode characters (such as ellipses). This also introduces Unicode characters to a few more strings, for consistency. Closes: bgo#619039 src/plugins/coherence_upnp/coherence_upnp.py | 14 +++++---- src/plugins/iplayer/iplayer.py | 8 +++--- src/plugins/iplayer/iplayer2.py | 5 ++- src/plugins/jamendo/jamendo.py | 38 +++++++++++++------------- src/plugins/opensubtitles/opensubtitles.py | 26 +++++++++-------- src/plugins/pythonconsole/pythonconsole.py | 16 +++++----- 6 files changed, 56 insertions(+), 51 deletions(-)