feat: add experimental atlas to pull_translations (#1093)

This is an experimental off-by-defualt feature for moving the translation files ouside the repos.

Run `OPENEDX_ATLAS_PULL=true make translations` to use atlas to pull translations instead of transifex.

Refs: FC-12 OEP-58
This commit is contained in:
Omar Al-Ithawi
2023-05-09 17:03:42 +03:00
committed by GitHub
parent 922cc2187a
commit d2de0632cd
4 changed files with 28 additions and 12 deletions

View File

@@ -19,7 +19,7 @@ import { reducer as coursewareReducer } from './courseware/data/slice';
import { reducer as modelsReducer } from './generic/model-store';
import { UserMessagesProvider } from './generic/user-messages';
import appMessages from './i18n';
import messages from './i18n';
import { fetchCourse, fetchSequence } from './courseware/data';
import { appendBrowserTimezoneToUrl, executeThunk } from './utils';
import buildSimpleCourseAndSequenceMetadata from './courseware/data/__factories__/sequenceMetadata.factory';
@@ -78,7 +78,7 @@ export function initializeMockApp() {
configureI18n({
config: getConfig(),
loggingService,
messages: [appMessages],
messages,
});
return { loggingService, authService };