diff options
Diffstat (limited to 'todo/gui/tasks/dialog.py')
-rw-r--r-- | todo/gui/tasks/dialog.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/todo/gui/tasks/dialog.py b/todo/gui/tasks/dialog.py index 2bed6af..9cfa2be 100644 --- a/todo/gui/tasks/dialog.py +++ b/todo/gui/tasks/dialog.py @@ -14,7 +14,7 @@ def add(parent_widget, status: Status, add_task_signal): task = todo.service.tasks.create(todo.database.cursor(), status, task_form) add_task_signal.emit(task, task_form.tags) - return widget(parent_widget, "Add a task", "add", None, [], on_add) + return widget(parent_widget, "Ajouter une tâche", "ajouter", None, [], on_add) def update(parent_widget, update_task_signal, row: int, task: Task, tags: List[int]): @@ -22,13 +22,13 @@ def update(parent_widget, update_task_signal, row: int, task: Task, tags: List[i updated_task = todo.service.tasks.update(todo.database.cursor(), task, tags, task_form) update_task_signal.emit(row, updated_task, task_form.tags) - return widget(parent_widget, "Modify a task", "modify", task, tags, on_update) + return widget(parent_widget, "Modifier une tâche", "modifier", task, tags, on_update) def confirm_delete(parent, rows: List[int], on_confirm): confirm = QtWidgets.QMessageBox.question( parent, - "Task deletion", - "Do you really want to delete the selected tasks ?", + "Suppression des tâches", + "Voulez-vous vraiment supprimer les tâches selectionnées ?", QtWidgets.QMessageBox.No | QtWidgets.QMessageBox.Yes, QtWidgets.QMessageBox.Yes) |