mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 18:04:18 +00:00
a3f6635633
Tags on the place form are pills in their own colour, with a palette under the dot that recolours a tag for the whole trip (PUT /trips/:id/tags/:id was there already, the client now reaches it through repo and store) and a custom colour field of its own instead of the system picker. A new tag is made in a colour picked the same way. Description, notes and the note for one day's visit sit in one card under a switch, each with a line on where the text shows up; the day tab is named after its day and is only there with one visit in context. Nothing about the three fields changes underneath. Opening hours get a switch for open around the clock next to closed. Google writes a place open all week as one period on Sunday that never closes; it read as Sunday open and every other day closed, and now opens every day. The phone form follows the desktop: category as one field with a list, tags in one field, the texts switch, and phone, e-mail and opening hours, which it did not have. The hours and the text tabs are shared hooks (usePlaceHours, usePlaceTextTabs). Files and costs on the phone sheets are drawn as fields like the rest, and the paste hint, a keyboard shortcut a phone has no use for, is gone with its key.
72 lines
3.7 KiB
TypeScript
72 lines
3.7 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const files: TranslationStrings = {
|
|
'files.filterStarred': 'Đã đánh dấu sao',
|
|
'files.link': 'Liên kết',
|
|
'files.linkTitle': 'Liên kết tập tin',
|
|
'files.linkEmpty': 'Chưa có địa điểm hoặc đặt chỗ nào để liên kết',
|
|
'files.menu': 'Tùy chọn khác',
|
|
'files.uploadErrorSize': 'Tệp quá lớn (tối đa {max} MB)',
|
|
'files.uploadErrorType': 'Loại tập tin này không được hỗ trợ',
|
|
'files.title': 'Tập tin',
|
|
'files.pageTitle': 'Tập tin & Tài liệu',
|
|
'files.subtitle': '{count} tệp cho {trip}',
|
|
'files.download': 'Tải xuống',
|
|
'files.openError': 'Không thể mở tập tin',
|
|
'files.downloadError': 'Không thể tải xuống tập tin',
|
|
'files.downloadPdf': 'Tải xuống PDF',
|
|
'files.count': '{count} tập tin',
|
|
'files.uploaded': 'Đã tải lên {count} tệp',
|
|
'files.uploadError': 'Tải lên không thành công',
|
|
'files.dropzone': 'Thả tập tin ở đây',
|
|
'files.dropzoneHint': 'hoặc bấm vào để duyệt',
|
|
'files.allowedTypes': 'Hình ảnh, PDF, DOC, DOCX, XLS, XLSX, TXT, CSV · Tối đa 50 MB',
|
|
'files.uploading': 'Đang tải lên...',
|
|
'files.filterAll': 'Tất cả',
|
|
'files.filterPdf': 'PDF',
|
|
'files.filterImages': 'Hình ảnh',
|
|
'files.filterDocs': 'Tài liệu',
|
|
'files.filterCollab': 'Ghi chú cộng tác',
|
|
'files.sourceCollab': 'Từ ghi chú cộng tác',
|
|
'files.empty': 'Chưa có tập tin nào',
|
|
'files.emptyHint': 'Tải tệp lên để đính kèm vào chuyến đi của bạn',
|
|
'files.openTab': 'Mở trong tab mới',
|
|
'files.confirm.delete': 'Bạn có chắc chắn muốn xóa tập tin này?',
|
|
'files.toast.deleted': 'Đã xóa tệp',
|
|
'files.toast.deleteError': 'Không thể xóa tập tin',
|
|
'files.sourcePlan': 'Kế hoạch ngày',
|
|
'files.sourceBooking': 'Đặt chỗ',
|
|
'files.sourceTransport': 'Chuyên chở',
|
|
'files.attach': 'Gắn',
|
|
'files.trash': 'Rác',
|
|
'files.trashEmpty': 'Thùng rác trống rỗng',
|
|
'files.emptyTrash': 'Dọn sạch thùng rác',
|
|
'files.restore': 'Khôi phục',
|
|
'files.star': 'Ngôi sao',
|
|
'files.unstar': 'Bỏ dấu sao',
|
|
'files.assign': 'Giao phó',
|
|
'files.assignTitle': 'Gán tập tin',
|
|
'files.assignPlace': 'Địa điểm',
|
|
'files.assignBooking': 'Đặt chỗ',
|
|
'files.assignTransport': 'Chuyên chở',
|
|
'files.unassigned': 'Chưa được chỉ định',
|
|
'files.unlink': 'Xóa liên kết',
|
|
'files.toast.trashed': 'Đã chuyển vào thùng rác',
|
|
'files.toast.restored': 'Đã khôi phục tệp',
|
|
'files.toast.trashEmptied': 'Đã dọn sạch thùng rác',
|
|
'files.toast.assigned': 'Tệp được chỉ định',
|
|
'files.toast.assignError': 'Bài tập không thành công',
|
|
'files.toast.restoreError': 'Khôi phục không thành công',
|
|
'files.confirm.permanentDelete': 'Xóa vĩnh viễn tập tin này? Điều này không thể hoàn tác được.',
|
|
'files.confirm.emptyTrash': 'Xóa vĩnh viễn tất cả các tập tin vào thùng rác? Điều này không thể hoàn tác được.',
|
|
'files.noteLabel': 'Ghi chú',
|
|
'files.notePlaceholder': 'Thêm ghi chú...',
|
|
'files.uploadNeedsConnection': 'Tải lên cần có kết nối. Hãy thử lại khi TREK trực tuyến trở lại.',
|
|
'files.linkNeedsConnection': 'Gỡ liên kết này cần có kết nối. Hãy thử lại khi TREK trực tuyến trở lại.',
|
|
'files.placeFilesNeedConnection':
|
|
'Tệp cần có kết nối để tải lên. Hãy bỏ các tệp mới để lưu địa điểm khi ngoại tuyến, hoặc lưu khi bạn trực tuyến trở lại.',
|
|
'files.maxSize': 'Tối đa {count} MB',
|
|
'files.toast.starError': 'Không thể đổi dấu sao',
|
|
};
|
|
export default files;
|