Skip to content

Commit

Permalink
feat: atlas
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarIthawi committed Apr 25, 2023
1 parent 2fa46ab commit fd0b0ae
Show file tree
Hide file tree
Showing 5 changed files with 1,093 additions and 23,414 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,22 @@ push_translations:
# Pushing comments to Transifex...
./node_modules/@edx/reactifex/bash_scripts/put_comments_v3.sh

ifeq ($(OPENEDX_ATLAS_PULL),)
# Pulls translations from Transifex.
pull_translations:
tx pull -t -f --mode reviewed --languages=$(transifex_langs)
# Experimental: OEP-58 Pulls translations using atlas
pull_translations:
rm -rf src/i18n/messages
mkdir src/i18n/messages
cd src/i18n/messages \
&& atlas pull --filter=$(transifex_langs) \
translations/frontend-component-footer/src/i18n/messages:frontend-component-footer \
translations/paragon/src/i18n/messages:paragon \
translations/frontend-app-ora-grading/src/i18n/messages:frontend-app-ora-grading

$(intl_imports) frontend-component-footer paragon frontend-app-ora-grading
endif

# This target is used by CI.
validate-no-uncommitted-package-lock-changes:
Expand Down
Loading

0 comments on commit fd0b0ae

Please sign in to comment.