-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Project-rapid-router' of https://github.com/karatmate/r…
…apid-router into Project-rapid-router
- Loading branch information
Showing
45 changed files
with
5,382 additions
and
3,141 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
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 |
---|---|---|
|
@@ -27,26 +27,29 @@ jobs: | |
pipenv install --dev --system | ||
pip install -U git+https://github.com/ocadotechnology/codeforlife-portal.git#egg=codeforlife-portal #TODO: Remove as part of #688 | ||
sudo apt-get install gettext | ||
- name: Prepare files for Crowdin | ||
run: | | ||
mkdir -p game/locale | ||
cd game && django-admin makemessages -l en_GB --no-wrap && cd - | ||
cd game && django-admin makemessages -l en_GB --no-wrap -d djangojs --ignore "static/game/js/foundation/*" && cd - # some files from foundation use '_' for their own purpose | ||
- name: Run Crowdin (Upload sources and download translations) | ||
uses: crowdin/[email protected] | ||
with: | ||
upload_sources: true | ||
download_translations: true | ||
push_translations: false | ||
project_id: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
token: ${{ secrets.CROWDIN_API_KEY }} | ||
- name: Fix translation files owner | ||
run: sudo chown -R $USER game/locale | ||
- name: Compile messages | ||
run: | | ||
pushd game | ||
django-admin compilemessages | ||
popd | ||
#TODO: Bring back these steps once we've finished setting up the CFL bot | ||
# - name: Prepare files for Crowdin | ||
# run: | | ||
# mkdir -p game/locale | ||
# cd game && django-admin makemessages -l en_GB --no-wrap && cd - | ||
# cd game && django-admin makemessages -l en_GB --no-wrap -d djangojs --ignore "static/game/js/foundation/*" && cd - # some files from foundation use '_' for their own purpose | ||
# - name: Run Crowdin (Upload sources and download translations) | ||
# uses: crowdin/github-action@v1 | ||
# with: | ||
# upload_sources: true | ||
# download_translations: true | ||
# push_translations: false | ||
# project_id: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
# token: ${{ secrets.CROWDIN_API_KEY }} | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }} | ||
# - name: Fix translation files owner | ||
# run: sudo chown -R $USER game/locale | ||
# - name: Compile messages | ||
# run: | | ||
# pushd game | ||
# django-admin compilemessages | ||
# popd | ||
- name: Release rapid-router | ||
uses: relekang/[email protected] | ||
with: | ||
|
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
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 +1,3 @@ | ||
Please review our contributing documentation at https://docs.codeforlife.education/. | ||
# Contributing | ||
|
||
Find our contribution agreement [here](https://github.com/ocadotechnology/codeforlife-workspace/blob/main/CONTRIBUTING.md). |
Oops, something went wrong.