Skip to content
Snippets Groups Projects
Commit f3205662 authored by Michael's avatar Michael
Browse files

Update ajax.tasks.php and ajax.tickets.php

Note: Since I'm not sure if that's all (replacing %s %s with %1$s %2$s) which is necessary to make this work, I'm sorry in advance for a potential "bad commit".

As already written on Crowdin, in German the order is wrong, so my suggestion is to make it possible to change the order by transforming "%s %s" to "%1$s and %2$s".
Format in English: Successfully assigned 4 selected tasks
Needed German: Successfully 4 selected tasks assigned
parent b5c45dff
No related branches found
No related tags found
No related merge requests found
......@@ -422,7 +422,7 @@ class TasksAjaxAPI extends AjaxController {
// Assume success
if ($i==$count) {
$msg = sprintf(__('Successfully %s %s.'),
$msg = sprintf(__('Successfully %1$s %2$s.' /* Tokens are <actioned> <x selected task(s)> */),
$actions[$action]['verbed'],
sprintf('%1$d %2$s',
$count,
......
......@@ -764,7 +764,7 @@ class TicketsAjaxAPI extends AjaxController {
// Assume success
if ($i==$count) {
$msg = sprintf(__('Successfully %s %s.'),
$msg = sprintf(__('Successfully %1$s %2$s.' /* Tokens are <actioned> <x selected ticket(s)> */ ),
$actions[$action]['verbed'],
sprintf('%1$d %2$s',
$count,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment