Skip to content

best way to save what you love

web/ResetSettingsButton: update dialog text

wukkof53062446723
diff --git a/web/i18n/en/dialog.json b/web/i18n/en/dialog.json
index 96a552ec..b57fae5b 100644
--- a/web/i18n/en/dialog.json
+++ b/web/i18n/en/dialog.json
@@ -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."
}
diff --git a/web/i18n/en/settings.json b/web/i18n/en/settings.json
index c761ff85..7273ea1e 100644
--- a/web/i18n/en/settings.json
+++ b/web/i18n/en/settings.json
@@ -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"
}
diff --git a/web/src/components/buttons/ResetSettingsButton.svelte b/web/src/components/buttons/ResetSettingsButton.svelte
index 0434c84d..e6b6a61a 100644
--- a/web/src/components/buttons/ResetSettingsButton.svelte
+++ b/web/src/components/buttons/ResetSettingsButton.svelte
@@ -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(),