* app/helpers i18n * tidy key names * fix keys * delete ja.yml * fix spec * fix spec 2 * fix for PR * remove one key for PR * delete ja.yml
25 lines
1,011 B
Ruby
25 lines
1,011 B
Ruby
module FeedbackMessagesHelper
|
|
def offender_email_details
|
|
body = I18n.t("helpers.feedback_messages_helper.offender.body", community: Settings::Community.community_name)
|
|
{
|
|
subject: I18n.t("helpers.feedback_messages_helper.offender.subject",
|
|
community: Settings::Community.community_name), body: body
|
|
}.freeze
|
|
end
|
|
|
|
def reporter_email_details
|
|
body = I18n.t("helpers.feedback_messages_helper.reporter.body", community: Settings::Community.community_name)
|
|
{
|
|
subject: I18n.t("helpers.feedback_messages_helper.reporter.subject",
|
|
community: Settings::Community.community_name), body: body
|
|
}.freeze
|
|
end
|
|
|
|
def affected_email_details
|
|
body = I18n.t("helpers.feedback_messages_helper.affected.body", community: Settings::Community.community_name)
|
|
{
|
|
subject: I18n.t("helpers.feedback_messages_helper.affected.subject",
|
|
community: Settings::Community.community_name), body: body
|
|
}.freeze
|
|
end
|
|
end
|