From 6e0ddf2edc42dd504d479775e2c13f718a7e01ff Mon Sep 17 00:00:00 2001
From: Michael <Chefkeks@users.noreply.github.com>
Date: Tue, 19 Apr 2016 08:52:39 +0200
Subject: [PATCH] Update ajax.tasks.php

Too much splitting here... just realized it when I looked at Crowdin that the German translations sounds like a Google Translation - so basically ok, but obviously wrong.
Reason is that you often don't know what %s stands for and here %s was splitted up into another string with antoher %s which is definitely too much for good :/
---
 include/ajax.tasks.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/ajax.tasks.php b/include/ajax.tasks.php
index d3bc189fe..f347c74dc 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'));
-- 
GitLab