git-svn-id: http://code.djangoproject.com/svn/django/trunk@17515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f46c4140ce
commit
03c80067c6
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue