Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add brazilian portuguese locale #94

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Contributions by:
* Mikhail Vagin
* Nihar Patel
* Pavel Savchenko
* Lucas Gueiros

Inspired by:
https://github.com/RacingTadpole/django-private-media
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -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)
---------------------------

Expand Down
31 changes: 31 additions & 0 deletions private_storage/locale/pt_BR/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -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 <EMAIL@ADDRESS>, 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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\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"
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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
Expand Down