diff --git a/CustomFields/CustomFieldLongChoice.php b/CustomFields/CustomFieldLongChoice.php index 0b9100935..4d9f6400e 100644 --- a/CustomFields/CustomFieldLongChoice.php +++ b/CustomFields/CustomFieldLongChoice.php @@ -127,7 +127,7 @@ class CustomFieldLongChoice extends AbstractCustomField public function getName() { - return 'Long Choice'; + return 'Long choice field'; } public function render($value, \Chill\CustomFieldsBundle\Entity\CustomField $customField, $documentType = 'html') diff --git a/CustomFields/CustomFieldNumber.php b/CustomFields/CustomFieldNumber.php index b87dfe685..91ccac8d0 100644 --- a/CustomFields/CustomFieldNumber.php +++ b/CustomFields/CustomFieldNumber.php @@ -156,7 +156,7 @@ class CustomFieldNumber extends AbstractCustomField public function getName() { - return 'Number'; + return 'Number field'; } public function render($value, CustomField $customField, $documentType = 'html') diff --git a/CustomFields/CustomFieldText.php b/CustomFields/CustomFieldText.php index c2189bb88..1205d2c93 100644 --- a/CustomFields/CustomFieldText.php +++ b/CustomFields/CustomFieldText.php @@ -114,7 +114,7 @@ class CustomFieldText extends AbstractCustomField public function getName() { - return 'text field'; + return 'Text field'; } public function buildOptionsForm(FormBuilderInterface $builder) diff --git a/CustomFields/CustomFieldTitle.php b/CustomFields/CustomFieldTitle.php index 23f9f5e2b..11470df28 100644 --- a/CustomFields/CustomFieldTitle.php +++ b/CustomFields/CustomFieldTitle.php @@ -90,7 +90,7 @@ class CustomFieldTitle extends AbstractCustomField public function getName() { - return 'title'; + return 'Title'; } public function isEmptyValue($value, CustomField $customField) diff --git a/Resources/translations/messages.fr.yml b/Resources/translations/messages.fr.yml index f71cbf98a..a80f4ea08 100644 --- a/Resources/translations/messages.fr.yml +++ b/Resources/translations/messages.fr.yml @@ -54,9 +54,9 @@ The custom field has been updated: Le champ personnalisé a été mis à jour #custom field name choice: choix -title: titre +Title: Titre text: texte -text field: champ texte +Text field: Champ texte #custom field choice Multiplicity: Multiplicité @@ -88,7 +88,9 @@ Greater or equal than: Plus grand ou égal à Lesser or equal than: Plus petit ou égal à Precision: Précision Text after the field: Texte après le champ +Number field: Champ nombre #custom field long choice Options key: Clé des options Choose a value: Choisissez une valeur +Long choice field: Champ à choix pré-enregistrés