Skip to content

Commit fa42311

Browse files
authored
feat(AU-2115): use ATLAS_OPTIONS for pull_translations command (#225)
* feat(AU-2115): use ATLAS_OPTIONS for pull_translations command * feat(AU-2115): add @edx/openedx-atlas dependency
1 parent ddac446 commit fa42311

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
export TRANSIFEX_RESOURCE = frontend-app-ora
2-
transifex_langs = "ar,fr,es_419,zh_CN"
32

43
intl_imports = ./node_modules/.bin/intl-imports.js
54
transifex_utils = ./node_modules/.bin/transifex-utils.js
@@ -53,7 +52,7 @@ pull_translations:
5352
rm -rf src/i18n/messages
5453
mkdir src/i18n/messages
5554
cd src/i18n/messages \
56-
&& atlas pull --filter=$(transifex_langs) \
55+
&& atlas pull $(ATLAS_OPTIONS) \
5756
translations/frontend-component-footer/src/i18n/messages:frontend-component-footer \
5857
translations/frontend-component-header/src/i18n/messages:frontend-component-header \
5958
translations/frontend-app-ora/src/i18n/messages:frontend-app-ora

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"@edx/brand": "npm:@edx/[email protected]",
3838
"@edx/frontend-lib-special-exams": "^3.1.0",
3939
"@edx/frontend-platform": "8.1.0",
40+
"@edx/openedx-atlas": "^0.6.0",
4041
"@edx/react-unit-test-utils": "^3.0.0",
4142
"@edx/tinymce-language-selector": "1.1.0",
4243
"@fortawesome/fontawesome-svg-core": "1.2.36",

0 commit comments

Comments
 (0)