Skip to content

Commit c277150

Browse files
authored
feat: added the ability for instances to use local translations from extra repositories (#752)
1 parent 2a0ed57 commit c277150

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ transifex_temp = ./temp/babel-plugin-formatjs
1212

1313
NPM_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
1621
test: $(addprefix test.npm.,$(NPM_TESTS)) ## validate ci suite
1722

@@ -48,9 +53,10 @@ pull_translations:
4853
translations/frontend-platform/src/i18n/messages:frontend-platform \
4954
translations/paragon/src/i18n/messages:paragon \
5055
translations/frontend-component-footer/src/i18n/messages:frontend-component-footer \
51-
translations/frontend-app-learner-dashboard/src/i18n/messages:frontend-app-learner-dashboard
56+
translations/frontend-app-learner-dashboard/src/i18n/messages:frontend-app-learner-dashboard \
57+
$(ATLAS_EXTRA_SOURCES)
5258

53-
$(intl_imports) frontend-platform paragon frontend-component-footer frontend-app-learner-dashboard
59+
$(intl_imports) frontend-platform paragon frontend-component-footer frontend-app-learner-dashboard $(ATLAS_EXTRA_INTL_IMPORTS)
5460

5561
# This target is used by CI.
5662
validate-no-uncommitted-package-lock-changes:

0 commit comments

Comments
 (0)