From 70b533ae41d75235d0de76d6a534e45813b2a3e9 Mon Sep 17 00:00:00 2001 From: Shadi Naif Date: Sun, 30 Apr 2023 16:25:46 +0300 Subject: [PATCH] feat: Add xblock-adventure to the translation pipeline This PR needs https://github.com/openedx/xblock-adventure/pull/54 before it's merged. Refs: FC-0012 OEP-58 --- .github/workflows/extract-translation-source-files.yml | 3 ++- transifex.yml | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/extract-translation-source-files.yml b/.github/workflows/extract-translation-source-files.yml index 82a03fa617c..432c5dfc116 100644 --- a/.github/workflows/extract-translation-source-files.yml +++ b/.github/workflows/extract-translation-source-files.yml @@ -61,6 +61,8 @@ jobs: python_module_name: feedback - repo_name: RecommenderXBlock python_module_name: recommender + - repo_name: xblock-adventure + python_module_name: adventure - repo_name: xblock-drag-and-drop-v2 python_module_name: drag_and_drop_v2 - repo_name: xblock-free-text-response @@ -79,7 +81,6 @@ jobs: python_module_name: sql_grader - repo_name: xblock-submit-and-compare python_module_name: submit_and_compare - runs-on: ubuntu-latest continue-on-error: true needs: [setup-branch] diff --git a/transifex.yml b/transifex.yml index 9cb8528d88c..47f457748e7 100644 --- a/transifex.yml +++ b/transifex.yml @@ -250,6 +250,14 @@ git: source_file: translations/studio-frontend/src/i18n/transifex_input.json translation_files_expression: 'translations/studio-frontend/src/i18n/messages/.json' + # xblock-adventure + - filter_type: dir + file_format: PO + source_file_extension: po + source_language: en + source_file_dir: translations/xblock-adventure/adventure/conf/locale/en/ + translation_files_expression: 'translations/xblock-adventure/adventure/conf/locale//' + # xblock-drag-and-drop-v2 - filter_type: dir file_format: PO