Implement task deletion functionality in TaskCard component
- Added context menu for task deletion with confirmation modal. - Integrated localization for delete task prompts in multiple languages. - Updated TaskCard to handle task deletion logic, including dispatching actions to update the state and emit socket events for task progress.
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
"deleteConfirmationOk": "Sim",
|
||||
"deleteConfirmationCancel": "Cancelar",
|
||||
|
||||
"deleteTaskTitle": "Excluir Tarefa",
|
||||
"deleteTaskContent": "Tem certeza de que deseja excluir esta tarefa? Esta ação não pode ser desfeita.",
|
||||
"deleteTaskConfirm": "Excluir",
|
||||
"deleteTaskCancel": "Cancelar",
|
||||
|
||||
"dueDate": "Data de vencimento",
|
||||
"cancel": "Cancelar",
|
||||
|
||||
|
||||
Reference in New Issue
Block a user