diff --git a/qml/pages/utils.js b/qml/pages/utils.js index eb0797b..0f7f3cb 100644 --- a/qml/pages/utils.js +++ b/qml/pages/utils.js @@ -99,7 +99,7 @@ function ippName(name, value) case "document-format": switch(value) { case "application/octet-stream": - return qsTr("Auto-sense"); + return qsTr("auto-sense"); case "application/pdf": return qsTr("PDF"); case "application/postscript": @@ -117,6 +117,20 @@ function ippName(name, value) default: return value; } + case "media-source": + if(value.indexOf("tray-")==0) + { + return qsTr("tray")+" "+value.split("-")[1]; + } + else if(value=="by-pass-tray") + { + return qsTr("by-pass tray"); + } + 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 60527e1..b55e1b4 100644 --- a/translations/harbour-seaprint-de.ts +++ b/translations/harbour-seaprint-de.ts @@ -370,10 +370,6 @@ dots/cm - - Auto-sense - - PDF @@ -402,5 +398,21 @@ GIF + + auto-sense + + + + by-pass tray + + + + auto + + + + tray + + diff --git a/translations/harbour-seaprint-es.ts b/translations/harbour-seaprint-es.ts index d9742b8..90b58ab 100644 --- a/translations/harbour-seaprint-es.ts +++ b/translations/harbour-seaprint-es.ts @@ -370,10 +370,6 @@ dots/cm ppp - - Auto-sense - - PDF @@ -402,5 +398,21 @@ GIF + + auto-sense + + + + by-pass tray + + + + auto + + + + tray + + diff --git a/translations/harbour-seaprint-fr.ts b/translations/harbour-seaprint-fr.ts index 2fc0390..6acdf78 100644 --- a/translations/harbour-seaprint-fr.ts +++ b/translations/harbour-seaprint-fr.ts @@ -370,10 +370,6 @@ dots/cm pts/cm - - Auto-sense - - PDF @@ -402,5 +398,21 @@ GIF + + auto-sense + + + + by-pass tray + + + + auto + + + + tray + + diff --git a/translations/harbour-seaprint-zh_CN.ts b/translations/harbour-seaprint-zh_CN.ts index 3ebedfa..039297b 100644 --- a/translations/harbour-seaprint-zh_CN.ts +++ b/translations/harbour-seaprint-zh_CN.ts @@ -370,10 +370,6 @@ dots/cm 点/厘米 - - Auto-sense - - PDF @@ -402,5 +398,21 @@ GIF + + auto-sense + + + + by-pass tray + + + + auto + + + + tray + + diff --git a/translations/harbour-seaprint.ts b/translations/harbour-seaprint.ts index a52e184..7e657c3 100644 --- a/translations/harbour-seaprint.ts +++ b/translations/harbour-seaprint.ts @@ -370,10 +370,6 @@ dots/cm - - Auto-sense - - PDF @@ -402,5 +398,21 @@ GIF + + auto-sense + + + + by-pass tray + + + + auto + + + + tray + +