feat: foundations for the manager conversion (platform-v2 step 6.1)
- Backend: every HTTPException in routers/ is an error code now (260 raises, ~105 new codes, texts in en + el); XeniaError(detail=...) keeps the three v1-shaped answers old pages read; bad / unknown tokens answer auth.session_ended; test_errors refuses new HTTPExceptions. - Manager: v2.json is the list of pages on the v2 rules: scripts/lint.mjs lints them, tests/v2-guards.test.mjs refuses Greek and colour literals, `strict` paths make set-state-in-effect an error. - src/live/useLiveQuery.js (react-query + live events + refresh on reconnect); Signed in now uses it. - Dead manager files removed (3.1k lines unreachable from main.jsx). - Tests: backend 544 passed, manager unit 33, run-all (no Android) passed (manager's live bell check passed on a rerun). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,8 @@
|
||||
"license": {
|
||||
"limit_reached": "Φτάσατε το όριο της άδειας για {{module}} {{limit}} ({{max}}).",
|
||||
"expired": "Η άδεια έχει λήξει.",
|
||||
"history_limited": "Με αυτή την άδεια φαίνονται μόνο οι τελευταίες {{days}} ημέρες ({{module}})."
|
||||
"history_limited": "Με αυτή την άδεια φαίνονται μόνο οι τελευταίες {{days}} ημέρες ({{module}}).",
|
||||
"locked": "Το σύστημα κλειδώθηκε από τον διαχειριστή. Επικοινωνήστε με την υποστήριξη."
|
||||
},
|
||||
"auth": {
|
||||
"invalid_credentials": "Λάθος όνομα χρήστη ή κωδικός.",
|
||||
@@ -36,7 +37,12 @@
|
||||
"support_not_configured": "Η πρόσβαση υποστήριξης δεν έχει ρυθμιστεί σε αυτό το κατάστημα.",
|
||||
"support_code_invalid": "Ο κωδικός υποστήριξης είναι λάθος ή έχει λήξει. Ζητήστε νέο κωδικό πρόκλησης.",
|
||||
"support_rate_limited": "Πολλές αιτήσεις υποστήριξης. Περιμένετε λίγα λεπτά και δοκιμάστε ξανά.",
|
||||
"wrong_pin": "Λάθος PIN. Απομένουν {{attempts_left}} προσπάθειες πριν αποσυνδεθείτε."
|
||||
"wrong_pin": "Λάθος PIN. Απομένουν {{attempts_left}} προσπάθειες πριν αποσυνδεθείτε.",
|
||||
"password_current_required": "Πληκτρολογήστε τον τρέχοντα κωδικό για να ορίσετε νέο.",
|
||||
"no_password": "Αυτός ο λογαριασμός δεν έχει ακόμη κωδικό.",
|
||||
"password_wrong": "Ο τρέχων κωδικός είναι λάθος.",
|
||||
"password_too_short": "Ο κωδικός πρέπει να έχει τουλάχιστον {{min}} χαρακτήρες.",
|
||||
"pin_too_short": "Το PIN πρέπει να έχει τουλάχιστον {{min}} ψηφία."
|
||||
},
|
||||
"device": {
|
||||
"revoked": "Αυτή η συσκευή αφαιρέθηκε. Κάντε ξανά σύζευξη.",
|
||||
@@ -55,7 +61,13 @@
|
||||
"unknown_language": "Μη υποστηριζόμενη γλώσσα: {{language}}.",
|
||||
"unknown_timezone": "Άγνωστη ζώνη ώρας: {{timezone}}.",
|
||||
"setting_value": "Η ρύθμιση {{key}} δεν μπορεί να πάρει την τιμή «{{value}}».",
|
||||
"device_config": "Αυτή η ρύθμιση συσκευής δεν είναι έγκυρη: {{key}}."
|
||||
"device_config": "Αυτή η ρύθμιση συσκευής δεν είναι έγκυρη: {{key}}.",
|
||||
"datetime": "Αυτή η ημερομηνία ή ώρα δεν είναι έγκυρη.",
|
||||
"choice": "Το {{field}} δεν μπορεί να είναι {{value}}.",
|
||||
"range": "Το {{field}} πρέπει να είναι από {{min}} έως {{max}}.",
|
||||
"positive": "Το {{field}} πρέπει να είναι πάνω από μηδέν.",
|
||||
"missing": "Το {{field}} χρειάζεται.",
|
||||
"lan_ip": "Δώστε διεύθυνση IPv4 τοπικού δικτύου (π.χ. 192.168.1.50 ή 10.0.0.5)."
|
||||
},
|
||||
"internal": {
|
||||
"error": "Κάτι πήγε στραβά στον διακομιστή (αίτημα {{request_id}})."
|
||||
@@ -72,14 +84,38 @@
|
||||
"price": "«{{name}}»: αυτή η αλλαγή τιμής δεν επιτρέπεται (γραμμή {{line}}).",
|
||||
"client_price": "«{{name}}»: η εφαρμογή έστειλε δικές της τιμές, ενώ οι τιμές έρχονται από τον server (γραμμή {{line}}). Ενημερώστε την εφαρμογή."
|
||||
},
|
||||
"items_not_combinable": "Αυτές οι γραμμές δεν συνδυάζονται: μόνο απλήρωτες γραμμές του ίδιου είδους, με ίδιες επιλογές, σημείωση, τιμή και κατάσταση κουζίνας, χωρίς έκπτωση, προσφορά ή καρτέλα."
|
||||
"items_not_combinable": "Αυτές οι γραμμές δεν συνδυάζονται: μόνο απλήρωτες γραμμές του ίδιου είδους, με ίδιες επιλογές, σημείωση, τιμή και κατάσταση κουζίνας, χωρίς έκπτωση, προσφορά ή καρτέλα.",
|
||||
"not_yours": "Αυτή η παραγγελία δεν είναι στα τραπέζια σας.",
|
||||
"not_open": "Αυτή η παραγγελία δεν είναι πια ανοιχτή.",
|
||||
"item_not_found": "Αυτό το είδος δεν είναι πια στην παραγγελία.",
|
||||
"item_paid": "Αυτό το είδος έχει ήδη πληρωθεί.",
|
||||
"item_not_active": "Αλλάζουν μόνο είδη που είναι ακόμη στην παραγγελία.",
|
||||
"nothing_paid": "Δεν υπάρχουν πληρωμένα είδη για αναίρεση.",
|
||||
"cannot_close": "Αυτή η παραγγελία δεν κλείνει τώρα ({{status}}).",
|
||||
"no_active_items": "Κανένα από αυτά τα είδη δεν είναι πια στην παραγγελία.",
|
||||
"waiter_assigned": "Αυτός ο σερβιτόρος είναι ήδη στην παραγγελία.",
|
||||
"assignment_not_found": "Αυτός ο σερβιτόρος δεν είναι στην παραγγελία.",
|
||||
"same_table": "Η παραγγελία είναι ήδη σε αυτό το τραπέζι.",
|
||||
"same_order": "Μια παραγγελία δεν ενώνεται με τον εαυτό της.",
|
||||
"target_not_found": "Η άλλη παραγγελία δεν υπάρχει πια.",
|
||||
"split_quantity": "Χωρίστε σε 1 έως {{max}} τεμάχια.",
|
||||
"discounts_off": "Οι εκπτώσεις είναι απενεργοποιημένες σε αυτό το κατάστημα.",
|
||||
"no_customer": "Ορίστε πρώτα πελάτη στην παραγγελία.",
|
||||
"item_not_tabbable": "Αυτό το είδος είναι ήδη {{status}}: δεν μπαίνει σε καρτέλα.",
|
||||
"product_unavailable": "Το προϊόν {{product_id}} δεν είναι διαθέσιμο."
|
||||
},
|
||||
"notification": {
|
||||
"not_found": "Η ειδοποίηση {{notification_id}} δεν βρέθηκε."
|
||||
},
|
||||
"catalog": {
|
||||
"unknown_category": "Δεν υπάρχει η κατηγορία {{category_id}}.",
|
||||
"primary_not_listed": "Η κύρια κατηγορία ({{category_id}}) πρέπει να είναι μία από τις κατηγορίες του προϊόντος."
|
||||
"primary_not_listed": "Η κύρια κατηγορία ({{category_id}}) πρέπει να είναι μία από τις κατηγορίες του προϊόντος.",
|
||||
"category_not_found": "Η κατηγορία δεν βρέθηκε.",
|
||||
"parent_not_found": "Η γονική κατηγορία δεν υπάρχει.",
|
||||
"nest_has_children": "Κατηγορία με υποκατηγορίες δεν μπαίνει κάτω από άλλη.",
|
||||
"too_deep": "Οι κατηγορίες έχουν το πολύ δύο επίπεδα.",
|
||||
"own_parent": "Μια κατηγορία δεν μπορεί να είναι γονέας του εαυτού της.",
|
||||
"group_not_found": "Η ομάδα επιλογών δεν βρέθηκε."
|
||||
},
|
||||
"system": {
|
||||
"log_not_found": "Δεν υπάρχει αρχείο καταγραφής για {{date}}."
|
||||
@@ -153,5 +189,130 @@
|
||||
"menu_tablet": {
|
||||
"no_table": "Αυτό το tablet δεν είναι σε τραπέζι, οπότε δεν καλεί σερβιτόρο.",
|
||||
"call_too_soon": "Μόλις κλήθηκε σερβιτόρος. Δοκιμάστε ξανά σε {{seconds}} δευτερόλεπτα."
|
||||
},
|
||||
"settings": {
|
||||
"invalid_json": "Οι ρυθμίσεις πρέπει να είναι έγκυρο JSON.",
|
||||
"unknown_key": "Δεν υπάρχει ρύθμιση {{key}}."
|
||||
},
|
||||
"business_day": {
|
||||
"already_open": "Υπάρχει ήδη ανοιχτή εργάσιμη μέρα.",
|
||||
"none_open": "Δεν υπάρχει ανοιχτή εργάσιμη μέρα.",
|
||||
"closed": "Το κατάστημα δεν είναι ανοιχτό: ένας διαχειριστής πρέπει πρώτα να ανοίξει την εργάσιμη μέρα.",
|
||||
"orders_open": "{{open_orders}} τραπέζια ακόμη ανοιχτά, {{partially_paid}} με απλήρωτα είδη.",
|
||||
"not_found": "Η εργάσιμη μέρα δεν βρέθηκε.",
|
||||
"not_closed": "Μόνο κλεισμένη εργάσιμη μέρα διορθώνεται.",
|
||||
"close_in_future": "Η ώρα κλεισίματος δεν μπορεί να είναι στο μέλλον.",
|
||||
"close_before_last_order": "Η ώρα κλεισίματος δεν μπορεί να είναι πριν το κλείσιμο της τελευταίας παραγγελίας ({{time}}).",
|
||||
"delete_open": "Ανοιχτή εργάσιμη μέρα δεν διαγράφεται. Κλείστε την πρώτα.",
|
||||
"has_shifts": "Αυτή η εργάσιμη μέρα έχει {{count}} βάρδια/ες. Διαγράψτε τες πρώτα."
|
||||
},
|
||||
"chat": {
|
||||
"not_found": "Η συνομιλία δεν βρέθηκε.",
|
||||
"not_participant": "Δεν συμμετέχετε σε αυτή τη συνομιλία.",
|
||||
"empty_message": "Το μήνυμα είναι κενό.",
|
||||
"system_group": "Δεν μπορείτε να φύγετε από την ομάδα του προσωπικού.",
|
||||
"leave_direct": "Από προσωπική συνομιλία δεν γίνεται αποχώρηση.",
|
||||
"direct_two": "Μια προσωπική συνομιλία έχει ακριβώς δύο άτομα.",
|
||||
"group_name": "Μια ομαδική συνομιλία χρειάζεται όνομα."
|
||||
},
|
||||
"customer": {
|
||||
"not_found": "Ο πελάτης δεν βρέθηκε."
|
||||
},
|
||||
"transfer": {
|
||||
"wrong_type": "Αυτό το αρχείο δεν είναι εξαγωγή {{expected}}.",
|
||||
"version": "Η έκδοση αυτής της εξαγωγής δεν υποστηρίζεται."
|
||||
},
|
||||
"contact": {
|
||||
"not_found": "Η επαφή δεν βρέθηκε."
|
||||
},
|
||||
"expense": {
|
||||
"not_found": "Το έξοδο δεν βρέθηκε."
|
||||
},
|
||||
"flag": {
|
||||
"not_found": "Η σήμανση δεν βρέθηκε.",
|
||||
"in_use": "Η σήμανση είναι σε {{count}} τραπέζι(α). Αφαιρέστε την πρώτα από εκεί.",
|
||||
"invalid_ids": "Κάποιες από αυτές τις σημάνσεις δεν υπάρχουν."
|
||||
},
|
||||
"staff_message": {
|
||||
"template_not_found": "Το πρότυπο μηνύματος δεν βρέθηκε.",
|
||||
"not_found": "Το μήνυμα δεν βρέθηκε."
|
||||
},
|
||||
"note": {
|
||||
"not_found": "Η σημείωση δεν βρέθηκε."
|
||||
},
|
||||
"todo": {
|
||||
"not_found": "Η εργασία δεν βρέθηκε."
|
||||
},
|
||||
"printer": {
|
||||
"not_found": "Ο εκτυπωτής δεν υπάρχει ή είναι απενεργοποιημένος."
|
||||
},
|
||||
"print_job": {
|
||||
"not_found": "Αυτή η εκτύπωση δεν υπάρχει πια.",
|
||||
"not_pending": "Ακυρώνονται μόνο εκτυπώσεις που περιμένουν ακόμη."
|
||||
},
|
||||
"table": {
|
||||
"not_found": "Το τραπέζι δεν βρέθηκε.",
|
||||
"busy": "Αυτό το τραπέζι έχει ήδη ανοιχτή παραγγελία.",
|
||||
"has_order": "Τραπέζι με ανοιχτή παραγγελία δεν διαγράφεται ούτε απενεργοποιείται.",
|
||||
"name_too_long": "Τα ονόματα των τραπεζιών θα ήταν πολύ μεγάλα ({{name}}: έως {{max}} χαρακτήρες). Μικρύνετε το πρόθεμα ή φτιάξτε λιγότερα."
|
||||
},
|
||||
"table_group": {
|
||||
"name_taken": "Υπάρχει ήδη ομάδα με αυτό το όνομα.",
|
||||
"not_found": "Η ομάδα τραπεζιών δεν βρέθηκε."
|
||||
},
|
||||
"prep_zone": {
|
||||
"not_found": "Η ζώνη προετοιμασίας δεν βρέθηκε."
|
||||
},
|
||||
"price_group": {
|
||||
"not_found": "Η ομάδα τιμών δεν βρέθηκε."
|
||||
},
|
||||
"modifier": {
|
||||
"not_found": "Ο κανόνας τιμής δεν βρέθηκε."
|
||||
},
|
||||
"deal": {
|
||||
"not_found": "Η προσφορά δεν βρέθηκε."
|
||||
},
|
||||
"product": {
|
||||
"not_found": "Το προϊόν δεν βρέθηκε.",
|
||||
"in_past_orders": "Αυτό το προϊόν υπάρχει σε παλιές παραγγελίες, οπότε δεν διαγράφεται. Αρχειοθετήστε το."
|
||||
},
|
||||
"staff": {
|
||||
"not_found": "Το μέλος του προσωπικού δεν βρέθηκε.",
|
||||
"username_taken": "Αυτό το όνομα χρήστη υπάρχει ήδη.",
|
||||
"superadmin_protected": "Λογαριασμός superadmin δεν αλλάζει.",
|
||||
"superadmin_only": "Μόνο ένας superadmin δίνει τον ρόλο superadmin.",
|
||||
"role_invalid": "Δεν υπάρχει ρόλος {{role}}.",
|
||||
"avatar_type": "Η φωτογραφία πρέπει να είναι αρχείο εικόνας.",
|
||||
"assignment_exists": "Αυτή η ανάθεση υπάρχει ήδη.",
|
||||
"assignment_not_found": "Η ανάθεση δεν βρέθηκε."
|
||||
},
|
||||
"schedule": {
|
||||
"shift_not_found": "Η προγραμματισμένη βάρδια δεν βρέθηκε."
|
||||
},
|
||||
"setup": {
|
||||
"done": "Η αρχική ρύθμιση έχει γίνει: υπάρχει ήδη λογαριασμός διαχειριστή."
|
||||
},
|
||||
"shift": {
|
||||
"already_active": "Αυτό το άτομο έχει ήδη βάρδια σε εξέλιξη.",
|
||||
"start_needs_manager": "Η έναρξη βάρδιας χρειάζεται έγκριση διαχειριστή.",
|
||||
"end_needs_manager": "Η λήξη βάρδιας χρειάζεται έγκριση διαχειριστή.",
|
||||
"others_need_manager": "Μόνο οι διαχειριστές ξεκινούν βάρδιες για άλλους.",
|
||||
"none_active": "Δεν υπάρχει βάρδια σε εξέλιξη.",
|
||||
"not_found": "Η βάρδια δεν βρέθηκε.",
|
||||
"not_yours": "Αυτή η βάρδια είναι άλλου.",
|
||||
"ended": "Αυτή η βάρδια έχει ήδη τελειώσει.",
|
||||
"on_break": "Υπάρχει ήδη διάλειμμα σε εξέλιξη.",
|
||||
"no_break": "Δεν υπάρχει διάλειμμα σε εξέλιξη.",
|
||||
"delete_active": "Βάρδια σε εξέλιξη δεν διαγράφεται. Τερματίστε την πρώτα."
|
||||
},
|
||||
"tab": {
|
||||
"not_found": "Η καρτέλα δεν βρέθηκε.",
|
||||
"already_open": "Ο πελάτης έχει ήδη ανοιχτή καρτέλα.",
|
||||
"over_balance": "Αυτό είναι πάνω από το υπόλοιπο ({{balance}}).",
|
||||
"has_balance": "Η καρτέλα χρωστάει ακόμη {{balance}}. Εξοφλήστε ή χαρίστε την πρώτα."
|
||||
},
|
||||
"waste": {
|
||||
"not_found": "Η καταχώριση απόρριψης δεν βρέθηκε.",
|
||||
"not_today": "Διαγράφονται μόνο απορρίψεις της ανοιχτής εργάσιμης μέρας."
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
"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}})."
|
||||
"history_limited": "This license shows only the last {{days}} days of history ({{module}}).",
|
||||
"locked": "The system was locked by the administrator. Contact support."
|
||||
},
|
||||
"auth": {
|
||||
"invalid_credentials": "Wrong username or password.",
|
||||
@@ -36,7 +37,12 @@
|
||||
"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."
|
||||
"wrong_pin": "Wrong PIN. {{attempts_left}} tries left before you are signed out.",
|
||||
"password_current_required": "Enter your current password to set a new one.",
|
||||
"no_password": "This account has no password yet.",
|
||||
"password_wrong": "The current password is wrong.",
|
||||
"password_too_short": "The password must be at least {{min}} characters long.",
|
||||
"pin_too_short": "The PIN must be at least {{min}} digits long."
|
||||
},
|
||||
"device": {
|
||||
"revoked": "This device was removed. Pair it again.",
|
||||
@@ -55,7 +61,13 @@
|
||||
"unknown_language": "Unsupported language: {{language}}.",
|
||||
"unknown_timezone": "Unknown time zone: {{timezone}}.",
|
||||
"setting_value": "{{key}} can't be set to \"{{value}}\".",
|
||||
"device_config": "This device setting is not valid: {{key}}."
|
||||
"device_config": "This device setting is not valid: {{key}}.",
|
||||
"datetime": "That date or time isn't valid.",
|
||||
"choice": "{{field}} can't be {{value}}.",
|
||||
"range": "{{field}} must be between {{min}} and {{max}}.",
|
||||
"positive": "{{field}} must be more than zero.",
|
||||
"missing": "{{field}} is required.",
|
||||
"lan_ip": "Enter a local network IPv4 address (e.g. 192.168.1.50 or 10.0.0.5)."
|
||||
},
|
||||
"internal": {
|
||||
"error": "Something went wrong on the server (request {{request_id}})."
|
||||
@@ -72,14 +84,38 @@
|
||||
"price": "{{name}}: that price change isn't allowed (line {{line}}).",
|
||||
"client_price": "{{name}}: the app sent its own prices, but prices come from the server (line {{line}}). Update the app."
|
||||
},
|
||||
"items_not_combinable": "These lines can't be combined: only unpaid lines of the same item, with the same choices, note, price and kitchen state, and no discount, deal or tab."
|
||||
"items_not_combinable": "These lines can't be combined: only unpaid lines of the same item, with the same choices, note, price and kitchen state, and no discount, deal or tab.",
|
||||
"not_yours": "This order isn't one of your tables.",
|
||||
"not_open": "This order isn't open any more.",
|
||||
"item_not_found": "That item isn't on the order any more.",
|
||||
"item_paid": "This item is already paid.",
|
||||
"item_not_active": "Only items still on the order can be changed.",
|
||||
"nothing_paid": "There are no paid items to undo.",
|
||||
"cannot_close": "This order can't be closed now ({{status}}).",
|
||||
"no_active_items": "None of these items are on the order any more.",
|
||||
"waiter_assigned": "That waiter is already on this order.",
|
||||
"assignment_not_found": "That waiter isn't on this order.",
|
||||
"same_table": "The order is already on that table.",
|
||||
"same_order": "An order can't be joined with itself.",
|
||||
"target_not_found": "The other order isn't there any more.",
|
||||
"split_quantity": "Split into 1 to {{max}} pieces.",
|
||||
"discounts_off": "Discounts are turned off for this venue.",
|
||||
"no_customer": "Give the order a customer first.",
|
||||
"item_not_tabbable": "This item is already {{status}}: it can't go on a tab.",
|
||||
"product_unavailable": "Product {{product_id}} isn't available."
|
||||
},
|
||||
"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."
|
||||
"primary_not_listed": "The main category ({{category_id}}) must be one of the product's categories.",
|
||||
"category_not_found": "Category not found.",
|
||||
"parent_not_found": "The parent category doesn't exist.",
|
||||
"nest_has_children": "A category with sub-categories can't go under another one.",
|
||||
"too_deep": "Categories go at most two levels deep.",
|
||||
"own_parent": "A category can't be its own parent.",
|
||||
"group_not_found": "Option group not found."
|
||||
},
|
||||
"system": {
|
||||
"log_not_found": "There is no log file for {{date}}."
|
||||
@@ -153,5 +189,130 @@
|
||||
"menu_tablet": {
|
||||
"no_table": "This tablet isn't at a table, so it can't call a waiter.",
|
||||
"call_too_soon": "A waiter was just called. Try again in {{seconds}} seconds."
|
||||
},
|
||||
"settings": {
|
||||
"invalid_json": "The settings must be valid JSON.",
|
||||
"unknown_key": "There is no setting {{key}}."
|
||||
},
|
||||
"business_day": {
|
||||
"already_open": "A business day is already open.",
|
||||
"none_open": "No business day is open.",
|
||||
"closed": "The venue isn't open: a manager must open the business day first.",
|
||||
"orders_open": "{{open_orders}} table(s) still open, {{partially_paid}} with unpaid items.",
|
||||
"not_found": "Business day not found.",
|
||||
"not_closed": "Only a closed business day can be edited.",
|
||||
"close_in_future": "The closing time can't be in the future.",
|
||||
"close_before_last_order": "The closing time can't be earlier than the last order's close ({{time}}).",
|
||||
"delete_open": "An open business day can't be deleted. Close it first.",
|
||||
"has_shifts": "This business day has {{count}} shift(s). Delete those first."
|
||||
},
|
||||
"chat": {
|
||||
"not_found": "Conversation not found.",
|
||||
"not_participant": "You're not in this conversation.",
|
||||
"empty_message": "The message is empty.",
|
||||
"system_group": "You can't leave the staff group.",
|
||||
"leave_direct": "A one-to-one conversation can't be left.",
|
||||
"direct_two": "A one-to-one conversation has exactly two people.",
|
||||
"group_name": "A group conversation needs a name."
|
||||
},
|
||||
"customer": {
|
||||
"not_found": "Customer not found."
|
||||
},
|
||||
"transfer": {
|
||||
"wrong_type": "This file isn't a {{expected}} export.",
|
||||
"version": "This export's version isn't supported."
|
||||
},
|
||||
"contact": {
|
||||
"not_found": "Contact not found."
|
||||
},
|
||||
"expense": {
|
||||
"not_found": "Expense not found."
|
||||
},
|
||||
"flag": {
|
||||
"not_found": "Mark not found.",
|
||||
"in_use": "This mark is on {{count}} table(s). Remove it there first.",
|
||||
"invalid_ids": "Some of these marks don't exist."
|
||||
},
|
||||
"staff_message": {
|
||||
"template_not_found": "Message template not found.",
|
||||
"not_found": "Message not found."
|
||||
},
|
||||
"note": {
|
||||
"not_found": "Note not found."
|
||||
},
|
||||
"todo": {
|
||||
"not_found": "To-do not found."
|
||||
},
|
||||
"printer": {
|
||||
"not_found": "That printer isn't there or is turned off."
|
||||
},
|
||||
"print_job": {
|
||||
"not_found": "That print job isn't there any more.",
|
||||
"not_pending": "Only tickets still waiting to print can be cancelled."
|
||||
},
|
||||
"table": {
|
||||
"not_found": "Table not found.",
|
||||
"busy": "That table already has an open order.",
|
||||
"has_order": "A table with an open order can't be deleted or turned off.",
|
||||
"name_too_long": "The table names would be too long ({{name}}: at most {{max}} characters). Shorten the prefix or make fewer."
|
||||
},
|
||||
"table_group": {
|
||||
"name_taken": "There is already a group with that name.",
|
||||
"not_found": "Table group not found."
|
||||
},
|
||||
"prep_zone": {
|
||||
"not_found": "Prep zone not found."
|
||||
},
|
||||
"price_group": {
|
||||
"not_found": "Price group not found."
|
||||
},
|
||||
"modifier": {
|
||||
"not_found": "Price rule not found."
|
||||
},
|
||||
"deal": {
|
||||
"not_found": "Deal not found."
|
||||
},
|
||||
"product": {
|
||||
"not_found": "Product not found.",
|
||||
"in_past_orders": "This product is in past orders, so it can't be deleted. Archive it instead."
|
||||
},
|
||||
"staff": {
|
||||
"not_found": "Staff member not found.",
|
||||
"username_taken": "That username is already taken.",
|
||||
"superadmin_protected": "A superadmin account can't be changed.",
|
||||
"superadmin_only": "Only a superadmin can give the superadmin role.",
|
||||
"role_invalid": "There is no role {{role}}.",
|
||||
"avatar_type": "The photo must be a picture file.",
|
||||
"assignment_exists": "That assignment already exists.",
|
||||
"assignment_not_found": "Assignment not found."
|
||||
},
|
||||
"schedule": {
|
||||
"shift_not_found": "Scheduled shift not found."
|
||||
},
|
||||
"setup": {
|
||||
"done": "Setup is already done: a manager account exists."
|
||||
},
|
||||
"shift": {
|
||||
"already_active": "This person already has a shift going.",
|
||||
"start_needs_manager": "Starting the shift needs a manager's approval.",
|
||||
"end_needs_manager": "Ending the shift needs a manager's approval.",
|
||||
"others_need_manager": "Only managers can start shifts for other staff.",
|
||||
"none_active": "No shift is going.",
|
||||
"not_found": "Shift not found.",
|
||||
"not_yours": "This shift belongs to someone else.",
|
||||
"ended": "This shift has already ended.",
|
||||
"on_break": "A break is already going.",
|
||||
"no_break": "No break is going.",
|
||||
"delete_active": "A shift that is still going can't be deleted. End it first."
|
||||
},
|
||||
"tab": {
|
||||
"not_found": "Tab not found.",
|
||||
"already_open": "This customer already has an open tab.",
|
||||
"over_balance": "That's more than the balance ({{balance}}).",
|
||||
"has_balance": "The tab still owes {{balance}}. Pay it or forgive it first."
|
||||
},
|
||||
"waste": {
|
||||
"not_found": "Throwaway entry not found.",
|
||||
"not_today": "Only throwaways of the open business day can be deleted."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user