# 無効な補間キーです: name

**URL:** <https://meta.discourse.org/t/the-following-interpolation-key-is-invalid-name/264477>\
**Category:** Support\
**Created:** [2023 年 5 月 10 日午前 1:29 UTC](https://meta.discourse.org/t/the-following-interpolation-key-is-invalid-name/264477 "2023-05-10T01:29:05Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [2023 年 5 月 10 日午後 5:33 UTC](https://meta.discourse.org/t/the-following-interpolation-key-is-invalid-name/264477/6 "2023-05-10T17:33:06Z")

</div>

理論上は、すべての `system_messages.*` キーを追加できるはずです。ただし、それらには `subject_template` と `text_body_template` のサブキーが必要です。なぜなら、それらはすべて `SystemMessage` クラスによって処理されるべきであり、このクラスは `username, name, name_or_username` を追加の補間キーとして追加するからです。

> <https://github.com/discourse/discourse/blob/6fa9a8990d07f942ee52b3d721135b84d79d8a7c/lib/system_message.rb#L27-L36>

---

_[View the full topic](https://meta.discourse.org/t/the-following-interpolation-key-is-invalid-name/264477)._
