Skip to content

Commit

Permalink
feat: Add ecommerce to the translation pipeline
Browse files Browse the repository at this point in the history
Refs: FC-0012 OEP-58
  • Loading branch information
shadinaif committed Nov 13, 2023
1 parent c99fcc0 commit e784316
Showing 1 changed file with 28 additions and 21 deletions.
49 changes: 28 additions & 21 deletions .github/workflows/extract-translation-source-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,28 @@ jobs:
const selectedRepo = ${{ toJSON(github.event.inputs.repo) }} ?? '';
const allPythonRepos = [
'AudioXBlock',
'completion',
'course-discovery',
'credentials',
'credentials-themes',
'DoneXBlock',
'edx-ace',
'edx-bulk-grades',
'edx-ora2',
'edx-proctoring',
'FeedbackXBlock',
'RecommenderXBlock',
'xblock-drag-and-drop-v2',
'xblock-free-text-response',
'xblock-google-drive',
'xblock-image-explorer',
'xblock-image-modal',
'xblock-lti-consumer',
'xblock-qualtrics-survey',
'xblock-sql-grader',
'xblock-submit-and-compare',
// 'AudioXBlock',
// 'completion',
// 'course-discovery',
// 'credentials',
// 'credentials-themes',
// 'DoneXBlock',
'ecommerce',
// 'edx-ace',
// 'edx-bulk-grades',
// 'edx-ora2',
// 'edx-proctoring',
// 'FeedbackXBlock',
// 'RecommenderXBlock',
// 'xblock-drag-and-drop-v2',
// 'xblock-free-text-response',
// 'xblock-google-drive',
// 'xblock-image-explorer',
// 'xblock-image-modal',
// 'xblock-lti-consumer',
// 'xblock-qualtrics-survey',
// 'xblock-sql-grader',
// 'xblock-submit-and-compare',
];
const allJavascriptRepos = [
Expand Down Expand Up @@ -173,8 +174,14 @@ jobs:
uses: actions/checkout@v3
with:
repository: ZeitLabs/${{ matrix.repo }}
ref: shadinaif/FC-0012-OEP-58
path: translations/${{ matrix.repo }}

- name: Avoid committing translations into the `openedx-translations` other than source
run: |
find translations/${{ matrix.repo }}/conf/locale -mindepth 1 -maxdepth 1 -type d -exec rm -rf {} \;
mkdir -p translations/${{ matrix.repo }}/conf/locale/en/LC_MESSAGES
# Sets up Python
- name: setup python
uses: actions/setup-python@v4
Expand Down

0 comments on commit e784316

Please sign in to comment.