👽 Traduit Destinataire
parent
1b250e147f
commit
865b9c8664
|
@ -1,12 +1,16 @@
|
|||
import React from 'react'
|
||||
import React, { Component } from 'react'
|
||||
import { Trans, translate } from 'react-i18next'
|
||||
import possiblesDestinataires from 'Règles/ressources/destinataires/destinataires.yaml'
|
||||
|
||||
export default ({ destinataire }) =>
|
||||
do {
|
||||
let destinataireData = possiblesDestinataires[destinataire]
|
||||
destinataire ? (
|
||||
@translate()
|
||||
export default class Rule extends Component {
|
||||
render() {
|
||||
let { destinataire } = this.props,
|
||||
destinataireData = possiblesDestinataires[destinataire]
|
||||
|
||||
return destinataire ? (
|
||||
<div id="destinataire">
|
||||
<h3>Destinataire</h3>
|
||||
<h3><Trans>Destinataire</Trans></h3>
|
||||
{!destinataireData ? (
|
||||
<p>Non renseigné</p>
|
||||
) : (
|
||||
|
@ -30,3 +34,4 @@ export default ({ destinataire }) =>
|
|||
</div>
|
||||
) : null
|
||||
}
|
||||
}
|
||||
|
|
|
@ -72,3 +72,4 @@ envoyer: send
|
|||
Recherche: Search
|
||||
Règle non applicable: Not applicable
|
||||
Situation incomplète: More information needed
|
||||
Destinataire: Levied by
|
||||
|
|
Loading…
Reference in New Issue