mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 16:52:45 +08:00
FIX: add all the keys that should be allowed in user_notifications (#12526)
This commit is contained in:
parent
dffc3a2f8e
commit
eb25d3a954
|
@ -10,17 +10,32 @@ class TranslationOverride < ActiveRecord::Base
|
|||
"user_notifications.only_reply_by_email",
|
||||
"user_notifications.reply_by_email",
|
||||
"user_notifications.visit_link_to_respond",
|
||||
"user_notifications.header_instructions",
|
||||
"user_notifications.pm_participants",
|
||||
"unsubscribe_mailing_list",
|
||||
"unsubscribe_link_and_mail",
|
||||
"unsubscribe_link",
|
||||
] => %w{
|
||||
topic_title
|
||||
topic_title_url_encoded
|
||||
site_title_url_encoded
|
||||
message
|
||||
url
|
||||
post_id
|
||||
topic_id
|
||||
context
|
||||
|
||||
username
|
||||
group_name
|
||||
unsubscribe_url
|
||||
subject_pm
|
||||
participants
|
||||
site_description
|
||||
site_title
|
||||
site_title_url_encoded
|
||||
site_name
|
||||
optional_re
|
||||
optional_pm
|
||||
optional_cat
|
||||
optional_tags
|
||||
topic_title
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user