Found while working on the pretranslation API.
pretranslate.py runs run_checks() on each pretranslation
|
failed_checks = run_checks( |
On failure it retries once with preserve_placeables=True, but if the retry also fails, the result is stored anyway — nothing checks it again.
|
bulk_run_checks(Translation.objects.for_checks().filter(pk__in=translation_pks)) |
#4499 makes these warnings visible and keeps the translation out of sync, but the pretranslation is still created.
Found while working on the pretranslation API.
pretranslate.pyrunsrun_checks()on each pretranslationpontoon/pontoon/pretranslation/tasks.py
Line 126 in 17a20b0
On failure it retries once with
preserve_placeables=True, but if the retry also fails, the result is stored anyway — nothing checks it again.pontoon/pontoon/pretranslation/tasks.py
Line 201 in 17a20b0
#4499 makes these warnings visible and keeps the translation out of sync, but the pretranslation is still created.