Skip to content

Commit

Permalink
Merge pull request #590 from francoisfreitag/mo
Browse files Browse the repository at this point in the history
Stop tracking .mo files with git
  • Loading branch information
Omer Katz authored Dec 18, 2023
2 parents b1f355d + fd5e7d2 commit cb83645
Show file tree
Hide file tree
Showing 37 changed files with 11 additions and 37 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ jobs:
python-version: "3.x"

- name: Install dependencies
run: pip install --user build setuptools twine wheel
run: pip install --user build django setuptools twine wheel

- name: Install gettext
run: sudo apt-get install gettext

- name: Compile messages
run: django-admin compilemessages
working-directory: phonenumber_field

- name: Build package
run: python -m build
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ share/
.coverage*
# Written by setuptools_scm.
phonenumber_field/version.py
# Generated automatically during the release process
phonenumber_field/locale/*/LC_MESSAGES/django.mo
# python virtualenv
.venv/
venv/
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
exclude .gitignore
exclude check-translations
prune .github
include phonenumber_field/locale/*/LC_MESSAGES/django.mo
34 changes: 0 additions & 34 deletions check-translations

This file was deleted.

Binary file removed phonenumber_field/locale/ar/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/az/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/bg/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/bn/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/cs/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/da/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/de/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/eo/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/es/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/es_AR/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/fa/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/fi/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/he/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/hy/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/id/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/it/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/ko/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/lt/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/nb/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/nl/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/pl/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/pt/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/pt_BR/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/ro/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/ru/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/sk/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/sv/LC_MESSAGES/django.mo
Binary file not shown.
Binary file not shown.
Binary file removed phonenumber_field/locale/uk/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/uk_UA/LC_MESSAGES/django.mo
Binary file not shown.
Binary file removed phonenumber_field/locale/zh_Hans/LC_MESSAGES/django.mo
Binary file not shown.
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ commands =
coverage xml -o coverage-reports/coverage.xml
coverage html -d coverage-reports/html
coverage report
python check-translations

[testenv:black]
basepython = python3
Expand Down

0 comments on commit cb83645

Please sign in to comment.