terminal/src/apps/menu-tablet: the venue's menu for staff (a quick price
check) and guests. Category chips that jump to their section, or one A–Z
list; compact rows, expanded rows (photo, description) or full cards; tap a
product to see it big (photo, price, description, tags); search that ignores
accents and also finds names typed in Latin letters ("souvl"); sold out
marked; the guest's language for the tablet's texts; back to the start (search
cleared, first language, top) after the set time without a touch; light or
dark; the last menu kept for offline; live on menu_tablet.changed /
device.updated. @xenia/i18n exports ./latin for plain-JS use.
tests: logic (3), e2e menu_tablet.mjs (10 checks, in run-all).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
509 lines
17 KiB
JSON
509 lines
17 KiB
JSON
{
|
||
"start": {
|
||
"title": "Xenia terminal"
|
||
},
|
||
"pairing": {
|
||
"intro": "Pair this screen with the venue:",
|
||
"howTo": "In the manager, open Devices → Pair a device and type this code.",
|
||
"removed": "This screen was removed from the venue. Pair it again to use it."
|
||
},
|
||
"signIn": {
|
||
"title": "Who's signing in?",
|
||
"enterPin": "Enter your PIN",
|
||
"password": "Password",
|
||
"submit": "Sign in",
|
||
"back": "Back",
|
||
"empty": "Nobody can sign in here yet",
|
||
"emptyBody": "Give someone the {{app}} permission under Staff in the manager."
|
||
},
|
||
"blocked": {
|
||
"off": "{{app}} is turned off",
|
||
"offBody": "A manager can turn it on under Apps. This screen starts by itself then.",
|
||
"notLicensed": "{{app}} isn't in the venue's license",
|
||
"notLicensedBody": "Ask for it to be added to the license. This screen starts by itself then.",
|
||
"refused": "This screen can't be used right now"
|
||
},
|
||
"bar": {
|
||
"signOut": "Sign out"
|
||
},
|
||
"offline": {
|
||
"banner": "Can't reach the venue server. Trying again…"
|
||
},
|
||
"apps": {
|
||
"placeholder": "This screen runs {{app}}. Its screens are being built.",
|
||
"unknownTitle": "Unknown app",
|
||
"unknown": "This screen is set to run \"{{app}}\", which this terminal doesn't have yet. Update the venue server."
|
||
},
|
||
"kds": {
|
||
"loading": "Loading…",
|
||
"empty": "No orders for the selected filters",
|
||
"cancel": "Cancel",
|
||
"close": "Close",
|
||
"age": {
|
||
"new": "new",
|
||
"minutes": "{{m}}m",
|
||
"hours": "{{h}}h {{m}}m",
|
||
"ago": "{{time}} ago"
|
||
},
|
||
"card": {
|
||
"items_one": "{{count}} item",
|
||
"items_other": "{{count}} items",
|
||
"status": {
|
||
"pending": "To do",
|
||
"preparing": "▶ Prep",
|
||
"done": "✓ Done"
|
||
},
|
||
"batch": "Round {{n}}",
|
||
"noCourse": "No course",
|
||
"for": "for {{time}}"
|
||
},
|
||
"channel": {
|
||
"here": "Here",
|
||
"takeaway": "Takeaway",
|
||
"delivery": "Delivery"
|
||
},
|
||
"tabs": {
|
||
"all": "All"
|
||
},
|
||
"actions": {
|
||
"prepare": "In progress",
|
||
"complete": "Done",
|
||
"reset": "Back",
|
||
"print": "Print",
|
||
"callWaiter": "Call waiter"
|
||
},
|
||
"quick": {
|
||
"prep": "Prep",
|
||
"ready": "Ready",
|
||
"undo": "Undo",
|
||
"decline": "Decline",
|
||
"close": "Close"
|
||
},
|
||
"decline": {
|
||
"order": "Decline order",
|
||
"item": "Decline item",
|
||
"reasons": {
|
||
"out_of_stock": "Out of stock",
|
||
"too_many_orders": "Too many orders",
|
||
"other": "Other reason"
|
||
},
|
||
"notePlaceholder": "Add a note (optional)…"
|
||
},
|
||
"summary": {
|
||
"title": "Item totals",
|
||
"subtitle": "To do + in progress · {{count}} kinds",
|
||
"empty": "No items",
|
||
"button": "Totals"
|
||
},
|
||
"rail": {
|
||
"future": "Later",
|
||
"pending": "To do",
|
||
"preparing": "Prep",
|
||
"done": "Done",
|
||
"undo": "Undo",
|
||
"redo": "Redo",
|
||
"call": "Call",
|
||
"sound": "Sound",
|
||
"muted": "Muted",
|
||
"settings": "Settings"
|
||
},
|
||
"zoom": {
|
||
"smaller": "Smaller text",
|
||
"larger": "Larger text"
|
||
},
|
||
"call": {
|
||
"title": "Call a waiter",
|
||
"needsHelp": "{{zone}} needs help",
|
||
"none": "No waiter is on shift",
|
||
"all": "All waiters",
|
||
"send": "Call",
|
||
"sendCount": "Call ({{count}})",
|
||
"sending": "Sending…"
|
||
},
|
||
"start": {
|
||
"title": "Tap to start",
|
||
"body": "The screen needs one tap before it can play the sound for new orders."
|
||
},
|
||
"settings": {
|
||
"title": "Screen settings",
|
||
"save": "Save",
|
||
"seconds": "{{s}}s",
|
||
"noPermission": "Only a manager can change this screen's settings. Ask one to sign in here.",
|
||
"tabs": {
|
||
"zone": "Prep zone",
|
||
"behaviour": "Behaviour",
|
||
"board": "Board",
|
||
"age": "Waiting time",
|
||
"notifications": "Notifications"
|
||
}
|
||
},
|
||
"toast": {
|
||
"newOrders_one": "{{count}} new order",
|
||
"newOrders_other": "{{count}} new orders",
|
||
"done": "✓ Done",
|
||
"preparing": "▶ In progress",
|
||
"pending": "↩ Back to to do",
|
||
"waiterCalled": "Waiter notified",
|
||
"called": "Sent",
|
||
"sendFailed": "Couldn't send it",
|
||
"itemDeclined": "Item declined",
|
||
"orderDeclined": "Order declined",
|
||
"declineFailed": "Couldn't decline it",
|
||
"printSent": "Sent to the printer",
|
||
"printFailed": "Couldn't print",
|
||
"undone": "Undone",
|
||
"redone": "Redone",
|
||
"settingsSaved": "Settings saved"
|
||
},
|
||
"claim": {
|
||
"take": "I'm on it",
|
||
"release": "Let go",
|
||
"taken": "{{name}} is already on it",
|
||
"taken_by_me": "You're on it",
|
||
"released": "Let go"
|
||
}
|
||
},
|
||
"pos": {
|
||
"allProducts": "All products",
|
||
"search": "Search products",
|
||
"clearSearch": "Clear the search",
|
||
"noResults": "Nothing matches “{{query}}”",
|
||
"noProducts": "No products here",
|
||
"orderType": "Order type",
|
||
"type": {
|
||
"takeaway": "Takeaway",
|
||
"here": "Eat in"
|
||
},
|
||
"cartEmpty": "The cart is empty",
|
||
"cartEmptyBody": "Tap a product to add it. The (i) button shows its price without adding it.",
|
||
"total": "Total",
|
||
"clearCart": "Clear the cart",
|
||
"quoteFailed": "Couldn't price the cart. Check the choices and try again.",
|
||
"checkPrice": "Price and details of {{name}}",
|
||
"less": "One less",
|
||
"more": "One more",
|
||
"each": "{{price}} each",
|
||
"dialog": {
|
||
"close": "Close",
|
||
"add": "Add to cart",
|
||
"pickOne": "choose one",
|
||
"quick": "Add-ons",
|
||
"extras": "Extras",
|
||
"without": "Without",
|
||
"note": "Note for the kitchen",
|
||
"quantity": "Quantity",
|
||
"missing": "Still to choose: {{list}}"
|
||
},
|
||
"gate": {
|
||
"dayClosed": "The business day isn't open",
|
||
"dayOpeners": "Ask someone who can open it: {{names}}.",
|
||
"dayOpenersNone": "Nobody here can open it yet; set it up in the manager.",
|
||
"noShift": "You don't have a shift running",
|
||
"askManager": "Ask a manager to start your shift, then try again.",
|
||
"startTitle": "Start your shift",
|
||
"startBody": "The cash you take at this counter goes to your shift.",
|
||
"startingCash": "Cash in the drawer now",
|
||
"badAmount": "Enter an amount, e.g. 50 or 50,00",
|
||
"start": "Start shift"
|
||
},
|
||
"charge": "Charge {{total}}",
|
||
"discount": "Discount",
|
||
"noDiscount": "No discount",
|
||
"discountNeedsApproval": "A discount needs a manager's approval when you charge.",
|
||
"discountLine": "−{{pct}}%: {{amount}} each",
|
||
"pay": {
|
||
"title": "Payment: {{total}}",
|
||
"method": "Payment method",
|
||
"cash": "Cash",
|
||
"card": "Card",
|
||
"split": "Split",
|
||
"confirmCash": "Take {{amount}} in cash",
|
||
"confirmCard": "Paid {{amount}} by card",
|
||
"confirmSplit": "Take the payment",
|
||
"cashPart": "Cash: {{amount}}",
|
||
"cardPart": "Card: {{amount}}",
|
||
"cardHint": "Enter {{amount}} on the card terminal, then confirm here once it's approved.",
|
||
"given": "Cash given",
|
||
"exact": "Exact: {{amount}}",
|
||
"change": "Change: {{amount}}",
|
||
"short": "That's less than the amount due"
|
||
},
|
||
"done": {
|
||
"paid": "Paid {{total}}",
|
||
"cash": "Cash {{amount}}",
|
||
"card": "Card {{amount}}",
|
||
"drawerOpened": "Drawer opened",
|
||
"drawerFailed": "The drawer didn't open",
|
||
"fiscal": "Receipt sent to the fiscal device",
|
||
"again": "Same again",
|
||
"toast": "Paid",
|
||
"toastChange": "Paid. Change: {{change}}"
|
||
},
|
||
"mode": {
|
||
"label": "Counter mode",
|
||
"sale": "Sale",
|
||
"tables": "Tables",
|
||
"online": "Online",
|
||
"receipts": "Receipts"
|
||
},
|
||
"tables": {
|
||
"none": "No tables for you",
|
||
"noneBody": "You see the tables of your zones, as in the waiter app. A manager can add zones to your account.",
|
||
"allZones": "All zones",
|
||
"state": {
|
||
"free": "Free",
|
||
"mine": "Yours",
|
||
"open": "Taken",
|
||
"paid": "Paid, not closed"
|
||
},
|
||
"ofTotal": "of {{total}}",
|
||
"since": "since {{time}}",
|
||
"ready_one": "{{count}} ready",
|
||
"ready_other": "{{count}} ready",
|
||
"reserved": "Reserved {{time}} · {{name}} ({{count}})",
|
||
"noZone": "No zone"
|
||
},
|
||
"table": {
|
||
"back": "Back to the tables",
|
||
"closedElsewhere": "{{table}} was closed on another device.",
|
||
"sent": "Sent to {{table}}",
|
||
"closed": "{{table}} is closed",
|
||
"cancelled_one": "{{count}} item cancelled",
|
||
"cancelled_other": "{{count}} items cancelled",
|
||
"onOrder": "On the order",
|
||
"new": "New, not sent yet",
|
||
"empty": "Nothing on this table yet",
|
||
"emptyBody": "Tap products to add them, then send them to the table.",
|
||
"newTotal": "New items",
|
||
"send": "Send to {{table}}",
|
||
"due": "Still due",
|
||
"paySelected": "Pay selected {{amount}}",
|
||
"payAll": "Pay everything {{amount}}",
|
||
"cancel": "Cancel selected",
|
||
"selectAll": "Select all",
|
||
"selectNone": "Select none",
|
||
"close": "Close {{table}}",
|
||
"cancelTitle_one": "Cancel {{count}} item?",
|
||
"cancelTitle_other": "Cancel {{count}} items?",
|
||
"cancelBody": "They come off the bill and the kitchen gets a cancellation ticket. If you can't cancel sent items, a manager approves it with their PIN.",
|
||
"keep": "Keep them",
|
||
"cancelConfirm": "Cancel items",
|
||
"paidBy": {
|
||
"cash": "paid · cash",
|
||
"card": "paid · card"
|
||
},
|
||
"readyItem": "ready"
|
||
},
|
||
"online": {
|
||
"arrived_one": "New online order",
|
||
"arrived_other": "{{count}} new online orders",
|
||
"lists": {
|
||
"incoming": "New",
|
||
"in_progress": "In progress",
|
||
"finished": "Finished",
|
||
"bookings": "Bookings"
|
||
},
|
||
"empty": {
|
||
"incoming": "No new online orders",
|
||
"in_progress": "Nothing in progress",
|
||
"finished": "Nothing finished yet"
|
||
},
|
||
"emptyBody": "Orders from your QR menu show here at once, with a sound.",
|
||
"pick": "Pick an order to see it",
|
||
"type": {
|
||
"delivery": "Delivery",
|
||
"dine_in": "At the venue",
|
||
"takeaway": "Takeaway"
|
||
},
|
||
"status": {
|
||
"pending_acceptance": "Waiting for an answer",
|
||
"accepted": "Accepted",
|
||
"preparing": "Preparing",
|
||
"ready": "Ready",
|
||
"out_for_delivery": "Out for delivery",
|
||
"delivered": "Done",
|
||
"rejected": "Rejected"
|
||
},
|
||
"waiting_one": "waiting {{count}} min",
|
||
"waiting_other": "waiting {{count}} min",
|
||
"accept": "Accept and send to the kitchen",
|
||
"reject": "Reject",
|
||
"to": {
|
||
"preparing": "Start preparing",
|
||
"ready": "Ready",
|
||
"out_for_delivery": "Out for delivery"
|
||
},
|
||
"payAnd": {
|
||
"delivered": "Take {{amount}} · delivered",
|
||
"served": "Take {{amount}} · served",
|
||
"collected": "Take {{amount}} · collected"
|
||
},
|
||
"mark": {
|
||
"delivered": "Mark as delivered",
|
||
"served": "Mark as served",
|
||
"collected": "Mark as collected"
|
||
},
|
||
"rejectTitle": "Reject this order?",
|
||
"rejectBody": "The customer sees the reason on their order page.",
|
||
"reason": "Reason",
|
||
"reasons": {
|
||
"busy": "We're too busy right now",
|
||
"unavailable": "Some items aren't available",
|
||
"closing": "We're closing",
|
||
"area": "We don't deliver to this address",
|
||
"other": "Other reason…"
|
||
},
|
||
"keep": "Keep it",
|
||
"rejectConfirm": "Reject order",
|
||
"asap": "As soon as possible",
|
||
"for": "For {{when}}",
|
||
"diff": {
|
||
"title": "Prices differ from the venue's",
|
||
"body": "The customer was charged {{charged}} online (and pays that); at today's prices here it would be {{here}}.",
|
||
"fee": "Delivery fee",
|
||
"reason": {
|
||
"price": "{{online}} online, {{here}} here",
|
||
"not_sold": "{{online}} online, not sold online here any more",
|
||
"option": "{{online}} online, an extra no longer exists here",
|
||
"fee_price": "{{online}} online, {{here}} here",
|
||
"fee_area": "{{online}} online, the area isn't served here any more",
|
||
"fee_minimum": "{{online}} online, below the minimum here"
|
||
}
|
||
}
|
||
},
|
||
"receipts": {
|
||
"scope": {
|
||
"mine": "My shift",
|
||
"all": "Everyone today"
|
||
},
|
||
"empty": {
|
||
"mine": "Nothing paid in your shift yet",
|
||
"all": "Nothing paid today yet"
|
||
},
|
||
"emptyBody": "Paid orders show here, so you can give money back for them.",
|
||
"pick": "Pick a paid order to refund it",
|
||
"refunded": "{{amount}} given back"
|
||
},
|
||
"refund": {
|
||
"all": "Everything",
|
||
"tapItems": "Tap the items going back.",
|
||
"notToday": "From an earlier day: refunds at the counter are for today's payments only.",
|
||
"alreadyBack": "{{qty}} already given back",
|
||
"howMany": "How many",
|
||
"history": "Given back",
|
||
"approvedBy": "approved by {{name}}",
|
||
"fiscalManualShort": "credit note by hand",
|
||
"method": "Give back by",
|
||
"by": {
|
||
"cash": "Cash",
|
||
"card": "Card"
|
||
},
|
||
"reason": "Reason",
|
||
"reasons": {
|
||
"wrong": "Wrong item",
|
||
"quality": "Not good",
|
||
"changed": "Changed their mind",
|
||
"other": "Other…"
|
||
},
|
||
"approval": "Paid in another shift: a manager approves.",
|
||
"start": "Refund {{amount}}",
|
||
"confirmTitle": {
|
||
"cash": "Give back {{amount}} in cash?",
|
||
"card": "Give back {{amount}} to the card?"
|
||
},
|
||
"confirmBody": {
|
||
"cash": "The drawer opens. The amount comes off your shift's cash.",
|
||
"card": "Make the refund on the card terminal too. It counts against your shift's card total."
|
||
},
|
||
"keep": "Back",
|
||
"confirm": "Refund",
|
||
"done": {
|
||
"cash": "Refunded. Give back {{amount}} in cash",
|
||
"card": "Refunded {{amount}} to the card"
|
||
},
|
||
"fiscalManualBefore": "Afterwards, issue the credit note on the fiscal machine.",
|
||
"fiscalManualTitle": "Issue the credit note on the fiscal machine",
|
||
"fiscalManualBody": {
|
||
"cash": "The refund of {{amount}} (cash) is recorded. The system can't send credit notes to this fiscal machine yet: issue it on the machine now.",
|
||
"card": "The refund of {{amount}} (card) is recorded. The system can't send credit notes to this fiscal machine yet: issue it on the machine now."
|
||
},
|
||
"fiscalManualOk": "Done"
|
||
},
|
||
"bookings": {
|
||
"arrived_one": "New table booking request",
|
||
"arrived_other": "{{count}} new table booking requests",
|
||
"empty": "No bookings",
|
||
"emptyBody": "Table bookings from the online ordering app show here, with a sound.",
|
||
"pick": "Pick a booking to see it",
|
||
"withFood": "Food ordered ahead",
|
||
"people_one": "{{count}} person",
|
||
"people_other": "{{count}} people",
|
||
"today": "Today {{time}}",
|
||
"status": {
|
||
"requested": "Waiting for an answer",
|
||
"pending": "Confirmed",
|
||
"arrived": "Seated",
|
||
"declined": "Declined",
|
||
"cancelled": "Cancelled",
|
||
"no_show": "No-show"
|
||
},
|
||
"foodSent": "The food has gone to the kitchen",
|
||
"foodAt": "The food goes to the kitchen: {{time}}",
|
||
"foodOnConfirm": "The food goes to the kitchen before they arrive, once confirmed",
|
||
"confirm": "Confirm booking",
|
||
"decline": "Decline",
|
||
"declineTitle": "Decline this booking?",
|
||
"reasons": {
|
||
"full": "We're fully booked then",
|
||
"closed": "We're closed then",
|
||
"party": "We can't seat a party this size",
|
||
"other": "Other reason…"
|
||
},
|
||
"table": "Table",
|
||
"noTable": "No table yet",
|
||
"arrive": "They're here: seat them",
|
||
"cancel": "Cancel",
|
||
"noShow": "No-show"
|
||
},
|
||
"call": {
|
||
"title": "Incoming call",
|
||
"unknown": "Unknown caller",
|
||
"takeaway": "New takeaway sale",
|
||
"visits_one": "{{count}} visit · {{spent}}",
|
||
"visits_other": "{{count}} visits · {{spent}}"
|
||
}
|
||
},
|
||
"display": {
|
||
"total": "Total",
|
||
"thanks": "Thank you!",
|
||
"paid": "Paid {{amount}}",
|
||
"change": "Your change: {{amount}}",
|
||
"unlinked": "Not linked to a counter yet (manager → Devices)"
|
||
},
|
||
"signage": {
|
||
"nothing": "No playlist for this screen (Signage in the manager).",
|
||
"starting": "Starting…",
|
||
"soldOut": "Sold out",
|
||
"badges": {
|
||
"new": "New",
|
||
"chef": "Chef's pick",
|
||
"offer": "Offer",
|
||
"popular": "Popular",
|
||
"spicy": "Spicy",
|
||
"vegetarian": "Vegetarian",
|
||
"vegan": "Vegan"
|
||
}
|
||
},
|
||
"menuTablet": {
|
||
"title": "Menu",
|
||
"search": "Search the menu…",
|
||
"clear": "Clear",
|
||
"language": "Language",
|
||
"categories": "Categories",
|
||
"noResults": "Nothing found for \"{{q}}\".",
|
||
"empty": "The menu is empty.",
|
||
"soldOut": "Sold out",
|
||
"close": "Close"
|
||
}
|
||
}
|