Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(component): 'Rescan' not enforcing rescan of source translation f…
…iles. (#11687) Set the `force` option to `True` when calling `create_translations` in the `do_file_scan` handler, as already done by the `do_reset` one. Currently, 'Reset' will (after resetting the weblate repository), enforce a complete rescan of all source translation files (e.g. all PO files). The 'Rescan' option however, does not. As a consequence, translations sources are only re-scanned in case the source files are actually detected as changed since last update. This behavior does not seem consistent with the description of this command (`Loads translations from the files into Weblate. Use when Weblate missed some of the strings after updating the repository`). And it does not indeed actually update translations when e.g. the regular 'Update' command failed to finish properly (due to reaching the request timeout delay of the WSGI server e.g.). Co-authored-by: Bastien Montagne <bastien@blender.org>
- Loading branch information