Is there a list of supported template fields?

I’m trying to customize our welcome letter, and I can see that there are known field tokens, like:

Welcome to %{site_name}!

Is there a list anywhere of all the valid tokens that can go in a %{token} block?

That’s about the only one. So there is not a list because there aren’t many fields.

The full current list is here:

https://github.com/discourse/discourse/blob/master/lib/email/message_builder.rb#L24-L54

「いいね!」 2

In other words, anything passed in via @opts as well. Have fun tracing that throughout the calling code…

@sam: thanks for this.

元の質問を繰り返したいと思います。どこかにリストはありますか?テキストのカスタマイズで何が使えるか知りたいです。

上記の回答は正しくないのですか?

そうかもしれませんが、そうだとすれば理解できません。

以下のスクリーンショットで、関連するコード部分をハイライトしました。

一般的には、「{%placeholder} を他のテキストに置き換える」を探しています。

ありがとうございます。確認します。