Files
TREK/shared/src/i18n/en/files.ts
T
Maurice 3f68c8a50e feat(bookings): download button on booking and transport attachments (#2585)
Each attached file row now has a download icon next to its name, on the
desktop booking cards and detail dialog and on the phone's bookings and
transports cards. On the phone the file rows move out of the card body
button so open and download are two real sibling buttons.
2026-11-13 10:17:35 +01:00

77 lines
3.3 KiB
TypeScript

import type { TranslationStrings } from '../types';
const files: TranslationStrings = {
'files.filterStarred': 'Starred',
'files.link': 'Link',
'files.linkTitle': 'Link file',
'files.linkEmpty': 'No places or bookings to link yet',
'files.menu': 'More options',
'files.uploadErrorSize': 'File is too large (max {max} MB)',
'files.title': 'Files',
'files.pageTitle': 'Files & Documents',
'files.subtitle': '{count} files for {trip}',
'files.subtitle.one': '{count} file for {trip}',
'files.download': 'Download',
'files.openError': 'Could not open file',
'files.downloadError': 'Could not download file',
'files.downloadPdf': 'Download PDF',
'files.count': '{count} files',
'files.count.one': '{count} file',
'files.uploaded': '{count} uploaded',
'files.uploaded.one': '{count} uploaded',
'files.uploadError': 'Upload failed',
'files.uploadErrorType': "This file type isn't supported",
'files.dropzone': 'Drop files here',
'files.dropzoneHint': 'or click to browse',
'files.allowedTypes': 'Images, PDF, DOC, DOCX, XLS, XLSX, TXT, CSV · Max 50 MB',
'files.uploading': 'Uploading...',
'files.filterAll': 'All',
'files.filterPdf': 'PDFs',
'files.filterImages': 'Images',
'files.filterDocs': 'Documents',
'files.filterCollab': 'Collab Notes',
'files.sourceCollab': 'From Collab Notes',
'files.empty': 'No files yet',
'files.emptyHint': 'Upload files to attach them to your trip',
'files.openTab': 'Open in new tab',
'files.confirm.delete': 'Are you sure you want to delete this file?',
'files.toast.deleted': 'File deleted',
'files.toast.deleteError': 'Failed to delete file',
'files.sourcePlan': 'Day Plan',
'files.sourceBooking': 'Booking',
'files.sourceTransport': 'Transport',
'files.attach': 'Attach',
'files.pasteHint': 'You can also paste images from clipboard (Ctrl+V)',
'files.trash': 'Trash',
'files.trashEmpty': 'Trash is empty',
'files.emptyTrash': 'Empty Trash',
'files.restore': 'Restore',
'files.star': 'Star',
'files.unstar': 'Unstar',
'files.assign': 'Assign',
'files.assignTitle': 'Assign File',
'files.assignPlace': 'Place',
'files.assignBooking': 'Booking',
'files.assignTransport': 'Transport',
'files.unassigned': 'Unassigned',
'files.unlink': 'Remove link',
'files.toast.trashed': 'Moved to trash',
'files.toast.restored': 'File restored',
'files.toast.trashEmptied': 'Trash emptied',
'files.toast.assigned': 'File assigned',
'files.toast.assignError': 'Assignment failed',
'files.toast.restoreError': 'Restore failed',
'files.confirm.permanentDelete': 'Permanently delete this file? This cannot be undone.',
'files.confirm.emptyTrash': 'Permanently delete all trashed files? This cannot be undone.',
'files.noteLabel': 'Note',
'files.notePlaceholder': 'Add a note...',
'files.uploadNeedsConnection': 'Uploading needs a connection. Try again once TREK is back online.',
'files.linkNeedsConnection': 'Removing this link needs a connection. Try again once TREK is back online.',
'files.placeFilesNeedConnection':
'Files need a connection to upload. Remove the new ones to save the place offline, or save once you are back online.',
'files.maxSize': 'Max {count} MB',
'files.maxSize.one': 'Max {count} MB',
'files.toast.starError': 'Could not change the star',
};
export default files;