From fa42311e205e1b876494f2a6d70c293797dd41bf Mon Sep 17 00:00:00 2001 From: Rodrigo Martin Date: Thu, 18 Jul 2024 11:07:17 -0300 Subject: [PATCH] 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 --- Makefile | 3 +-- package.json | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a967658b..7092c3ae 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ export TRANSIFEX_RESOURCE = frontend-app-ora -transifex_langs = "ar,fr,es_419,zh_CN" intl_imports = ./node_modules/.bin/intl-imports.js transifex_utils = ./node_modules/.bin/transifex-utils.js @@ -53,7 +52,7 @@ pull_translations: rm -rf src/i18n/messages mkdir src/i18n/messages cd src/i18n/messages \ - && atlas pull --filter=$(transifex_langs) \ + && atlas pull $(ATLAS_OPTIONS) \ translations/frontend-component-footer/src/i18n/messages:frontend-component-footer \ translations/frontend-component-header/src/i18n/messages:frontend-component-header \ translations/frontend-app-ora/src/i18n/messages:frontend-app-ora diff --git a/package.json b/package.json index eba00c9e..a100eb58 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "@edx/brand": "npm:@edx/brand-edx.org@2.1.3", "@edx/frontend-lib-special-exams": "^3.1.0", "@edx/frontend-platform": "8.1.0", + "@edx/openedx-atlas": "^0.6.0", "@edx/react-unit-test-utils": "^3.0.0", "@edx/tinymce-language-selector": "1.1.0", "@fortawesome/fontawesome-svg-core": "1.2.36",