diff --git a/docs/changes.rst b/docs/changes.rst index 31713c777c77..9525753a4722 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -13,6 +13,7 @@ Released on March 26th 2024. * :ref:`mt-deepl` gracefully handles glossaries for language variants. * :doc:`/formats/excel` better handles blank cells. * Fixed possible data loss when merging gettext PO file changes in Git. +* Repository operations on project could have skipped some components. **Upgrading** diff --git a/weblate/trans/models/project.py b/weblate/trans/models/project.py index db7faae275cc..e15c66a781ad 100644 --- a/weblate/trans/models/project.py +++ b/weblate/trans/models/project.py @@ -374,7 +374,9 @@ def on_repo_components(self, use_all: bool, func: str, *args, **kwargs): for component in self.all_repo_components ) if use_all: - return all(generator) + # Call methods on all components as this performs an operation + return all(list(generator)) + # This is status checking, call only needed methods return any(generator) def commit_pending(self, reason, user):