mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 11:36:05 +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.
81 lines
3.8 KiB
TypeScript
81 lines
3.8 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const files: TranslationStrings = {
|
|
'files.filterStarred': 'Označené',
|
|
'files.link': 'Prepojiť',
|
|
'files.linkTitle': 'Prepojiť súbor',
|
|
'files.linkEmpty': 'Zatiaľ nie sú žiadne miesta ani rezervácie na prepojenie',
|
|
'files.menu': 'Ďalšie možnosti',
|
|
'files.uploadErrorSize': 'Súbor je príliš veľký (max. {max} MB)',
|
|
'files.title': 'Súbory',
|
|
'files.pageTitle': 'Súbory a dokumenty',
|
|
'files.subtitle': '{count} súborov pre {trip}',
|
|
'files.subtitle.one': '{count} súbor pre {trip}',
|
|
'files.subtitle.few': '{count} súbory pre {trip}',
|
|
'files.download': 'Stiahnuť',
|
|
'files.openError': 'Súbor sa nedá otvoriť',
|
|
'files.downloadError': 'Súbor sa nedá stiahnuť',
|
|
'files.downloadPdf': 'Stiahnuť PDF',
|
|
'files.count': '{count} súborov',
|
|
'files.count.one': '{count} súbor',
|
|
'files.count.few': '{count} súbory',
|
|
'files.uploaded': 'Nahraných {count} súborov',
|
|
'files.uploaded.one': 'Nahraný {count} súbor',
|
|
'files.uploaded.few': 'Nahrané {count} súbory',
|
|
'files.uploadError': 'Nahrávanie zlyhalo',
|
|
'files.uploadErrorType': 'Tento typ súboru nie je podporovaný',
|
|
'files.dropzone': 'Presuňte súbory sem',
|
|
'files.dropzoneHint': 'alebo kliknite pre výber',
|
|
'files.allowedTypes': 'Obrázky, PDF, DOC, DOCX, XLS, XLSX, TXT, CSV · Max 50 MB',
|
|
'files.uploading': 'Nahráva sa...',
|
|
'files.filterAll': 'Všetko',
|
|
'files.filterPdf': 'PDF',
|
|
'files.filterImages': 'Obrázky',
|
|
'files.filterDocs': 'Dokumenty',
|
|
'files.filterCollab': 'Poznámky spolupráce',
|
|
'files.sourceCollab': 'Z poznámok spolupráce',
|
|
'files.empty': 'Zatiaľ žiadne súbory',
|
|
'files.emptyHint': 'Nahrajte súbory a priložte ich k svojej ceste',
|
|
'files.openTab': 'Otvoriť na novej karte',
|
|
'files.confirm.delete': 'Naozaj chcete zmazať tento súbor?',
|
|
'files.toast.deleted': 'Súbor bol zmazaný',
|
|
'files.toast.deleteError': 'Nepodarilo sa zmazať súbor',
|
|
'files.sourcePlan': 'Denný plán',
|
|
'files.sourceBooking': 'Rezervácia',
|
|
'files.sourceTransport': 'Doprava',
|
|
'files.attach': 'Priložiť',
|
|
'files.trash': 'Kôš',
|
|
'files.trashEmpty': 'Kôš je prázdny',
|
|
'files.emptyTrash': 'Vyprázdniť kôš',
|
|
'files.restore': 'Obnoviť',
|
|
'files.star': 'Označiť hviezdičkou',
|
|
'files.unstar': 'Odobrať hviezdičku',
|
|
'files.assign': 'Priradiť',
|
|
'files.assignTitle': 'Priradiť súbor',
|
|
'files.assignPlace': 'Miesto',
|
|
'files.assignBooking': 'Rezervácia',
|
|
'files.assignTransport': 'Doprava',
|
|
'files.unassigned': 'Nepriradené',
|
|
'files.unlink': 'Zrušiť prepojenie',
|
|
'files.toast.trashed': 'Presunuté do koša',
|
|
'files.toast.restored': 'Súbor bol obnovený',
|
|
'files.toast.trashEmptied': 'Kôš bol vyprázdnený',
|
|
'files.toast.assigned': 'Súbor bol priradený',
|
|
'files.toast.assignError': 'Priradenie zlyhalo',
|
|
'files.toast.restoreError': 'Obnovenie zlyhalo',
|
|
'files.confirm.permanentDelete': 'Trvalo zmazať tento súbor? Túto akciu nie je možné vrátiť.',
|
|
'files.confirm.emptyTrash': 'Trvalo zmazať všetky súbory v koši? Túto akciu nie je možné vrátiť.',
|
|
'files.noteLabel': 'Poznámka',
|
|
'files.notePlaceholder': 'Pridať poznámku...',
|
|
'files.uploadNeedsConnection': 'Nahrávanie potrebuje pripojenie. Skús to znova, keď bude TREK opäť online.',
|
|
'files.linkNeedsConnection':
|
|
'Odstránenie tohto prepojenia potrebuje pripojenie. Skús to znova, keď bude TREK opäť online.',
|
|
'files.placeFilesNeedConnection':
|
|
'Súbory potrebujú na nahranie pripojenie. Odstráň nové, aby si miesto uložil offline, alebo ulož, keď budeš opäť online.',
|
|
'files.maxSize': 'Max. {count} MB',
|
|
'files.maxSize.one': 'Max. {count} MB',
|
|
'files.maxSize.few': 'Max. {count} MB',
|
|
'files.toast.starError': 'Hviezdičku sa nepodarilo zmeniť',
|
|
};
|
|
export default files;
|