mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Check if selectable avatars exist before enabling them (#10032)
This commit is contained in:
@@ -2255,6 +2255,7 @@ en:
|
||||
max_username_length_exists: "You cannot set the maximum username length below the longest username (%{username})."
|
||||
max_username_length_range: "You cannot set the maximum below the minimum."
|
||||
invalid_hex_value: "Color values have to be 6-digit hexadecimal codes."
|
||||
empty_selectable_avatars: "You must first upload at least two selectable avatars before enabling this setting."
|
||||
category_search_priority:
|
||||
very_low_weight_invalid: "You cannot set the weight to be greater than 'category_search_priority_low_weight'."
|
||||
low_weight_invalid: "You cannot set the weight to be greater or equal to 1 or smaller than 'category_search_priority_very_low_weight'."
|
||||
|
||||
@@ -1241,6 +1241,7 @@ files:
|
||||
selectable_avatars_enabled:
|
||||
default: false
|
||||
client: true
|
||||
validator: "SelectableAvatarsEnabledValidator"
|
||||
selectable_avatars:
|
||||
default: ""
|
||||
type: uploaded_image_list
|
||||
|
||||
Reference in New Issue
Block a user