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:
2026-11-17 03:59:12 +02:00
co-authored by Claude Opus 5.5
parent 37155c0457
commit 2c4f78af47
10 changed files with 939 additions and 337 deletions
+275 -4
View File
@@ -12,10 +12,12 @@
"total": "Σύνολο",
"clear": "Καθαρισμός",
"ok": "Εντάξει",
"cancel": "Ακύρωση",
"cancel": "Άκυρο",
"confirm": "Επιβεβαίωση",
"back": "Πίσω",
"save": "Αποθήκευση"
"save": "Αποθήκευση",
"apply": "Εφαρμογή",
"sure": "Είσαι σίγουρος;"
},
"gate": {
"closedTitle": "Εστιατόριο κλειστό",
@@ -374,8 +376,54 @@
"tabs": {
"quick": "Γρήγορες Επιλογές",
"ingredients": "Υλικά",
"prefs": "Προτιμήσεις"
}
"prefs": "Προτιμήσεις",
"extrasTitle": "Extras",
"note": "Σημείωση",
"quickShort": "Γρήγορες",
"extras": "Έξτρα",
"options": "Επιλογές",
"price": "Τιμή",
"summary": "Σύνοψη",
"quantity": "Ποσότητα ({{unit}})"
},
"choose": "Επιλογή",
"chooseMany": "Επιλογή (πολλαπλή)",
"removed": "Αφαιρέθηκε",
"remove": "Αφαίρεση",
"required": "Απαιτείται",
"choiceRequired": "— απαιτείται επιλογή",
"empty": {
"favorites": "Δεν υπάρχουν αγαπημένα για αυτό το προϊόν.",
"quick": "Δεν υπάρχουν γρήγορες επιλογές.",
"extras": "Δεν υπάρχουν extras.",
"ingredients": "Δεν υπάρχουν υλικά.",
"prefs": "Δεν υπάρχουν προτιμήσεις."
},
"qty": {
"quickPick": "ΓΡΗΓΟΡΗ ΕΠΙΛΟΓΗ",
"quickAdd": "ΓΡΗΓΟΡΗ ΠΡΟΣΘΗΚΗ"
},
"price": {
"intro": "Αλλαγή τιμής μόνο για αυτό το αντικείμενο. Δεν επηρεάζει άλλες παραγγελίες.",
"base": "Βάση: {{price}}"
},
"notes": {
"placeholder": "π.χ. Χωρίς αλάτι, κόψτε στη μέση...",
"quickTitle": "Γρήγορες σημειώσεις",
"noSalt": "Χωρίς αλάτι",
"quick": "Βγάλτε γρήγορα",
"allergy": "Αλλεργία!",
"smallPieces": "Κόψτε σε μικρά κομμάτια",
"napkins": "Έξτρα χαρτοπετσέτες"
},
"summary": {
"empty": "Δεν έχει γίνει καμία προσαρμογή. Χρησιμοποιήστε τις καρτέλες για να διαμορφώσετε το προϊόν.",
"removed": "Αφαιρέθηκαν"
},
"included": "Περιλαμβάνεται",
"selectedCount": "{{count}} επιλεγμένα",
"each": "το ένα",
"without": "Χωρίς {{name}}"
},
"pairing": {
"empty": "Συμπληρώστε τη διεύθυνση του server.",
@@ -386,5 +434,228 @@
"incompatible": "Ο server (έκδοση {{version}}) δεν είναι συμβατός με αυτή την εφαρμογή. Ενημερώστε την εφαρμογή ή τον server.",
"otherVenue": "Σε αυτή τη διεύθυνση απαντά διαφορετικό κατάστημα από αυτό του QR. Ζητήστε νέο QR από τον διαχειριστή.",
"wrongKey": "Το κλειδί ασφαλείας του server δεν ταιριάζει με το QR. Ζητήστε νέο QR από τον διαχειριστή."
},
"detail": {
"split": {
"title": "Διαχωρισμός",
"howMany": "Χώρισε σε πόσα;",
"newLine": "Νέα γραμμή:",
"remains": "Μένει:"
},
"price": {
"title": "Ρύθμιση Τιμής",
"tapToType": "Πάτα για πληκτρολόγιο",
"reset": "Επαναφορά αρχικής τιμής",
"base": "Βασική: {{base}} {{change}}"
},
"item": {
"price": "Ρύθμιση τιμής",
"priceSub": "Αλλαγή τιμής για αυτό το αντικείμενο",
"again": "Παραγγελία ξανά",
"againSub": "Προσθήκη στο νέο καλάθι",
"move": "Μεταφορά σε άλλο τραπέζι",
"moveSub": "Μεταφορά επιλεγμένων αντικειμένων",
"splitSub": "Χώρισμα σε δύο γραμμές",
"cancel": "Ακύρωση παραγγελίας",
"cancelSub": "Ακύρωση επιλεγμένων αντικειμένων"
},
"withApproval": "Με έγκριση διαχειριστή (PIN)",
"cancelNotAllowed": "Δεν επιτρέπεται η ακύρωση",
"discount": {
"pickOne": "Επιλέξτε τουλάχιστον ένα αντικείμενο",
"badPct": "Μη έγκυρο ποσοστό",
"failed": "Σφάλμα εφαρμογής έκπτωσης",
"rounding": "Η τελική τιμή στρογγυλοποιείται στο 0.10 €",
"items": "Αντικείμενα",
"pct": "Ποσοστό έκπτωσης",
"note": "Σημείωση (προαιρετικό)",
"notePlaceholder": "π.χ. VIP πελάτης",
"applying": "Εφαρμογή…"
},
"actions": {
"discount": "Εφαρμογή Έκπτωσης",
"markAllServedSub": "Σήμανση όλων των έτοιμων ειδών ως παραδοθέντα",
"discountSub": "Έκπτωση σε αντικείμενα παραγγελίας",
"discountNotAllowed": "Δεν επιτρέπεται η εφαρμογή έκπτωσης",
"transfer": "Μεταφορά Τραπεζιού",
"merge": "Συγχώνευση Τραπεζιού",
"mergeSub": "Συγχώνευση με άλλο τραπέζι",
"flagsSub": "Επιλογή σημαιών",
"assignSub": "Προσθήκη σερβιτόρου στην παραγγελία",
"printSub": "Εκτύπωση σύνοψης παραγγελίας",
"cancelSub": "Ακύρωση ολόκληρης παραγγελίας"
},
"noTables": "Δεν υπάρχουν διαθέσιμα τραπέζια",
"noFlags": "Δεν υπάρχουν σημαίες",
"allAssigned": "Όλοι οι σερβιτόροι έχουν ήδη ανατεθεί",
"pickPrinter": "Επιλέξτε εκτυπωτή",
"cancel": {
"title": "Ακύρωση παραγγελίας;",
"button": "Ακύρωση ✕",
"whole": "Ολόκληρη η παραγγελία θα ακυρωθεί οριστικά.",
"items_one": "{{count}} αντικείμενο θα ακυρωθεί οριστικά.",
"items_other": "{{count}} αντικείμενα θα ακυρωθούν οριστικά."
},
"guests": {
"title": "Αριθμός Πελατών",
"question": "Πόσα άτομα κάθονται στο τραπέζι;",
"button": "Αριθμός πελατών"
},
"err": {
"load": "Σφάλμα φόρτωσης",
"open": "Σφάλμα ανοίγματος",
"offlinePay": "Σφάλμα αποθήκευσης offline πληρωμής",
"pay": "Σφάλμα πληρωμής",
"revert": "Σφάλμα αναίρεσης πληρωμής",
"close": "Σφάλμα κλεισίματος",
"cancel": "Σφάλμα ακύρωσης",
"cancelOrder": "Σφάλμα ακύρωσης παραγγελίας",
"mark": "Σφάλμα σήμανσης",
"splitOffline": "Σφάλμα διαχωρισμού offline",
"split": "Σφάλμα διαχωρισμού",
"transfer": "Σφάλμα μεταφοράς",
"noTargetOrder": "Δεν βρέθηκε παραγγελία στο τραπέζι",
"merge": "Σφάλμα συγχώνευσης",
"moveItems": "Σφάλμα μεταφοράς αντικειμένων",
"flags": "Σφάλμα αποθήκευσης σημαιών"
},
"openOrder": "Άνοιγμα Παραγγελίας",
"noPaid": "Δεν υπάρχουν πληρωμένα αντικείμενα",
"revert": {
"button": "ΑΝΑΙΡΕΣΗ",
"title": "Αναίρεση Πληρωμής;",
"items_one": "{{count}} αντικείμενο θα επιστραφεί σε μη πληρωμένο.",
"items_other": "{{count}} αντικείμενα θα επιστραφούν σε μη πληρωμένα.",
"confirm": "Αναίρεση"
},
"notOffline": "Μη διαθέσιμο offline",
"view": {
"title": "Εμφάνιση Αντικειμένων",
"off": "ΑΡΧΙΚΗ",
"offDesc": "Ακριβώς όπως παραγγέλθηκαν",
"identical": "ΣΥΓΧΩΝΕΥΣΗ ΠΑΡΟΜΟΙΩΝ",
"identicalDesc": "Ίδιο προϊόν, ίδιες επιλογές, ίδια τιμή",
"sameItem": "ΣΥΓΧΩΝΕΥΣΗ ΟΛΩΝ",
"sameItemDesc": "Ίδιο προϊόν με ίδια τελική τιμή"
},
"close": {
"title": "Κλείσιμο παραγγελίας;",
"body": "Αυτή η ενέργεια δεν αναιρείται."
},
"move": {
"pickFree": "Επιλέξτε κενό τραπέζι",
"mergeSub": "Τα αντικείμενα μεταφέρονται στο επιλεγμένο τραπέζι",
"itemsTitle": "Μεταφορά Αντικειμένων",
"subtitle_one": "Μεταφορά {{count}} αντικειμένου σε τραπέζι",
"subtitle_other": "Μεταφορά {{count}} αντικειμένων σε τραπέζι",
"confirmTransfer": "Επιβεβαίωση Μεταφοράς",
"confirmMerge": "Επιβεβαίωση Συγχώνευσης",
"confirmItems": "Επιβεβαίωση Μεταφοράς Αντικειμένων",
"transferTo": "Μεταφορά παραγγελίας στο τραπέζι",
"mergeWith": "Συγχώνευση παραγγελίας με το τραπέζι",
"itemsTo_one": "Μεταφορά {{count}} αντικειμένου στο τραπέζι",
"itemsTo_other": "Μεταφορά {{count}} αντικειμένων στο τραπέζι"
},
"selected_one": "{{count}} αντικείμενο επιλεγμένο",
"selected_other": "{{count}} αντικείμενα επιλεγμένα",
"pay": {
"titleClose": "Επιβεβαίωση Πληρωμής και Κλείσιμο",
"title": "Επιβεβαίωση πληρωμής",
"allAndClose": "Όλα τα αντικείμενα — το τραπέζι θα κλείσει αμέσως μετά",
"all": "Όλα τα αντικείμενα",
"items_one": "{{count}} αντικείμενο",
"items_other": "{{count}} αντικείμενα",
"cash": "Μετρητά",
"card": "Κάρτα",
"hold": "Κρατήστε…",
"paid": "Πληρώθηκαν",
"yesPaid": "Ναι, Πληρώθηκαν"
},
"tabs": {
"unpaid": "Εκκρεμή",
"paid": "Πληρωμένα"
}
},
"add": {
"course": {
"title": "Ορισμός πιάτου",
"sub": "Τα γρήγορα προϊόντα θα μπαίνουν σε αυτό το πιάτο.",
"none": "Χωρίς πιάτο"
},
"sendFailed": "Σφάλμα αποστολής — η παραγγελία δεν στάλθηκε",
"search": {
"title": "Αναζήτηση",
"type": "Πληκτρολογήστε για αναζήτηση…",
"placeholder": "Αναζήτηση προϊόντος…",
"none": "Δεν βρέθηκαν προϊόντα για «{{query}}»"
},
"allCategories": "Όλες οι κατηγορίες",
"order": "Παραγγελία",
"empty": "Η παραγγελία είναι κενή.",
"note": {
"placeholder": "Σημείωση για ολόκληρη την παραγγελία…",
"title": "Σημείωση Παραγγελίας",
"add": "Προσθήκη σημείωσης παραγγελίας"
},
"deal": {
"title": "Προσφορά Ενεργοποιήθηκε!",
"freeProduct": "Δωρεάν προϊόν:",
"skip": "Παράβλεψη",
"pickFree_one": "Επιλέξτε {{count}} δωρεάν προϊόν",
"pickFree_other": "Επιλέξτε {{count}} δωρεάν προϊόντα",
"remaining": "({{count}} ακόμα)",
"addFree": "Προσθήκη Δωρεάν"
},
"inCart": "στο καλάθι",
"edit": "Επεξ.",
"optionGone": "«{{product}}»: το «{{what}}» δεν υπάρχει πια στο μενού. Αφαιρέστε το και προσθέστε το ξανά.",
"offlineSaveFailed": "Σφάλμα αποθήκευσης offline παραγγελίας",
"totalEstimateOffline": "Σύνολο (εκτίμηση, χωρίς σύνδεση)",
"totalEstimate": "Σύνολο (εκτίμηση)",
"withoutList": "Χωρίς: {{names}}",
"newOrder": "Νέα Παραγγελία",
"add": "Προσθήκη",
"moreSeeAll": "+{{count}} ακόμα — δείτε όλα →",
"sending": "Αποστολή…",
"send": "ΑΠΟΣΤΟΛΗ",
"sendCount": "ΑΠΟΣΤΟΛΗ ({{count}})",
"summaryCount": "ΣΥΝΟΨΗ ({{count}})",
"products_one": "{{count}} προϊόν",
"products_other": "{{count}} προϊόντα",
"ack": {
"offline": "Αποθηκεύτηκε Offline",
"printing": "Στάλθηκε — Εκτύπωση σε εξέλιξη",
"printed": "Εκτυπώθηκε Επιτυχώς"
}
},
"summary": {
"modifier": "Τροποποιητής",
"discount": "Έκπτωση",
"free": "Δωρεάν",
"freeCaps": "ΔΩΡΕΑΝ",
"notPrinted": "Δεν εκτυπώθηκε ακόμα",
"ordered": "Παραγγέλθηκε",
"paidAt": "Πληρώθηκε",
"noItems": "Δεν υπάρχουν αντικείμενα",
"due": "Εκκρεμεί",
"paidBadge": "Πληρωμένο",
"cancelledBadge": "Ακυρωμένο"
},
"picker": {
"noService": "Δεν υπάρχουν service αντικείμενα",
"noFavorites": "Δεν έχεις αγαπημένα ακόμα.",
"noProducts": "Δεν υπάρχουν προϊόντα",
"noTags": "Δεν υπάρχουν tags ακόμα.",
"noTagged": "Κανένα προϊόν με αυτό το tag.",
"setToGuests_one": "Ορισμός σε {{count}} άτομο",
"setToGuests_other": "Ορισμός σε {{count}} άτομα",
"noCharge": "χωρίς χρέωση",
"noCategory": "Χωρίς Κατηγορία",
"categories": "Κατηγορίες",
"tags": "Ετικέτες"
},
"summaryModal": {
"edit": "Επεξεργασία",
"title": "Επισκόπηση Παραγγελίας"
}
}
+274 -3
View File
@@ -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"
}
}