Files
xenia-pos-local/packages/i18n/locales/en/common.json
T
bonaminandClaude Opus 5.5 78c8824356 feat(api): @xenia/api + @xenia/access; the manager logs in and loads bootstrap through them
Platform-v2 step 2.5 (APPS_PLATFORM D-7, D-10, §9):
- @xenia/api: createApiClient (app passes its axios; session/device headers,
  err.xenia codes, 401/offline hooks, manager-override retry: ask PIN, grant,
  retry once with X-Xenia-Override); errorMessage; createLiveClient = the
  waiter's WebSocket logic (cursor replay, backoff, online) moved unchanged
- @xenia/access: AccessProvider (bootstrap per session token, language +
  venue formats, translated ui labels, approval dialog), useAccess/useCan/
  useModule, Can, RequireModule
- i18n: errors namespace for every backend code (en/el, test vs core/errors.py),
  override/access texts
- manager: client from createApiClient, AccessProvider in a layout route,
  /kds behind RequireModule, usePermissions from bootstrap keys; login and
  unlock no longer treat a wrong password/PIN as "session ended" (a wrong
  lock-screen PIN used to log the manager out)
- waiter: useWebSocket is a thin wrapper over createLiveClient
- tests: api/access unit tests; new e2e suite tests/e2e/manager.mjs; CS-18

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 20:38:31 +02:00

52 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"
},
"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"
}
}