-
Notifications
You must be signed in to change notification settings - Fork 535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pretranslations with warnings are committed to the repository #3589
Comments
Took a quick look, the logic here seems to be the culprit: pontoon/pontoon/pretranslation/tasks.py Lines 115 to 135 in 560253a
Essentially, we first get pretranslations with |
pontoon/pontoon/pretranslation/tasks.py Lines 179 to 190 in 560253a
Note that we haven't found any failing translations without errors or warnings shown in the UI. The problem is solely that failing translations end up in the repository. |
Pretranslations with warnings and errors should not be committed to the repository:
https://github.com/mozilla/pontoon/blob/main/pontoon/pretranslation/tasks.py#L183-L190
But they are:
mozilla-l10n/android-l10n@75cedbc#diff-fc1008629fd31ff9c24f7e79ebccc5b9a14e0a6d6dc1dfca65f5f285ee680aa1
https://pontoon.mozilla.org/es-AR/firefox-for-android/all-resources/?search=link_sharing_toggle_body&search_identifiers=true
The text was updated successfully, but these errors were encountered: