FIX: Messed up i18n key

This commit is contained in:
Robin Ward 2017-04-27 11:45:49 -04:00
parent 0ec15af970
commit 2efe0442bf
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ module EmailHelper
end
def private_topic_title(topic)
I18n.t("system_messages.secure_topic_title", id: topic.id)
I18n.t("system_messages.private_topic_title", id: topic.id)
end
def email_topic_link(topic)

View File

@ -33,7 +33,7 @@ class InviteMailer < ActionMailer::Base
topic_title = first_topic.try(:title)
if SiteSetting.private_email?
topic_title = I18n.t("system_messages.secure_topic_title", id: first_topic.id)
topic_title = I18n.t("system_messages.private_topic_title", id: first_topic.id)
topic_excerpt = ""
end

View File

@ -1938,7 +1938,7 @@ en:
other: "This topic is temporarily closed for %{count} hours due to a large number of community flags."
system_messages:
secure_topic_title: "Topic #%{id}"
private_topic_title: "Topic #%{id}"
contents_hidden: "Please visit the post to see its contents."
post_hidden: