web/ResetSettingsButton: update dialog text

erase -> reset
This commit is contained in:
wukko 2024-07-21 16:40:39 +06:00
parent ec768ebfc2
commit f530624467
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
3 changed files with 7 additions and 7 deletions

View file

@ -1,8 +1,8 @@
{
"button.gotit": "got it",
"button.cancel": "cancel",
"button.erase": "erase",
"button.reset": "reset",
"erase.title": "erase all settings?",
"erase.body": "are you sure you want to reset all settings? this action is immediate and irreversible."
"reset.title": "reset all settings?",
"reset.body": "are you sure you want to reset all settings? this action is immediate and irreversible."
}

View file

@ -98,5 +98,5 @@
"advanced.debug.description": "gives you access to a page with app & device info useful for debugging.",
"advanced.data": "settings data",
"advanced.reset": "erase all settings"
"advanced.reset": "reset all settings"
}

View file

@ -11,8 +11,8 @@
id: "wipe-confirm",
type: "small",
icon: "warn-red",
title: $t("dialog.erase.title"),
bodyText: $t("dialog.erase.body"),
title: $t("dialog.reset.title"),
bodyText: $t("dialog.reset.body"),
buttons: [
{
text: $t("dialog.button.cancel"),
@ -20,7 +20,7 @@
action: () => {},
},
{
text: $t("dialog.button.erase"),
text: $t("dialog.button.reset"),
color: "red",
main: true,
action: () => resetSettings(),