SHARE
TWEET

Rhythmbox imstatus plugin unicode fix

Peaceseeker Jan 27th, 2013 23 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- a/plugins/im-status/im-status.py    2012-11-14 23:32:01.612415100 +0000
  2. +++ b/plugins/im-status/im-status.py    2012-11-14 23:32:32.778782486 +0000
  3. @@ -168,22 +168,22 @@
  4.          # Translators: do not translate %(artist)s or %(title)s, they are
  5.          # string substitution markers (like %s) for the artist and title of
  6.          # the current playing song.  They can be reordered if necessary.
  7. -        new_status = _(u"♫ %(artist)s - %(title)s ♫") % subs
  8. +        new_status = _(u"♬ %(artist)s - %(title)s ♬") % subs
  9.        elif self.current_album:
  10.          # Translators: do not translate %(artist)s or %(album)s, they are
  11.          # string substitution markers (like %s) for the artist and album name
  12.          # of the current playing song.  They can be reordered if necessary.
  13. -        new_status = _(u"♫ %(artist)s - %(album)s ♫") % subs
  14. +        new_status = _(u"♬ %(artist)s - %(album)s ♬") % subs
  15.      elif self.current_album:
  16.        # Translators: do not translate %(album)s, it is a string substitution
  17.        # marker (like %s) for the album name of the current playing song.
  18. -      new_status = _(u"♫ %(album)s ♫") % subs
  19. +      new_status = _(u"♬ %(album)s ♬") % subs
  20.      elif self.current_title:
  21.        # Translators: do not translate %(title)s, it is a string substitution
  22.        # marker (like %s) for the title of the current playing song.
  23. -      new_status = _(u"♫ %(title)s ♫") % subs
  24. +      new_status = _(u"♬ %(title)s ♬") % subs
  25.      else:
  26. -      new_status = _(u"♫ Listening to music... ♫")
  27. +      new_status = _(u"♬ Listening to music... ♬")
  28.  
  29.      self.set_mc5_status (new_status)
  30.      self.set_purple_status (new_status)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top