70 " violation of name constraints."), |
70 " violation of name constraints."), |
71 } |
71 } |
72 try: |
72 try: |
73 self.__errorDescriptions[ |
73 self.__errorDescriptions[ |
74 QWebEngineCertificateError.CertificateValidityTooLong] = \ |
74 QWebEngineCertificateError.CertificateValidityTooLong] = \ |
75 self.tr("The certificate has a validity period that is too long.") |
75 self.tr("The certificate has a validity period that is" |
|
76 " too long.") |
76 except AttributeError: |
77 except AttributeError: |
77 # the value was added in Qt 5.7 |
78 # the value was added in Qt 5.7 |
78 pass |
79 pass |
79 |
80 |
80 for host, errors in errorsDict.items(): |
81 for host, errors in errorsDict.items(): |