Fixed up translate parameters.

This commit is contained in:
Raoul Snyman 2010-06-19 20:29:08 +02:00
parent 38255ffdb6
commit 8c6e033c3d

View File

@ -212,9 +212,9 @@ class AmendThemeForm(QtGui.QDialog, Ui_AmendThemeDialog):
def onImageToolButtonClicked(self): def onImageToolButtonClicked(self):
images_filter = get_images_filter() images_filter = get_images_filter()
images_filter = '%s;;%s (*.*) (*)' % (images_filter, images_filter = '%s;;%s (*.*) (*)' % (images_filter,
translate(u'AmendThemeForm', u'All Files')) translate('AmendThemeForm', 'All Files'))
filename = QtGui.QFileDialog.getOpenFileName(self, filename = QtGui.QFileDialog.getOpenFileName(self,
translate(u'AmendThemeForm', u'Select Image'), u'', images_filter) translate('AmendThemeForm', 'Select Image'), u'', images_filter)
if filename: if filename:
self.ImageLineEdit.setText(filename) self.ImageLineEdit.setText(filename)
self.theme.background_filename = filename self.theme.background_filename = filename