Spaces:
Sleeping
Sleeping
File size: 3,521 Bytes
98fbc6d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | import type { TranslationStrings } from '../types';
const backup: TranslationStrings = {
'backup.title': 'Data Backup',
'backup.subtitle': 'Database and all uploaded files',
'backup.refresh': 'Refresh',
'backup.upload': 'Upload Backup',
'backup.uploading': 'Uploading…',
'backup.create': 'Create Backup',
'backup.creating': 'Creating…',
'backup.empty': 'No backups yet',
'backup.createFirst': 'Create first backup',
'backup.download': 'Download',
'backup.restore': 'Restore',
'backup.confirm.restore':
'Restore backup "{name}"?\n\nAll current data will be replaced with the backup.',
'backup.confirm.uploadRestore':
'Upload and restore backup file "{name}"?\n\nAll current data will be overwritten.',
'backup.confirm.delete': 'Delete backup "{name}"?',
'backup.toast.loadError': 'Failed to load backups',
'backup.toast.created': 'Backup created successfully',
'backup.toast.createError': 'Failed to create backup',
'backup.toast.restored': 'Backup restored. Page will reload…',
'backup.toast.restoreError': 'Failed to restore',
'backup.toast.uploadError': 'Failed to upload',
'backup.toast.deleted': 'Backup deleted',
'backup.toast.deleteError': 'Failed to delete',
'backup.toast.downloadError': 'Download failed',
'backup.toast.settingsSaved': 'Auto-backup settings saved',
'backup.toast.settingsError': 'Failed to save settings',
'backup.auto.title': 'Auto-Backup',
'backup.auto.subtitle': 'Automatic backup on a schedule',
'backup.auto.enable': 'Enable auto-backup',
'backup.auto.enableHint':
'Backups will be created automatically on the chosen schedule',
'backup.auto.interval': 'Interval',
'backup.auto.hour': 'Run at hour',
'backup.auto.hourHint': 'Server local time ({format} format)',
'backup.auto.dayOfWeek': 'Day of week',
'backup.auto.dayOfMonth': 'Day of month',
'backup.auto.dayOfMonthHint':
'Limited to 1–28 for compatibility with all months',
'backup.auto.scheduleSummary': 'Schedule',
'backup.auto.summaryDaily': 'Every day at {hour}:00',
'backup.auto.summaryWeekly': 'Every {day} at {hour}:00',
'backup.auto.summaryMonthly': 'Day {day} of every month at {hour}:00',
'backup.auto.envLocked': 'Docker',
'backup.auto.envLockedHint':
'Auto-backup is configured via Docker environment variables. To change these settings, update your docker-compose.yml and restart the container.',
'backup.auto.copyEnv': 'Copy Docker env vars',
'backup.auto.envCopied': 'Docker env vars copied to clipboard',
'backup.auto.keepLabel': 'Delete old backups after',
'backup.dow.sunday': 'Sun',
'backup.dow.monday': 'Mon',
'backup.dow.tuesday': 'Tue',
'backup.dow.wednesday': 'Wed',
'backup.dow.thursday': 'Thu',
'backup.dow.friday': 'Fri',
'backup.dow.saturday': 'Sat',
'backup.interval.hourly': 'Hourly',
'backup.interval.daily': 'Daily',
'backup.interval.weekly': 'Weekly',
'backup.interval.monthly': 'Monthly',
'backup.keep.1day': '1 day',
'backup.keep.3days': '3 days',
'backup.keep.7days': '7 days',
'backup.keep.14days': '14 days',
'backup.keep.30days': '30 days',
'backup.keep.forever': 'Keep forever',
'backup.restoreConfirmTitle': 'Restore Backup?',
'backup.restoreWarning':
'All current data (trips, places, users, uploads) will be permanently replaced by the backup. This action cannot be undone.',
'backup.restoreTip':
'Tip: Create a backup of the current state before restoring.',
'backup.restoreConfirm': 'Yes, restore',
};
export default backup;
|