Feat backups (#686)

* Scaffold backups

* Add FFlags

* fixup! Add FFlags

* fixup! fixup! Add FFlags

* fixup! fixup! fixup! Add FFlags
This commit is contained in:
Chris 2025-12-09 08:00:46 +02:00 committed by GitHub
parent 595252820e
commit bf281b740d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 3756 additions and 59 deletions

View file

@ -20,6 +20,7 @@
"uploading": "Uploading...",
"settings": "Settings",
"none": "None",
"refresh": "Refresh",
"discardChanges": "Discard changes?",
"discardChangesMessage": "You have unsaved changes. Are you sure you want to discard them?",
"no": "No, keep editing",
@ -61,6 +62,7 @@
"profile": "Profile",
"profileSettings": "Profile Settings",
"settings": "Settings",
"backupRestore": "Backup & Restore",
"about": "About",
"logout": "Logout"
},
@ -1199,5 +1201,52 @@
"area": "area",
"note": "note"
}
},
"backup": {
"title": "Backup & Restore",
"description": "Create backups or restore from previous backups. Your last 5 backups are automatically saved.",
"createBackup": "Create Backup",
"importFromFile": "Import from File",
"createNewBackup": "Create New Backup",
"createDescription": "Create a new backup of all your data. Backups are saved on the server and you can restore them later.",
"createBackupNow": "Create Backup Now",
"creating": "Creating backup...",
"exportSuccess": "Backup created successfully!",
"exportError": "Failed to create backup",
"savedBackups": "Saved Backups",
"noBackups": "No backups found. Create your first backup above.",
"createdAt": "Created",
"version": "Version",
"currentVersion": "Current version",
"size": "Size",
"contents": "Contents",
"actions": "Actions",
"restore": "Restore",
"download": "Download",
"downloadSuccess": "Backup downloaded successfully!",
"downloadError": "Failed to download backup",
"confirmRestore": "Restore Backup",
"confirmRestoreMessage": "Are you sure you want to restore this backup? This will merge the backed up data with your current data.",
"restoreSuccess": "Backup restored successfully! Created: {{tasks}} tasks, {{projects}} projects, {{notes}} notes",
"restoreError": "Failed to restore backup",
"confirmDelete": "Delete Backup",
"confirmDeleteMessage": "Are you sure you want to delete this backup? This action cannot be undone.",
"deleteSuccess": "Backup deleted successfully!",
"deleteError": "Failed to delete backup",
"importTitle": "Import from File",
"importDescription": "Upload a backup file to restore your data. Your existing data will be preserved, and new items from the backup will be added.",
"importNote": "Important:",
"importNoteDescription": "Import will merge data with your existing items. Duplicate items (same UID) will be skipped.",
"selectFile": "Select Backup File",
"clickToUpload": "Click to browse files",
"restoreBackup": "Restore Backup",
"importing": "Importing...",
"importSuccess": "Backup imported successfully! Created: {{tasks}} tasks, {{projects}} projects, {{notes}} notes",
"importError": "Failed to import backup",
"backupContents": "Backup contents:",
"validationError": "The selected file is not a valid backup",
"validationErrors": "Validation errors:",
"versionIncompatible": "Version Incompatible",
"backupVersion": "Backup version"
}
}