Closed Bug 1555001 Opened 5 months ago Closed 4 months ago

[Translate.Next] Strings with a trailing space trigger “Unusual space” warnings for all space characters in the string

Categories

(Webtools :: Pontoon, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tchevalier, Assigned: adrian)

Details

Attachments

(1 file)

This can be reproduced with this string (or any string with a trailing space)

TN: https://pontoon.mozilla.org/translate/fr/firefox-accounts/all-resources/?string=199304
Old Translate view: https://pontoon.mozilla.org/fr/firefox-accounts/all-resources/?string=199304

In the old view, the “Unusual space” is triggered only for the trailing space (expected)

In TN, the warning is displayed for every space in the string (bug)

Priority: -- → P3

This was indeed an issue with react-content-marker, see https://github.com/mozilla/react-content-marker/issues/1.

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.