From 921af8def1da6c647803e6b29454a236c1feddfb Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 24 Jul 2021 12:57:32 +0100 Subject: [PATCH] :globe_with_meridians: Adds translations for Cloud Sync form --- src/assets/locales/en-GB.json | 22 +++++++++ .../Configuration/CloudBackupRestore.vue | 48 ++++++++++--------- 2 files changed, 47 insertions(+), 23 deletions(-) diff --git a/src/assets/locales/en-GB.json b/src/assets/locales/en-GB.json index 51daec2d..c43435cd 100644 --- a/src/assets/locales/en-GB.json +++ b/src/assets/locales/en-GB.json @@ -18,5 +18,27 @@ "remember-me-hour": "4 Hours", "remember-me-day": "1 Day", "remember-me-week": "1 Week" + }, + "cloud-sync": { + "title": "Cloud Backup & Restore", + "intro-l1": "Cloud backup and restore is an optional feature, that enables you to upload your config to the internet, and then restore it on any other device or instance of Dashy.", + "intro-l2": "All data is fully end-to-end encrypted with AES, using your password as the key.", + "intro-l3": "For more info, please see the", + "backup-title-setup": "Make a Backup", + "backup-title-update": "Update Backup", + "password-label-setup": "Choose a Password", + "password-label-update": "Enter your Password", + "backup-button-setup": "Backup", + "backup-button-update": "Update Backup", + "backup-id-label": "Your Backup ID", + "backup-id-note": "This is used to restore from backups later. So keep it, along with your password somewhere safe.", + "restore-title": "Restore a Backup", + "restore-id-label": "Restore ID", + "restore-password-label": "Password", + "restore-button": "Restore", + "backup-error-unknown": "Unable to process request", + "backup-error-password": "Incorrect password. Please enter your current password.", + "backup-success-msg": "Completed Successfully", + "restore-success-msg": "Config Restored Successfully" } } \ No newline at end of file diff --git a/src/components/Configuration/CloudBackupRestore.vue b/src/components/Configuration/CloudBackupRestore.vue index 8c1b5261..36b00f8d 100644 --- a/src/components/Configuration/CloudBackupRestore.vue +++ b/src/components/Configuration/CloudBackupRestore.vue @@ -1,55 +1,55 @@