From 9ea025885a94e725d1f5e91f32f609e4118e072c Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 31 Aug 2021 12:07:11 +0200 Subject: [PATCH] Update links to network troubleshooting page The new links also have campaign identifiers. Because apparently the website doesn't read the HTTP metadata information saying that it redirected from Cura, and it adds information which button it came from. The old links will remain working via redirects, for older Cura versions. Contributes to issue CURA-8528. --- plugins/MonitorStage/MonitorMain.qml | 2 +- resources/qml/WelcomePages/AddPrinterByIpContent.qml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/MonitorStage/MonitorMain.qml b/plugins/MonitorStage/MonitorMain.qml index cb16b91cb8..cfd33a70fe 100644 --- a/plugins/MonitorStage/MonitorMain.qml +++ b/plugins/MonitorStage/MonitorMain.qml @@ -159,7 +159,7 @@ Rectangle { anchors.fill: parent hoverEnabled: true - onClicked: Qt.openUrlExternally("https://ultimaker.com/en/resources/manuals/ultimaker-3d-printers") + onClicked: Qt.openUrlExternally("https://ultimaker.com/in/cura/troubleshooting/network?utm_source=cura&utm_medium=software&utm_campaign=monitor-not-connected") onEntered: manageQueueText.font.underline = true onExited: manageQueueText.font.underline = false } diff --git a/resources/qml/WelcomePages/AddPrinterByIpContent.qml b/resources/qml/WelcomePages/AddPrinterByIpContent.qml index 9a69b78a83..2207bd1708 100644 --- a/resources/qml/WelcomePages/AddPrinterByIpContent.qml +++ b/resources/qml/WelcomePages/AddPrinterByIpContent.qml @@ -203,12 +203,12 @@ Item { if (addPrinterByIpScreen.hasRequestFinished) { - return catalog.i18nc("@label", "Could not connect to device.") + "

" + return catalog.i18nc("@label", "Could not connect to device.") + "

" + catalog.i18nc("@label", "Can't connect to your Ultimaker printer?") + ""; } else { - return catalog.i18nc("@label", "The printer at this address has not responded yet.") + "

" + return catalog.i18nc("@label", "The printer at this address has not responded yet.") + "

" + catalog.i18nc("@label", "Can't connect to your Ultimaker printer?") + ""; } }