Skip to content

Commit

Permalink
Remove limit on pages processed by translate_all_pages
Browse files Browse the repository at this point in the history
  • Loading branch information
nickAalst committed Feb 7, 2025
1 parent e005c6f commit f5795d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def translate_pages(self, pages_to_translate: models.QuerySet, excluded_models:
"""Apply machine translation to copied pages."""
machine_translator = get_machine_translator()

for page in pages_to_translate[:15]:
for page in pages_to_translate:
if isinstance(page.specific, tuple(excluded_models)):
continue

Expand Down

0 comments on commit f5795d0

Please sign in to comment.