From fcd14a12cd9011609014c01a57f290ace4ae48d4 Mon Sep 17 00:00:00 2001 From: Ken Roberts Date: Fri, 10 Oct 2014 08:58:48 -0700 Subject: [PATCH] tranlate strings and cleanups --- openlp/core/ui/projector/manager.py | 3 ++- openlp/core/ui/projector/wizard.py | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/openlp/core/ui/projector/manager.py b/openlp/core/ui/projector/manager.py index 8fbd1f7db..542853243 100644 --- a/openlp/core/ui/projector/manager.py +++ b/openlp/core/ui/projector/manager.py @@ -601,7 +601,8 @@ class ProjectorManager(OpenLPMixin, RegistryMixin, QtGui.QWidget, Ui_ProjectorMa message = '%s%s: %s
' % (message, translate('OpenLP.ProjectorManager', 'Power status'), ERROR_MSG[projector.link.power]) message = '%s%s: %s
' % (message, translate('OpenLP.ProjectorManager', 'Shutter is'), - 'Closed' if projector.link.shutter else 'Open') + translate('OpenLP.ProjectorManager', 'Closed') + if projector.link.shutter else translate('OpenLP', 'Open')) message = '%s%s: %s
' % (message, translate('OpenLP.ProjectorManager', 'Current source input is'), projector.link.source) diff --git a/openlp/core/ui/projector/wizard.py b/openlp/core/ui/projector/wizard.py index 44f456493..ffcecaee4 100644 --- a/openlp/core/ui/projector/wizard.py +++ b/openlp/core/ui/projector/wizard.py @@ -161,9 +161,7 @@ class ProjectorWizard(QtGui.QWizard, RegistryProperties): 'Press "Next" button below to continue.')) self.host_page.setTitle(translate('OpenLP.ProjectorWizard', 'Host Address')) self.host_page.setSubTitle(translate('OpenLP.ProjectorWizard', - 'Enter the IP address, port, and PIN used to conenct to the projector. ' - 'The port should only be changed if you know what you\'re doing, and ' - 'the pin should only be entered if it\'s required.')) + 'Enter the IP address, port, and PIN used to conenct to the projector.')) self.host_page.help_ = translate('OpenLP.ProjectorWizard', 'IP Address: The IP address of the projector to connect to.
' 'Port: The port number. Default is 4352.
' @@ -331,7 +329,7 @@ class ConnectHostPage(ConnectBase): '

Please enter a valid IP address.' % adx)) valid = False """ - FIXME - Future plan to retrieve manufacture/model input source information. Not implemented yet. + TODO - Future plan to retrieve manufacture/model input source information. Not implemented yet. new = PJLink(host=adx, port=port, pin=pin if pin.strip() != '' else None) if new.connect(): mfg = new.get_manufacturer()