diff --git a/modules/configuration/jsx/DiagnosisEvolution.js b/modules/configuration/jsx/DiagnosisEvolution.js index 4b346ede6e..d83f241bb6 100644 --- a/modules/configuration/jsx/DiagnosisEvolution.js +++ b/modules/configuration/jsx/DiagnosisEvolution.js @@ -431,7 +431,7 @@ class DiagnosisEvolution extends Component { } else { resp.json().then((msg) => { let status = resp.status == 409 ? - 'Conflict!' : 'Error!'; + t('Conflict!', {ns: 'configuration'}) : t('Error!', {ns: 'loris'}); swal.fire({ title: status, text: msg.error, @@ -531,7 +531,7 @@ class DiagnosisEvolution extends Component { } else { resp.json().then((msg) => { let status = resp.status == 409 ? - 'Conflict!' : 'Error!'; + t('Conflict!', {ns: 'configuration'}) : t('Error!', {ns: 'loris'}); swal.fire({ title: status, text: msg.error, diff --git a/modules/configuration/locale/configuration.pot b/modules/configuration/locale/configuration.pot index d6615d4bca..a095ca75a6 100644 --- a/modules/configuration/locale/configuration.pot +++ b/modules/configuration/locale/configuration.pot @@ -212,3 +212,6 @@ msgstr "" msgid "This field is required! Please click \"Add Field\" before saving." msgstr "" + +msgid "Conflict!" +msgstr "" diff --git a/modules/configuration/locale/fr/LC_MESSAGES/configuration.po b/modules/configuration/locale/fr/LC_MESSAGES/configuration.po index 9b61ead8bf..7c90d05c0f 100644 --- a/modules/configuration/locale/fr/LC_MESSAGES/configuration.po +++ b/modules/configuration/locale/fr/LC_MESSAGES/configuration.po @@ -213,3 +213,6 @@ msgstr "Ce champ est obligatoire ! La valeur saisie doit faire partie de la list msgid "This field is required! Please click \"Add Field\" before saving." msgstr "Ce champ est obligatoire ! Veuillez cliquer sur « Ajouter un champ » avant d'enregistrer." + +msgid "Conflict!" +msgstr "Conflit !"