After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 619039 - Use Unicode strings for translatable messages in Python plugins
Use Unicode strings for translatable messages in Python plugins
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Plugins
unspecified
Other All
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on: 620579
Blocks: 621639
 
 
Reported: 2010-05-18 22:46 UTC by Philip Withnall
Modified: 2010-12-17 20:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use Unicode strings for translatable messages in Python plugins (18.86 KB, patch)
2010-05-18 22:46 UTC, Philip Withnall
accepted-commit_now Details | Review
Use Unicode strings for translatable messages in Python plugins (18.86 KB, patch)
2010-06-30 21:45 UTC, Philip Withnall
committed Details | Review

Description Philip Withnall 2010-05-18 22:46:44 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.
Comment 1 Philip Withnall 2010-05-18 22:46:46 UTC
Created attachment 161389 [details] [review]
Use Unicode strings for translatable messages in Python plugins
Comment 2 Philip Withnall 2010-05-18 22:47:21 UTC
(See bug #591496 for background information.)
Comment 3 Philip Withnall 2010-06-26 19:25:15 UTC
Bastien?
Comment 4 Philip Withnall 2010-06-30 21:43:49 UTC
Argh, this causes massive failures with the new pygobject stuff: bug #620579. I'll commit it once that's fixed.
Comment 5 Philip Withnall 2010-06-30 21:45:26 UTC
Created attachment 165000 [details] [review]
Use Unicode strings for translatable messages in Python plugins

Patch updated against master, for applying later.
Comment 6 Philip Withnall 2010-12-17 20:39:23 UTC
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(-)