diff --git a/nymea-app/translations/nymea-app-de.ts b/nymea-app/translations/nymea-app-de.ts index f4a2a1d1..01aad7b6 100644 --- a/nymea-app/translations/nymea-app-de.ts +++ b/nymea-app/translations/nymea-app-de.ts @@ -7558,6 +7558,18 @@ Bitte benutze diese Funktion nur wenn Du sicher bist, dass es das ist was Du mö Factory reset controller Adapter zurücksetzen + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + Bist Du sicher, dass der Controller zurückgesetzt werden soll? Das Netzwerk wird dabei neu erstellt und alle verknüpften Geräte werden aus dem System entfernt. + + + Reset controller + Controller zurücksetzen + + + Are you sure you want to remove the network and all associated devices from the system? + Bist Du sicher, dass das Netzwerk und alle verknüpften Geräte aus dem System enfernt werden sollen? + ZWaveSettingsPage @@ -7972,6 +7984,18 @@ Bitte benutze diese Funktion nur wenn Du sicher bist, dass es das ist was Du mö Factory reset controller Adapter zurücksetzen + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + Bist Du sicher, dass der Controller zurückgesetzt werden soll? Das Netzwerk wird dabei neu erstellt und alle verknüpften Geräte werden aus dem System entfernt. + + + Reset controller + Controller zurücksetzen + + + Are you sure you want to remove the network and all associated devices from the system? + Bist Du sicher, dass das Netzwerk und alle verknüpften Geräte aus dem System enfernt werden sollen? + ZigbeeSettingsPage diff --git a/nymea-app/translations/nymea-app-en.ts b/nymea-app/translations/nymea-app-en.ts index b7b039fd..678954f7 100644 --- a/nymea-app/translations/nymea-app-en.ts +++ b/nymea-app/translations/nymea-app-en.ts @@ -7171,6 +7171,18 @@ Please only use this if you are sure you want this and consider reporting the is Factory reset controller + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZWaveSettingsPage @@ -7553,6 +7565,18 @@ Please only use this if you are sure you want this and consider reporting the is Factory reset controller + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZigbeeSettingsPage diff --git a/nymea-app/translations/nymea-app-en_US.ts b/nymea-app/translations/nymea-app-en_US.ts index b7b039fd..678954f7 100644 --- a/nymea-app/translations/nymea-app-en_US.ts +++ b/nymea-app/translations/nymea-app-en_US.ts @@ -7171,6 +7171,18 @@ Please only use this if you are sure you want this and consider reporting the is Factory reset controller + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZWaveSettingsPage @@ -7553,6 +7565,18 @@ Please only use this if you are sure you want this and consider reporting the is Factory reset controller + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZigbeeSettingsPage diff --git a/nymea-app/translations/nymea-app-it.ts b/nymea-app/translations/nymea-app-it.ts index ca2d4b4a..6d50d465 100644 --- a/nymea-app/translations/nymea-app-it.ts +++ b/nymea-app/translations/nymea-app-it.ts @@ -7226,6 +7226,18 @@ Please only use this if you are sure you want this and consider reporting the is Factory reset controller + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZWaveSettingsPage @@ -7608,6 +7620,18 @@ Please only use this if you are sure you want this and consider reporting the is Factory reset controller + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZigbeeSettingsPage diff --git a/nymea-app/translations/nymea-app-ko.ts b/nymea-app/translations/nymea-app-ko.ts index 6a920653..b2d9a1ec 100644 --- a/nymea-app/translations/nymea-app-ko.ts +++ b/nymea-app/translations/nymea-app-ko.ts @@ -7344,6 +7344,18 @@ Please only use this if you are sure you want this and consider reporting the is Factory reset controller + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZWaveSettingsPage @@ -7732,6 +7744,18 @@ Please only use this if you are sure you want this and consider reporting the is Factory reset controller + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZigbeeSettingsPage diff --git a/nymea-app/translations/nymea-app-nl.ts b/nymea-app/translations/nymea-app-nl.ts index 08ea38e8..d1530075 100644 --- a/nymea-app/translations/nymea-app-nl.ts +++ b/nymea-app/translations/nymea-app-nl.ts @@ -7229,6 +7229,18 @@ Please only use this if you are sure you want this and consider reporting the is Factory reset controller + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZWaveSettingsPage @@ -7615,6 +7627,18 @@ Please only use this if you are sure you want this and consider reporting the is Factory reset controller + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZigbeeSettingsPage diff --git a/nymea-app/translations/nymea-app-tr.ts b/nymea-app/translations/nymea-app-tr.ts index 93950e05..d42a8e37 100644 --- a/nymea-app/translations/nymea-app-tr.ts +++ b/nymea-app/translations/nymea-app-tr.ts @@ -7436,6 +7436,18 @@ Lütfen bunu istediğinizden eminseniz kullanın ve yayınlanmamış kanalları Factory reset controller Fabrika ayarlarına sıfırlama denetleyicisi + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZWaveSettingsPage @@ -7832,6 +7844,18 @@ Lütfen bunu istediğinizden eminseniz kullanın ve yayınlanmamış kanalları Factory reset controller Fabrika ayarlarına sıfırlama denetleyicisi + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZigbeeSettingsPage diff --git a/nymea-app/translations/nymea-app-vi.ts b/nymea-app/translations/nymea-app-vi.ts index e3383948..2399e614 100644 --- a/nymea-app/translations/nymea-app-vi.ts +++ b/nymea-app/translations/nymea-app-vi.ts @@ -7153,6 +7153,18 @@ Please only use this if you are sure you want this and consider reporting the is Factory reset controller + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZWaveSettingsPage @@ -7533,6 +7545,18 @@ Please only use this if you are sure you want this and consider reporting the is Factory reset controller + + Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system. + + + + Reset controller + + + + Are you sure you want to remove the network and all associated devices from the system? + + ZigbeeSettingsPage diff --git a/nymea-app/ui/system/ZigbeeNetworkSettingsPage.qml b/nymea-app/ui/system/ZigbeeNetworkSettingsPage.qml index b3d75c18..64e88a43 100644 --- a/nymea-app/ui/system/ZigbeeNetworkSettingsPage.qml +++ b/nymea-app/ui/system/ZigbeeNetworkSettingsPage.qml @@ -145,8 +145,20 @@ SettingsPageBase { Layout.rightMargin: app.margins text: qsTr("Remove network") onClicked: { - root.zigbeeManager.removeNetwork(root.network.networkUuid) - root.exit() + var dialog = Qt.createComponent(Qt.resolvedUrl("../components/MeaDialog.qml")); + var text = qsTr("Are you sure you want to remove the network and all associated devices from the system?") + var popup = dialog.createObject(app, + { + headerIcon: "../images/dialog-warning-symbolic.svg", + title: qsTr("Remove network"), + text: text, + standardButtons: Dialog.Ok | Dialog.Cancel + }); + popup.open(); + popup.accepted.connect(function() { + root.zigbeeManager.removeNetwork(root.network.networkUuid) + root.exit() + }) } } @@ -156,7 +168,19 @@ SettingsPageBase { Layout.rightMargin: app.margins text: qsTr("Factory reset controller") onClicked: { - root.zigbeeManager.factoryResetNetwork(root.network.networkUuid) + var dialog = Qt.createComponent(Qt.resolvedUrl("../components/MeaDialog.qml")); + var text = qsTr("Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system.") + var popup = dialog.createObject(app, + { + headerIcon: "../images/dialog-warning-symbolic.svg", + title: qsTr("Reset controller"), + text: text, + standardButtons: Dialog.Ok | Dialog.Cancel + }); + popup.open(); + popup.accepted.connect(function() { + root.zigbeeManager.factoryResetNetwork(root.network.networkUuid) + }) } } } diff --git a/nymea-app/ui/system/zwave/ZWaveNetworkSettingsPage.qml b/nymea-app/ui/system/zwave/ZWaveNetworkSettingsPage.qml index 0d6241a9..8c6bd8ca 100644 --- a/nymea-app/ui/system/zwave/ZWaveNetworkSettingsPage.qml +++ b/nymea-app/ui/system/zwave/ZWaveNetworkSettingsPage.qml @@ -165,7 +165,19 @@ SettingsPageBase { Layout.rightMargin: app.margins text: qsTr("Remove network") onClicked: { - d.pendingCommandId = root.zwaveManager.removeNetwork(root.network.networkUuid) + var dialog = Qt.createComponent(Qt.resolvedUrl("../components/MeaDialog.qml")); + var text = qsTr("Are you sure you want to remove the network and all associated devices from the system?") + var popup = dialog.createObject(app, + { + headerIcon: "../images/dialog-warning-symbolic.svg", + title: qsTr("Remove network"), + text: text, + standardButtons: Dialog.Ok | Dialog.Cancel + }); + popup.open(); + popup.accepted.connect(function() { + d.pendingCommandId = root.zwaveManager.removeNetwork(root.network.networkUuid) + }) } } @@ -175,7 +187,19 @@ SettingsPageBase { Layout.rightMargin: app.margins text: qsTr("Factory reset controller") onClicked: { - d.pendingCommandId = root.zwaveManager.factoryResetNetwork(root.network.networkUuid) + var dialog = Qt.createComponent(Qt.resolvedUrl("../components/MeaDialog.qml")); + var text = qsTr("Are you sure you want to factory reset the controller? This will recreate the network and remove all associated devices from the system.") + var popup = dialog.createObject(app, + { + headerIcon: "../images/dialog-warning-symbolic.svg", + title: qsTr("Reset controller"), + text: text, + standardButtons: Dialog.Ok | Dialog.Cancel + }); + popup.open(); + popup.accepted.connect(function() { + d.pendingCommandId = root.zwaveManager.factoryResetNetwork(root.network.networkUuid) + }) } } }