web/ResetSettingsButton: update dialog text
erase -> reset
This commit is contained in:
parent
ec768ebfc2
commit
f530624467
3 changed files with 7 additions and 7 deletions
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"button.gotit": "got it",
|
"button.gotit": "got it",
|
||||||
"button.cancel": "cancel",
|
"button.cancel": "cancel",
|
||||||
"button.erase": "erase",
|
"button.reset": "reset",
|
||||||
|
|
||||||
"erase.title": "erase all settings?",
|
"reset.title": "reset all settings?",
|
||||||
"erase.body": "are you sure you want to reset all settings? this action is immediate and irreversible."
|
"reset.body": "are you sure you want to reset all settings? this action is immediate and irreversible."
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,5 +98,5 @@
|
||||||
"advanced.debug.description": "gives you access to a page with app & device info useful for debugging.",
|
"advanced.debug.description": "gives you access to a page with app & device info useful for debugging.",
|
||||||
|
|
||||||
"advanced.data": "settings data",
|
"advanced.data": "settings data",
|
||||||
"advanced.reset": "erase all settings"
|
"advanced.reset": "reset all settings"
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
id: "wipe-confirm",
|
id: "wipe-confirm",
|
||||||
type: "small",
|
type: "small",
|
||||||
icon: "warn-red",
|
icon: "warn-red",
|
||||||
title: $t("dialog.erase.title"),
|
title: $t("dialog.reset.title"),
|
||||||
bodyText: $t("dialog.erase.body"),
|
bodyText: $t("dialog.reset.body"),
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
text: $t("dialog.button.cancel"),
|
text: $t("dialog.button.cancel"),
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
action: () => {},
|
action: () => {},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: $t("dialog.button.erase"),
|
text: $t("dialog.button.reset"),
|
||||||
color: "red",
|
color: "red",
|
||||||
main: true,
|
main: true,
|
||||||
action: () => resetSettings(),
|
action: () => resetSettings(),
|
||||||
|
|
Loading…
Reference in a new issue