Skip to content

Commit

Permalink
[Trad] add: task
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Sep 24, 2021
1 parent ae5fea2 commit 03960a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails
if ($related_task->progress == 100) {
$tmparray['actionPreventionCompleted'] .= dol_print_date($related_task->date_c, 'dayhourreduceformat', 'tzuser') . "\n" . $AllInitiales . "\n" .$related_task->label . "\n";
} else {
$tmparray['actionPreventionUncompleted'] .= dol_print_date($related_task->date_c, 'dayhourreduceformat', 'tzuser') . ' - '. $langs->trans('Progress') . ' : ' . ($related_task->progress ?: 0) . '%' . "\n" . $AllInitiales . "\n" .$related_task->label . "\n";
$tmparray['actionPreventionUncompleted'] .= dol_print_date($related_task->date_c, 'dayhourreduceformat', 'tzuser') . ' - '. $langs->trans('DigiriskProgress') . ' : ' . ($related_task->progress ?: 0) . '%' . "\n" . $AllInitiales . "\n" .$related_task->label . "\n";
}
}
} else {
Expand Down
2 changes: 2 additions & 0 deletions langs/fr_FR/digiriskdolibarr.lang
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,8 @@ DeleteTask = Êtes-vous sûr(e) de vouloir supprimer la tâche
DigiriskTaskData = Donnée configurable des tâches
TaskManagementDescription = Activer la gestion des tâches
TaskManagementNotActivated = Veuillez activer la gestion des tâches dans Configuration du module / Analyse des risques / Tâche
DigiriskProgress = Avancement



#
Expand Down

0 comments on commit 03960a4

Please sign in to comment.