From a4148eabf2a55097d5e913af98921fe3a994f12a Mon Sep 17 00:00:00 2001 From: Shadi Naif Date: Fri, 9 Jun 2023 17:50:17 +0300 Subject: [PATCH] feat: Add credentials-themes to the translation pipeline This PR needs https://github.com/openedx/credentials-themes/pull/613 before it's merged. Refs: FC-0012 OEP-58 --- .../extract-translation-source-files.yml | 78 ++++++++++--------- transifex.yml | 10 ++- 2 files changed, 49 insertions(+), 39 deletions(-) diff --git a/.github/workflows/extract-translation-source-files.yml b/.github/workflows/extract-translation-source-files.yml index 801d27af8b2..a8bf0c21c8e 100644 --- a/.github/workflows/extract-translation-source-files.yml +++ b/.github/workflows/extract-translation-source-files.yml @@ -39,44 +39,46 @@ jobs: repo: # Note: Add `module_name` for all edx-platform plugins and XBlocks such as DoneXBlock and completion, but not # for micrsoervices and IDAs such as course-discovery and credentials. - - repo_name: AudioXBlock - python_module_name: audio - - repo_name: completion - python_module_name: completion - - repo_name: course-discovery # not a plugin - - repo_name: credentials # not a plugin - - repo_name: DoneXBlock - python_module_name: done - - repo_name: edx-ace - python_module_name: edx_ace - - repo_name: edx-bulk-grades - python_module_name: bulk_grades - - repo_name: edx-ora2 - python_module_name: openassessment - - repo_name: edx-proctoring - python_module_name: edx_proctoring - - repo_name: FeedbackXBlock - python_module_name: feedback - - repo_name: RecommenderXBlock - python_module_name: recommender - - repo_name: xblock-drag-and-drop-v2 - python_module_name: drag_and_drop_v2 - - repo_name: xblock-free-text-response - python_module_name: freetextresponse - - repo: xblock-google-drive - python_module_name: google_drive - - repo: xblock-image-explorer - python_module_name: image_explorer - - repo: xblock-image-modal - python_module_name: imagemodal - - repo_name: xblock-lti-consumer - python_module_name: lti_consumer - - repo_name: xblock-qualtrics-survey - python_module_name: qualtricssurvey - - repo_name: xblock-sql-grader - python_module_name: sql_grader - - repo_name: xblock-submit-and-compare - python_module_name: submit_and_compare +# - repo_name: AudioXBlock +# python_module_name: audio +# - repo_name: completion +# python_module_name: completion +# - repo_name: course-discovery # not a plugin +# - repo_name: credentials # not a plugin + - repo_name: credentials-themes + python_module_name: edx_credentials_themes +# - repo_name: DoneXBlock +# python_module_name: done +# - repo_name: edx-ace +# python_module_name: edx_ace +# - repo_name: edx-bulk-grades +# python_module_name: bulk_grades +# - repo_name: edx-ora2 +# python_module_name: openassessment +# - repo_name: edx-proctoring +# python_module_name: edx_proctoring +# - repo_name: FeedbackXBlock +# python_module_name: feedback +# - repo_name: RecommenderXBlock +# python_module_name: recommender +# - repo_name: xblock-drag-and-drop-v2 +# python_module_name: drag_and_drop_v2 +# - repo_name: xblock-free-text-response +# python_module_name: freetextresponse +# - repo: xblock-google-drive +# python_module_name: google_drive +# - repo: xblock-image-explorer +# python_module_name: image_explorer +# - repo: xblock-image-modal +# python_module_name: imagemodal +# - repo_name: xblock-lti-consumer +# python_module_name: lti_consumer +# - repo_name: xblock-qualtrics-survey +# python_module_name: qualtricssurvey +# - repo_name: xblock-sql-grader +# 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 diff --git a/transifex.yml b/transifex.yml index 9cb8528d88c..78c30b94cf8 100644 --- a/transifex.yml +++ b/transifex.yml @@ -33,6 +33,14 @@ git: source_file_dir: translations/credentials/credentials/conf/locale/en/ translation_files_expression: 'translations/credentials/credentials/conf/locale//' + # credentials-themes + - filter_type: dir + file_format: PO + source_file_extension: po + source_language: en + source_file_dir: translations/credentials-themes/edx_credentials_themes/conf/locale/en/ + translation_files_expression: 'translations/credentials-themes/edx_credentials_themes/conf/locale//' + # DoneXBlock - filter_type: dir file_format: PO @@ -80,7 +88,7 @@ git: source_language: en source_file_dir: translations/FeedbackXBlock/feedback/conf/locale/en/ translation_files_expression: 'translations/FeedbackXBlock/feedback/conf/locale//' - + # frontend-app-account - filter_type: file file_format: KEYVALUEJSON