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()