mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 16:10:07 +00:00
31859651d7
Every help screen checked against the v5 redesign. Tours is documented for the first time, as a screen of its own with twelve screens under it, and notifications get help of their own. All pictures are taken again on a realistic demo trip, with short loops where a still cannot show the motion. The English is plain and every language is written naturally rather than word for word. The switcher shows two levels at most, a screen's overview lists its sub-screens as cards above its guides, each wiki page is linked once, and the help sidebar is wider. Fixes found along the way: Save to Collection keeps a tour's route, a track dropped on the places column opens the Tours import, tour Share on desktop, the unsaved tour draft lives on the account, a route click no longer adds an end point, Trip places leaves the trip's tours out, Escape closes a stage's day menu, confirms before destructive deletes, DWD warnings sharing one id kept apart, a booking's date moves with it, and smaller fixes across notifications, bookings, the day plan, stays, Atlas, Collections, Vacay and the admin screens.
74 lines
3.5 KiB
TypeScript
74 lines
3.5 KiB
TypeScript
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;
|