There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-f8839e25-de88-4d50-a7ca-2769ec2184e9 XWIKI-23168 Open

The word "Comment" is displayed in bold above the editor box when editing a comment

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-0070500e-52ca-49c4-8da5-d10976bbd0ec Charpentier Lucas on 19/Jun/25 11:06
 

This happens because of https://github.com/xwiki/xwiki-platform/blob/fb55c2875dd6219268c53459241aba1660c43fb1/xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/commentfield.vm#L48 which is called by https://github.com/xwiki/xwiki-platform/blob/957d0e5dd6be8019862c8b47979970d90a07f33b/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/viewers/comments.js#L602-L608 .

As far as I understand, this is the `Comment` verb and not the noun. However, without the context (e.g. the name of the key), it's not easy to figure out.

For comment creation, the form is generated at https://github.com/xwiki/xwiki-platform/blob/7afb957e90c71f106ccbb06f9eed657cb6c8ec4a/xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/commentsinline.vm#L217 . We can see that there is just a sr-only legend tag.

____
This "Comment" translation is also used as the label of the button to create a new Comment. IMO it doesn't make sense to use this translation in these very different context, and we should update what translation is used for the comment edition.

AFAICS, this label is only useful when the default editor is rich text and not WYSIWYG (CKEditor WYSIWYG hides the default input and creates its own labelled field).