Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
TURBO = TURBO_TELEMETRY_DISABLED=1 turbo --dangerously-disable-package-manager-check

# Variables for additional translation sources and imports (define in local deployment if needed)
ATLAS_EXTRA_SOURCES ?=
ATLAS_EXTRA_INTL_IMPORTS ?=
ATLAS_OPTIONS ?=

.PHONY: requirements
requirements:
npm ci
Expand Down Expand Up @@ -51,7 +56,7 @@ i18n.extract:
extract_translations: | requirements i18n.extract

pull_translations: | requirements
npm run translations:pull -- --atlas-options="$(ATLAS_OPTIONS)"
ATLAS_EXTRA_INTL_IMPORTS="$(ATLAS_EXTRA_INTL_IMPORTS)" npm run translations:pull -- --atlas-options="$(strip $(ATLAS_OPTIONS) $(ATLAS_EXTRA_SOURCES))"

detect_changed_source_translations:
git diff --exit-code ./src/i18n
Expand Down