Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

3.5 KB
Raw Blame
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',
  'backup.auto.hourHintTz': 'Server local time ({format} format), timezone {timezone}',
};
export default backup;