Platform-v2 step 2.6a: - shell/nav.js: one nav definition (module + key per page) read by the sidebar, the page titles and a RouteGuard around the layout outlet (and /kds): a module that's off hides its items and its routes say "turned off"; a missing key hides the item and the route says "no access". Same keys as before (v1 permission names mapped), plus the module check - labels/breadcrumbs are keys in a new i18n namespace `manager` (en + el) - removed the browser-only feature toggles (usePhase2Features, Settings -> Λειτουργίες, F-033), PermissionGuard and usePermissions - profile menu: language, saved to the profile (PATCH /api/auth/me) and bootstrap reloaded - e2e manager.mjs: module off/on, no-key user, language switch live + saved Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 lines
1.6 KiB
JSON
51 lines
1.6 KiB
JSON
{
|
|
"nav": {
|
|
"sections": {
|
|
"operation": "Λειτουργία",
|
|
"financial": "Οικονομικά",
|
|
"headquarters": "Διοίκηση",
|
|
"overwatch": "Εποπτεία"
|
|
},
|
|
"dashboard": "Εικόνα",
|
|
"tables": "Τραπέζια",
|
|
"onlineOrders": "Online παραγγελίες",
|
|
"crm": "CRM",
|
|
"contacts": "Επαφές",
|
|
"customers": "Πελάτες",
|
|
"finance": "Οικονομικά",
|
|
"expenses": "Έξοδα",
|
|
"tabs": "Καρτέλες πελατών",
|
|
"management": "Διαχείριση",
|
|
"products": "Προϊόντα",
|
|
"tablesConfig": "Τραπέζια",
|
|
"staff": "Προσωπικό",
|
|
"schedule": "Πρόγραμμα",
|
|
"prepZones": "Ζώνες ετοιμασίας",
|
|
"pricing": "Προσφορές & τιμές",
|
|
"notes": "Σημειώσεις",
|
|
"inventory": "Αποθήκη",
|
|
"waste": "Απορρίμματα",
|
|
"stock": "Απόθεμα",
|
|
"reports": "Αναφορές",
|
|
"reportsToday": "Σήμερα",
|
|
"reportsStore": "Κατάστημα",
|
|
"reportsStaff": "Προσωπικό",
|
|
"reportsProducts": "Προϊόντα",
|
|
"reportsPrepZones": "Ζώνες ετοιμασίας",
|
|
"reportsExpenses": "Έξοδα",
|
|
"reportsTechnical": "Τεχνικά",
|
|
"reportsMisc": "Λοιπά",
|
|
"apps": "Εφαρμογές",
|
|
"phone": "Τηλέφωνο",
|
|
"settings": "Ρυθμίσεις",
|
|
"order": "Παραγγελία",
|
|
"kds": "Οθόνη κουζίνας",
|
|
"soon": "σύντομα"
|
|
},
|
|
"profile": {
|
|
"edit": "Επεξεργασία προφίλ",
|
|
"signOut": "Αποσύνδεση",
|
|
"language": "Γλώσσα"
|
|
}
|
|
}
|