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 authored and OmarIthawi committed Nov 14, 2023
1 parent 539785d commit c33c7ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/extract-translation-source-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
'credentials',
'credentials-themes',
'DoneXBlock',
'ecommerce',
'edx-ace',
'edx-bulk-grades',
'edx-ora2',
Expand Down Expand Up @@ -214,7 +215,8 @@ jobs:
cd translations/${{ matrix.repo }}
# finds the directory containing the english locale usually located in
# */*/conf/locale/en
EN_DIR=$(find . -type d -regex ".+conf\/locale\/en$")
# but also exclude any hidden directories that might exist for some reason
EN_DIR=$(find . -type d -not -path '*/.*' -regex ".+conf\/locale\/en$")
# If the directory is not found, exit with an error. This can happen if we add a repository that doesn't
# comply with OEP-58, or it still doesn't have any translations yet
if [ -z "$EN_DIR" ]; then
Expand Down

0 comments on commit c33c7ca

Please sign in to comment.