From 1a5ffd4755d85bdefc42ecd0ce563412048140b7 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Wed, 8 Sep 2021 00:46:48 +0800 Subject: [PATCH] add description for export/import --- src/languages/en.js | 5 ++++- src/pages/Settings.vue | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/languages/en.js b/src/languages/en.js index b35892857..8b5d66b82 100644 --- a/src/languages/en.js +++ b/src/languages/en.js @@ -119,5 +119,8 @@ export default { "Clear Data": "Clear Data", Events: "Events", Heartbeats: "Heartbeats", - "Auto Get": "Auto Get" + "Auto Get": "Auto Get", + backupDescription: "You can backup all monitors and all notifications into a JSON file.", + backupDescription2: "PS: History and event data is not included.", + backupDescription3: "Sensitive data such as notification tokens is included in the export file, please keep it carefully.", } diff --git a/src/pages/Settings.vue b/src/pages/Settings.vue index 394e605fe..55de2d541 100644 --- a/src/pages/Settings.vue +++ b/src/pages/Settings.vue @@ -122,12 +122,19 @@

{{ $t("Import/Export Backup") }}

+

+ {{ $t("backupDescription") }}
+ ({{ $t("backupDescription2") }})
+

+
+

{{ $t("backupDescription3") }}

+

{{ $t("Advanced") }}