Make sure there's only 1 `errors.messages` definition in en.yml

This commit is contained in:
Bob Van Landuyt 2017-06-12 10:12:07 +02:00
parent 59610c42ca
commit 7d024a1db3
1 changed files with 4 additions and 6 deletions

View File

@ -2,12 +2,6 @@
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
en:
errors:
messages:
label_already_exists_at_group_level: "already exists at group level for %{group}. Please choose another one."
wrong_size: "is the wrong size (should be %{file_size})"
size_too_small: "is too small (should be at least %{file_size})"
size_too_big: "is too big (should be at most %{file_size})"
views:
pagination:
previous: "Prev"
@ -114,6 +108,10 @@ en:
errors:
format: "%{attribute} %{message}"
messages:
label_already_exists_at_group_level: "already exists at group level for %{group}. Please choose another one."
wrong_size: "is the wrong size (should be %{file_size})"
size_too_small: "is too small (should be at least %{file_size})"
size_too_big: "is too big (should be at most %{file_size})"
accepted: must be accepted
blank: can't be blank
present: must be blank