Fix display of Translations with Errors
This issue was created automatically by a script.
Bug 1618920
Bug Reporter: @mathjazz CC: @adngdb See also: https://bugzilla.mozilla.org/show_bug.cgi?id=1686402
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.
Comment Author: @adngdb
Steps to reproduce
- Sync a Fluent project (for example, https://github.com/mozilla-l10n/pontoon-ftl/ ).
- Save a normal translation through the Translate page.
- In the database, update the translation you just made to make it invalid (for example, change the Fluent ID in the message).
- 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.
This should be fixed.