diff options
| author | Luc Donnet | 2018-03-30 18:30:46 +0200 |
|---|---|---|
| committer | GitHub | 2018-03-30 18:30:46 +0200 |
| commit | 48b92a8446d715d5e69fb235d811929fa3f19c07 (patch) | |
| tree | cf2619e6278a07d18c11baebadcfa8916812d990 /config | |
| parent | c19ceea327dbccef26f50b5f02cc806d193da086 (diff) | |
| parent | 0fe85a4effbfddff399d09d41ed929c235ed310d (diff) | |
| download | chouette-core-48b92a8446d715d5e69fb235d811929fa3f19c07.tar.bz2 | |
Merge pull request #360 from af83/new-uniqueness-validation-for-ccblocks
New uniqueness validation for ccblocks
Diffstat (limited to 'config')
| -rw-r--r-- | config/locales/compliance_control_blocks.en.yml | 10 | ||||
| -rw-r--r-- | config/locales/compliance_control_blocks.fr.yml | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/config/locales/compliance_control_blocks.en.yml b/config/locales/compliance_control_blocks.en.yml index 275f05106..0ec979549 100644 --- a/config/locales/compliance_control_blocks.en.yml +++ b/config/locales/compliance_control_blocks.en.yml @@ -9,6 +9,12 @@ en: compliance_control_blocks: transport_mode: Transport mode sub_transport_mode: Transport submode + errors: + models: + compliance_control_block: + attributes: + condition_attributes: + taken: The same compliance control block already exists in this compliance control set compliance_control_blocks: clone: prefix: 'Copy of' @@ -16,8 +22,12 @@ en: destroy_confirm: Are you sure you want to destroy this block ? new: title: Create a control block + create: + title: Create a control block edit: title: "Edit the control block : %{name}" + update: + title: "Edit the control block : %{name}" metas: control: zero: "No controls" diff --git a/config/locales/compliance_control_blocks.fr.yml b/config/locales/compliance_control_blocks.fr.yml index a6720881f..5ce5b4729 100644 --- a/config/locales/compliance_control_blocks.fr.yml +++ b/config/locales/compliance_control_blocks.fr.yml @@ -9,6 +9,12 @@ fr: compliance_control_blocks: transport_mode: Mode de transport transport_submode: Sous-mode de transport + errors: + models: + compliance_control_block: + attributes: + condition_attributes: + taken: Un groupe de contrôle identique existe déjà au sein de ce jeu de contrôles compliance_control_blocks: clone: prefix: 'Copie de' @@ -16,8 +22,12 @@ fr: destroy_confirm: Etes vous sûr de supprimer ce bloc ? new: title: Créer un groupe de contrôle(s) + create: + title: Créer un groupe de contrôle(s) edit: title: "Editer le groupe de contrôle : %{name}" + update: + title: "Editer le groupe de contrôle : %{name}" metas: control: zero: "Aucun contrôle" |
