Files
TREK/shared/src/i18n/ca/files.ts
T
Maurice a3f6635633 feat(places): colour tags, tabs for the texts and opening hours on the phone
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.
2026-11-17 08:44:46 +01:00

78 lines
3.6 KiB
TypeScript

import type { TranslationStrings } from '../types';
const files: TranslationStrings = {
'files.title': 'Fitxers',
'files.pageTitle': 'Fitxers i documents',
'files.subtitle': '{count} fitxers per a {trip}',
'files.subtitle.one': '{count} fitxer per a {trip}',
'files.download': 'Baixa',
'files.openError': "No s'ha pogut obrir el fitxer",
'files.downloadError': "No s'ha pogut baixar el fitxer",
'files.downloadPdf': 'Baixa el PDF',
'files.count': '{count} fitxers',
'files.count.one': '{count} fitxer',
'files.uploaded': '{count} fitxers pujats',
'files.uploaded.one': '{count} fitxer pujat',
'files.uploadError': 'La pujada ha fallat',
'files.dropzone': 'Arrossega els fitxers aquí',
'files.dropzoneHint': 'o fes clic per explorar',
'files.allowedTypes': 'Imatges, PDF, DOC, DOCX, XLS, XLSX, TXT, CSV · Màx. 50 MB',
'files.uploading': 'Pujant...',
'files.filterAll': 'Tot',
'files.filterPdf': 'PDF',
'files.filterImages': 'Imatges',
'files.filterDocs': 'Documents', // same-as-en
'files.filterCollab': 'Notes de col·laboració',
'files.sourceCollab': 'Des de notes de col·laboració',
'files.empty': 'Encara no hi ha fitxers',
'files.emptyHint': 'Puja fitxers per adjuntar-los al teu viatge',
'files.openTab': 'Obre en una pestanya nova',
'files.confirm.delete': 'Segur que vols eliminar aquest fitxer?',
'files.toast.deleted': 'Fitxer eliminat',
'files.toast.deleteError': "No s'ha pogut eliminar el fitxer",
'files.sourcePlan': 'Pla diari',
'files.sourceBooking': 'Reserva',
'files.sourceTransport': 'Transport', // same-as-en
'files.attach': 'Adjunta',
'files.trash': 'Paperera',
'files.trashEmpty': 'La paperera és buida',
'files.emptyTrash': 'Buida la paperera',
'files.restore': 'Restaura',
'files.star': 'Destaca',
'files.unstar': 'Treure el destacat',
'files.assign': 'Assigna',
'files.assignTitle': 'Assigna el fitxer',
'files.assignPlace': 'Lloc',
'files.assignBooking': 'Reserva',
'files.assignTransport': 'Transport', // same-as-en
'files.unassigned': 'Sense assignar',
'files.unlink': "Elimina l'enllaç",
'files.noteLabel': 'Nota',
'files.notePlaceholder': 'Afegeix una nota...',
'files.toast.trashed': 'Mogut a la paperera',
'files.toast.restored': 'Fitxer restaurat',
'files.toast.trashEmptied': 'Paperera buidada',
'files.toast.assigned': 'Fitxer assignat',
'files.toast.assignError': 'Error en assignar',
'files.toast.restoreError': 'Error en restaurar',
'files.confirm.permanentDelete': 'Vols eliminar aquest fitxer permanentment? No es pot desfer.',
'files.confirm.emptyTrash': 'Vols eliminar tots els fitxers de la paperera? No es pot desfer.',
'files.uploadErrorType': 'Aquest tipus de fitxer no és compatible',
'files.filterStarred': 'Destacats',
'files.link': 'Enllaça',
'files.linkTitle': 'Enllaça un fitxer',
'files.linkEmpty': 'Encara no hi ha llocs ni reserves per enllaçar',
'files.menu': 'Més opcions',
'files.uploadErrorSize': 'El fitxer és massa gran (màx. {max} MB)',
'files.uploadNeedsConnection': 'Per pujar cal connexió. Torna-ho a provar quan TREK torni a estar en línia.',
'files.linkNeedsConnection':
'Per treure aquest enllaç cal connexió. Torna-ho a provar quan TREK torni a estar en línia.',
'files.placeFilesNeedConnection':
'Els fitxers necessiten connexió per pujar-se. Treu els nous per desar el lloc sense connexió, o desa quan tornis a estar en línia.',
'files.maxSize': 'Màx. {count} MB',
'files.maxSize.one': 'Màx. {count} MB',
'files.toast.starError': "No s'ha pogut canviar l'estrella",
};
export default files;