Fixed #17451 -- Mentioned the new JavaScript lexer in the release notes. Refs #7704.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Aymeric Augustin 2012-02-12 15:10:08 +00:00
parent f46c4140ce
commit 03c80067c6
1 changed files with 5 additions and 0 deletions

View File

@ -524,6 +524,11 @@ Django 1.4 also includes several smaller improvements worth noting:
documentation about :ref:`the 403 (HTTP Forbidden) view<http_forbidden_view>` documentation about :ref:`the 403 (HTTP Forbidden) view<http_forbidden_view>`
for more information. for more information.
* The :djadmin:`makemessages` command uses a new and more accurate lexer,
`JsLex`_, for extracting translatable strings from JavaScript files.
.. _JsLex: https://bitbucket.org/ned/jslex
* The :ttag:`trans` template tag now takes an optional ``as`` argument to * The :ttag:`trans` template tag now takes an optional ``as`` argument to
be able to retrieve a translation string without displaying it but setting be able to retrieve a translation string without displaying it but setting
a template context variable instead. a template context variable instead.