diff --git a/qml/pages/utils.js b/qml/pages/utils.js index 97e4b7a..142e7bf 100644 --- a/qml/pages/utils.js +++ b/qml/pages/utils.js @@ -101,6 +101,38 @@ function ippName(name, value) { return value; } + case "sides": + switch(value) { + case "one-sided": + return qsTr("one-sided"); + case "two-sided-long-edge": + return qsTr("two-sided"); + case "two-sided-short-edge": + return qsTr("two-sided flipped"); + default: + return value + } + case "print-color-mode": + switch(value) { + case "auto": + return qsTr("automatic"); + case "auto-monochrome": + return qsTr("auto monochrome"); + case "bi-level": + return qsTr("bi-level"); + case "color": + return qsTr("color"); + case "highlight": + return qsTr("highlight"); + case "monochrome": + return qsTr("monochrome"); + case "process-bi-level": + return qsTr("process bi-level"); + case "process-monochrome": + return qsTr("process monochrome"); + default: + return value + } case "document-format": switch(value) { case "application/octet-stream": @@ -127,15 +159,37 @@ function ippName(name, value) { return qsTr("tray")+" "+value.split("-")[1]; } - else if(value=="by-pass-tray") + else { - return qsTr("by-pass tray"); + switch(value) { + case "by-pass-tray": + return qsTr("by-pass tray"); + case "auto": + return qsTr("automatic"); + case "bottom": + return qsTr("bottom"); + case "center": + return qsTr("center"); + case "main": + return qsTr("main"); + case "manual": + return qsTr("manual"); + case "middle": + return qsTr("middle"); + case "photo": + return qsTr("photo"); + case "rear": + return qsTr("rear"); + case "right": + return qsTr("right"); + case "side": + return qsTr("side"); + case "top": + return qsTr("top"); + default: + return value; + } } - else if(value=="auto") - { - return qsTr("auto"); - } - return value; } return value; } diff --git a/translations/harbour-seaprint-de.ts b/translations/harbour-seaprint-de.ts index 062a67e..235c42a 100644 --- a/translations/harbour-seaprint-de.ts +++ b/translations/harbour-seaprint-de.ts @@ -485,11 +485,91 @@ - auto + tray - tray + bottom + + + + center + + + + main + + + + manual + + + + middle + + + + photo + + + + rear + + + + right + + + + side + + + + top + + + + automatic + + + + auto monochrome + + + + bi-level + + + + color + + + + highlight + + + + monochrome + + + + process bi-level + + + + process monochrome + + + + one-sided + + + + two-sided + + + + two-sided flipped diff --git a/translations/harbour-seaprint-es.ts b/translations/harbour-seaprint-es.ts index f9e176e..fe4609a 100644 --- a/translations/harbour-seaprint-es.ts +++ b/translations/harbour-seaprint-es.ts @@ -485,11 +485,91 @@ - auto + tray - tray + bottom + + + + center + + + + main + + + + manual + + + + middle + + + + photo + + + + rear + + + + right + + + + side + + + + top + + + + automatic + + + + auto monochrome + + + + bi-level + + + + color + + + + highlight + + + + monochrome + + + + process bi-level + + + + process monochrome + + + + one-sided + + + + two-sided + + + + two-sided flipped diff --git a/translations/harbour-seaprint-fr.ts b/translations/harbour-seaprint-fr.ts index 7eeae20..349bf0c 100644 --- a/translations/harbour-seaprint-fr.ts +++ b/translations/harbour-seaprint-fr.ts @@ -485,11 +485,91 @@ - auto + tray - tray + bottom + + + + center + + + + main + + + + manual + + + + middle + + + + photo + + + + rear + + + + right + + + + side + + + + top + + + + automatic + + + + auto monochrome + + + + bi-level + + + + color + + + + highlight + + + + monochrome + + + + process bi-level + + + + process monochrome + + + + one-sided + + + + two-sided + + + + two-sided flipped diff --git a/translations/harbour-seaprint-zh_CN.ts b/translations/harbour-seaprint-zh_CN.ts index 8e1f652..04b02e7 100644 --- a/translations/harbour-seaprint-zh_CN.ts +++ b/translations/harbour-seaprint-zh_CN.ts @@ -485,11 +485,91 @@ - auto + tray - tray + bottom + + + + center + + + + main + + + + manual + + + + middle + + + + photo + + + + rear + + + + right + + + + side + + + + top + + + + automatic + + + + auto monochrome + + + + bi-level + + + + color + + + + highlight + + + + monochrome + + + + process bi-level + + + + process monochrome + + + + one-sided + + + + two-sided + + + + two-sided flipped diff --git a/translations/harbour-seaprint.ts b/translations/harbour-seaprint.ts index fc8e0a1..9955698 100644 --- a/translations/harbour-seaprint.ts +++ b/translations/harbour-seaprint.ts @@ -485,11 +485,91 @@ - auto + tray - tray + bottom + + + + center + + + + main + + + + manual + + + + middle + + + + photo + + + + rear + + + + right + + + + side + + + + top + + + + automatic + + + + auto monochrome + + + + bi-level + + + + color + + + + highlight + + + + monochrome + + + + process bi-level + + + + process monochrome + + + + one-sided + + + + two-sided + + + + two-sided flipped