The discussion is about flag reasons in Discourse. Michel_Gignac notices that flag_reason and flag_reasons are being replaced with the full descriptive reason, rather than the selected reason. tshenry explains that flag_reasons is a list of descriptive reasons for flagging a post, while flag_reason (without the ‘s’) is used in reviewable descriptions of automatically flagged posts.
Michel_Gignac clarifies that the issue is with the email notification, which includes all flag reasons unformatted, instead of the selected reason. MarkDoerr asks for a copy of the malformed email and the email client used to view it, but Michel_Gignac suspects that the issue is with the wrong placeholder (flag_reason) in the template, or that it’s being replaced with the wrong content.
Is it me or flag_reson and flag_reasons are all replaced with the full descriptive reason. i.e.:
{« off_topic »=>« Votre message a été signalé comme étant **hors sujet** : la communauté considère qu’il ne correspond pas au sujet en question qui est défini par son titre et son premier message. », « inappropriate »=>« Votre message a été signalé comme étant **répréhensible** : la communauté a estimé que son contenu était offensant, injurieux, violent ou qu’il enfreignait notre [charte communautaire](https://apqs.discourse.group/). », « spam »=>« Votre message a été signalé comme étant du **spam** : la communauté considère qu’il s’agit d’une publicité ou du contenu trop promotionnel au lieu d’être utile et pe...
I was thinking that flag_reason is replaced by the reason,
and flag_reasons was replaced by the descriptive list.
Yes, and it works. But, the email is not well formatted. It includes all the flag reasons, unformatted (shown in my original post), instead of the flag reason selected by the moderator.