2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-04 08:47:37 +08:00

New setting: minimum trust level to embed images in a post

This commit is contained in:
Robin Ward 2018-02-20 20:00:06 -05:00
parent 80ec6ce4fd
commit 3ea272f4f1
4 changed files with 40 additions and 2 deletions

View file

@ -207,6 +207,7 @@ en:
too_many_mentions_newuser:
one: "Sorry, new users can only mention one other user in a post."
other: "Sorry, new users can only mention %{count} users in a post."
no_images_allowed_trust: "Sorry, you can't put images in a post"
no_images_allowed: "Sorry, new users can't put images in posts."
too_many_images:
one: "Sorry, new users can only put one image in a post."
@ -1303,6 +1304,7 @@ en:
min_trust_to_flag_posts: "The minimum trust level required to flag posts"
min_trust_to_post_links: "The minimum trust level required to include links in posts"
min_trust_to_post_images: "The minimum trust level required to include images in a post"
newuser_max_links: "How many links a new user can add to a post."
newuser_max_images: "How many images a new user can add to a post."

View file

@ -911,6 +911,9 @@ trust:
min_trust_to_post_links:
default: 0
enum: 'TrustLevelSetting'
min_trust_to_post_images:
default: 0
enum: 'TrustLevelSetting'
allow_flagging_staff: true
tl1_requires_topics_entered: 5
tl1_requires_read_posts: