在邀请论坛邮件主题中使用 site_title 或 site_name 时出现翻译缺失错误

Searched for this for a while, but nothing useful so far, potentially a bug.

I am trying to change the template variable %{site_domain_name} to %{site_title} in the subject using the Customize → Email Templates interface, so that users see the name of the community instead of the temporary domain I am using in the invite emails. I see the following error:

translation missing: en.admin_js.admin.customize.email_templates.subject : The following interpolation key(s) are invalid: “site_title”

The same happens with site_name:

translation missing: en.admin_js.admin.customize.email_templates.subject : The following interpolation key(s) are invalid: “site_name”

Could someone suggest a solution?

You can’t arbitrarily add new text substitutions, that is not how the code works.

4 个赞