pontoon icon indicating copy to clipboard operation
pontoon copied to clipboard

Fix display of Translations with Errors

Open bugzilla-to-github opened this issue 5 years ago • 1 comments

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.

bugzilla-to-github avatar Feb 28 '20 01:02 bugzilla-to-github

Comment Author: @adngdb

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.

bugzilla-to-github avatar Mar 17 '20 01:03 bugzilla-to-github

This should be fixed.

mathjazz avatar Dec 13 '22 23:12 mathjazz