mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
4e62bfa9a9
commit
6af77b08b2
1 changed files with 4 additions and 4 deletions
|
@ -150,16 +150,16 @@ Kirigami.ApplicationWindow {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
text: syncToCloud ? "Disable auto cloud sync" : "Enable auto cloud sync"
|
text: syncToCloud ? "Offline mode" : "Enable auto cloud sync"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
syncToCloud = !syncToCloud
|
syncToCloud = !syncToCloud
|
||||||
if (!syncToCloud) {
|
if (!syncToCloud) {
|
||||||
var alertText = "Turning off automatic sync to cloud causes all data\n"
|
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 += "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 += "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)
|
showPassiveNotification(alertText, 10000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue