feat(Navigation, UserRights, Localization): add worker schedules feature and enhance access control

- Updated navigation structure to include a new section for worker schedules, accessible to specific user roles.
- Introduced a new user right type for 'worker_schedule_read' to manage access permissions effectively.
- Added localization entries for worker schedules in multiple languages, ensuring consistent user experience across the application.
- Created a new route and component for managing worker schedules in the admin panel.
This commit is contained in:
Torsten Schulz (local)
2026-05-08 08:54:17 +02:00
parent 3135698ae0
commit 2537b4f968
21 changed files with 354 additions and 11 deletions

View File

@@ -329,6 +329,25 @@
"timeRemainingMinutes": "Nahibilin nga oras: {minutes} ka minuto {seconds} ka segundo",
"almostDone": "Hapit na …",
"jobNotFound": "Wala makit-i ang trabaho o na-expire na."
},
"workerSchedules": {
"title": "Mga dagan sa daemon",
"description": "Kinatibuk-ang tan-aw sa naka-iskedyul nga dagan sa worker gikan sa daemon registry.",
"accessDenied": "Walay access ani nga view.",
"detailed": "Detalyadong tan-aw",
"autoRefresh": "Auto-refresh",
"refresh": "I-refresh",
"generatedAt": "Nabuhat sa",
"empty": "Walay schedules nga anaa.",
"notConnected": "Walay daemon connection.",
"sendError": "Napakyas ang request sa daemon.",
"responseError": "Dili maproseso ang tubag sa daemon.",
"currentStep": "Karon nga lakang",
"task": "Task",
"cadence": "Interbal",
"nextRun": "Pinakataas nga sunod nga dagan",
"remaining": "Nahibilin",
"noTasks": "Walay tasks para ani nga worker."
}
},
"chatrooms": {

View File

@@ -187,7 +187,8 @@
"adminCreateNpc": "Paghimo og NPC",
"adminMinigames": "Pagdumala sa Match3",
"adminTaxiTools": "Mga himan sa taxi",
"adminServicesStatus": "Status sa serbisyo"
"adminServicesStatus": "Status sa serbisyo",
"adminWorkerSchedules": "Mga dagan sa daemon"
}
}
}

View File

@@ -85,7 +85,8 @@
"edituser": "Usba ang user",
"database": "Database",
"mapEditor": "Editor sa mapa",
"createNPC": "Paghimo og NPC"
"createNPC": "Paghimo og NPC",
"workerSchedules": "Mga dagan sa daemon"
},
"minigames": "Mga minidula",
"m-minigames": {