This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-fcff5a41-9e37-4632-97d4-92b5334f1f57 XWIKI-24784 Open

The macro editor displays the raw parameter feature id as a group heading instead of a translated name

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-9cad45e1-6c4a-4ef6-be20-62e52536c846 Charpentier Lucas created this issue on 02/Sep/26 15:21
 
Summary: The macro editor displays the raw parameter feature id as a group heading instead of a translated name
Issue Type: cid:jira-generated-image-avatar-fcff5a41-9e37-4632-97d4-92b5334f1f57 Bug
Assignee: Unassigned
Components: WYSIWYG Editor
Created: 02/Sep/26 15:21
Priority: cid:jira-generated-image-static-major-e91827fc-5a10-4f23-9386-fad1b7bb864f Major
Reporter: Charpentier Lucas
Description:

Some macros group their parameters, so that the user has to fill in one of several alternatives. The macro insert/edit dialog shows such a group as a box with a heading. That heading is never translated: it shows the internal id of the group, in every language.

Steps to reproduce

  1. Set the wiki default language to French.
  2. Edit a page with the WYSIWYG editor.
  3. Insert the Include macro (Insert > Other Macros > Include).

Actual results

Everything in the dialog is in French – "Inclure", "(Obligatoire)", "Paramètres optionnels", "Envoyer" – except the heading of the required box, which reads Reference. On top of that, the box contains a single field, already labelled "Page", so the heading says nothing the user needs.

The attached screenshot shows this for the Include macro, and for the Office Document Viewer macro once XWIKI-23503 is applied.

Expected results

The heading is translated. Better still, no heading at all when the box holds a single visible field, since that field already has its own label.

 
 

2 updates

 
cid:jira-generated-image-avatar-9cad45e1-6c4a-4ef6-be20-62e52536c846 Changes by Charpentier Lucas on 02/Sep/26 15:24
 
Description: Some macros group their parameters, so that the user has to fill in one of several alternatives. The macro insert/edit dialog shows such a group as a box with a heading. That heading is never translated: it shows the internal id of the group, in every language.

h2. Steps to reproduce

# Set the wiki default language to French.
# Edit a page with the WYSIWYG editor.
# Insert the Include macro (Insert > Other Macros > Include).

h2. Actual results

Everything in the dialog is in French
-- "Inclure", "(Obligatoire)", "Paramètres optionnels", "Envoyer" -- except the heading of the required box, which reads {{ {} Reference { }} } . On top of that, the box contains a single field, already labelled "Page", so the heading says nothing the user needs.

The attached screenshot shows this for the Include macro, and for the Office Document Viewer macro once XWIKI-23503 is applied.

!xwiki-macro-feature-heading-proof.png|thumbnail!
h2. Expected results

The heading is translated. Better still, no heading at all when the box holds a single visible field, since that field already has its own label.

Attachment: xwiki-macro-feature-heading-proof.png