From 62e9663aec1e11762db86b65554d526f428e5375 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Mon, 12 Oct 2015 13:59:17 +0100 Subject: [PATCH] Make 2 texts translateable --- openlp/core/ui/projector/manager.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/projector/manager.py b/openlp/core/ui/projector/manager.py index e986ee729..f9485f364 100644 --- a/openlp/core/ui/projector/manager.py +++ b/openlp/core/ui/projector/manager.py @@ -473,8 +473,9 @@ class ProjectorManager(OpenLPMixin, RegistryMixin, QWidget, Ui_ProjectorManager, return projector = list_item.data(QtCore.Qt.UserRole) msg = QtGui.QMessageBox() - msg.setText('Delete projector (%s) %s?' % (projector.link.ip, projector.link.name)) - msg.setInformativeText('Are you sure you want to delete this projector?') + msg.setText(translate('OpenLP.ProjectorManager', 'Delete projector (%s) %s?') % (projector.link.ip, + projector.link.name)) + msg.setInformativeText(translate('OpenLP.ProjectorManager', 'Are you sure you want to delete this projector?')) msg.setStandardButtons(msg.Cancel | msg.Ok) msg.setDefaultButton(msg.Cancel) ans = msg.exec_()