Skip to content

Commit

Permalink
Merge pull request #1186 from openedx/michaelroytman/COSMO-162-transl…
Browse files Browse the repository at this point in the history
…ations-job-removal-clean-up

fix: remove unused translations Make targets
  • Loading branch information
MichaelRoytman authored Feb 13, 2024
2 parents fa7f4b5 + 9a7e084 commit b73cf9f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: help upgrade requirements clean quality requirements \
requirements-test coverage pii_check \
compile_translations dummy_translations extract_translations \
fake_translations pull_translations push_translations test test-python \
fake_translations test test-python \
test-js quality-python quality-js

.DEFAULT_GOAL := help
Expand Down Expand Up @@ -122,22 +122,16 @@ diff_cover: test

## Localization targets

extract_translations: ## extract strings to be translated, outputting .mo files
extract_translations: ## extract strings to be translated, outputting .po files
cd edx_proctoring && django-admin makemessages -l en -v1 -d django
cd edx_proctoring && django-admin makemessages -l en -v1 -d djangojs

compile_translations: ## compile translation files, outputting .po files for each supported language
compile_translations: ## compile translation files, outputting .mo files for each supported language
cd edx_proctoring && django-admin compilemessages

detect_changed_source_translations:
cd edx_proctoring && i18n_tool changed

pull_translations: ## pull translations from Transifex
tx pull -a -f -t --mode reviewed --minimum-perc=1

push_translations: ## push source translation files (.po) from Transifex
tx push -s

validate_translations: ## Test translation files
cd edx_proctoring && i18n_tool validate -v

Expand Down

0 comments on commit b73cf9f

Please sign in to comment.