mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
FIX: Messed up i18n key
This commit is contained in:
@ -13,7 +13,7 @@ module EmailHelper
|
|||||||
end
|
end
|
||||||
|
|
||||||
def private_topic_title(topic)
|
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
|
end
|
||||||
|
|
||||||
def email_topic_link(topic)
|
def email_topic_link(topic)
|
||||||
|
@ -33,7 +33,7 @@ class InviteMailer < ActionMailer::Base
|
|||||||
|
|
||||||
topic_title = first_topic.try(:title)
|
topic_title = first_topic.try(:title)
|
||||||
if SiteSetting.private_email?
|
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 = ""
|
topic_excerpt = ""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1938,7 +1938,7 @@ en:
|
|||||||
other: "This topic is temporarily closed for %{count} hours due to a large number of community flags."
|
other: "This topic is temporarily closed for %{count} hours due to a large number of community flags."
|
||||||
|
|
||||||
system_messages:
|
system_messages:
|
||||||
secure_topic_title: "Topic #%{id}"
|
private_topic_title: "Topic #%{id}"
|
||||||
contents_hidden: "Please visit the post to see its contents."
|
contents_hidden: "Please visit the post to see its contents."
|
||||||
|
|
||||||
post_hidden:
|
post_hidden:
|
||||||
|
Reference in New Issue
Block a user