Files
xenia-pos-local/packages/i18n/locales/en/errors.json
T
bonaminandClaude Opus 5.5 2426ffddad feat(manager): notification bell, sign-in/venue/print settings, log download (platform-v2 2.6f)
- Bell in the header: /api/platform/notifications with unread count, live via
  the new LiveProvider (one createLiveClient connection) on platform_notification
  and reconnect; mark read / all; warning+critical pop a toast.
- Settings: Sign-in card (manager/waiter/device modes, require username, one
  session per manager/waiter, username autofill) replaces the dead v1
  security.login_method card; new "Venue & language" tab (language, time zone);
  print alert threshold in Printing. Tab labels are i18n keys.
- Technical > Log files: list + download of the daily logs (owner-level).
  Backend: GET /api/system/logs, /api/system/logs/{date} (core.settings.manage),
  error system.log_not_found.
- Setup wizard asks staff language and time zone (setup/init stores them).
- @xenia/ui theme helpers (applyTheme, getStoredTheme); the manager stays light
  until phase 6 converts the older pages (owner decision 2026-11-14).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 09:01:26 +02:00

76 lines
3.6 KiB
JSON

{
"generic": "Something went wrong. Please try again.",
"network": {
"offline": "Can't reach the server. Check the connection and try again."
},
"access": {
"denied": "You don't have permission to do this ({{key}}).",
"override_possible": "A manager can approve this ({{key}}).",
"override_invalid": "This approval isn't valid any more. Ask a manager again.",
"not_overridable": "{{key}} can't be approved by a manager.",
"approver_lacks_key": "That account can't approve this ({{key}}).",
"override_rate_limited": "Too many wrong PINs. Wait a few minutes and try again.",
"unknown_key": "There is no permission {{key}}.",
"cannot_grant": "You can only give permissions you have yourself ({{key}})."
},
"module": {
"disabled": "The {{module}} module is turned off.",
"not_licensed": "This site's license doesn't include {{module}}.",
"unknown": "There is no module {{module}}.",
"cannot_disable": "{{module}} is part of the core and can't be turned off."
},
"license": {
"limit_reached": "License limit reached for {{module}} {{limit}} ({{max}}).",
"expired": "The license has expired.",
"history_limited": "This license shows only the last {{days}} days of history ({{module}})."
},
"auth": {
"invalid_credentials": "Wrong username or password.",
"session_ended": "Your session has ended. Please log in again.",
"session_exists": "You're already logged in on another {{client}}. Log out there first.",
"login_mode_not_allowed": "This way of logging in isn't enabled ({{mode}}).",
"mode_needs_device": "Logging in by {{mode}} only works on a paired device.",
"username_required": "Enter your username.",
"client_not_allowed": "This account can't use the {{client}} app.",
"session_not_found": "Session not found.",
"support_not_configured": "Support access isn't set up on this site.",
"support_code_invalid": "That support code is wrong or has expired. Ask for a new challenge.",
"support_rate_limited": "Too many support challenges. Wait a few minutes and try again.",
"wrong_pin": "Wrong PIN. {{attempts_left}} tries left before you are signed out."
},
"device": {
"revoked": "This device was removed. Pair it again.",
"not_paired": "This device isn't paired with the venue.",
"out_of_scope": "A {{app}} device can't do this ({{key}}).",
"required": "This login belongs to a paired device. Use it from that device.",
"not_found": "Device {{device_id}} not found.",
"pair_code_invalid": "That pairing code is wrong or has expired.",
"pair_rate_limited": "Too many pairing requests. Wait a few minutes and try again.",
"not_an_app": "{{app}} is not an app that runs on a device.",
"login_mode_invalid": "A {{app}} device can't use the login mode {{mode}}.",
"link_invalid": "Device {{device_id}} can't be linked to this device."
},
"validation": {
"invalid": "Some fields are invalid.",
"unknown_language": "Unsupported language: {{language}}.",
"unknown_timezone": "Unknown time zone: {{timezone}}.",
"setting_value": "{{key}} can't be set to \"{{value}}\"."
},
"internal": {
"error": "Something went wrong on the server (request {{request_id}})."
},
"order": {
"not_found": "Order {{order_id}} not found."
},
"notification": {
"not_found": "Notification {{notification_id}} not found."
},
"catalog": {
"unknown_category": "There is no category {{category_id}}.",
"primary_not_listed": "The main category ({{category_id}}) must be one of the product's categories."
},
"system": {
"log_not_found": "There is no log file for {{date}}."
}
}