From f530624467237e283c96ad050ba013eec3532250 Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 21 Jul 2024 16:40:39 +0600 Subject: [PATCH] web/ResetSettingsButton: update dialog text erase -> reset --- web/i18n/en/dialog.json | 6 +++--- web/i18n/en/settings.json | 2 +- web/src/components/buttons/ResetSettingsButton.svelte | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) 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(),