X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e7b47374e79e14c315360ff23332a8559080301b..52e5fa6ad78f375cec5a207a123a4aa3939c8ddf:/vendor/rails-locales/en-GB.yml?ds=sidebyside diff --git a/vendor/rails-locales/en-GB.yml b/vendor/rails-locales/en-GB.yml index a29947f59..b13b383ec 100644 --- a/vendor/rails-locales/en-GB.yml +++ b/vendor/rails-locales/en-GB.yml @@ -190,9 +190,15 @@ accepted: "must be accepted" empty: "can't be empty" blank: "can't be blank" - too_long: "is too long (maximum is %{count} characters)" - too_short: "is too short (minimum is %{count} characters)" - wrong_length: "is the wrong length (should be %{count} characters)" + too_long: + one: "is too long (maximum is 1 character)" + other: "is too long (maximum is %{count} characters)" + too_short: + one: "is too short (minimum is 1 character)" + other: "is too short (minimum is %{count} characters)" + wrong_length: + one: "is the wrong length (should be 1 character)" + other: "is the wrong length (should be %{count} characters)" not_a_number: "is not a number" not_an_integer: "must be an integer" greater_than: "must be greater than %{count}" @@ -202,19 +208,20 @@ less_than_or_equal_to: "must be less than or equal to %{count}" odd: "must be odd" even: "must be even" + taken: "has already been taken" + record_invalid: "Validation failed: %{errors}" + template: &errors_template + header: + one: "1 error prohibited this %{model} from being saved" + other: "%{count} errors prohibited this %{model} from being saved" + body: "There were problems with the following fields:" activerecord: errors: - template: - header: - one: "1 error prohibited this %{model} from being saved" - other: "%{count} errors prohibited this %{model} from being saved" - body: "There were problems with the following fields:" - messages: - taken: "has already been taken" - record_invalid: "Validation failed: %{errors}" <<: *errors_messages + template: + <<: *errors_template full_messages: format: "%{attribute} %{message}"