cleverage/ui-process-bundle

Fix localisation

Closed this issue · 0 comments

Description

When user localisation is set, some items were not localized withit:

  • datetime on ProcessExecutionCrudController, LogRecordCrudController, process_list
  • ProcessExecutionStatus and ProcessScheduleType
  • In french : status => statut, context => contexte, input => entrée

Tech:

  • xxx->setFormat('Y/M/dd H:mm:ss') must be replaced by xxx->setFormat('short', 'medium'),
  • ProcessExecutionStatus must extends Symfony\Contracts\Translation\TranslatableInterface

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

none