-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
django-babel has been out of maintenance for a while. We forked it several years ago and have been updating it to support newer and newer django versions. This commit brings the whole django-babel code into our repo and makes it simpler to maintain it in future. This will also allow us to make django upgrade changes in lock-step with the hue app.
- Loading branch information
1 parent
2810ecc
commit 642146b
Showing
37 changed files
with
2,173 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
language: python | ||
python: 3.5 | ||
sudo: false | ||
env: | ||
- TOX_ENV=docs | ||
- TOX_ENV=lint | ||
- TOX_ENV=py27-django18 | ||
- TOX_ENV=py27-django111 | ||
- TOX_ENV=py34-django18 | ||
- TOX_ENV=py34-django111 | ||
- TOX_ENV=py34-django20 | ||
- TOX_ENV=py35-django18 | ||
- TOX_ENV=py35-django111 | ||
- TOX_ENV=py35-django20 | ||
- TOX_ENV=py35-django21 | ||
- TOX_ENV=py35-django22 | ||
- TOX_ENV=py35-django30 | ||
- TOX_ENV=py35-django31 | ||
- TOX_ENV=py35-django32 | ||
matrix: | ||
include: | ||
- env: TOX_ENV=py36-django18 | ||
python: "3.6" | ||
- env: TOX_ENV=py36-django111 | ||
python: "3.6" | ||
- env: TOX_ENV=py36-django20 | ||
python: "3.6" | ||
- env: TOX_ENV=py36-django21 | ||
python: "3.6" | ||
- env: TOX_ENV=py36-django22 | ||
python: "3.6" | ||
- env: TOX_ENV=py36-django30 | ||
python: "3.6" | ||
- env: TOX_ENV=py36-django31 | ||
python: "3.6" | ||
- env: TOX_ENV=py36-django32 | ||
python: "3.6" | ||
- env: TOX_ENV=py36-djangomaster | ||
python: "3.6" | ||
install: pip install tox | ||
script: tox -e $TOX_ENV | ||
cache: pip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
django-babel is written and maintained by the django-babel team and various | ||
contributors: | ||
|
||
Contributors: | ||
|
||
- Christopher Lenz <cmlenz@gmail.com> | ||
- Felix Schwarz <felix.schwarz@oss.schwarz.eu> | ||
- Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | ||
- Ramiro Morales <cramm0@gmail.com> | ||
- Thomas Grainger <tagrain@gmail.com> | ||
- Christopher Grebs <cg@webshox.org> | ||
|
||
|
||
django-babel was previously developed under the Copyright of Edgewall Software. | ||
The following copyright notice holds true for releases before 2013: "Copyright | ||
(c) 2007 - 2011 by Edgewall Software" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
Changelog | ||
========= | ||
|
||
0.6.3 (unreleased) | ||
------------------ | ||
|
||
- Nothing changed yet. | ||
|
||
|
||
0.6.2 (2017-12-18) | ||
------------------ | ||
|
||
- compatibility with Django 2.0 added | ||
|
||
|
||
0.6.1 (2017-12-18) | ||
------------------ | ||
|
||
* compatibility with Django 1.11 added | ||
|
||
0.6.0 - 2017-04-25 | ||
------------------ | ||
|
||
* compatibility with unsupported Django versions (<1.8) is dropped | ||
* compatibility with Django 1.10+ middlewares was added | ||
|
||
0.5.1 - 2016-03-30 | ||
------------------ | ||
|
||
* make imports absolute in babel templatetags | ||
* strip quotes from translations via _() | ||
* fix links in docs | ||
* Add support for "trimmed" blocktrans content | ||
|
||
0.5.0 - 2016-02-29 | ||
------------------ | ||
|
||
* Add compatibility for Django-1.9 | ||
|
||
0.4.0 - 2015-04-22 | ||
------------------ | ||
|
||
* Add compatibility for Django 1.8 | ||
* Add compatibility for latest django master | ||
* Various python 3 fixes | ||
|
||
|
||
0.3.9 - 2014-12-24 | ||
------------------ | ||
|
||
* Fix dependencies on Django/Babel to use lower-case egg names. | ||
|
||
0.3.8 - 2014-10-14 | ||
------------------ | ||
|
||
* Fix old reference to `babeldjango` module in entry points. | ||
|
||
0.3.7 - 2014-10-14 | ||
------------------ | ||
|
||
* Fix Python 3.x compatibility in `babel makemessages` command. | ||
|
||
0.3.6 - 2014-10-05 | ||
------------------ | ||
|
||
* Django 1.7 compatibility | ||
|
||
|
||
0.3.5 - 2014-09-10 | ||
------------------ | ||
|
||
* Create .po and .pot files if not existing, plus it's specific base directories. | ||
|
||
|
||
0.3.4 - 2014-05-25 | ||
------------------ | ||
|
||
* Fixed django compatibility | ||
|
||
0.3.3 - 2014-04-22 | ||
------------------ | ||
|
||
* Fixed release builds | ||
|
||
|
||
0.3.2 - 2014-04-22 | ||
------------------ | ||
|
||
* Initial testing infrastructure | ||
* Add management command `babel` with `makemessages` and `compilemessages` | ||
labels. Mimics django's `makemessages` and `compilemessages` commands. | ||
* Various unicode fixes | ||
|
||
|
||
0.3.1 - 2013-12-11 | ||
------------------ | ||
|
||
* fix relative import in template tags | ||
|
||
|
||
0.3.0 - 2013-12-11 | ||
------------------ | ||
|
||
* Rename package to django_babel | ||
|
||
|
||
0.2.3 - 2013-12-11 | ||
------------------ | ||
|
||
* Rename package on PyPI | ||
* Use GitHub as source control | ||
|
||
|
||
.. _`master`: https://github.com/python-babel/django-babel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Copyright (C) 2013-2014 django-babel Team | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
|
||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in | ||
the documentation and/or other materials provided with the | ||
distribution. | ||
3. The name of the author may not be used to endorse or promote | ||
products derived from this software without specific prior | ||
written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS | ||
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY | ||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE | ||
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER | ||
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN | ||
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include CHANGELOG.rst README.rst COPYING | ||
recursive-include tests * | ||
recursive-include docs * | ||
global-exclude *.pyc | ||
global-exclude *.pyo | ||
prune docs/_build |
Oops, something went wrong.