Index: cms/bin/generate_static_pages.py |
diff --git a/cms/bin/generate_static_pages.py b/cms/bin/generate_static_pages.py |
index 3df7882c6e2e09c558dbc05405de80f1f6443823..5cc9a73a699a414ff0260109da1fc45380bc9a59 100644 |
--- a/cms/bin/generate_static_pages.py |
+++ b/cms/bin/generate_static_pages.py |
@@ -92,7 +92,7 @@ def generate_pages(repo, output_dir): |
for locale in locales: |
if locale == defaultlocale: |
pagelist.add((locale, page)) |
- elif source.has_locale(locale, page): |
+ else: |
params = get_page_params(source, locale, page, format) |
if params["translation_ratio"] >= MIN_TRANSLATED: |
pagelist.add((locale, page)) |