From 00192e487a12e0ac0bc58bbe81b895fcc2b42cfc Mon Sep 17 00:00:00 2001 From: Carmen Date: Sat, 4 Jan 2020 19:50:04 +0100 Subject: [PATCH 1/2] Fix error in .ts files for building rpm successful --- translations/harbour-seaprint-de.ts | 2 +- translations/harbour-seaprint-es.ts | 2 +- translations/harbour-seaprint-fr.ts | 2 +- translations/harbour-seaprint-zh_CN.ts | 156 +++++++++++++++---------- translations/harbour-seaprint.ts | 4 + 5 files changed, 99 insertions(+), 67 deletions(-) diff --git a/translations/harbour-seaprint-de.ts b/translations/harbour-seaprint-de.ts index 1351a3e..69bcb0e 100644 --- a/translations/harbour-seaprint-de.ts +++ b/translations/harbour-seaprint-de.ts @@ -1,6 +1,6 @@ - + AboutPage diff --git a/translations/harbour-seaprint-es.ts b/translations/harbour-seaprint-es.ts index 19d2213..a72bee4 100644 --- a/translations/harbour-seaprint-es.ts +++ b/translations/harbour-seaprint-es.ts @@ -1,6 +1,6 @@ - + AboutPage diff --git a/translations/harbour-seaprint-fr.ts b/translations/harbour-seaprint-fr.ts index de3e574..97ecd40 100644 --- a/translations/harbour-seaprint-fr.ts +++ b/translations/harbour-seaprint-fr.ts @@ -1,6 +1,6 @@ - + AboutPage diff --git a/translations/harbour-seaprint-zh_CN.ts b/translations/harbour-seaprint-zh_CN.ts index d4641b0..1263400 100644 --- a/translations/harbour-seaprint-zh_CN.ts +++ b/translations/harbour-seaprint-zh_CN.ts @@ -1,6 +1,6 @@ - + AboutPage @@ -13,7 +13,7 @@ About - <关于/translation> + 关于 Network printing for Sailfish OS. @@ -53,12 +53,16 @@ French - <法语/translation> + 法语 Code and Testing - Rudi Timmermans 代码及测试 - Rudi Timmermans + + Spanish + + AddPrinterDialog @@ -80,54 +84,7 @@ Unknown - - - - - ChoiceSetting - - draft - 草稿 - - - normal - 正常 - - - high - 高质量 - - - unknown quality - 质量未知 - - - portrait - 竖屏 - - - landscape - 横屏 - - - reverse landscape - 竖屏可旋转 - - - reverse portrait - 横屏可旋转 - - - unknown orientation - 方向位置 - - - dpi - dpi - - - dots/cm - 点/厘米 + 未知 @@ -163,14 +120,6 @@ None - - About SeaPrint - 关于 SeaPrint(海印) - - - Unknown - 未知 - View jobs 查看作业 @@ -183,9 +132,13 @@ Removing printer 正在移除打印机 + + About SeaPrint + 关于 SeaPrint(海印) + Unknown - + 未知 @@ -241,10 +194,6 @@ Resolution 分辨率 - - Unknown - 未知 - Print success: 打印成功: @@ -254,4 +203,83 @@ 打印失败: + + utils + + pending + + + + pending-held + + + + processing + + + + processing-stopped + + + + canceled + + + + aborted + + + + completed + + + + unknown state + + + + draft + 草稿 + + + normal + 正常 + + + high + 高质量 + + + unknown quality + 质量未知 + + + portrait + 竖屏 + + + landscape + 横屏 + + + reverse landscape + 竖屏可旋转 + + + reverse portrait + 横屏可旋转 + + + unknown orientation + 方向位置 + + + dpi + dpi + + + dots/cm + 点/厘米 + + diff --git a/translations/harbour-seaprint.ts b/translations/harbour-seaprint.ts index be5a5df..1351a3e 100644 --- a/translations/harbour-seaprint.ts +++ b/translations/harbour-seaprint.ts @@ -59,6 +59,10 @@ Code and Testing - Rudi Timmermans + + Spanish + + AddPrinterDialog From 7808437dfd45693ecc8dd639ffc5d2e81da2cc41 Mon Sep 17 00:00:00 2001 From: Carmen Date: Sat, 4 Jan 2020 19:58:47 +0100 Subject: [PATCH 2/2] Added new string to translate --- qml/pages/utils.js | 2 +- translations/harbour-seaprint-de.ts | 4 ++++ translations/harbour-seaprint-es.ts | 4 ++++ translations/harbour-seaprint-fr.ts | 4 ++++ translations/harbour-seaprint-zh_CN.ts | 4 ++++ translations/harbour-seaprint.ts | 4 ++++ 6 files changed, 21 insertions(+), 1 deletion(-) diff --git a/qml/pages/utils.js b/qml/pages/utils.js index ed3e6a5..91a5501 100644 --- a/qml/pages/utils.js +++ b/qml/pages/utils.js @@ -13,7 +13,7 @@ function supported_formats(printer) if(supported.length == 0) { - supported.push("No relevant formats supported") + supported.push(qsTr("No relevant formats supported")) } return supported.join(" "); diff --git a/translations/harbour-seaprint-de.ts b/translations/harbour-seaprint-de.ts index 69bcb0e..fff0ee0 100644 --- a/translations/harbour-seaprint-de.ts +++ b/translations/harbour-seaprint-de.ts @@ -281,5 +281,9 @@ dots/cm + + No relevant formats supported + + diff --git a/translations/harbour-seaprint-es.ts b/translations/harbour-seaprint-es.ts index a72bee4..52192a9 100644 --- a/translations/harbour-seaprint-es.ts +++ b/translations/harbour-seaprint-es.ts @@ -281,5 +281,9 @@ dots/cm ppp + + No relevant formats supported + No hay formatos relevantes compatibles + diff --git a/translations/harbour-seaprint-fr.ts b/translations/harbour-seaprint-fr.ts index 97ecd40..22cd13e 100644 --- a/translations/harbour-seaprint-fr.ts +++ b/translations/harbour-seaprint-fr.ts @@ -281,5 +281,9 @@ dots/cm pts/cm + + No relevant formats supported + + diff --git a/translations/harbour-seaprint-zh_CN.ts b/translations/harbour-seaprint-zh_CN.ts index 1263400..6559d79 100644 --- a/translations/harbour-seaprint-zh_CN.ts +++ b/translations/harbour-seaprint-zh_CN.ts @@ -281,5 +281,9 @@ dots/cm 点/厘米 + + No relevant formats supported + + diff --git a/translations/harbour-seaprint.ts b/translations/harbour-seaprint.ts index 1351a3e..4ed5604 100644 --- a/translations/harbour-seaprint.ts +++ b/translations/harbour-seaprint.ts @@ -281,5 +281,9 @@ dots/cm + + No relevant formats supported + +