From db316708d6c0bfd0623aefb07a1a8947ae29be6b Mon Sep 17 00:00:00 2001 From: Ian Paschal Date: Wed, 21 Mar 2018 10:48:03 +0100 Subject: [PATCH] CURA-4902 Challenging network message fix This bug was very complicated to fix and involved careful troubleshooting of networked printers and eventual application of text-based message parsing and case switching. Should work now though. --- plugins/UM3NetworkPrinting/PrinterInfoBlock.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/PrinterInfoBlock.qml b/plugins/UM3NetworkPrinting/PrinterInfoBlock.qml index 54a34fae46..74670766ff 100644 --- a/plugins/UM3NetworkPrinting/PrinterInfoBlock.qml +++ b/plugins/UM3NetworkPrinting/PrinterInfoBlock.qml @@ -41,7 +41,8 @@ Rectangle return catalog.i18nc("@label:status", "Available"); case "unreachable": return catalog.i18nc("@label:MonitorStatus", "Lost connection with the printer"); - case "maintenance": // TODO: new string + case "maintenance": + return catalog.i18nc("@label:status", "Unavailable"); case "unknown": default: return catalog.i18nc("@label Printer status", "Unknown");