packages/lib/src/translation.ts
File translation.ts
has 1245 lines of code (exceeds 700 allowed). Consider refactoring. Open
Open
import { FUNCTIONAL_ERRORS } from "./constants/functionalErrors";
const translate = (value) => {
switch (value) {
case "WAITING_REALISATION":
Function translate
has 378 lines of code (exceeds 200 allowed). Consider refactoring. Open
Open
const translate = (value) => {
switch (value) {
case "WAITING_REALISATION":
return "En attente de réalisation";
case "NONE":