forked from openlp/openlp
Make 2 texts translateable
This commit is contained in:
parent
a98538c75f
commit
62e9663aec
@ -473,8 +473,9 @@ class ProjectorManager(OpenLPMixin, RegistryMixin, QWidget, Ui_ProjectorManager,
|
|||||||
return
|
return
|
||||||
projector = list_item.data(QtCore.Qt.UserRole)
|
projector = list_item.data(QtCore.Qt.UserRole)
|
||||||
msg = QtGui.QMessageBox()
|
msg = QtGui.QMessageBox()
|
||||||
msg.setText('Delete projector (%s) %s?' % (projector.link.ip, projector.link.name))
|
msg.setText(translate('OpenLP.ProjectorManager', 'Delete projector (%s) %s?') % (projector.link.ip,
|
||||||
msg.setInformativeText('Are you sure you want to delete this projector?')
|
projector.link.name))
|
||||||
|
msg.setInformativeText(translate('OpenLP.ProjectorManager', 'Are you sure you want to delete this projector?'))
|
||||||
msg.setStandardButtons(msg.Cancel | msg.Ok)
|
msg.setStandardButtons(msg.Cancel | msg.Ok)
|
||||||
msg.setDefaultButton(msg.Cancel)
|
msg.setDefaultButton(msg.Cancel)
|
||||||
ans = msg.exec_()
|
ans = msg.exec_()
|
||||||
|
Loading…
Reference in New Issue
Block a user