startTLS: add link to 'startTLS-server-certificate-invalid' error message
This commit is contained in:
parent
6dcaf21891
commit
24cb681acd
@ -313,7 +313,7 @@ de = {
|
|||||||
# startTLS messages - TODO: Translate
|
# startTLS messages - TODO: Translate
|
||||||
"startTLS-initiated": "Attempting secure connection",
|
"startTLS-initiated": "Attempting secure connection",
|
||||||
"startTLS-secure-connection-ok": "Secure connection established ({})",
|
"startTLS-secure-connection-ok": "Secure connection established ({})",
|
||||||
"startTLS-server-certificate-invalid": "Secure connection failed. The server uses an invalid security certificate. This communication could be intercepted by a third party.",
|
"startTLS-server-certificate-invalid": 'Secure connection failed. The server uses an invalid security certificate. This communication could be intercepted by a third party. For further details and troubleshooting see <a href="https://syncplay.pl/trouble">here</a>.',
|
||||||
"startTLS-not-supported-client": "This client does not support TLS",
|
"startTLS-not-supported-client": "This client does not support TLS",
|
||||||
"startTLS-not-supported-server": "This server does not support TLS",
|
"startTLS-not-supported-server": "This server does not support TLS",
|
||||||
|
|
||||||
|
|||||||
@ -314,7 +314,7 @@ en = {
|
|||||||
|
|
||||||
"startTLS-initiated": "Attempting secure connection",
|
"startTLS-initiated": "Attempting secure connection",
|
||||||
"startTLS-secure-connection-ok": "Secure connection established ({})",
|
"startTLS-secure-connection-ok": "Secure connection established ({})",
|
||||||
"startTLS-server-certificate-invalid": "Secure connection failed. The server uses an invalid security certificate. This communication could be intercepted by a third party.",
|
"startTLS-server-certificate-invalid": 'Secure connection failed. The server uses an invalid security certificate. This communication could be intercepted by a third party. For further details and troubleshooting see <a href="https://syncplay.pl/trouble">here</a>.',
|
||||||
"startTLS-not-supported-client": "This client does not support TLS",
|
"startTLS-not-supported-client": "This client does not support TLS",
|
||||||
"startTLS-not-supported-server": "This server does not support TLS",
|
"startTLS-not-supported-server": "This server does not support TLS",
|
||||||
|
|
||||||
|
|||||||
@ -314,7 +314,7 @@ it = {
|
|||||||
|
|
||||||
"startTLS-initiated": "Tentativo di connessione sicura in corso",
|
"startTLS-initiated": "Tentativo di connessione sicura in corso",
|
||||||
"startTLS-secure-connection-ok": "Connessione sicura stabilita ({})",
|
"startTLS-secure-connection-ok": "Connessione sicura stabilita ({})",
|
||||||
"startTLS-server-certificate-invalid": "Connessione sicura non riuscita. Il certificato di sicurezza di questo server non è valido. La comunicazione potrebbe essere intercettata da una terza parte.",
|
"startTLS-server-certificate-invalid": 'Connessione sicura non riuscita. Il certificato di sicurezza di questo server non è valido. La comunicazione potrebbe essere intercettata da una terza parte. Per ulteriori dettagli e informazioni sulla risoluzione del problema, clicca <a href="https://syncplay.pl/trouble">qui</a>.',
|
||||||
"startTLS-not-supported-client": "Questo client non supporta TLS",
|
"startTLS-not-supported-client": "Questo client non supporta TLS",
|
||||||
"startTLS-not-supported-server": "Questo server non supporta TLS",
|
"startTLS-not-supported-server": "Questo server non supporta TLS",
|
||||||
|
|
||||||
|
|||||||
@ -316,7 +316,7 @@ ru = {
|
|||||||
# startTLS messages - TODO: Translate
|
# startTLS messages - TODO: Translate
|
||||||
"startTLS-initiated": "Attempting secure connection",
|
"startTLS-initiated": "Attempting secure connection",
|
||||||
"startTLS-secure-connection-ok": "Secure connection established ({})",
|
"startTLS-secure-connection-ok": "Secure connection established ({})",
|
||||||
"startTLS-server-certificate-invalid": "Secure connection failed. The server uses an invalid security certificate. This communication could be intercepted by a third party.",
|
"startTLS-server-certificate-invalid": 'Secure connection failed. The server uses an invalid security certificate. This communication could be intercepted by a third party. For further details and troubleshooting see <a href="https://syncplay.pl/trouble">here</a>.',
|
||||||
"startTLS-not-supported-client": "This client does not support TLS",
|
"startTLS-not-supported-client": "This client does not support TLS",
|
||||||
"startTLS-not-supported-server": "This server does not support TLS",
|
"startTLS-not-supported-server": "This server does not support TLS",
|
||||||
|
|
||||||
|
|||||||
@ -779,6 +779,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||||||
if criticalerror:
|
if criticalerror:
|
||||||
QtWidgets.QMessageBox.critical(self, "Syncplay", message)
|
QtWidgets.QMessageBox.critical(self, "Syncplay", message)
|
||||||
message = message.replace("&", "&").replace('"', """).replace("<", "<").replace(">", ">")
|
message = message.replace("&", "&").replace('"', """).replace("<", "<").replace(">", ">")
|
||||||
|
message = message.replace("<a href="https://syncplay.pl/trouble">", '<a href="https://syncplay.pl/trouble">').replace("</a>", "</a>")
|
||||||
message = message.replace("\n", "<br />")
|
message = message.replace("\n", "<br />")
|
||||||
message = "<span style=\"{}\">".format(constants.STYLE_ERRORNOTIFICATION) + message + "</span>"
|
message = "<span style=\"{}\">".format(constants.STYLE_ERRORNOTIFICATION) + message + "</span>"
|
||||||
self.newMessage(time.strftime(constants.UI_TIME_FORMAT, time.localtime()) + message + "<br />")
|
self.newMessage(time.strftime(constants.UI_TIME_FORMAT, time.localtime()) + message + "<br />")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user