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.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."
} }

View file

@ -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"
} }

View file

@ -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(),