The section translation unit we defined has the following problem. It behaves like a placeholder in translation column, onlick get translated. If there are block level translation units inside the section, for example, Tables, the whole table get disappeared from source column
Description
Description
Details
Details
Status | Subtype | Assigned | Task | |
---|---|---|---|---|
· · · | ||||
Resolved | santhosh | T152586 Reorganize the CX classes using OOjs/OOUI (tracker) | ||
Resolved | santhosh | T164067 CX2: Blocklevel translation units inside a section is not translatable | ||
· · · |
Event Timeline
Comment Actions
Figured out that this is because unconditional wrapping of block level elements with <section> tag in mw.cx.ui.SectionTranslationUnit.prototype.createSourceSection
Comment Actions
Change 351291 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ContentTranslation@master] CX2: Do not wrap block subtranslation units with <section> tag
Comment Actions
Change 351291 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] CX2: Do not wrap block subtranslation units with <section> tag