improve copy
This commit is contained in:
parent
7e7c4efcc0
commit
039e65c3eb
|
@ -2,13 +2,13 @@
|
||||||
if User.limit(20).count < 20 && User.where(admin: true).count == 1
|
if User.limit(20).count < 20 && User.where(admin: true).count == 1
|
||||||
notice =
|
notice =
|
||||||
if GlobalSetting.developer_emails.blank?
|
if GlobalSetting.developer_emails.blank?
|
||||||
"No developer email addresses defined, logging in <a href='https://meta.discourse.org/t/how-to-create-an-administrator-account-after-install/14046'>will be tricky.</a>"
|
"Welcome to your new Discourse instance! Unfortunately, no administrator emails were defined during setup, so finalizing the configuration <a href='https://meta.discourse.org/t/how-to-create-an-administrator-account-after-install/14046'>may be difficult</a>."
|
||||||
else
|
else
|
||||||
emails = GlobalSetting.developer_emails.split(",")
|
emails = GlobalSetting.developer_emails.split(",")
|
||||||
if emails.length > 1
|
if emails.length > 1
|
||||||
emails = emails[0..-2].join(' , ') << " or #{emails[-1]} "
|
emails = emails[0..-2].join(' , ') << " or #{emails[-1]} "
|
||||||
end
|
end
|
||||||
"Please create an account or login with #{emails}"
|
"Welcome to your new Discourse instance! An administrator should now log in with #{emails} to finalize configuration."
|
||||||
end
|
end
|
||||||
|
|
||||||
if notice != SiteSetting.global_notice
|
if notice != SiteSetting.global_notice
|
||||||
|
|
Loading…
Reference in New Issue