Skip to content

Commit

Permalink
feat: Add credentials-themes to the translation pipeline
Browse files Browse the repository at this point in the history
This PR needs openedx/credentials-themes#613 before it's merged.

Refs: FC-0012 OEP-58
  • Loading branch information
shadinaif committed Jun 9, 2023
1 parent d25cd8a commit c25e1e2
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 39 deletions.
78 changes: 40 additions & 38 deletions .github/workflows/extract-translation-source-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,44 +41,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
Expand Down
10 changes: 9 additions & 1 deletion transifex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ git:
source_file_dir: translations/credentials/credentials/conf/locale/en/
translation_files_expression: 'translations/credentials/credentials/conf/locale/<lang>/'

# 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/<lang>/'

# DoneXBlock
- filter_type: dir
file_format: PO
Expand Down Expand Up @@ -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/<lang>/'

# frontend-app-account
- filter_type: file
file_format: KEYVALUEJSON
Expand Down

0 comments on commit c25e1e2

Please sign in to comment.