🔥(back) remove compiled translation file
The compiles translation file should not be track with git.
This commit is contained in:
1
.github/workflows/crowdin_upload.yml
vendored
1
.github/workflows/crowdin_upload.yml
vendored
@@ -30,7 +30,6 @@ jobs:
|
|||||||
- name: generate pot files
|
- name: generate pot files
|
||||||
working-directory: src/backend
|
working-directory: src/backend
|
||||||
run: |
|
run: |
|
||||||
DJANGO_CONFIGURATION=Build python manage.py compilemessages
|
|
||||||
DJANGO_CONFIGURATION=Build python manage.py makemessages -a --keep-pot
|
DJANGO_CONFIGURATION=Build python manage.py makemessages -a --keep-pot
|
||||||
# frontend i18n
|
# frontend i18n
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -30,6 +30,7 @@ MANIFEST
|
|||||||
.next/
|
.next/
|
||||||
|
|
||||||
# Translations # Translations
|
# Translations # Translations
|
||||||
|
*.mo
|
||||||
*.pot
|
*.pot
|
||||||
|
|
||||||
# Environments
|
# Environments
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ COPY ./src/backend /app/
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# collectstatic
|
# collectstatic
|
||||||
RUN DJANGO_CONFIGURATION=Build DJANGO_JWT_PRIVATE_SIGNING_KEY=Dummy \
|
RUN DJANGO_CONFIGURATION=Build \
|
||||||
python manage.py collectstatic --noinput
|
python manage.py collectstatic --noinput
|
||||||
|
|
||||||
# Replace duplicated file by a symlink to decrease the overall size of the
|
# Replace duplicated file by a symlink to decrease the overall size of the
|
||||||
@@ -92,6 +92,11 @@ COPY ./src/backend /app/
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Generate compiled translation messages
|
||||||
|
RUN DJANGO_CONFIGURATION=Build \
|
||||||
|
python manage.py compilemessages
|
||||||
|
|
||||||
|
|
||||||
# We wrap commands run in this container by the following entrypoint that
|
# We wrap commands run in this container by the following entrypoint that
|
||||||
# creates a user on-the-fly with the container user ID (see USER) and root group
|
# creates a user on-the-fly with the container user ID (see USER) and root group
|
||||||
# ID.
|
# ID.
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user