forked from openedx/openedx-app-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add
make translation_requirements
- Loading branch information
1 parent
b6195f3
commit 36d5cdc
Showing
3 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
clean_translations_temp_directory: | ||
rm -rf I18N/ | ||
|
||
create_virtual_env: | ||
rm -rf .venv | ||
python3 -m venv .venv | ||
. .venv/bin/activate && pip install -r i18n_scripts/requirements.txt | ||
translation_requirements: | ||
pip install -r i18n_scripts/requirements.txt | ||
|
||
pull_translations: clean_translations_temp_directory create_virtual_env | ||
. .venv/bin/activate && atlas pull $(ATLAS_OPTIONS) translations/openedx-app-ios/I18N:I18N | ||
. .venv/bin/activate && python i18n_scripts/translation.py --split | ||
pull_translations: clean_translations_temp_directory | ||
atlas pull $(ATLAS_OPTIONS) translations/openedx-app-ios/I18N:I18N | ||
python i18n_scripts/translation.py --split | ||
|
||
extract_translations: clean_translations_temp_directory create_virtual_env | ||
. .venv/bin/activate && python i18n_scripts/translation.py --combine | ||
extract_translations: clean_translations_temp_directory | ||
python i18n_scripts/translation.py --combine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Package dependencies | ||
# Translation processing dependencies | ||
openedx-atlas==0.6.0 | ||
# TODO: Publish new version on pypi as `python3-localizable` | ||
# TODO: Publish new version on pypi as `python3-localizable` https://github.com/chrisballinger/python-localizable/pull/4 | ||
git+https://github.com/Amr-Nash/python-localizable.git@15d3bf2466d0de1a826d3f0ff1f365b0c1910f56 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters