From 47edd31b58b46ef847dba47610b01b3d07644476 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Sat, 24 Oct 2009 13:12:10 +0200 Subject: [PATCH] Let's try fix the version check message. --- openlp/core/ui/mainwindow.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index c768210a0..a9d86155d 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -529,10 +529,11 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow): applicationVersion = self.generalConfig.get_config(u'Application version', u'1.9.0-595') version = check_latest_version(self.generalConfig, applicationVersion) if applicationVersion != version: + version_text = self.trUtf8(u'OpenLP version %s has been updated ' + u'to version %s') QtGui.QMessageBox.question(None, - self.trUtf8(u'OpenLP version Updated'), - self.trUtf8(u'OpenLP version %s has been updated to version %s') - % (applicationVersion, version), + self.trUtf8(u'OpenLP Version Updated'), + version_text % (applicationVersion, version), QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Ok), QtGui.QMessageBox.Ok) self.generalConfig.set_config(u'Application version', version)