Page MenuHomePhabricator

Space after full stops missing in the content produced by section translation
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

List of steps to reproduce

Translate any sections using Section Translation. After translating a few sentences, press the "Done" button to preview and do final edits.

What happens?:

Spaces missing after the full stops in the preview. Same issue when this content is opened in VE for further edits. Screenshot below

image.png (614×705 px, 108 KB)

What should have happened instead?:

Spaces between sentences should be retained.

Event Timeline

santhosh set the point value for this task to 2.Apr 5 2022, 5:57 AM

Change 791049 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] SX sentence translation: Enforce MT to retain spaces after full stops

https://gerrit.wikimedia.org/r/791049

Change 791049 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX sentence translation: Enforce MT to retain spaces after full stops

https://gerrit.wikimedia.org/r/791049

Change 791830 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20220516

https://gerrit.wikimedia.org/r/791830

Change 791830 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20220516

https://gerrit.wikimedia.org/r/791830

There are no spaces observed when trying to publish after translation and then making edits