Changeset 9989

Show
Ignore:
Timestamp:
07/23/08 01:03:33 (3 months ago)
Author:
js
Message:

Make user tune tooltip translatable.

@whoever did that: _() has to be around the format string, NOT the
result of the sprintf!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/tooltips.py

    r9687 r9989  
    613613                        else: 
    614614                                source = _('Unknown Source') 
    615                         tune_string = _('Tune:') + ' ' + _('<b>"%(title)s"</b> by <i>%(artist)s</i>\nfrom <i>%(source)s</i>' %\ 
    616                                         {'title': title, 'artist': artist, 'source': source}) 
     615                        tune_string = _('Tune:') + ' ' + _('<b>"%(title)s"' + 
     616                                '</b> by <i>%(artist)s</i>\nfrom ' + 
     617                                '<i>%(source)s</i>') % {'title': title, 
     618                                'artist': artist, 'source': source} 
    617619                        properties.append((tune_string, None)) 
    618620