mirror of
https://github.com/flarum/core.git
synced 2025-08-05 07:57:46 +02:00
chore: use hex_color
rule for color validation (#3936)
This commit is contained in:
@@ -41,6 +41,7 @@ validation:
|
||||
file: "The :attribute must be greater than or equal :value kilobytes."
|
||||
string: "The :attribute must be greater than or equal :value characters."
|
||||
array: "The :attribute must have :value items or more."
|
||||
hex_color: "The :attribute field must be a valid hexadecimal color."
|
||||
image: "The :attribute must be an image."
|
||||
in: "The selected :attribute is invalid."
|
||||
in_array: "The :attribute field does not exist in :other."
|
||||
|
Reference in New Issue
Block a user