aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-21 04:43:37 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-22 11:59:15 -0700
commit6af77b08b2a37cdc61cded2a4b6c449485107180 (patch)
treea1a20c0ecd2a6e994c4f1211827449064165dabc /mobile-widgets/qml
parent4e62bfa9a9cb9b715769189a292f655262157333 (diff)
downloadsubsurface-6af77b08b2a37cdc61cded2a4b6c449485107180.tar.gz
QML UI: rename menu entry for offline use
That really is what it boils down to. Also removes a few stray spaces in the warning text. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/main.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 06e691eee..372de1f27 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -150,16 +150,16 @@ Kirigami.ApplicationWindow {
}
}
Kirigami.Action {
- text: syncToCloud ? "Disable auto cloud sync" : "Enable auto cloud sync"
+ text: syncToCloud ? "Offline mode" : "Enable auto cloud sync"
onTriggered: {
syncToCloud = !syncToCloud
if (!syncToCloud) {
var alertText = "Turning off automatic sync to cloud causes all data\n"
- alertText +=" to only be stored locally.\n"
+ alertText +="to only be stored locally.\n"
alertText += "This can be very useful in situations with\n"
- alertText += " limited or no network access.\n"
+ alertText += "limited or no network access.\n"
alertText += "Please chose 'Manual sync with cloud' if you have network\n"
- alertText += " connectivity and want to sync your data to cloud storage."
+ alertText += "connectivity and want to sync your data to cloud storage."
showPassiveNotification(alertText, 10000)
}
}