feat: replacement

This commit is contained in:
Ola Malmgren
2026-05-22 20:33:21 +02:00
parent 4d705a1005
commit f19e2d4e0d
26 changed files with 1951 additions and 20 deletions

View File

@@ -239,6 +239,7 @@
},
"export": "Export CSV",
"view": "View",
"openReplacementsTitle": "{count} open swap requests",
"detail": {
"title": "Booking {number}",
"items": "Products",
@@ -286,5 +287,91 @@
"invoiceInfo": "An invoice will be sent to your organization after the event.",
"questions": "Questions? Reply to this email and we will help you.",
"footer": "This is an automated confirmation from Gasol247."
},
"customer": {
"navTitle": "My page",
"signOut": "Sign out",
"request": {
"title": "My page",
"intro": "Enter the email you used when booking and we will send you a sign-in link.",
"email": "Email",
"emailPlaceholder": "example@group.org",
"submit": "Send sign-in link",
"submitting": "Sending…",
"successTitle": "Check your email",
"successBody": "If the email matches a booking we have sent a sign-in link to {email}. The link is valid for 1 hour."
},
"verify": {
"invalidTitle": "Link is not valid",
"invalidBody": "The link may have expired, already been used, or is incorrect. Request a new sign-in link.",
"tryAgain": "Request new link"
},
"overview": {
"title": "My bookings",
"signedInAs": "Signed in as {email}",
"empty": "No bookings found for this email.",
"view": "View booking",
"requestReplacement": "Request cylinder swap",
"bookingNumber": "Booking #",
"items": "Items",
"pickup": "Pickup"
},
"replacement": {
"title": "Request cylinder swap",
"intro": "Choose product, quantity and preferred pickup time for the swap of empty cylinders.",
"selectItem": "Product",
"quantity": "Number of cylinders",
"pickupSlot": "Preferred pickup time",
"noPickup": "No time selected — admin will suggest a time",
"notes": "Additional notes",
"notesPlaceholder": "Any preferences or info",
"submit": "Send request",
"submitting": "Sending…",
"submitFailed": "Something went wrong. Try again.",
"successTitle": "Swap request received",
"successBody": "We have received your request and will get back to you with a confirmation by email.",
"back": "Back to my bookings",
"existing": "Previous swap requests",
"noExisting": "No previous swap requests for this booking.",
"status": {
"REQUESTED": "Received",
"SCHEDULED": "Scheduled",
"DELIVERED": "Swapped",
"CANCELLED": "Cancelled"
}
}
},
"adminReplacements": {
"navTitle": "Swap requests",
"title": "Swap requests",
"empty": "No swap requests yet.",
"filters": {
"all": "All"
},
"columns": {
"created": "Received",
"booking": "Booking",
"org": "Organization",
"item": "Item",
"quantity": "Qty",
"total": "Amount",
"pickup": "Preferred time",
"status": "Status"
},
"actions": {
"markScheduled": "Mark scheduled",
"markDelivered": "Mark swapped",
"markCancelled": "Cancel"
},
"status": {
"REQUESTED": "Received",
"SCHEDULED": "Scheduled",
"DELIVERED": "Swapped",
"CANCELLED": "Cancelled"
},
"bookingSection": {
"title": "Swap requests",
"empty": "No swap requests for this booking."
}
}
}