From 8cd695c39703c16dbeb1350b9564b31dff2fa80e Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 13 May 2018 16:14:17 +0200 Subject: [PATCH] locales/groups: Don't wrap task text in code block (#10349) So far if a task contained Markdown, a system message like this would have been posted to the group chat: foo has claimed "Some [link](http://example.org/)" Also, if the Markdown contained backticked code fragments, the whole text would be displayed in red except the code part. The reason for this is because the system message is already in Markdown and a backticked task text would result in the following Markdown: `foo has claimed "Foo `bar`"` Here there are two code blocks, one with `foo has claimed "Foo ` and another which only has `"`. This is fixed by simply changing the userIsClamingTask translation string to not wrap the task text inside a code block, as per @Alys suggestion. Signed-off-by: aszlig --- website/common/locales/en/groups.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/common/locales/en/groups.json b/website/common/locales/en/groups.json index 4eded55be6..785eefb406 100644 --- a/website/common/locales/en/groups.json +++ b/website/common/locales/en/groups.json @@ -321,7 +321,7 @@ "approvalsTitle": "Tasks Awaiting Approval", "upgradeTitle": "Upgrade", "blankApprovalsDescription": "When your group completes tasks that need your approval, they'll appear here! Adjust approval requirement settings under task editing.", - "userIsClamingTask": "`<%= username %> has claimed \"<%= task %>\"`", + "userIsClamingTask": "`<%= username %> has claimed:` <%= task %>", "approvalRequested": "Approval Requested", "refreshApprovals": "Refresh Approvals", "refreshGroupTasks": "Refresh Group Tasks",