feat(manager): the setup wizard and the shell on v2; all of src on the v2 rules (platform-v2 step 6.14b)
- setup wizard (src/pages/setup): welcome (pick the language: the wizard switches at once), the owner's account, the venue (kind, name, staff language, time zone), an optional lock-screen PIN, finish -> sign in; English and Greek - shell (src/shell): AppLayout (license banner in both languages, header, lock button, idle lock / sign-out), Sidebar on a new 'nav' token set in @xenia/ui (light + dark), ProfileDialog (name, username, password, 4-6 digit PIN), licenseContext; App.jsx loads the session and the setup state with react-query (no setState in effects); the header's dead search box gone - Management -> Tables -> List (src/pages/tables, was TablesConfigTab): zones as tabs (drag to reorder), zone name / prefix / colour, add many numbered on, a table's name (6 chars) / zone / seats, twice-used names flagged, off / on / delete, pick several to move, rename in a series or delete (says how many failed) - the old src/ui kit, layouts/, components/Sidebar + EditProfileModal, the 'primary' palette and the .btn/.card/.input classes deleted; NotificationBell / UserMenuButton on tokens; @xenia/ui: nav tokens, 'scrim' in the Tailwind preset - v2.json paths = src (the guards cover all of it); npm run lint = eslint src; argsIgnorePattern for components in JSX - tests: shell.test.mjs (3), e2e setup.mjs (new: a fresh install through the wizard in Greek to the overview, in run-all), manager.mjs 'tables list' (zone, 3 tables, rename series, profile PIN, rail tokens) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -48,12 +48,35 @@
|
||||
"deliveryFees": "Online παραγγελίες (ρύθμιση)",
|
||||
"qrCodes": "QR τραπεζιών",
|
||||
"media": "Πολυμέσα",
|
||||
"signage": "Προβολή"
|
||||
"signage": "Προβολή",
|
||||
"main": "Κύριο μενού"
|
||||
},
|
||||
"profile": {
|
||||
"edit": "Επεξεργασία προφίλ",
|
||||
"signOut": "Αποσύνδεση",
|
||||
"language": "Γλώσσα"
|
||||
"language": "Γλώσσα",
|
||||
"back": "Πίσω",
|
||||
"save": "Αποθήκευση",
|
||||
"saved": "Το προφίλ αποθηκεύτηκε",
|
||||
"name": "Όνομα",
|
||||
"username": "Όνομα χρήστη",
|
||||
"password": "Κωδικός",
|
||||
"keepHint": "Αφήστε κενό για να κρατήσετε τον κωδικό σας.",
|
||||
"current": "Τρέχων κωδικός",
|
||||
"next": "Νέος κωδικός",
|
||||
"again": "Νέος κωδικός ξανά",
|
||||
"pin": "PIN",
|
||||
"pinHint": "Για την οθόνη κλειδώματος. Αφήστε κενό για να κρατήσετε το δικό σας.",
|
||||
"newPin": "Νέο PIN",
|
||||
"pinAgain": "Νέο PIN ξανά",
|
||||
"wrong": {
|
||||
"username": "Γράψτε όνομα χρήστη.",
|
||||
"current": "Γράψτε τον τρέχοντα κωδικό.",
|
||||
"short": "Τουλάχιστον 6 χαρακτήρες.",
|
||||
"mismatch": "Οι δύο κωδικοί δεν ταιριάζουν.",
|
||||
"pin": "4 έως 6 ψηφία.",
|
||||
"pinMismatch": "Τα δύο PIN δεν ταιριάζουν."
|
||||
}
|
||||
},
|
||||
"login": {
|
||||
"title": "Σύνδεση",
|
||||
@@ -678,7 +701,61 @@
|
||||
"setup": {
|
||||
"language": "Γλώσσα προσωπικού",
|
||||
"timezone": "Ζώνη ώρας",
|
||||
"languageHint": "Η γλώσσα των οθονών του προσωπικού (ο καθένας μπορεί να διαλέξει τη δική του) και των εκτυπωμένων δελτίων και αναφορών."
|
||||
"languageHint": "Η γλώσσα των οθονών του προσωπικού (ο καθένας μπορεί να διαλέξει τη δική του) και των εκτυπωμένων δελτίων και αναφορών.",
|
||||
"welcome": "Καλώς ήρθατε στο Xenia POS",
|
||||
"welcomeIntro": "Λίγα βήματα και το κατάστημά σας είναι έτοιμο.",
|
||||
"plan": {
|
||||
"account": "Ο λογαριασμός σας",
|
||||
"venue": "Το κατάστημά σας",
|
||||
"ready": "Έτοιμοι"
|
||||
},
|
||||
"start": "Ξεκινάμε",
|
||||
"stepOf": "Βήμα {{n}} από {{of}}",
|
||||
"back": "Πίσω",
|
||||
"next": "Επόμενο",
|
||||
"skip": "Παράλειψη",
|
||||
"accountTitle": "Ο λογαριασμός σας",
|
||||
"accountIntro": "Ο λογαριασμός του ιδιοκτήτη: μπορεί να κάνει τα πάντα.",
|
||||
"username": "Όνομα χρήστη",
|
||||
"fullName": "Ονοματεπώνυμο",
|
||||
"email": "Email",
|
||||
"emailHint": "Προαιρετικό.",
|
||||
"password": "Κωδικός",
|
||||
"confirm": "Κωδικός ξανά",
|
||||
"venueTitle": "Το κατάστημά σας",
|
||||
"venueIntro": "Επιλέξτε όσα ταιριάζουν· αλλάζουν αργότερα.",
|
||||
"kind": "Είδος",
|
||||
"kinds": {
|
||||
"restaurant": "Εστιατόριο",
|
||||
"bar": "Μπαρ",
|
||||
"coffee_shop": "Καφετέρια",
|
||||
"fast_food": "Fast food"
|
||||
},
|
||||
"venueName": "Όνομα καταστήματος",
|
||||
"venueNameExample": "π.χ. Το Χρυσό Πιρούνι",
|
||||
"pinTitle": "PIN για την οθόνη κλειδώματος",
|
||||
"pinIntro": "Προαιρετικό: 4 έως 6 ψηφία για να ξεκλειδώνετε χωρίς κωδικό.",
|
||||
"pin": "PIN",
|
||||
"pinAgain": "PIN ξανά",
|
||||
"doneTitle": "Όλα έτοιμα",
|
||||
"doneIntro": "Το κατάστημά σας είναι έτοιμο. Συνδεθείτε και προσθέστε μενού, τραπέζια και προσωπικό.",
|
||||
"next3": {
|
||||
"menu": "Προσθέστε το μενού και τα προϊόντα",
|
||||
"tables": "Ρυθμίστε τραπέζια και ζώνες",
|
||||
"staff": "Προσθέστε το προσωπικό"
|
||||
},
|
||||
"finish": "Τέλος και σύνδεση",
|
||||
"footer": "Xenia POS · αρχική ρύθμιση",
|
||||
"wrong": {
|
||||
"required": "Υποχρεωτικό.",
|
||||
"spaces": "Χωρίς κενά.",
|
||||
"email": "Δεν μοιάζει με διεύθυνση email.",
|
||||
"short": "Τουλάχιστον 6 χαρακτήρες.",
|
||||
"mismatch": "Οι δύο κωδικοί δεν ταιριάζουν.",
|
||||
"pickOne": "Επιλέξτε τουλάχιστον ένα.",
|
||||
"pin": "4 έως 6 ψηφία.",
|
||||
"pinMismatch": "Τα δύο PIN δεν ταιριάζουν."
|
||||
}
|
||||
},
|
||||
"fees": {
|
||||
"title": "Περιοχές και χρεώσεις διανομής",
|
||||
@@ -3684,5 +3761,120 @@
|
||||
"deleteYes": "Διαγραφή",
|
||||
"deleted": "Διαγράφηκε",
|
||||
"back": "Πίσω"
|
||||
},
|
||||
"shell": {
|
||||
"where": "Βρίσκεστε εδώ",
|
||||
"lock": "Κλείδωμα οθόνης",
|
||||
"banner": {
|
||||
"adminLocked": "Το σύστημα κλειδώθηκε από τον διαχειριστή. Επικοινωνήστε με την υποστήριξη.",
|
||||
"adminPending": "Ο διαχειριστής θα κλειδώσει το σύστημα με το κλείσιμο της τρέχουσας μέρας.",
|
||||
"clock": "Το ρολόι του server γύρισε πίσω. Διορθώστε την ημερομηνία και την ώρα του server ή συνδέστε τον στο internet.",
|
||||
"unverified": "Δεν υπάρχει ακόμα επιβεβαιωμένη άδεια. Συνδέστε τον server στο internet για να ενεργοποιηθεί.",
|
||||
"expired_one": "Η άδεια έληξε πριν από {{count}} μέρα ({{date}}). Ανανεώστε την ή επικοινωνήστε με την υποστήριξη.",
|
||||
"expired_other": "Η άδεια έληξε πριν από {{count}} μέρες ({{date}}). Ανανεώστε την ή επικοινωνήστε με την υποστήριξη.",
|
||||
"grace_one": "Η άδεια έληξε στις {{date}}. Απομένουν {{left}} μέρες χάριτος: ανανεώστε την για να μην κλειδώσει.",
|
||||
"grace_other": "Η άδεια έληξε στις {{date}}. Απομένουν {{left}} μέρες χάριτος: ανανεώστε την για να μην κλειδώσει.",
|
||||
"expiring_one": "Η άδεια λήγει σε {{count}} μέρα ({{date}}). Ανανεώστε την έγκαιρα.",
|
||||
"expiring_other": "Η άδεια λήγει σε {{count}} μέρες ({{date}}). Ανανεώστε την έγκαιρα.",
|
||||
"offline_one": "Χωρίς επαφή με το cloud εδώ και {{count}} μέρα. Όλα λειτουργούν· η άδεια ισχύει έως {{date}}.",
|
||||
"offline_other": "Χωρίς επαφή με το cloud εδώ και {{count}} μέρες. Όλα λειτουργούν· η άδεια ισχύει έως {{date}}.",
|
||||
"connect": "Συνδέστε τον server στο internet για να ανανεωθεί."
|
||||
}
|
||||
},
|
||||
"tablesList": {
|
||||
"all": "Όλα",
|
||||
"noZone": "Χωρίς ζώνη",
|
||||
"zones": "Ζώνες",
|
||||
"counts": "{{tables}} τραπέζια · {{zones}} ζώνες",
|
||||
"offCount_one": "{{count}} ανενεργό",
|
||||
"offCount_other": "{{count}} ανενεργά",
|
||||
"showOff": "Εμφάνιση ανενεργών",
|
||||
"pick": "Επιλογή",
|
||||
"picked_one": "{{count}} επιλεγμένο",
|
||||
"picked_other": "{{count}} επιλεγμένα",
|
||||
"pickAll": "Επιλογή όλων",
|
||||
"unpickAll": "Αποεπιλογή όλων",
|
||||
"pickOne": "Επιλογή: {{name}}",
|
||||
"moveZone": "Μετακίνηση σε ζώνη",
|
||||
"renameSeries": "Μετονομασία σε σειρά",
|
||||
"delete": "Διαγραφή",
|
||||
"newZone": "Νέα ζώνη",
|
||||
"newTable": "Νέο τραπέζι",
|
||||
"editZone": "Επεξεργασία ζώνης",
|
||||
"addMany": "Μαζική προσθήκη",
|
||||
"numbered": "Τραπέζι {{n}}",
|
||||
"duplicate": "Ίδιο όνομα δύο φορές",
|
||||
"seats_one": "{{count}} θέση",
|
||||
"seats_other": "{{count}} θέσεις",
|
||||
"off": "Ανενεργό",
|
||||
"hasOrder": "Έχει ανοιχτή παραγγελία",
|
||||
"edit": "Επεξεργασία: {{name}}",
|
||||
"turnOff": "Απενεργοποίηση: {{name}}",
|
||||
"turnOn": "Ενεργοποίηση: {{name}}",
|
||||
"deleteOne": "Διαγραφή: {{name}}",
|
||||
"none": "Δεν υπάρχουν τραπέζια.",
|
||||
"noneActive": "Δεν υπάρχουν ενεργά τραπέζια.",
|
||||
"saved": "Αποθηκεύτηκε",
|
||||
"added": "Το τραπέζι προστέθηκε",
|
||||
"deleted": "Το τραπέζι διαγράφηκε",
|
||||
"turnedOff": "Το τραπέζι απενεργοποιήθηκε",
|
||||
"someFailed_one": "{{count}} τραπέζι δεν άλλαξε",
|
||||
"someFailed_other": "{{count}} τραπέζια δεν άλλαξαν",
|
||||
"moved_one": "{{count}} τραπέζι μετακινήθηκε",
|
||||
"moved_other": "{{count}} τραπέζια μετακινήθηκαν",
|
||||
"renamed_one": "{{count}} τραπέζι μετονομάστηκε",
|
||||
"renamed_other": "{{count}} τραπέζια μετονομάστηκαν",
|
||||
"deletedMany_one": "{{count}} τραπέζι διαγράφηκε",
|
||||
"deletedMany_other": "{{count}} τραπέζια διαγράφηκαν",
|
||||
"offTitle": "Απενεργοποίηση: {{name}};",
|
||||
"offBody": "Κρύβεται και δεν χρησιμοποιείται. Μπορείτε να το ενεργοποιήσετε ξανά.",
|
||||
"turnOffYes": "Απενεργοποίηση",
|
||||
"deleteTitle": "Διαγραφή: {{name}};",
|
||||
"deleteBody": "Διαγράφεται οριστικά.",
|
||||
"deleteYes": "Διαγραφή",
|
||||
"deleteManyTitle_one": "Διαγραφή {{count}} τραπεζιού;",
|
||||
"deleteManyTitle_other": "Διαγραφή {{count}} τραπεζιών;",
|
||||
"deleteManyBody": "Διαγράφονται οριστικά (όσα έχουν ανοιχτή παραγγελία μένουν).",
|
||||
"back": "Πίσω",
|
||||
"save": "Αποθήκευση",
|
||||
"add": "Προσθήκη",
|
||||
"name": "Όνομα",
|
||||
"nameHint": "Έως {{max}} χαρακτήρες (χωράει στις κάρτες των κινητών). Κενό: αριθμείται αυτόματα.",
|
||||
"nameLong": "Έως {{max}} χαρακτήρες.",
|
||||
"nameExample": "π.χ. Β3",
|
||||
"zone": "Ζώνη",
|
||||
"seatsLabel": "Θέσεις",
|
||||
"seatsHint": "Προαιρετικό.",
|
||||
"seatsWrong": "Αριθμός από 1 έως 99.",
|
||||
"zoneSaved": "Η ζώνη αποθηκεύτηκε",
|
||||
"zoneDeleted": "Η ζώνη διαγράφηκε",
|
||||
"zoneDeleteTitle": "Διαγραφή της ζώνης {{name}};",
|
||||
"zoneDeleteBody": "Τα τραπέζια της μένουν, χωρίς ζώνη.",
|
||||
"zoneName": "Όνομα ζώνης",
|
||||
"zoneNameNeeded": "Γράψτε ένα όνομα.",
|
||||
"zoneExample": "π.χ. Βεράντα",
|
||||
"prefix": "Πρόθεμα",
|
||||
"prefixHint": "Προτείνεται στη μαζική προσθήκη (π.χ. Τ → Τ-1, Τ-2…).",
|
||||
"colour": "Χρώμα",
|
||||
"noColour": "Χωρίς χρώμα",
|
||||
"inZone": "Στη ζώνη {{name}}",
|
||||
"batchHint": "Αριθμούνται από εκεί που σταμάτησε η ζώνη.",
|
||||
"howMany": "Πόσα",
|
||||
"addSeries": "Προσθήκη {{from}} … {{to}}",
|
||||
"addedMany_one": "Προστέθηκε {{count}} τραπέζι",
|
||||
"addedMany_other": "Προστέθηκαν {{count}} τραπέζια",
|
||||
"seriesLong": "Το τελευταίο όνομα θα ήταν {{last}}: πάνω από {{max}} χαρακτήρες.",
|
||||
"moveTitle_one": "Μετακίνηση {{count}} τραπεζιού",
|
||||
"moveTitle_other": "Μετακίνηση {{count}} τραπεζιών",
|
||||
"toZone": "Στη ζώνη",
|
||||
"move": "Μετακίνηση",
|
||||
"renameTitle_one": "Μετονομασία {{count}} τραπεζιού",
|
||||
"renameTitle_other": "Μετονομασία {{count}} τραπεζιών",
|
||||
"renameIntro": "Με τη σειρά που εμφανίζονται.",
|
||||
"startAt": "Από τον αριθμό",
|
||||
"renameYes_one": "Μετονομασία {{count}} τραπεζιού",
|
||||
"renameYes_other": "Μετονομασία {{count}} τραπεζιών",
|
||||
"andMore_one": "και {{count}} ακόμα",
|
||||
"andMore_other": "και {{count}} ακόμα"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,12 +48,35 @@
|
||||
"deliveryFees": "Online ordering",
|
||||
"qrCodes": "Table QR codes",
|
||||
"media": "Media",
|
||||
"signage": "Signage"
|
||||
"signage": "Signage",
|
||||
"main": "Main menu"
|
||||
},
|
||||
"profile": {
|
||||
"edit": "Edit profile",
|
||||
"signOut": "Sign out",
|
||||
"language": "Language"
|
||||
"language": "Language",
|
||||
"back": "Back",
|
||||
"save": "Save",
|
||||
"saved": "Profile saved",
|
||||
"name": "Name",
|
||||
"username": "Username",
|
||||
"password": "Password",
|
||||
"keepHint": "Leave empty to keep your password.",
|
||||
"current": "Current password",
|
||||
"next": "New password",
|
||||
"again": "New password again",
|
||||
"pin": "PIN",
|
||||
"pinHint": "For the lock screen. Leave empty to keep yours.",
|
||||
"newPin": "New PIN",
|
||||
"pinAgain": "New PIN again",
|
||||
"wrong": {
|
||||
"username": "Enter a username.",
|
||||
"current": "Enter your current password.",
|
||||
"short": "At least 6 characters.",
|
||||
"mismatch": "The two passwords don't match.",
|
||||
"pin": "4 to 6 digits.",
|
||||
"pinMismatch": "The two PINs don't match."
|
||||
}
|
||||
},
|
||||
"login": {
|
||||
"title": "Sign in",
|
||||
@@ -678,7 +701,61 @@
|
||||
"setup": {
|
||||
"language": "Staff language",
|
||||
"timezone": "Time zone",
|
||||
"languageHint": "The language of staff screens (each person can choose their own) and of printed tickets and reports."
|
||||
"languageHint": "The language of staff screens (each person can choose their own) and of printed tickets and reports.",
|
||||
"welcome": "Welcome to Xenia POS",
|
||||
"welcomeIntro": "A few steps and your venue is ready.",
|
||||
"plan": {
|
||||
"account": "Your account",
|
||||
"venue": "Your venue",
|
||||
"ready": "Ready to go"
|
||||
},
|
||||
"start": "Start",
|
||||
"stepOf": "Step {{n}} of {{of}}",
|
||||
"back": "Back",
|
||||
"next": "Next",
|
||||
"skip": "Skip",
|
||||
"accountTitle": "Your account",
|
||||
"accountIntro": "The owner's account: it can do everything.",
|
||||
"username": "Username",
|
||||
"fullName": "Full name",
|
||||
"email": "E-mail",
|
||||
"emailHint": "Optional.",
|
||||
"password": "Password",
|
||||
"confirm": "Password again",
|
||||
"venueTitle": "Your venue",
|
||||
"venueIntro": "Pick all that fit; you can change them later.",
|
||||
"kind": "Kind",
|
||||
"kinds": {
|
||||
"restaurant": "Restaurant",
|
||||
"bar": "Bar",
|
||||
"coffee_shop": "Café",
|
||||
"fast_food": "Fast food"
|
||||
},
|
||||
"venueName": "Venue name",
|
||||
"venueNameExample": "e.g. The Golden Fork",
|
||||
"pinTitle": "A PIN for the lock screen",
|
||||
"pinIntro": "Optional: 4 to 6 digits to unlock the dashboard without your password.",
|
||||
"pin": "PIN",
|
||||
"pinAgain": "PIN again",
|
||||
"doneTitle": "All set",
|
||||
"doneIntro": "Your venue is ready. Sign in and add your menu, tables and staff.",
|
||||
"next3": {
|
||||
"menu": "Add your menu and products",
|
||||
"tables": "Set up tables and zones",
|
||||
"staff": "Add your staff"
|
||||
},
|
||||
"finish": "Finish and sign in",
|
||||
"footer": "Xenia POS · first-time setup",
|
||||
"wrong": {
|
||||
"required": "Required.",
|
||||
"spaces": "No spaces.",
|
||||
"email": "This doesn't look like an e-mail address.",
|
||||
"short": "At least 6 characters.",
|
||||
"mismatch": "The two passwords don't match.",
|
||||
"pickOne": "Pick at least one.",
|
||||
"pin": "4 to 6 digits.",
|
||||
"pinMismatch": "The two PINs don't match."
|
||||
}
|
||||
},
|
||||
"fees": {
|
||||
"title": "Delivery areas and fees",
|
||||
@@ -3684,5 +3761,120 @@
|
||||
"deleteYes": "Delete",
|
||||
"deleted": "Deleted",
|
||||
"back": "Back"
|
||||
},
|
||||
"shell": {
|
||||
"where": "You are here",
|
||||
"lock": "Lock the screen",
|
||||
"banner": {
|
||||
"adminLocked": "The system was locked by the administrator. Contact support.",
|
||||
"adminPending": "The administrator will lock the system when the current business day closes.",
|
||||
"clock": "The server's clock went back in time. Fix the server's date and time, or connect it to the internet.",
|
||||
"unverified": "There is no verified license yet. Connect the server to the internet to activate it.",
|
||||
"expired_one": "The license expired {{count}} day ago ({{date}}). Renew it or contact support.",
|
||||
"expired_other": "The license expired {{count}} days ago ({{date}}). Renew it or contact support.",
|
||||
"grace_one": "The license expired on {{date}}. {{left}} grace days are left: renew it to avoid the lock.",
|
||||
"grace_other": "The license expired on {{date}}. {{left}} grace days are left: renew it to avoid the lock.",
|
||||
"expiring_one": "The license ends in {{count}} day ({{date}}). Renew it in time.",
|
||||
"expiring_other": "The license ends in {{count}} days ({{date}}). Renew it in time.",
|
||||
"offline_one": "No contact with the cloud for {{count}} day. Everything works; the license is valid until {{date}}.",
|
||||
"offline_other": "No contact with the cloud for {{count}} days. Everything works; the license is valid until {{date}}.",
|
||||
"connect": "Connect the server to the internet so it can renew."
|
||||
}
|
||||
},
|
||||
"tablesList": {
|
||||
"all": "All",
|
||||
"noZone": "No zone",
|
||||
"zones": "Zones",
|
||||
"counts": "{{tables}} tables · {{zones}} zones",
|
||||
"offCount_one": "{{count}} off",
|
||||
"offCount_other": "{{count}} off",
|
||||
"showOff": "Show the ones off",
|
||||
"pick": "Pick",
|
||||
"picked_one": "{{count}} picked",
|
||||
"picked_other": "{{count}} picked",
|
||||
"pickAll": "Pick all",
|
||||
"unpickAll": "Unpick all",
|
||||
"pickOne": "Pick {{name}}",
|
||||
"moveZone": "Move to a zone",
|
||||
"renameSeries": "Rename in a series",
|
||||
"delete": "Delete",
|
||||
"newZone": "New zone",
|
||||
"newTable": "New table",
|
||||
"editZone": "Edit the zone",
|
||||
"addMany": "Add many",
|
||||
"numbered": "Table {{n}}",
|
||||
"duplicate": "Same name twice",
|
||||
"seats_one": "{{count}} seat",
|
||||
"seats_other": "{{count}} seats",
|
||||
"off": "Off",
|
||||
"hasOrder": "It has an open order",
|
||||
"edit": "Edit {{name}}",
|
||||
"turnOff": "Turn {{name}} off",
|
||||
"turnOn": "Turn {{name}} on",
|
||||
"deleteOne": "Delete {{name}}",
|
||||
"none": "No tables.",
|
||||
"noneActive": "No tables in use.",
|
||||
"saved": "Saved",
|
||||
"added": "Table added",
|
||||
"deleted": "Table deleted",
|
||||
"turnedOff": "Table turned off",
|
||||
"someFailed_one": "{{count}} table couldn't be changed",
|
||||
"someFailed_other": "{{count}} tables couldn't be changed",
|
||||
"moved_one": "{{count}} table moved",
|
||||
"moved_other": "{{count}} tables moved",
|
||||
"renamed_one": "{{count}} table renamed",
|
||||
"renamed_other": "{{count}} tables renamed",
|
||||
"deletedMany_one": "{{count}} table deleted",
|
||||
"deletedMany_other": "{{count}} tables deleted",
|
||||
"offTitle": "Turn {{name}} off?",
|
||||
"offBody": "It is hidden and can't be used. You can turn it on again.",
|
||||
"turnOffYes": "Turn off",
|
||||
"deleteTitle": "Delete {{name}}?",
|
||||
"deleteBody": "It is deleted for good.",
|
||||
"deleteYes": "Delete",
|
||||
"deleteManyTitle_one": "Delete {{count}} table?",
|
||||
"deleteManyTitle_other": "Delete {{count}} tables?",
|
||||
"deleteManyBody": "They are deleted for good (tables with an open order are kept).",
|
||||
"back": "Back",
|
||||
"save": "Save",
|
||||
"add": "Add",
|
||||
"name": "Name",
|
||||
"nameHint": "Up to {{max}} characters (it fits on the phones' cards). Empty: numbered for you.",
|
||||
"nameLong": "Up to {{max}} characters.",
|
||||
"nameExample": "e.g. B3",
|
||||
"zone": "Zone",
|
||||
"seatsLabel": "Seats",
|
||||
"seatsHint": "Optional.",
|
||||
"seatsWrong": "A number from 1 to 99.",
|
||||
"zoneSaved": "Zone saved",
|
||||
"zoneDeleted": "Zone deleted",
|
||||
"zoneDeleteTitle": "Delete the zone {{name}}?",
|
||||
"zoneDeleteBody": "Its tables stay, without a zone.",
|
||||
"zoneName": "Zone name",
|
||||
"zoneNameNeeded": "Enter a name.",
|
||||
"zoneExample": "e.g. Terrace",
|
||||
"prefix": "Prefix",
|
||||
"prefixHint": "Suggested when adding many tables (e.g. T → T-1, T-2…).",
|
||||
"colour": "Colour",
|
||||
"noColour": "No colour",
|
||||
"inZone": "In {{name}}",
|
||||
"batchHint": "Numbered on from the zone's last one.",
|
||||
"howMany": "How many",
|
||||
"addSeries": "Add {{from}} … {{to}}",
|
||||
"addedMany_one": "{{count}} table added",
|
||||
"addedMany_other": "{{count}} tables added",
|
||||
"seriesLong": "The last name would be {{last}}: over {{max}} characters.",
|
||||
"moveTitle_one": "Move {{count}} table",
|
||||
"moveTitle_other": "Move {{count}} tables",
|
||||
"toZone": "To the zone",
|
||||
"move": "Move",
|
||||
"renameTitle_one": "Rename {{count}} table",
|
||||
"renameTitle_other": "Rename {{count}} tables",
|
||||
"renameIntro": "In the order they are listed.",
|
||||
"startAt": "Start at",
|
||||
"renameYes_one": "Rename {{count}} table",
|
||||
"renameYes_other": "Rename {{count}} tables",
|
||||
"andMore_one": "and {{count}} more",
|
||||
"andMore_other": "and {{count}} more"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -259,6 +259,42 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Nav (the manager's navigation rail, plan step 6.14b) ─────────────────
|
||||
* The dark teal side rail of the manager dashboard: its own set, so the rail keeps the
|
||||
* product's colour whatever the venue's accent, and has a dark-mode version (6.15). */
|
||||
:root {
|
||||
--x-nav-bg-rgb: 17 94 89; /* the rail */
|
||||
--x-nav-raised-rgb: 15 118 110; /* hover, an open group */
|
||||
--x-nav-active-rgb: 13 148 136; /* the page you are on */
|
||||
--x-nav-line-rgb: 13 148 136; /* dividers, a group's left line */
|
||||
--x-nav-ink-rgb: 255 255 255; /* text on the rail */
|
||||
--x-nav-ink-2-rgb: 204 251 241; /* items */
|
||||
--x-nav-ink-3-rgb: 153 246 228; /* section titles, sub-items */
|
||||
--x-nav-dot-rgb: 56 189 248; /* the mark next to the open page */
|
||||
--x-nav-bg: rgb(var(--x-nav-bg-rgb));
|
||||
--x-nav-raised: rgb(var(--x-nav-raised-rgb));
|
||||
--x-nav-active: rgb(var(--x-nav-active-rgb));
|
||||
--x-nav-line: rgb(var(--x-nav-line-rgb));
|
||||
--x-nav-ink: rgb(var(--x-nav-ink-rgb));
|
||||
--x-nav-ink-2: rgb(var(--x-nav-ink-2-rgb));
|
||||
--x-nav-ink-3: rgb(var(--x-nav-ink-3-rgb));
|
||||
--x-nav-dot: rgb(var(--x-nav-dot-rgb));
|
||||
}
|
||||
[data-theme="dark"] {
|
||||
--x-nav-bg-rgb: 4 47 46;
|
||||
--x-nav-raised-rgb: 17 94 89;
|
||||
--x-nav-active-rgb: 15 118 110;
|
||||
--x-nav-line-rgb: 19 78 74;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
[data-theme="system"] {
|
||||
--x-nav-bg-rgb: 4 47 46;
|
||||
--x-nav-raised-rgb: 17 94 89;
|
||||
--x-nav-active-rgb: 15 118 110;
|
||||
--x-nav-line-rgb: 19 78 74;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Board (the kitchen display's design language, plan step 3.2b-2) ───────
|
||||
* A dark board with light cards, for screens read from a distance (kitchen, bar,
|
||||
* and any later "board" screen). Always dark: it doesn't follow data-theme; the
|
||||
|
||||
@@ -24,6 +24,7 @@ export default {
|
||||
extend: {
|
||||
colors: {
|
||||
canvas: c('canvas'),
|
||||
scrim: c('scrim'), // behind dialogs and the lock screen (6.14b)
|
||||
surface: { DEFAULT: c('surface'), 2: c('surface-2'), 3: c('surface-3') },
|
||||
line: { DEFAULT: c('line'), strong: c('line-strong') },
|
||||
ink: { DEFAULT: c('ink'), 2: c('ink-2'), 3: c('ink-3') },
|
||||
@@ -34,6 +35,8 @@ export default {
|
||||
info: tone('info'),
|
||||
// the board design language (kitchen display): bg-board-bg, text-board-ink-2, bg-board-late…
|
||||
board: Object.fromEntries(BOARD.map(n => [n, c(`board-${n}`)])),
|
||||
// the manager's navigation rail (6.14b): bg-nav-bg, text-nav-ink-2, bg-nav-active…
|
||||
nav: Object.fromEntries(['bg', 'raised', 'active', 'line', 'ink', 'ink-2', 'ink-3', 'dot'].map(n => [n, c(`nav-${n}`)])),
|
||||
},
|
||||
fontSize: {
|
||||
caption: ['var(--x-text-caption)', { lineHeight: 'var(--x-leading-caption)' }],
|
||||
|
||||
Reference in New Issue
Block a user