From 03d8707e792805bf5afd6b688141557201d31424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 25 May 2018 12:24:12 +0200 Subject: [PATCH] wording of timeline tasks --- Resources/translations/messages.fr.yml | 2 +- .../Timeline/single_task_transition_task_context.html.twig | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Resources/translations/messages.fr.yml b/Resources/translations/messages.fr.yml index 9e5b68632..39882d23f 100644 --- a/Resources/translations/messages.fr.yml +++ b/Resources/translations/messages.fr.yml @@ -69,7 +69,7 @@ close: clotûrer cancel: annuler '%user% has closed the task': %user% a fermé la tâche '%user% has canceled the task': %user% a annulé la tâche -'%user% has started the task': %user% a débuté la tâche +'%user% has started the task': %user% a commencé la tâche '%user% has created the task': %user% a introduit la tâche #Flash messages diff --git a/Resources/views/Timeline/single_task_transition_task_context.html.twig b/Resources/views/Timeline/single_task_transition_task_context.html.twig index 57b48aa16..010023a29 100644 --- a/Resources/views/Timeline/single_task_transition_task_context.html.twig +++ b/Resources/views/Timeline/single_task_transition_task_context.html.twig @@ -1,13 +1,11 @@

{{ event.datetime|localizeddate('long', 'short') }} - / {{ 'Task'|trans }} / + {% if transition is not null %} {{ task_workflow_metadata(event.task, 'transition.sentence', transition)|trans({ '%user%': event.author.username }) }} - "{{ event.task.title }}" {% else %} {{ '%user% has created the task'|trans({ '%user%': event.author.username }) }} - "{{ event.task.title }}" {% endif %}