File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,11 @@ transifex_temp = ./temp/babel-plugin-formatjs
1212
1313NPM_TESTS =build i18n_extract lint test
1414
15+ # Variables for additional translation sources and imports (define in edx-internal if needed)
16+ ATLAS_EXTRA_SOURCES ?=
17+ ATLAS_EXTRA_INTL_IMPORTS ?=
18+ ATLAS_OPTIONS ?=
19+
1520.PHONY : test
1621test : $(addprefix test.npm.,$(NPM_TESTS ) ) # # validate ci suite
1722
@@ -60,9 +65,10 @@ pull_translations:
6065 && atlas pull $(ATLAS_OPTIONS) \
6166 translations/frontend-base/src/i18n/messages :frontend-base \
6267 translations/paragon/src/i18n/messages :paragon \
63- translations/frontend-app-learner-dashboard/src/i18n/messages :frontend-app-learner-dashboard
68+ translations/frontend-app-learner-dashboard/src/i18n/messages :frontend-app-learner-dashboard \
69+ $(ATLAS_EXTRA_SOURCES)
6470
65- $(intl_imports) frontend-base paragon frontend-app-learner-dashboard
71+ $(intl_imports) frontend-base paragon frontend-app-learner-dashboard $(ATLAS_EXTRA_INTL_IMPORTS)
6672
6773# This target is used by CI.
6874validate-no-uncommitted-package-lock-changes :
You can’t perform that action at this time.
0 commit comments