- @xenia/ui: --x-board-* tokens (the kitchen display's look: dark board, light cards, status colours, card radius/shadows, number font), Tailwind board.* colours, contrast test for the board pairs; near-identical shades merged. - New shared Stepper component (gallery + ui.mjs), labels ui.decrease / ui.increase. - KDS: theme.js maps to the board tokens, no colour literals left (only stored setting values); decline / call waiter / settings use Dialog, Button, Switch, Select, Stepper; toasts are @xenia/ui toasts (ToastProvider at the terminal root). - Terminal: apps can set their theme (APP_THEMES, KDS dark) while they run. - CS-16: board screens and "no hard-coded colours in app code". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
55 lines
1.4 KiB
JSON
55 lines
1.4 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"
|
|
}
|
|
}
|