Skip to content

Commit

Permalink
Merge pull request #147 from learningequality/i18n_loading_screens
Browse files Browse the repository at this point in the history
Create internationalized loading pages from kolibri.
  • Loading branch information
rtibbles authored Jul 26, 2023
2 parents 767bd68 + e111947 commit e176507
Show file tree
Hide file tree
Showing 6 changed files with 105 additions and 381 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ python-for-android/dists/kolibri/src/main/AndroidManifest.xml
python-for-android/dists/kolibri/webview_includes
python-for-android/dists/kolibri/*.*
python-for-android/dists/kolibri/gradlew
python-for-android/dists/kolibri/src/main/res/*/html_content.xml

# File format for signing key
*.jks
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ src/kolibri: clean
unzip -qo "whl/kolibri*.whl" "kolibri/*" -x "kolibri/dist/py2only*" -d src/
# patch Django to allow migrations to be pyc files, as p4a compiles and deletes the originals
sed -i 's/if name.endswith(".py"):/if name.endswith(".py") or name.endswith(".pyc"):/g' src/kolibri/dist/django/db/migrations/loader.py
$(MAKE) create-strings

create-strings:
python scripts/create_strings.py

# Checks to see if we have any uncommitted changes in the Android project
# use this to prevent losing uncommitted changes when updating or rebuilding the P4A project
Expand Down
302 changes: 0 additions & 302 deletions python-for-android/dists/kolibri/src/main/assets/_load.html

This file was deleted.

Loading

0 comments on commit e176507

Please sign in to comment.