diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 7ba3bad..e7c1e59 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -30,7 +30,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v3 with: - python-version: 3.8 + python-version: 3.10 - name: Install dependencies run: | python -m pip install -U pip diff --git a/.github/workflows/test-python-publish.yml b/.github/workflows/test-python-publish.yml index f42be6c..f9b62c7 100644 --- a/.github/workflows/test-python-publish.yml +++ b/.github/workflows/test-python-publish.yml @@ -30,7 +30,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v3 with: - python-version: 3.8 + python-version: 3.10 - name: Install dependencies run: | python -m pip install -U pip diff --git a/AUTHORS b/AUTHORS index 1606f05..18eccbe 100644 --- a/AUTHORS +++ b/AUTHORS @@ -11,6 +11,7 @@ Contributions by: * Mikhail Vagin * Nihar Patel * Pavel Savchenko +* Lucas Gueiros Inspired by: https://github.com/RacingTadpole/django-private-media diff --git a/CHANGES.rst b/CHANGES.rst index 33bfe26..d2460a9 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,12 @@ Changelog ========= +Changes in 3.2 (2025-02-20) +--------------------------- +* Added support to Python 3.10 +* Added support to Django 5.0, 5.1 +* Added Brazillian Portuguese (pt_BR) locale. + Changes in 3.1.1 (2023-10-09) --------------------------- diff --git a/private_storage/locale/pt_BR/LC_MESSAGES/django.po b/private_storage/locale/pt_BR/LC_MESSAGES/django.po new file mode 100644 index 0000000..9b03f95 --- /dev/null +++ b/private_storage/locale/pt_BR/LC_MESSAGES/django.po @@ -0,0 +1,31 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2025-02-20 19:18+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +#: fields.py:32 +msgid "File type not supported." +msgstr "O tipo de arquivo não é suportado." + +#: fields.py:33 +#, python-brace-format +msgid "The file may not be larger than {max_size}." +msgstr "O arquivo não pode ser maior que {max_size}." + +#: fields.py:104 +msgid "Image" +msgstr "Imagem" diff --git a/setup.py b/setup.py index 3b487dd..56fb9b0 100755 --- a/setup.py +++ b/setup.py @@ -79,6 +79,8 @@ def find_version(*parts): 'Framework :: Django :: 4.0', 'Framework :: Django :: 4.1', 'Framework :: Django :: 4.2', + 'Framework :: Django :: 5.0', + 'Framework :: Django :: 5.1', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Application Frameworks', diff --git a/tox.ini b/tox.ini index 5f45893..226bbca 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist= - py38-django{22,31,32,41,42}, - py38-django-dev, + py310-django{22,31,32,41,42,51}, + py310-django-dev, coverage, [base] @@ -18,12 +18,13 @@ deps = django32: Django~=3.2 django41: Django~=4.1 django42: Django~=4.2 + django51: Django~=5.1 django-dev: https://github.com/django/django/tarball/stable/4.2.x commands= python runtests.py [testenv:coverage] -basepython=python3.8 +basepython=python3.10 deps= django~=3.2 coverage