From 8c6e033c3d96040af3708ada9ebc07433c096cc3 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sat, 19 Jun 2010 20:29:08 +0200 Subject: [PATCH] Fixed up translate parameters. --- openlp/core/ui/amendthemeform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/amendthemeform.py b/openlp/core/ui/amendthemeform.py index 91fecf229..1439e711e 100644 --- a/openlp/core/ui/amendthemeform.py +++ b/openlp/core/ui/amendthemeform.py @@ -212,9 +212,9 @@ class AmendThemeForm(QtGui.QDialog, Ui_AmendThemeDialog): def onImageToolButtonClicked(self): images_filter = get_images_filter() images_filter = '%s;;%s (*.*) (*)' % (images_filter, - translate(u'AmendThemeForm', u'All Files')) + translate('AmendThemeForm', 'All Files')) filename = QtGui.QFileDialog.getOpenFileName(self, - translate(u'AmendThemeForm', u'Select Image'), u'', images_filter) + translate('AmendThemeForm', 'Select Image'), u'', images_filter) if filename: self.ImageLineEdit.setText(filename) self.theme.background_filename = filename