diff --git a/qml/pages/ChoiceSetting.qml b/qml/pages/ChoiceSetting.qml
index 1a7e01c..2a82256 100644
--- a/qml/pages/ChoiceSetting.qml
+++ b/qml/pages/ChoiceSetting.qml
@@ -10,34 +10,34 @@ Setting {
case "print-quality":
switch(value) {
case 3:
- return "draft";
+ return qsTr("draft");
case 4:
- return "normal";
+ return qsTr("normal");
case 5:
- return "high";
+ return qsTr("high");
default:
- return "unknown quality "+value
+ return qsTr("unknown quality ")+value
}
case "orientation-requested":
switch(value) {
case 3:
- return "portrait";
+ return qsTr("portrait");
case 4:
- return "landscape";
+ return qsTr("landscape");
case 5:
- return "reverse landscape";
+ return qsTr("reverse landscape");
case 6:
- return "reverse portrait";
+ return qsTr("reverse portrait");
default:
- return "unknown orientation "+value
+ return qsTr("unknown orientation ")+value
}
case "printer-resolution":
var units = "";
if(value.units==3) {
- units="dpi";
+ units=qsTr("dpi");
} else if (units==4){
- units="dots/cm"
+ units=qsTr("dots/cm")
}
return ""+value.x+"x"+value.y+units;
}
diff --git a/qml/pages/PrinterPage.qml b/qml/pages/PrinterPage.qml
index 2aaa32d..ca25f3d 100644
--- a/qml/pages/PrinterPage.qml
+++ b/qml/pages/PrinterPage.qml
@@ -37,13 +37,13 @@ Page {
ListModel {
id:mod
- ListElement {name: "sides"; prettyName: "Sides"; tag: 0x23}
- ListElement {name: "copies"; prettyName: "Copies"; tag: 0x21}
-// ListElement {name: "page-ranges"; prettyName: "Page range"; tag: 0x33}
- ListElement {name: "print-color-mode"; prettyName: "Color mode"; tag: 0x23}
-// ListElement {name: "orientation-requested"; prettyName: "Orientation"; tag: 0x23}
- ListElement {name: "print-quality"; prettyName: "Quality"; tag: 0x23}
- ListElement {name: "printer-resolution"; prettyName: "Resolution"; tag: 0x32}
+ ListElement {name: "sides"; prettyName: qsTr("Sides"); tag: 0x23}
+ ListElement {name: "copies"; prettyName: qsTr("Copies"); tag: 0x21}
+// ListElement {name: "page-ranges"; prettyName: qsTr("Page range"); tag: 0x33}
+ ListElement {name: "print-color-mode"; prettyName: qsTr("Color mode"); tag: 0x23}
+// ListElement {name: "orientation-requested"; prettyName: qsTr("Orientation"); tag: 0x23}
+ ListElement {name: "print-quality"; prettyName: qsTr("Quality"); tag: 0x23}
+ ListElement {name: "printer-resolution"; prettyName: qsTr("Resolution"); tag: 0x32}
}
SilicaListView {
diff --git a/translations/harbour-seaprint-de.ts b/translations/harbour-seaprint-de.ts
index 79f81e3..d04b99f 100644
--- a/translations/harbour-seaprint-de.ts
+++ b/translations/harbour-seaprint-de.ts
@@ -20,6 +20,53 @@
+
+ ChoiceSetting
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
CoverPage
@@ -60,6 +107,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
SecondPage
diff --git a/translations/harbour-seaprint.ts b/translations/harbour-seaprint.ts
index a9e48c7..a08e9f9 100644
--- a/translations/harbour-seaprint.ts
+++ b/translations/harbour-seaprint.ts
@@ -20,6 +20,53 @@
+
+ ChoiceSetting
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
CoverPage
@@ -60,6 +107,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
SecondPage