mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
added the "allow uploaded avatars" site setting
This commit is contained in:
parent
95a2405c9e
commit
e5e3164ea1
3 changed files with 5 additions and 0 deletions
|
@ -242,6 +242,7 @@ class SiteSetting < ActiveRecord::Base
|
|||
|
||||
setting(:username_change_period, 3) # days
|
||||
|
||||
client_setting(:allow_uploaded_avatars, false)
|
||||
|
||||
def self.generate_api_key!
|
||||
self.api_key = SecureRandom.hex(32)
|
||||
|
|
|
@ -665,6 +665,8 @@ en:
|
|||
delete_all_posts_max: "The maximum number of posts that can be deleted at once with the Delete All Posts button. If a user has more than this many posts, the posts cannot all be deleted at once and the user can't be deleted."
|
||||
username_change_period: "The number of days after registration that accounts can change their username."
|
||||
|
||||
allow_uploaded_avatars: "Allow support for uploaded avatars"
|
||||
|
||||
notification_types:
|
||||
mentioned: "%{display_username} mentioned you in %{link}"
|
||||
liked: "%{display_username} liked your post in %{link}"
|
||||
|
|
|
@ -613,6 +613,8 @@ fr:
|
|||
|
||||
minimum_topics_similar: "Combien de topics ont besoin d'exister dans la base de données avant que des topics similaires soit présentés."
|
||||
|
||||
allow_uploaded_avatars: "Permet aux utilisateurs d'uploader leur propre avatar"
|
||||
|
||||
notification_types:
|
||||
mentioned: "%{display_username} vous a mentionné dans %{link}"
|
||||
liked: "%{display_username} a aimé votre message dans %{link}"
|
||||
|
|
Loading…
Reference in a new issue