From ba89e6e1a2ada774ee6c1a2667d591dc14520ffe Mon Sep 17 00:00:00 2001 From: Michael Gorven Date: Mon, 30 Nov 2009 08:39:36 +0200 Subject: [PATCH] Fix copyright symbol in translation strings. --- openlp/core/ui/about.py | 2 +- openlp/plugins/songs/forms/editsongdialog.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/about.py b/openlp/core/ui/about.py index 808dea07a..19e076bed 100644 --- a/openlp/core/ui/about.py +++ b/openlp/core/ui/about.py @@ -150,7 +150,7 @@ class AboutForm(QtGui.QDialog): """ AboutForm.setWindowTitle(self.trUtf8('About openlp.org')) self.CopyrightLabel.setText( - self.trUtf8('Copyright \u00a9 2004-2009 openlp.org Foundation')) + self.trUtf8(u'Copyright \u00a9 2004-2009 openlp.org Foundation'.encode('utf8'))) self.AboutAuthors.setText(self.trUtf8( 'openlp.org is written and maintained by volunteers. If you would ' 'like to see more free Christian software being written, please ' diff --git a/openlp/plugins/songs/forms/editsongdialog.py b/openlp/plugins/songs/forms/editsongdialog.py index d67cba4f2..b7568d951 100644 --- a/openlp/plugins/songs/forms/editsongdialog.py +++ b/openlp/plugins/songs/forms/editsongdialog.py @@ -441,7 +441,7 @@ class Ui_EditSongDialog(object): self.ThemeGroupBox.setTitle(self.trUtf8('Theme')) self.ThemeAddButton.setText(self.trUtf8('Add a Theme')) self.CopyrightGroupBox.setTitle(self.trUtf8('Copyright Information')) - self.CopyrightInsertButton.setText(self.trUtf8('\u00a9')) + self.CopyrightInsertButton.setText(self.trUtf8(u'\u00a9'.encode('utf8'))) self.CCLILabel.setText(self.trUtf8('CCLI Number:')) self.CommentsGroupBox.setTitle(self.trUtf8('Comments')) self.SongTabWidget.setTabText(