From e0ab6354485e930c8714f9d97ae4b7e51f1e0757 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 31 Jul 2020 22:28:33 +0530 Subject: [PATCH] Cant generate website strings on github --- .github/workflows/translations.yml | 1 + setup/translations.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index c2e3ce8207..65e7d8cef2 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -30,5 +30,6 @@ jobs: - name: Update translations env: tx: ${{ secrets.tx }} + CI: "true" run: python setup/unix-ci.py pot diff --git a/setup/translations.py b/setup/translations.py index 12b5670aae..efc619143b 100644 --- a/setup/translations.py +++ b/setup/translations.py @@ -214,7 +214,8 @@ class POT(Command): # {{{ def run(self, opts): require_git_master() self.get_iso639_strings() - self.get_website_strings() + if not is_ci: + self.get_website_strings() self.get_content_server_strings() self.get_user_manual_docs() files = self.source_files()