|
| Description: |
Some macros group their A macro can declare several parameters as alternatives of one same requirement , so that by annotating them with {{@PropertyFeature}} -- the user has to fill fills in one of several alternatives them . The macro insert/edit dialog shows such a group *feature* as a box with a heading. That heading is never translated: it shows the internal raw feature 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 { }} : the feature id declared by {{IncludeMacroParameters } } . 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 parameter , since that field parameter already has its own label. |
|