Platform-v2 step 2.6d: - /devices (core.devices.manage, sidebar): devices from /api/devices with status (online / last seen / waiting for the device / app turned off / removed), app, sign-in mode (own or venue default), linked device; usage per device app against the license limit (devices) - pair dialog: code as typed (normalized), app (only apps that are on, "all in use" when the limit is reached), name, sign-in mode for apps with a choice, optional linked device; license.limit_reached explained with the app's limit - edit (name, sign-in mode, link), change app (signs out whoever is on it), remove with confirm (the device goes back to pairing), show removed - manager_dashboard gets node --test (tests/platform.test.mjs: module states, dependents, device status/usage/room/links), added to run-all - e2e manager.mjs: 54 checks (+ wrong code, normalized code, pair, the device picks up its token, online, rename, change app, remove → device.revoked) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
192 lines
6.6 KiB
JSON
192 lines
6.6 KiB
JSON
{
|
|
"nav": {
|
|
"sections": {
|
|
"operation": "Operation",
|
|
"financial": "Finance",
|
|
"headquarters": "Headquarters",
|
|
"overwatch": "Overview"
|
|
},
|
|
"dashboard": "Overview",
|
|
"tables": "Tables",
|
|
"onlineOrders": "Online orders",
|
|
"crm": "CRM",
|
|
"contacts": "Contacts",
|
|
"customers": "Customers",
|
|
"finance": "Finance",
|
|
"expenses": "Expenses",
|
|
"tabs": "Customer tabs",
|
|
"management": "Management",
|
|
"products": "Products",
|
|
"tablesConfig": "Tables",
|
|
"staff": "Staff",
|
|
"schedule": "Schedule",
|
|
"prepZones": "Prep zones",
|
|
"pricing": "Offers & pricing",
|
|
"notes": "Notes",
|
|
"inventory": "Inventory",
|
|
"waste": "Waste",
|
|
"stock": "Stock",
|
|
"reports": "Reports",
|
|
"reportsToday": "Today",
|
|
"reportsStore": "Venue",
|
|
"reportsStaff": "Staff",
|
|
"reportsProducts": "Products",
|
|
"reportsPrepZones": "Prep zones",
|
|
"reportsExpenses": "Expenses",
|
|
"reportsTechnical": "Technical",
|
|
"reportsMisc": "Other",
|
|
"apps": "Apps",
|
|
"phone": "Phone",
|
|
"settings": "Settings",
|
|
"order": "Order",
|
|
"kds": "Kitchen display",
|
|
"soon": "soon",
|
|
"integrations": "Integrations",
|
|
"license": "License",
|
|
"devices": "Devices"
|
|
},
|
|
"profile": {
|
|
"edit": "Edit profile",
|
|
"signOut": "Sign out",
|
|
"language": "Language"
|
|
},
|
|
"login": {
|
|
"title": "Sign in",
|
|
"subtitle": "Manager dashboard",
|
|
"username": "Username",
|
|
"password": "Password",
|
|
"pin": "PIN",
|
|
"signIn": "Sign in",
|
|
"otherAccount": "Use another account",
|
|
"supportLink": "Support access"
|
|
},
|
|
"support": {
|
|
"title": "Support access",
|
|
"intro": "Read this code to Xenia support. They will give you a code back.",
|
|
"challenge": "Code for support",
|
|
"answer": "Support's code",
|
|
"verify": "Open support session",
|
|
"newChallenge": "New code",
|
|
"back": "Back to sign in",
|
|
"expires": "This code is valid until {{time}}."
|
|
},
|
|
"license": {
|
|
"expired": "The license has expired. This venue runs the free version until it's renewed: some features are off.",
|
|
"inactive": "The license isn't active. This venue runs the free version: some features are off.",
|
|
"locked": "The license provider locked this venue. It runs the free version: some features are off.",
|
|
"clock": "The server's clock went back in time, so the license can't be trusted. Fix the server's date and time or connect it to the internet.",
|
|
"unverified": "The license hasn't been verified yet (no connection to the license server). This venue runs the free version for now."
|
|
},
|
|
"lock": {
|
|
"title": "Locked",
|
|
"signOutInstead": "Sign out instead"
|
|
},
|
|
"modules": {
|
|
"appsIntro": "Turn parts of the system on or off for this venue. What's off disappears from every screen and its data stays safe.",
|
|
"integrationsIntro": "Connections to other equipment and services.",
|
|
"sections": {
|
|
"app": "Device apps",
|
|
"feature": "Features",
|
|
"core": "Always included"
|
|
},
|
|
"on": "On",
|
|
"off": "Off",
|
|
"alwaysOn": "Always on",
|
|
"notLicensed": "Not in your license",
|
|
"waiting": "Waiting for {{list}}",
|
|
"needs": "Needs {{list}}",
|
|
"open": "Open",
|
|
"unlimited": "Unlimited",
|
|
"toggleLabel": "{{name}} on or off",
|
|
"confirmOffTitle": "Turn off {{name}}?",
|
|
"confirmOffBody": "These stop working too while it's off: {{list}}.",
|
|
"turnOff": "Turn off",
|
|
"changed": "{{name}} is now {{state}}",
|
|
"readOnly": "Only someone with permission to manage apps can change these."
|
|
},
|
|
"licensePage": {
|
|
"status": "Status",
|
|
"statusDev": "Development mode (every module, no limits)",
|
|
"statusLicensed": "Licensed",
|
|
"statusFree": "Free version",
|
|
"siteId": "Site ID",
|
|
"expires": "Valid until",
|
|
"daysLeft_one": "{{count}} day left",
|
|
"daysLeft_other": "{{count}} days left",
|
|
"lastSync": "Last contact with the license server",
|
|
"never": "never",
|
|
"syncNow": "Check the license now",
|
|
"synced": "License checked",
|
|
"syncFailed": "Couldn't reach the license server",
|
|
"offline": "No contact with the license server for {{count}} days. The venue keeps working until the license expires.",
|
|
"modules": "Modules",
|
|
"module": "Module",
|
|
"included": "Included",
|
|
"inLicense": "In your license",
|
|
"inLicenseUntil": "In your license until {{date}}",
|
|
"free": "Free version",
|
|
"dev": "Development",
|
|
"notIncluded": "Not included",
|
|
"limits": "Limits"
|
|
},
|
|
"devices": {
|
|
"intro": "Screens and terminals that run one app each: kitchen displays, counter POS, customer displays, signage, menu tablets. Phones of staff are not devices; they sign in as themselves.",
|
|
"pair": "Pair a device",
|
|
"empty": "No devices yet",
|
|
"emptyBody": "Open the app on the screen you want to use: it shows a 6-character code. Then choose \"Pair a device\" here.",
|
|
"showRemoved": "Show removed devices",
|
|
"usage": "{{label}}: {{used}} of {{max}}",
|
|
"usageUnlimited": "{{label}}: {{used}}",
|
|
"columns": {
|
|
"device": "Device",
|
|
"app": "App",
|
|
"status": "Status",
|
|
"signIn": "Sign-in",
|
|
"linked": "Linked to",
|
|
"actions": ""
|
|
},
|
|
"status": {
|
|
"online": "Online",
|
|
"offline": "Last seen {{when}}",
|
|
"offlineNever": "Not seen yet",
|
|
"waiting": "Waiting for the device to connect",
|
|
"app_off": "App turned off",
|
|
"removed": "Removed {{when}}"
|
|
},
|
|
"signIn": {
|
|
"default": "Venue default ({{mode}})",
|
|
"pin": "PIN",
|
|
"password": "Password",
|
|
"tap": "Tap your name",
|
|
"none": "No sign-in",
|
|
"defaultPlain": "Venue default"
|
|
},
|
|
"form": {
|
|
"code": "Code shown on the device",
|
|
"codeHint": "6 characters, letters and digits",
|
|
"app": "App to run",
|
|
"name": "Name",
|
|
"namePlaceholder": "e.g. Kitchen, Bar, Counter 1",
|
|
"signIn": "How staff sign in",
|
|
"link": "Linked device",
|
|
"noLink": "None",
|
|
"linkHint": "For example a customer display that shows a counter POS's order.",
|
|
"full": "{{label}}: the license allows {{max}}, all in use. Remove one or ask for a bigger license.",
|
|
"noApps": "No device app is turned on. Turn one on in Apps first."
|
|
},
|
|
"actions": {
|
|
"rename": "Rename",
|
|
"changeApp": "Change app",
|
|
"remove": "Remove",
|
|
"save": "Save",
|
|
"edit": "Edit"
|
|
},
|
|
"paired": "{{name}} is paired. It starts in a few seconds.",
|
|
"saved": "Saved",
|
|
"removeTitle": "Remove {{name}}?",
|
|
"removeBody": "It stops at once and shows the pairing screen. To use it again, pair it again.",
|
|
"changeAppBody": "Whoever is signed in on it is signed out.",
|
|
"limitReached": "{{label}}: the license allows {{max}}. Remove one or ask for a bigger license."
|
|
}
|
|
}
|