Files
TREK/shared/src/i18n/ca/perm.ts
T
Maurice 80b6739362 feat(journey): a trip can link a journal and open it to the members it picks
A trip can now show one journal from the Journey addon as its own: any
journal its owner picks, and one journal on as many trips as they like.
The trip members chosen for the link get into the journal as viewers or
editors, see it in their own journal list and follow it live, for as long
as the link holds them and they stay on the trip.

That access is never copied into journey_contributors. It is read where
journal access is read: the contributor repository answers with the
stronger of a direct role and a link role, the journal list and the live
update recipients take the link members in, and the photo access check
goes the same way. Every one of those reads starts from linkReach, which
only counts members still on the linking trip, so unlinking, deselecting
someone and their leaving the trip all end exactly what the link gave.
A member who leaves is also taken off the link, so coming back later does
not quietly reopen the journal.

Linking or changing the members takes the journal's owner and the new
journal_link trip permission (trip owner by default); unlinking takes
either. /api/trips/:tripId/journal answers the link as each member may see
it, /candidates says who a journal would be opened to for the first time,
and four MCP tools do the same over the same service. A trip:journal:changed
event tells the trip to look again.
2026-10-18 15:59:33 +02:00

54 lines
3.2 KiB
TypeScript

import type { TranslationStrings } from '../types';
const perm: TranslationStrings = {
'perm.title': 'Configuració de permisos',
'perm.subtitle': "Controla qui pot fer accions a l'aplicació",
'perm.saved': 'Configuració de permisos desada',
'perm.resetDefaults': 'Restableix els valors per defecte',
'perm.customized': 'personalitzat',
'perm.level.admin': "Només l'administrador",
'perm.level.tripOwner': 'Propietari del viatge',
'perm.level.tripMember': 'Membres del viatge',
'perm.level.everybody': 'Tothom',
'perm.cat.trip': 'Gestió de viatges',
'perm.cat.members': 'Gestió de membres',
'perm.cat.files': 'Fitxers',
'perm.cat.content': 'Contingut i horari',
'perm.cat.extras': 'Pressupost, equipatge i col·laboració',
'perm.action.trip_create': 'Crea viatges',
'perm.action.trip_edit': 'Edita els detalls del viatge',
'perm.action.trip_delete': 'Elimina viatges',
'perm.action.trip_archive': 'Arxiva / desarxiva viatges',
'perm.action.trip_cover_upload': 'Puja la imatge de portada',
'perm.action.member_manage': 'Afegeix / elimina membres',
'perm.action.file_upload': 'Puja fitxers',
'perm.action.file_edit': 'Edita les metadades del fitxer',
'perm.action.file_delete': 'Elimina fitxers',
'perm.action.place_edit': 'Afegeix / edita / elimina llocs',
'perm.action.day_edit': 'Edita dies, notes i assignacions',
'perm.action.reservation_edit': 'Gestiona les reserves',
'perm.action.budget_edit': 'Gestiona el pressupost',
'perm.action.packing_edit': "Gestiona les llistes d'equipatge",
'perm.action.collab_edit': 'Col·laboració (notes, enquestes, xat)',
'perm.action.share_manage': 'Gestiona els enllaços compartits',
'perm.actionHint.trip_create': 'Permet crear viatges nous',
'perm.action.journal_link': 'Enllaçar un diari',
'perm.actionHint.trip_edit': 'Permet canviar el nom, les dates, la descripció i la moneda del viatge',
'perm.actionHint.trip_delete': 'Permet eliminar permanentment un viatge',
'perm.actionHint.trip_archive': "Permet arxivar o treure de l'arxiu un viatge",
'perm.actionHint.trip_cover_upload': 'Permet pujar o canviar la imatge de portada',
'perm.actionHint.member_manage': 'Permet convidar o eliminar membres del viatge',
'perm.actionHint.file_upload': 'Permet pujar fitxers a un viatge',
'perm.actionHint.file_edit': 'Permet editar descripcions i enllaços de fitxers',
'perm.actionHint.file_delete': 'Permet moure fitxers a la paperera o eliminar-los permanentment',
'perm.actionHint.place_edit': 'Permet afegir, editar o eliminar llocs',
'perm.actionHint.day_edit': 'Permet editar dies, notes de dies i assignacions de llocs',
'perm.actionHint.reservation_edit': 'Permet crear, editar o eliminar reserves',
'perm.actionHint.budget_edit': 'Permet crear, editar o eliminar elements del pressupost',
'perm.actionHint.packing_edit': "Permet gestionar els elements d'equipatge i les bosses",
'perm.actionHint.collab_edit': 'Permet crear notes, enquestes i enviar missatges',
'perm.actionHint.share_manage': 'Permet crear o eliminar enllaços públics compartits',
'perm.actionHint.journal_link': 'Qui pot enllaçar un diari de Journey al viatge i obrir-lo als seus membres',
};
export default perm;