Closed Bug 1618920 Opened 5 years ago Closed 4 years ago

[FTL] Fix display of Translations with Errors

Categories

(Webtools Graveyard :: Pontoon, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: mathjazz, Assigned: vishalcr7)

References

Details

(Whiteboard: pontoon-pretranslation)

Bug 1584180 forces checks on pretranslations, which greatly increases the probability of Translations with Errors getting into Pontoon (Pontoon blocks saving Translations with Errors when submitted via Translate Workbench).

Fluent Translations with Errors are sometimes not displayed at all (the editor is empty or contains the previous translations) or are displayed without the corresponding error message. We should fix that.

Steps to reproduce

  1. Sync a Fluent project (for example, https://github.com/mozilla-l10n/pontoon-ftl/ ).
  2. Save a normal translation through the Translate page.
  3. In the database, update the translation you just made to make it invalid (for example, change the Fluent ID in the message).
  4. Go back to the Translate page and open that translation.

Expected result

The translation shows up in the Editor and an error is displayed, explaining what is wrong about that translation.

Actual result

No errors show up, sometimes even the translation doesn't show up.

See Also: → 1686402
*This bug has been moved to GitHub.* *Please check it out on https://github.com/mozilla/pontoon/issues.*
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → MOVED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.