From d412d5bae85319ede43d4ba8eb60c3dc925077de Mon Sep 17 00:00:00 2001 From: Noboru Shiroiwa <14008307+nshiro@users.noreply.github.com> Date: Mon, 12 Dec 2022 23:51:57 +0900 Subject: [PATCH] Add ulid and ascii validation message (#6046) --- lang/en/validation.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/en/validation.php b/lang/en/validation.php index f3d8cc5f..ae23a76e 100644 --- a/lang/en/validation.php +++ b/lang/en/validation.php @@ -22,6 +22,7 @@ 'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.', 'alpha_num' => 'The :attribute must only contain letters and numbers.', 'array' => 'The :attribute must be an array.', + 'ascii' => 'The :attribute must only contain single-byte alphanumeric characters and symbols.', 'before' => 'The :attribute must be a date before :date.', 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', 'between' => [ @@ -141,6 +142,7 @@ 'uploaded' => 'The :attribute failed to upload.', 'uppercase' => 'The :attribute must be uppercase.', 'url' => 'The :attribute must be a valid URL.', + 'ulid' => 'The :attribute must be a valid ULID.', 'uuid' => 'The :attribute must be a valid UUID.', /*