feat(waiter): English-first texts, part b: table detail, ordering, options, payment (platform-v2 step 4.5b)
- Table detail (actions, item actions, split, price, discount, pay / revert / close, move / merge / transfer, guests, flags, assign, print), the order drawer (tabs, options, quick notes, price change, summary), add items (cart, totals, deals, search), the order summary and the summary before sending, the product picker. - Money everywhere here in the language's format (`money()` in waiter i18n.js for helpers shared by several components, useFormat() elsewhere). - The default quick notes are keys (the venue's own quick notes still win). - Variables named `t` (tables, tabs, timers) renamed so they don't shadow t(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,7 +15,9 @@
|
||||
"cancel": "Cancel",
|
||||
"confirm": "Confirm",
|
||||
"back": "Back",
|
||||
"save": "Save"
|
||||
"save": "Save",
|
||||
"apply": "Apply",
|
||||
"sure": "Are you sure?"
|
||||
},
|
||||
"gate": {
|
||||
"closedTitle": "The venue is closed",
|
||||
@@ -374,8 +376,54 @@
|
||||
"tabs": {
|
||||
"quick": "Quick options",
|
||||
"ingredients": "Ingredients",
|
||||
"prefs": "Preferences"
|
||||
}
|
||||
"prefs": "Preferences",
|
||||
"extrasTitle": "Extras",
|
||||
"note": "Note",
|
||||
"quickShort": "Quick",
|
||||
"extras": "Extras",
|
||||
"options": "Options",
|
||||
"price": "Price",
|
||||
"summary": "Summary",
|
||||
"quantity": "Quantity ({{unit}})"
|
||||
},
|
||||
"choose": "Choose",
|
||||
"chooseMany": "Choose (several)",
|
||||
"removed": "Removed",
|
||||
"remove": "Remove",
|
||||
"required": "Required",
|
||||
"choiceRequired": "— choose one",
|
||||
"empty": {
|
||||
"favorites": "No favourites for this product.",
|
||||
"quick": "No quick options.",
|
||||
"extras": "No extras.",
|
||||
"ingredients": "No ingredients.",
|
||||
"prefs": "No preferences."
|
||||
},
|
||||
"qty": {
|
||||
"quickPick": "QUICK PICK",
|
||||
"quickAdd": "QUICK ADD"
|
||||
},
|
||||
"price": {
|
||||
"intro": "Changes the price of this item only. Other orders aren't affected.",
|
||||
"base": "Base: {{price}}"
|
||||
},
|
||||
"notes": {
|
||||
"placeholder": "e.g. No salt, cut in half…",
|
||||
"quickTitle": "Quick notes",
|
||||
"noSalt": "No salt",
|
||||
"quick": "Bring it quickly",
|
||||
"allergy": "Allergy!",
|
||||
"smallPieces": "Cut into small pieces",
|
||||
"napkins": "Extra napkins"
|
||||
},
|
||||
"summary": {
|
||||
"empty": "Nothing changed yet. Use the tabs to set up the product.",
|
||||
"removed": "Removed"
|
||||
},
|
||||
"included": "Included",
|
||||
"selectedCount": "{{count}} selected",
|
||||
"each": "each",
|
||||
"without": "Without {{name}}"
|
||||
},
|
||||
"pairing": {
|
||||
"empty": "Type the server's address.",
|
||||
@@ -386,5 +434,228 @@
|
||||
"incompatible": "The server (version {{version}}) doesn't work with this app. Update the app or the server.",
|
||||
"otherVenue": "A different venue than the QR's answers at this address. Ask the manager for a new QR code.",
|
||||
"wrongKey": "The server's security key doesn't match the QR code. Ask the manager for a new QR code."
|
||||
},
|
||||
"detail": {
|
||||
"split": {
|
||||
"title": "Split",
|
||||
"howMany": "Split off how many?",
|
||||
"newLine": "New line:",
|
||||
"remains": "Remains:"
|
||||
},
|
||||
"price": {
|
||||
"title": "Set the price",
|
||||
"tapToType": "Tap to type",
|
||||
"reset": "Back to the original price",
|
||||
"base": "Base: {{base}} {{change}}"
|
||||
},
|
||||
"item": {
|
||||
"price": "Change the price",
|
||||
"priceSub": "Change the price of this item",
|
||||
"again": "Order again",
|
||||
"againSub": "Add to a new cart",
|
||||
"move": "Move to another table",
|
||||
"moveSub": "Move the selected items",
|
||||
"splitSub": "Split into two lines",
|
||||
"cancel": "Cancel",
|
||||
"cancelSub": "Cancel the selected items"
|
||||
},
|
||||
"withApproval": "With a manager's approval (PIN)",
|
||||
"cancelNotAllowed": "Cancelling is not allowed",
|
||||
"discount": {
|
||||
"pickOne": "Pick at least one item",
|
||||
"badPct": "Not a valid percentage",
|
||||
"failed": "Couldn't apply the discount",
|
||||
"rounding": "The final price is rounded to €0.10",
|
||||
"items": "Items",
|
||||
"pct": "Discount (%)",
|
||||
"note": "Note (optional)",
|
||||
"notePlaceholder": "e.g. VIP guest",
|
||||
"applying": "Applying…"
|
||||
},
|
||||
"actions": {
|
||||
"discount": "Apply a discount",
|
||||
"markAllServedSub": "Mark every ready item as served",
|
||||
"discountSub": "A discount on items of the order",
|
||||
"discountNotAllowed": "Discounts are not allowed",
|
||||
"transfer": "Transfer the table",
|
||||
"merge": "Merge tables",
|
||||
"mergeSub": "Merge with another table",
|
||||
"flagsSub": "Choose flags",
|
||||
"assignSub": "Add a waiter to the order",
|
||||
"printSub": "Print the order's summary",
|
||||
"cancelSub": "Cancel the whole order"
|
||||
},
|
||||
"noTables": "No tables available",
|
||||
"noFlags": "No flags",
|
||||
"allAssigned": "Every waiter is already assigned",
|
||||
"pickPrinter": "Choose a printer",
|
||||
"cancel": {
|
||||
"title": "Cancel the order?",
|
||||
"button": "Cancel ✕",
|
||||
"whole": "The whole order will be cancelled for good.",
|
||||
"items_one": "{{count}} item will be cancelled for good.",
|
||||
"items_other": "{{count}} items will be cancelled for good."
|
||||
},
|
||||
"guests": {
|
||||
"title": "Number of guests",
|
||||
"question": "How many people sit at the table?",
|
||||
"button": "Number of guests"
|
||||
},
|
||||
"err": {
|
||||
"load": "Couldn't load",
|
||||
"open": "Couldn't open",
|
||||
"offlinePay": "Couldn't save the offline payment",
|
||||
"pay": "Couldn't take the payment",
|
||||
"revert": "Couldn't turn the payment back",
|
||||
"close": "Couldn't close",
|
||||
"cancel": "Couldn't cancel",
|
||||
"cancelOrder": "Couldn't cancel the order",
|
||||
"mark": "Couldn't mark",
|
||||
"splitOffline": "Couldn't split offline",
|
||||
"split": "Couldn't split",
|
||||
"transfer": "Couldn't transfer",
|
||||
"noTargetOrder": "No order found on that table",
|
||||
"merge": "Couldn't merge",
|
||||
"moveItems": "Couldn't move the items",
|
||||
"flags": "Couldn't save the flags"
|
||||
},
|
||||
"openOrder": "Open an order",
|
||||
"noPaid": "No paid items",
|
||||
"revert": {
|
||||
"button": "UNDO",
|
||||
"title": "Turn the payment back?",
|
||||
"items_one": "{{count}} item goes back to unpaid.",
|
||||
"items_other": "{{count}} items go back to unpaid.",
|
||||
"confirm": "Turn back"
|
||||
},
|
||||
"notOffline": "Not available offline",
|
||||
"view": {
|
||||
"title": "How items are shown",
|
||||
"off": "AS ORDERED",
|
||||
"offDesc": "Exactly as they were ordered",
|
||||
"identical": "GROUP IDENTICAL",
|
||||
"identicalDesc": "Same product, same choices, same price",
|
||||
"sameItem": "GROUP ALL",
|
||||
"sameItemDesc": "Same product at the same final price"
|
||||
},
|
||||
"close": {
|
||||
"title": "Close the order?",
|
||||
"body": "This can't be undone."
|
||||
},
|
||||
"move": {
|
||||
"pickFree": "Choose a free table",
|
||||
"mergeSub": "The items move to the chosen table",
|
||||
"itemsTitle": "Move items",
|
||||
"subtitle_one": "Move {{count}} item to a table",
|
||||
"subtitle_other": "Move {{count}} items to a table",
|
||||
"confirmTransfer": "Confirm the transfer",
|
||||
"confirmMerge": "Confirm the merge",
|
||||
"confirmItems": "Confirm moving the items",
|
||||
"transferTo": "Move the order to table",
|
||||
"mergeWith": "Merge the order with table",
|
||||
"itemsTo_one": "Move {{count}} item to table",
|
||||
"itemsTo_other": "Move {{count}} items to table"
|
||||
},
|
||||
"selected_one": "{{count}} item selected",
|
||||
"selected_other": "{{count}} items selected",
|
||||
"pay": {
|
||||
"titleClose": "Confirm payment and close",
|
||||
"title": "Confirm payment",
|
||||
"allAndClose": "Every item: the table closes right after",
|
||||
"all": "Every item",
|
||||
"items_one": "{{count}} item",
|
||||
"items_other": "{{count}} items",
|
||||
"cash": "Cash",
|
||||
"card": "Card",
|
||||
"hold": "Hold…",
|
||||
"paid": "Paid",
|
||||
"yesPaid": "Yes, paid"
|
||||
},
|
||||
"tabs": {
|
||||
"unpaid": "Unpaid",
|
||||
"paid": "Paid"
|
||||
}
|
||||
},
|
||||
"add": {
|
||||
"course": {
|
||||
"title": "Set course",
|
||||
"sub": "Quick-add items will use this course.",
|
||||
"none": "No course"
|
||||
},
|
||||
"sendFailed": "Couldn't send: the order wasn't sent",
|
||||
"search": {
|
||||
"title": "Search",
|
||||
"type": "Type to search…",
|
||||
"placeholder": "Search for a product…",
|
||||
"none": "No products found for «{{query}}»"
|
||||
},
|
||||
"allCategories": "All categories",
|
||||
"order": "Order",
|
||||
"empty": "The order is empty.",
|
||||
"note": {
|
||||
"placeholder": "A note for the whole order…",
|
||||
"title": "Order note",
|
||||
"add": "Add an order note"
|
||||
},
|
||||
"deal": {
|
||||
"title": "Deal unlocked!",
|
||||
"freeProduct": "Free product:",
|
||||
"skip": "Skip",
|
||||
"pickFree_one": "Choose {{count}} free product",
|
||||
"pickFree_other": "Choose {{count}} free products",
|
||||
"remaining": "({{count}} more)",
|
||||
"addFree": "Add for free"
|
||||
},
|
||||
"inCart": "in the cart",
|
||||
"edit": "Edit",
|
||||
"optionGone": "«{{product}}»: «{{what}}» is not on the menu any more. Remove it and add it again.",
|
||||
"offlineSaveFailed": "Couldn't save the offline order",
|
||||
"totalEstimateOffline": "Total (estimate, offline)",
|
||||
"totalEstimate": "Total (estimate)",
|
||||
"withoutList": "Without: {{names}}",
|
||||
"newOrder": "New order",
|
||||
"add": "Add",
|
||||
"moreSeeAll": "+{{count}} more: see all →",
|
||||
"sending": "Sending…",
|
||||
"send": "SEND",
|
||||
"sendCount": "SEND ({{count}})",
|
||||
"summaryCount": "SUMMARY ({{count}})",
|
||||
"products_one": "{{count}} product",
|
||||
"products_other": "{{count}} products",
|
||||
"ack": {
|
||||
"offline": "Saved offline",
|
||||
"printing": "Sent: printing",
|
||||
"printed": "Printed"
|
||||
}
|
||||
},
|
||||
"summary": {
|
||||
"modifier": "Price rule",
|
||||
"discount": "Discount",
|
||||
"free": "Free",
|
||||
"freeCaps": "FREE",
|
||||
"notPrinted": "Not printed yet",
|
||||
"ordered": "Ordered",
|
||||
"paidAt": "Paid",
|
||||
"noItems": "No items",
|
||||
"due": "Due",
|
||||
"paidBadge": "Paid",
|
||||
"cancelledBadge": "Cancelled"
|
||||
},
|
||||
"picker": {
|
||||
"noService": "No service items",
|
||||
"noFavorites": "You don't have favourites yet.",
|
||||
"noProducts": "No products",
|
||||
"noTags": "No tags yet.",
|
||||
"noTagged": "No product has this tag.",
|
||||
"setToGuests_one": "Set to {{count}} guest",
|
||||
"setToGuests_other": "Set to {{count}} guests",
|
||||
"noCharge": "no charge",
|
||||
"noCategory": "No category",
|
||||
"categories": "Categories",
|
||||
"tags": "Tags"
|
||||
},
|
||||
"summaryModal": {
|
||||
"edit": "Edit",
|
||||
"title": "Order summary"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user