Self hosted FLOSS fitness/workout, nutrition and weight tracker
Remove some of the angular mentions
Roland Geidereb8df89c0060
diff --git a/.github/workflows/angular-ci.yml b/.github/workflows/angular-ci.ymldeleted file mode 100644index bc4a88c4c..000000000--- a/.github/workflows/angular-ci.yml+++ /dev/null@@ -1,23 +0,0 @@-name: Continous Integration (Angular)-on:- push:- paths:- - '**.ts'-jobs:- build:- runs-on: ubuntu-latest- steps:- - uses: actions/checkout@v2- - name: Use Node.js 14.x- uses: actions/[email protected]- with:- node-version: 14.x-- - name: Setup- working-directory: ./angular- run: npm ci-- - name: Test- working-directory: ./angular- run: |- npm test -- --no-watch --no-progress --browsers=ChromeHeadlessCIdiff --git a/docs/i18n.rst b/docs/i18n.rstindex 406b740c2..bbc6e41da 100644--- a/docs/i18n.rst+++ b/docs/i18n.rst@@ -90,17 +90,8 @@ Please note that this will overwrite any changes you might have done from thelanguage administration module.-Angular--------+React+------There are translations for the angular side of things as well, they are located-in the ``angular/src/locale`` folder.--To extract new messages, run from the angular folder::-- ng extract-i18n --output-path src/locale/---Due to the way angular builds translated applications, it is necessary to keep-a separate list of available languages in ``settings_global.py``. When the-angular strings are translated into new languages, add their ISO code to ``LANGUAGES_ANGULAR``.+The frontend that is built with react uses its own translation files. See+the README.md file in the locale folder in the react repo for more information.diff --git a/package.json b/package.jsonindex 811bce1da..ad1b71797 100644--- a/package.json+++ b/package.json@@ -32,8 +32,6 @@},"scripts": {"build:css:sass": "sass wger/core/static/scss/main.scss:wger/core/static/yarn/bootstrap-compiled.css",- "build:angular": "cd angular && ng build --configuration production --output-path ../wger/core/static/angular --output-hashing none --localize",- "build:angular:i18n": "cd angular && ng extract-i18n --output-path src/locale/"},"engines": {"yarn": ">= 1.0.0"diff --git a/wger/settings_global.py b/wger/settings_global.pyindex f9947adf2..b38999389 100644--- a/wger/settings_global.py+++ b/wger/settings_global.py@@ -211,14 +211,6 @@ LANGUAGE_CODE = 'en'# All translation files are in one placeLOCALE_PATHS = (os.path.join(SITE_ROOT, 'locale'), )-# Available locales for angular app-LANGUAGES_ANGULAR = (- 'en',- 'de',- 'fr',- 'no',-)-# Primary keys are AutoFieldsDEFAULT_AUTO_FIELD = 'django.db.models.AutoField'