diff --git a/include/ajax.tasks.php b/include/ajax.tasks.php
index d3bc189fecbd0dca6327d0865d2ff951b37829ef..f347c74dcb183e9461e8c5fd5d21d0ded9f2194b 100644
--- a/include/ajax.tasks.php
+++ b/include/ajax.tasks.php
@@ -688,8 +688,8 @@ class TasksAjaxAPI extends AjaxController {
             if (($m=$task->isCloseable()) !== true)
                 $errors['err'] = $info['error'] = $m;
             else
-                $info['warn'] = sprintf(__('Are you sure you want to %s?'),
-                        sprintf(__('change status of %s'), __('this task')));
+                $info['warn'] = sprintf(__('Are you sure you want to change status of %s?'),
+                        sprintf(__('this task'));
             break;
         default:
             Http::response(404, __('Unknown status'));