mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 16:10:07 +00:00
fe05afec19
The Share button becomes the trip's Settings, a round button beside the back pill. The dialog is rebuilt around three areas (People, Sharing, Journal) with a side navigation, a fixed height and 960 px width on wide screens. Journal links one of your journals from the Journey addon to the trip. Every trip member is ticked as a reader by default, each can be raised to editor or left out, and the people a save would let in for the first time are named before it saves. The link can be changed or removed. With a link the trip gets a Journal tab on desktop and phone that shows the Journey addon's own view, live through its sync and trip:journal:changed. Nothing shows with the addon off. members.shareTrip and nav.share are gone with the button that used them.
41 lines
1.7 KiB
TypeScript
41 lines
1.7 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const members: TranslationStrings = {
|
|
'members.inviteUser': 'Invite User',
|
|
'members.selectUser': 'Select user…',
|
|
'members.invite': 'Invite',
|
|
'members.allHaveAccess': 'All users already have access.',
|
|
'members.access': 'Access',
|
|
'members.persons': 'people',
|
|
'members.persons.one': 'person',
|
|
'members.you': 'you',
|
|
'members.owner': 'Owner',
|
|
'members.leaveTrip': 'Leave trip',
|
|
'members.removeAccess': 'Remove access',
|
|
'members.confirmLeave': 'Leave trip? You will lose access.',
|
|
'members.confirmRemove': 'Remove access for this user?',
|
|
'members.loadError': 'Failed to load members',
|
|
'members.added': 'added',
|
|
'members.addError': 'Failed to add',
|
|
'members.removed': 'Member removed',
|
|
'members.removeError': 'Failed to remove',
|
|
'members.makeOwner': 'Make owner',
|
|
'members.confirmTransfer': 'Transfer ownership to {name}? You will become a regular member.',
|
|
'members.transferError': 'Failed to transfer ownership',
|
|
'members.guests': 'Guests',
|
|
'members.guest': 'Guest',
|
|
'members.guestsHint':
|
|
'People without an account. They can be assigned to costs, packing and tasks, but cannot sign in.',
|
|
'members.addGuest': 'Add guest',
|
|
'members.guestNamePlaceholder': 'Guest name',
|
|
'members.guestAdded': 'Guest added',
|
|
'members.guestAddError': 'Failed to add guest',
|
|
'members.guestRenameError': 'Failed to rename guest',
|
|
'members.guestRemoved': 'Guest removed',
|
|
'members.confirmRemoveGuest':
|
|
'Remove this guest? Their assignments are removed and their share of each expense goes to the others in its split.',
|
|
'members.guestHasPayments':
|
|
'This guest paid for an expense or is part of a recorded payment. Change the payer or delete the payment first.',
|
|
};
|
|
export default members;
|