From 202ff3d271fccea855b2c3d5337d5249bae9559c Mon Sep 17 00:00:00 2001
From: Michael <Chefkeks@users.noreply.github.com>
Date: Fri, 3 Jun 2016 09:33:12 +0200
Subject: [PATCH] Update based on line note from Jared:
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

"This should be ´_S()´ because it is posting a permanent note to the task thread. Therefore should use the system language rather than the current user's language."
---
 include/class.task.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class.task.php b/include/class.task.php
index aee64f44c..30b6b673f 100644
--- a/include/class.task.php
+++ b/include/class.task.php
@@ -1236,7 +1236,7 @@ class Task extends TaskModel implements RestrictedAccess, Threadable {
             $_errors = array();
             $this->postNote(array(
                         'note' => $vars['note'],
-                        'title' => __('Task Updated'),
+                        'title' => _S('Task Updated'),
                         ),
                     $_errors,
                     $thisstaff);
-- 
GitLab