diff --git a/qml/pages/BusyPage.qml b/qml/pages/BusyPage.qml index 3a32f14..25fc3fc 100644 --- a/qml/pages/BusyPage.qml +++ b/qml/pages/BusyPage.qml @@ -8,11 +8,14 @@ Page { Connections { target: printer onJobFinished: { - var msg = "" + var msg = qsTr("Unknown") if (printer.jobAttrs.hasOwnProperty("job-state-message") && printer.jobAttrs["job-state-message"].value != "") { msg = printer.jobAttrs["job-state-message"].value } - else if (printer.jobAttrs.hasOwnProperty("job-state")) { + else if (printer.jobAttrs.hasOwnProperty("status-message") && printer.jobAttrs["status-message"].value != "") { + msg = printer.jobAttrs["status-message"].value + } + else if (printer.jobAttrs.hasOwnProperty("job-state") && printer.jobAttrs["job-state"].value != "") { msg = Utils.ippName("job-state", printer.jobAttrs["job-state"].value) } pageStack.pop() diff --git a/translations/harbour-seaprint-de.ts b/translations/harbour-seaprint-de.ts index 6edc3c7..86bc120 100644 --- a/translations/harbour-seaprint-de.ts +++ b/translations/harbour-seaprint-de.ts @@ -71,10 +71,6 @@ Optional dependencies - - pdftoppm (from poppler-utils) - - Installed @@ -117,6 +113,10 @@ Print failed: + + Unknown + + ConvertWorker diff --git a/translations/harbour-seaprint-es.ts b/translations/harbour-seaprint-es.ts index 8cd54a5..539425a 100644 --- a/translations/harbour-seaprint-es.ts +++ b/translations/harbour-seaprint-es.ts @@ -71,10 +71,6 @@ Optional dependencies - - pdftoppm (from poppler-utils) - - Installed @@ -117,6 +113,10 @@ Print failed: Impresión fallida: + + Unknown + + ConvertWorker diff --git a/translations/harbour-seaprint-fr.ts b/translations/harbour-seaprint-fr.ts index bca0d34..7e68313 100644 --- a/translations/harbour-seaprint-fr.ts +++ b/translations/harbour-seaprint-fr.ts @@ -71,10 +71,6 @@ Optional dependencies - - pdftoppm (from poppler-utils) - - Installed @@ -117,6 +113,10 @@ Print failed: Échec de l'impression : + + Unknown + Inconnu + ConvertWorker diff --git a/translations/harbour-seaprint-zh_CN.ts b/translations/harbour-seaprint-zh_CN.ts index 9d0b14d..51da42c 100644 --- a/translations/harbour-seaprint-zh_CN.ts +++ b/translations/harbour-seaprint-zh_CN.ts @@ -71,10 +71,6 @@ Optional dependencies - - pdftoppm (from poppler-utils) - - Installed @@ -117,6 +113,10 @@ Print failed: 打印失败: + + Unknown + 未知 + ConvertWorker diff --git a/translations/harbour-seaprint.ts b/translations/harbour-seaprint.ts index 60aa166..8813510 100644 --- a/translations/harbour-seaprint.ts +++ b/translations/harbour-seaprint.ts @@ -71,10 +71,6 @@ Optional dependencies - - pdftoppm (from poppler-utils) - - Installed @@ -117,6 +113,10 @@ Print failed: + + Unknown + + ConvertWorker