Files
TREK/shared/src/i18n/sk/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': 'Nastavenia oprávnení',
'perm.subtitle': 'Určte, kto môže vykonávať akcie v celej aplikácii',
'perm.saved': 'Nastavenia oprávnení uložené',
'perm.resetDefaults': 'Obnoviť predvolené',
'perm.customized': 'upravené',
'perm.level.admin': 'Iba administrátor',
'perm.level.tripOwner': 'Vlastník výletu',
'perm.level.tripMember': 'Členovia výletu',
'perm.level.everybody': 'Všetci',
'perm.cat.trip': 'Správa výletov',
'perm.cat.members': 'Správa členov',
'perm.cat.files': 'Súbory',
'perm.cat.content': 'Obsah a plán',
'perm.cat.extras': 'Rozpočet, balenie a spolupráca',
'perm.action.trip_create': 'Vytvárať výlety',
'perm.action.trip_edit': 'Upraviť detaily výletu',
'perm.action.trip_delete': 'Zmazať výlety',
'perm.action.trip_archive': 'Archivovať / obnoviť výlety',
'perm.action.trip_cover_upload': 'Nahrať titulný obrázok',
'perm.action.member_manage': 'Pridať / odobrať členov',
'perm.action.file_upload': 'Nahrať súbory',
'perm.action.file_edit': 'Upraviť metadáta súborov',
'perm.action.file_delete': 'Zmazať súbory',
'perm.action.place_edit': 'Pridať / upraviť / zmazať miesta',
'perm.action.day_edit': 'Upraviť dni, poznámky a priradenia',
'perm.action.reservation_edit': 'Spravovať rezervácie',
'perm.action.budget_edit': 'Spravovať rozpočet',
'perm.action.packing_edit': 'Spravovať zoznamy balenia',
'perm.action.collab_edit': 'Spolupráca (poznámky, hlasovania, chat)',
'perm.action.share_manage': 'Spravovať odkazy na zdieľanie',
'perm.actionHint.trip_create': 'Kto môže vytvárať nové výlety',
'perm.action.journal_link': 'Prepojiť denník',
'perm.actionHint.trip_edit': 'Kto môže meniť názov, dátumy, popis a menu výletu',
'perm.actionHint.trip_delete': 'Kto môže trvalo zmazať výlet',
'perm.actionHint.trip_archive': 'Kto môže archivovať alebo obnoviť výlet',
'perm.actionHint.trip_cover_upload': 'Kto môže nahrať alebo zmeniť titulný obrázok',
'perm.actionHint.member_manage': 'Kto môže pozvať alebo odobrať členov výletu',
'perm.actionHint.file_upload': 'Kto môže nahrávať súbory k výletu',
'perm.actionHint.file_edit': 'Kto môže upravovať popisy a odkazy súborov',
'perm.actionHint.file_delete': 'Kto môže presunúť súbory do koša alebo ich trvalo zmazať',
'perm.actionHint.place_edit': 'Kto môže pridávať, upravovať alebo mazať miesta',
'perm.actionHint.day_edit': 'Kto môže upravovať dni, poznámky ku dňom a priradenia miest',
'perm.actionHint.reservation_edit': 'Kto môže vytvárať, upravovať alebo mazať rezervácie',
'perm.actionHint.budget_edit': 'Kto môže vytvárať, upravovať alebo mazať položky rozpočtu',
'perm.actionHint.packing_edit': 'Kto môže spravovať položky balenia a tašky',
'perm.actionHint.collab_edit': 'Kto môže vytvárať poznámky, hlasovania a posielať správy',
'perm.actionHint.share_manage': 'Kto môže vytvárať alebo mazať verejné odkazy na zdieľanie',
'perm.actionHint.journal_link': 'Kto môže k ceste pripojiť denník z Journey a sprístupniť ho jej členom',
};
export default perm;