Fixed (c) symbol

This commit is contained in:
Frode Woldsund 2010-06-23 15:39:36 +02:00
parent 07db3c4c21
commit 56f87c3a35
4 changed files with 6 additions and 5 deletions

View File

@ -169,8 +169,9 @@ class Ui_AboutDialog(object):
self.AboutNotebook.indexOf(self.CreditsTab),
translate('AboutForm', 'Credits'))
self.LicenseTextEdit.setPlainText(translate('AboutForm',
'Copyright \xa9 2004-2010 Raoul Snyman\n'
'Portions copyright \xa9 2004-2010 '
'Copyright ' + u'\u00a9'.encode('utf8') +
' 2004-2010 Raoul Snyman\n'
'Portions copyright ' + u'\u00a9'.encode('utf8') + '2004-2010 '
'Tim Bentley, Jonathan Corwin, Michael Gorven, Scott Guerrieri, '
'Christian Richter, Maikel Stuivenberg, Martin Thompson, Jon '
'Tibble, Carsten Tinggaard\n'

View File

@ -482,7 +482,7 @@ class Ui_EditSongDialog(object):
self.CopyrightGroupBox.setTitle(
translate('SongsPlugin.EditSongForm', 'Copyright Information'))
self.CopyrightInsertButton.setText(
translate('SongsPlugin.EditSongForm', '\xa9'))
translate('SongsPlugin.EditSongForm', u'\u00a9'.encode('utf8')))
self.CCLILabel.setText(
translate('SongsPlugin.EditSongForm', 'CCLI Number:'))
self.CommentsGroupBox.setTitle(

View File

@ -589,7 +589,7 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
def onCopyrightInsertButtonTriggered(self):
text = self.CopyrightEditItem.text()
pos = self.CopyrightEditItem.cursorPosition()
text = text[:pos] + u'\xa9' + text[pos:]
text = text[:pos] + u'\u00a9'.encode('utf8') + text[pos:]
self.CopyrightEditItem.setText(text)
self.CopyrightEditItem.setFocus()
self.CopyrightEditItem.setCursorPosition(pos + 1)

View File

@ -66,7 +66,7 @@ class SongImport(object):
self.copyright_string = unicode(translate(
'SongsPlugin.SongImport', 'copyright'))
self.copyright_symbol = unicode(translate(
'SongsPlugin.SongImport', '\xa9'))
'SongsPlugin.SongImport', u'\u00a9'.encode('utf8')))
@staticmethod
def process_songs_text(manager, text):