FIX: add all the keys that should be allowed in user_notifications (#12526)

This commit is contained in:
Neil Lalonde 2021-03-25 14:00:05 -04:00 committed by GitHub
parent dffc3a2f8e
commit eb25d3a954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
}