Closed Bug 1555001 Opened 5 years ago Closed 5 years ago

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

Categories

(Webtools Graveyard :: Pontoon, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: theo, 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: 5 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: