mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 16:10:07 +00:00
658536c217
Removing a member deleted their membership row only, and the invite link checked nothing but its own token, so whoever kept the link walked straight back in (GHSA-wr4c-964p-39jg). trip_member_removals now notes who another member took off a trip. The invite link refuses them on preview and on accept with a 403 that says so, old link or regenerated, and the join page shows that instead of the join button. Adding them back by name, or through a trip-bound invite or a plugin acting for a member manager, lifts the note. Leaving a trip yourself leaves none, so the link keeps working for whoever left and for everybody else.
147 lines
7.0 KiB
TypeScript
147 lines
7.0 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const trip: TranslationStrings = {
|
|
'trip.tabs.plan': 'Plan',
|
|
'trip.tabs.transports': 'Transports',
|
|
'trip.tabs.reservations': 'Bookings',
|
|
'trip.tabs.reservationsShort': 'Book',
|
|
'trip.tabs.packing': 'Packing List',
|
|
'trip.tabs.packingShort': 'Packing',
|
|
'trip.tabs.lists': 'Lists',
|
|
'trip.tabs.listsShort': 'Lists',
|
|
'trip.tabs.budget': 'Costs',
|
|
'trip.tabs.files': 'Files',
|
|
'trip.loading': 'Loading trip...',
|
|
'trip.loadingPhotos': 'Loading place photos...',
|
|
'trip.loadingSteps.pack': 'Packing your bags...',
|
|
'trip.loadingSteps.road': 'Hitting the road...',
|
|
'trip.loadingSteps.arrive': 'Almost there...',
|
|
'trip.mobilePlan': 'Plan',
|
|
'trip.mobilePlaces': 'Places',
|
|
'trip.panelWidth': 'Panel width',
|
|
'trip.toast.placeUpdated': 'Place updated',
|
|
'trip.toast.tripUpdated': 'Trip updated',
|
|
'trip.toast.placeAdded': 'Place added',
|
|
'trip.toast.placeDeleted': 'Place deleted',
|
|
'trip.toast.selectDay': 'Please select a day first',
|
|
'trip.toast.assignedToDay': 'Place assigned to day',
|
|
'trip.toast.loadError': 'Could not load the trip',
|
|
'trip.toast.accessLost': 'You are no longer a member of this trip',
|
|
'trip.toast.reorderError': 'Failed to reorder',
|
|
'trip.toast.reservationUpdated': 'Reservation updated',
|
|
'trip.toast.reservationAdded': 'Reservation added',
|
|
'trip.toast.deleted': 'Deleted',
|
|
'trip.confirm.deletePlace': 'Are you sure you want to delete this place?',
|
|
'trip.confirm.deletePlaces': 'Delete {count} places?',
|
|
'trip.confirm.deletePlaces.one': 'Delete {count} place?',
|
|
'trip.toast.placesDeleted': '{count} places deleted',
|
|
'trip.toast.placesDeleted.one': '{count} place deleted',
|
|
'trip.invite.linkTitle': 'Trip invite link',
|
|
'trip.invite.linkHint':
|
|
'Anyone with a TREK account who opens this link joins the trip as a member. Regenerate to invalidate the old link.',
|
|
'trip.invite.create': 'Create invite link',
|
|
'trip.invite.regenerate': 'Regenerate',
|
|
'trip.invite.disable': 'Disable',
|
|
'trip.invite.joinHeading': 'Join this trip',
|
|
'trip.invite.joinPrompt': 'You\'ve been invited to join "{title}".',
|
|
'trip.invite.joinCta': 'Join trip',
|
|
'trip.invite.joining': 'Joining…',
|
|
'trip.invite.invalidTitle': 'Invite unavailable',
|
|
'trip.invite.invalid': 'This invite link is invalid or has expired.',
|
|
'trip.invite.removedTitle': 'Access removed',
|
|
'trip.invite.removed': 'You were removed from this trip. Ask its owner to add you again.',
|
|
'trip.invite.backToDashboard': 'Back to dashboard',
|
|
'transit.title': 'Public transit',
|
|
'transit.from': 'From',
|
|
'transit.to': 'To',
|
|
'transit.searchStop': 'Search stop or station…',
|
|
'transit.swap': 'Swap',
|
|
'transit.depart': 'Depart',
|
|
'transit.arrive': 'Arrive',
|
|
'transit.mode.rail': 'Train',
|
|
'transit.mode.subway': 'Subway',
|
|
'transit.mode.tram': 'Tram',
|
|
'transit.mode.bus': 'Bus',
|
|
'transit.mode.ferry': 'Ferry',
|
|
'transit.mode.cable': 'Cable car',
|
|
'transit.pref.best': 'Best route',
|
|
'transit.pref.transfers': 'Fewer transfers',
|
|
'transit.pref.walking': 'Less walking',
|
|
'transit.search': 'Search',
|
|
'transit.searching': 'Searching…',
|
|
'transit.searchError': 'Route search failed. Please try again.',
|
|
'transit.noResultsVia': 'No connections found via {provider}. Try a different time or filters.',
|
|
'transit.noResults': 'No connections found. Try a different time or filters.',
|
|
'transit.direct': 'Direct',
|
|
'transit.transfers': '{count} transfers',
|
|
'transit.transfers.one': '{count} transfer',
|
|
'transit.min': '{count} min',
|
|
'transit.min.one': '{count} min',
|
|
'transit.stops': '{count} stops',
|
|
'transit.stops.one': '{count} stop',
|
|
'transit.walkTo': 'Walk to {name}',
|
|
'transit.platform': 'Platform {track}',
|
|
'transit.adding': 'Adding…',
|
|
'transit.addToDay': 'Add to day',
|
|
'transit.itinerary': 'Itinerary',
|
|
'transit.attribution': 'Routing data via',
|
|
'transport.modeManual': 'Manual',
|
|
'transport.modeAutomated': 'Automated',
|
|
'transit.sectionTitle': 'Automated public transit',
|
|
'transit.changeRoute': 'Change route',
|
|
'transit.editDetails': 'Edit details',
|
|
'transit.journey': 'Public transit journey',
|
|
'transit.pickDay': 'Pick a day to search connections for.',
|
|
'transit.noItinerary': 'This entry has no stored itinerary — use "Change route" to search one.',
|
|
'transit.durationLabel': 'Duration',
|
|
'transit.transfersLabel': 'Transfers',
|
|
'transit.walkLabel': 'Walking',
|
|
'transit.searchHint': 'Search real connections and add them straight to the day — data via Transitous.',
|
|
'trip.confirm.deletePlaceNight': 'This also deletes the stay booked at “{name}”.',
|
|
'trip.confirm.deletePlaceBooked':
|
|
'This also deletes the stay booked at “{name}”, the booking “{booking}” and any expense linked to it.',
|
|
'trip.confirm.deletePlaceBookedSame':
|
|
'This also deletes the stay booked at “{name}”, its booking and any expense linked to it.',
|
|
'trip.settings.title': 'Trip settings',
|
|
'trip.settings.people': 'People',
|
|
'trip.settings.peopleHint': 'Who is on this trip, and the guests without an account.',
|
|
'trip.settings.sharing': 'Sharing',
|
|
'trip.settings.sharingHint': 'A read-only link for anyone, and an invite link to join.',
|
|
'trip.tabs.journal': 'Journal',
|
|
'trip.journal.title': 'Journal',
|
|
'trip.journal.hint':
|
|
'Link one of your journals to this trip. Whoever you let in opens it right here in the Journal tab, live.',
|
|
'trip.journal.link': 'Link a journal',
|
|
'trip.journal.linkSubmit': 'Link journal',
|
|
'trip.journal.change': 'Change journal',
|
|
'trip.journal.editMembers': 'Edit access',
|
|
'trip.journal.unlink': 'Unlink',
|
|
'trip.journal.unlinkTitle': 'Unlink this journal?',
|
|
'trip.journal.unlinkMessage':
|
|
'The Journal tab disappears from this trip. Members who could only open the journal through this trip lose access; people you added in the journal itself keep theirs.',
|
|
'trip.journal.linkedBadge': 'Linked',
|
|
'trip.journal.yourRole.owner': 'Your journal',
|
|
'trip.journal.yourRole.editor': 'You can edit',
|
|
'trip.journal.yourRole.viewer': 'You can read',
|
|
'trip.journal.onlyYou': 'Nobody else from this trip has access yet.',
|
|
'trip.journal.noJournals': 'You have no journal yet. Create one in Journey first.',
|
|
'trip.journal.pickPlaceholder': 'Choose a journal',
|
|
'trip.journal.noMembers': 'Nobody else is on this trip yet.',
|
|
'trip.journal.members': 'Access for trip members',
|
|
'trip.journal.allRead': 'Everyone can read',
|
|
'trip.journal.allNone': 'Nobody',
|
|
'trip.journal.roleNone': 'No access',
|
|
'trip.journal.roleViewer': 'Read',
|
|
'trip.journal.roleEditor': 'Edit',
|
|
'trip.journal.hasAccess': 'Has access',
|
|
'trip.journal.warnNew':
|
|
'{names} will get access to this journal for the first time and from then on also see it in their own journal list.',
|
|
'trip.journal.errorOffline': 'Linking a journal needs a connection.',
|
|
'trip.journal.errorForbidden': 'You are not allowed to do that.',
|
|
'trip.journal.errorGeneric': 'That did not work. Please try again.',
|
|
'trip.journal.linked': 'Journal linked',
|
|
'trip.journal.membersSaved': 'Access saved',
|
|
'trip.journal.unlinked': 'Journal unlinked',
|
|
};
|
|
export default trip;
|