From 0ff8b6e2e2c13c63ac73312e910d8956cdc7b94f Mon Sep 17 00:00:00 2001 From: Anton Thomasson Date: Sat, 10 Oct 2020 17:55:01 +0200 Subject: [PATCH] Add not-on-wifi warning --- qml/pages/FirstPage.qml | 7 +++++++ translations/harbour-seaprint-de.ts | 4 ++++ translations/harbour-seaprint-es.ts | 4 ++++ translations/harbour-seaprint-fr.ts | 4 ++++ translations/harbour-seaprint-nl.ts | 4 ++++ translations/harbour-seaprint-pl.ts | 4 ++++ translations/harbour-seaprint-zh_CN.ts | 4 ++++ translations/harbour-seaprint.ts | 4 ++++ 8 files changed, 35 insertions(+) diff --git a/qml/pages/FirstPage.qml b/qml/pages/FirstPage.qml index efec418..57c9856 100644 --- a/qml/pages/FirstPage.qml +++ b/qml/pages/FirstPage.qml @@ -43,6 +43,13 @@ Page { } } + Label { + text: qsTr("Not on WiFi") + color: Theme.highlightColor + anchors.centerIn: parent + visible: !wifi.connected + } + property bool initialized: false onVisibleChanged: { if (visible) diff --git a/translations/harbour-seaprint-de.ts b/translations/harbour-seaprint-de.ts index 900371c..043460e 100644 --- a/translations/harbour-seaprint-de.ts +++ b/translations/harbour-seaprint-de.ts @@ -275,6 +275,10 @@ Printer details + + Not on WiFi + + IppPrinter diff --git a/translations/harbour-seaprint-es.ts b/translations/harbour-seaprint-es.ts index ed0c004..dae6ca3 100644 --- a/translations/harbour-seaprint-es.ts +++ b/translations/harbour-seaprint-es.ts @@ -275,6 +275,10 @@ Printer details + + Not on WiFi + + IppPrinter diff --git a/translations/harbour-seaprint-fr.ts b/translations/harbour-seaprint-fr.ts index 9b701d8..e3de471 100644 --- a/translations/harbour-seaprint-fr.ts +++ b/translations/harbour-seaprint-fr.ts @@ -275,6 +275,10 @@ Printer details + + Not on WiFi + + IppPrinter diff --git a/translations/harbour-seaprint-nl.ts b/translations/harbour-seaprint-nl.ts index 798f366..4791dc6 100644 --- a/translations/harbour-seaprint-nl.ts +++ b/translations/harbour-seaprint-nl.ts @@ -275,6 +275,10 @@ Printer details + + Not on WiFi + + IppPrinter diff --git a/translations/harbour-seaprint-pl.ts b/translations/harbour-seaprint-pl.ts index 8ac789b..5ecd872 100644 --- a/translations/harbour-seaprint-pl.ts +++ b/translations/harbour-seaprint-pl.ts @@ -275,6 +275,10 @@ Printer details + + Not on WiFi + + IppPrinter diff --git a/translations/harbour-seaprint-zh_CN.ts b/translations/harbour-seaprint-zh_CN.ts index efd7663..153fb68 100644 --- a/translations/harbour-seaprint-zh_CN.ts +++ b/translations/harbour-seaprint-zh_CN.ts @@ -275,6 +275,10 @@ Printer details 打印机详情 + + Not on WiFi + + IppPrinter diff --git a/translations/harbour-seaprint.ts b/translations/harbour-seaprint.ts index 8b43933..8de596a 100644 --- a/translations/harbour-seaprint.ts +++ b/translations/harbour-seaprint.ts @@ -275,6 +275,10 @@ Printer details + + Not on WiFi + + IppPrinter