- Management/ProductsTab + ProductFormModal (3.1k lines) → src/pages/products/: category tree, list/grid, toolbar + filters (search folds accents and Latin letters), bulk actions, category dialogs; the editor in editor/ (details, sold at, cost, fiscal; the waiter's choices). Arithmetic in productsLogic.js / editor/formLogic.js (tests/products.test.mjs). - Several categories per product with a main one (D-23): edited in the editor, "also in" on the rows, each category's list ordered on its own (drag or up/down → PUT /reorder with category_id); bulk "move to" / "also list in". The waiter's picker now shows a product in every category. - Allergens: products.allergens (Alembic 0032, core/allergens.py: 14 EU, contains | may_contain, catalog.allergen), in the API, POS menu, menu tablet, catalogue bundles and the cloud snapshot (C-2); @xenia/access allergens.js + <Allergens> shown on the phone, the counter, the tablet. - Bell: only the newest load sets the list (an older answer could hide a live notification). - e2e: manager (two categories, order per category, allergens), terminal / menu tablet / waiter (allergens shown); media saves by test id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
103 lines
2.7 KiB
JSON
103 lines
2.7 KiB
JSON
{
|
|
"actions": {
|
|
"save": "Save",
|
|
"cancel": "Cancel",
|
|
"delete": "Delete",
|
|
"edit": "Edit",
|
|
"add": "Add",
|
|
"close": "Close",
|
|
"back": "Back",
|
|
"retry": "Try again",
|
|
"confirm": "Confirm",
|
|
"done": "Done",
|
|
"search": "Search"
|
|
},
|
|
"status": {
|
|
"loading": "Loading…",
|
|
"saving": "Saving…",
|
|
"saved": "Saved",
|
|
"error": "Something went wrong",
|
|
"offline": "No connection to the server"
|
|
},
|
|
"language": {
|
|
"label": "Language",
|
|
"changed": "Language changed",
|
|
"notSaved": "Language changed on this screen but couldn't be saved to your profile"
|
|
},
|
|
"ui": {
|
|
"close": "Close",
|
|
"dismiss": "Dismiss",
|
|
"loading": "Loading",
|
|
"moreInfo": "More info",
|
|
"notifications": "Notifications",
|
|
"backspace": "Delete",
|
|
"pinProgress": "{{count}} of {{total}} digits entered",
|
|
"submit": "OK",
|
|
"decrease": "Less",
|
|
"increase": "More"
|
|
},
|
|
"override": {
|
|
"title": "Manager approval",
|
|
"body": "This needs a manager's approval. A manager enters their username and PIN here.",
|
|
"action": "Action",
|
|
"username": "Manager username",
|
|
"pin": "PIN",
|
|
"approve": "Approve"
|
|
},
|
|
"access": {
|
|
"moduleOffTitle": "This feature is turned off",
|
|
"moduleOffBody": "A manager can turn it on in Apps.",
|
|
"noAccessTitle": "You don't have access to this page",
|
|
"noAccessBody": "Ask a manager if you need it.",
|
|
"loadFailed": "Can't load the venue's settings"
|
|
},
|
|
"salesPoints": {
|
|
"in_store": {
|
|
"name": "In the shop",
|
|
"hint": "Counter and waiters, eating in"
|
|
},
|
|
"in_store_takeaway": {
|
|
"name": "Takeaway at the counter",
|
|
"hint": "Counter, to take away (and phone orders the venue delivers)"
|
|
},
|
|
"qr_table": {
|
|
"name": "QR menu at the table",
|
|
"hint": "Customers order from the QR menu at their table"
|
|
},
|
|
"online_takeaway": {
|
|
"name": "Online, takeaway",
|
|
"hint": "Ordered online, collected at the venue"
|
|
},
|
|
"online_delivery": {
|
|
"name": "Online, delivery",
|
|
"hint": "Ordered online, delivered"
|
|
},
|
|
"online_preorder": {
|
|
"name": "Online, with a reservation",
|
|
"hint": "Reserved online, food ready on arrival"
|
|
}
|
|
},
|
|
"allergens": {
|
|
"title": "Allergens",
|
|
"none": "No allergens declared",
|
|
"level": {
|
|
"contains": "Contains",
|
|
"may_contain": "May contain"
|
|
},
|
|
"gluten": "Gluten",
|
|
"crustaceans": "Crustaceans",
|
|
"eggs": "Eggs",
|
|
"fish": "Fish",
|
|
"peanuts": "Peanuts",
|
|
"soybeans": "Soya",
|
|
"milk": "Milk",
|
|
"nuts": "Nuts",
|
|
"celery": "Celery",
|
|
"mustard": "Mustard",
|
|
"sesame": "Sesame",
|
|
"sulphites": "Sulphites",
|
|
"lupin": "Lupin",
|
|
"molluscs": "Molluscs"
|
|
}
|
|
}
|