diff options
author | kali <kali@leap.se> | 2013-01-09 06:24:52 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-01-09 06:24:52 +0900 |
commit | 6fe187c4ea2a32105c712d34167058707f8f82f8 (patch) | |
tree | 134225514144924027d9eee3ee8ef19d2878c6af /src/leap/gui/firstrun/providerselect.py | |
parent | 289722fe0eda46c8f5fbbecb84c8a0fbbe36a15f (diff) | |
parent | a5b4b7020daebbcb25c016cf1821818b71a2e457 (diff) |
Merge branch 'feature/translation-fixes' into develop
Diffstat (limited to 'src/leap/gui/firstrun/providerselect.py')
-rw-r--r-- | src/leap/gui/firstrun/providerselect.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/leap/gui/firstrun/providerselect.py b/src/leap/gui/firstrun/providerselect.py index 62742181..28fb829c 100644 --- a/src/leap/gui/firstrun/providerselect.py +++ b/src/leap/gui/firstrun/providerselect.py @@ -101,7 +101,7 @@ class SelectProviderPage(InlineValidationPage): self.certInfo.setWordWrap(True) self.certWarning = QtGui.QLabel("") self.trustProviderCertCheckBox = QtGui.QCheckBox( - "&Trust this provider certificate.") + self.tr("&Trust this provider certificate.")) self.trustProviderCertCheckBox.stateChanged.connect( self.onTrustCheckChanged) @@ -344,9 +344,10 @@ class SelectProviderPage(InlineValidationPage): def add_cert_info(self, certinfo): # pragma: no cover XXX self.certWarning.setText( - "Do you want to <b>trust this provider certificate?</b>") + self.tr("Do you want to <b>trust this provider certificate?</b>")) + # XXX Check if this needs to abstracted to remove certinfo self.certInfo.setText( - 'SHA-256 fingerprint: <i>%s</i><br>' % certinfo) + self.tr('SHA-256 fingerprint: <i>%s</i><br>' % certinfo)) self.certInfo.setWordWrap(True) self.certinfoGroup.show() |