1
0
mirror of https://github.com/django/django.git synced 2024-11-18 23:44:22 +00:00
django/docs/ref
Ramiro Morales f6e38f3800 Fixed #5494, #10765, #14924 -- Modified the order in which translations are read when composing the final translation to offer at runtime.
This is slightly backward-incompatible (could result in changed final translations for literals appearing multiple times in different .po files but with different translations).

Translations are now read in the following order (from lower to higher priority):

For the 'django' gettext domain:

 * Django translations
 * INSTALLED_APPS apps translations (with the ones listed first having higher priority)
 * settings/project path translations (deprecated, see below)
 * LOCALE_PATHS translations (with the ones listed first having higher priority)

For the 'djangojs' gettext domain:

 * Python modules whose names are passed to the javascript_catalog view
 * LOCALE_PATHS translations (with the ones listed first having higher priority, previously they weren't included)

Also, automatic loading of translations from the 'locale' subdir of the settings/project path is now deprecated.

Thanks to vanschelven, vbmendes and an anonymous user for reporting issues, to vanschelven, Claude Paroz and an anonymous contributor for their initial work on fixes and to Jannis  Leidel and Claude for review and discussion.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07 18:48:40 +00:00
..
contrib Fixed #15208 - Document ModelAdmin.formfield_for_choice_field; thanks julien. 2011-02-02 20:57:09 +00:00
files Fixed #14846 -- Corrected a tiny typo in from [14832]. Thanks to elbarto for catching the mistake. 2010-12-06 23:07:46 +00:00
forms Fixed #15204 - Update form examples for rendering of the help_text; thanks prestontimmons. 2011-02-02 20:23:13 +00:00
models Fixed #14672 - Added admin handling for on_delete=PROTECT. Thanks to jtiai for the report. 2011-01-20 00:33:32 +00:00
templates Fixed #14038 -- Added information to release notes and version changed|added markers to documentation additions for the new template loeaders API introduced in version 1.2. Thanks 3point2 for the report. 2011-01-25 15:42:24 +00:00
authbackends.txt Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1 2010-12-26 00:37:14 +00:00
class-based-views.txt Fixed #14878 -- Clarified the way verbose_name_plural is used in generic list views as a context variable. Thanks to diegueus9 for the report. 2011-01-03 13:15:58 +00:00
databases.txt Fixed #15141 - remove some deprecated storage engines from the MySQL notes; thanks mariuz for the suggestion. 2011-01-22 16:16:42 +00:00
django-admin.txt Fixed #14978 -- Added versionchanged directive to --adminmedia docs clarifying why it's not working with staticfiles (deprecation of AdminMediaHandler). 2011-01-30 17:23:30 +00:00
exceptions.txt Fixed #14545 -- Added ValidationError to Exceptions Reference docs and improved Sphinx metadata. 2010-10-23 21:15:35 +00:00
generic-views.txt Fixed #15177 -- Added note to generic views reference page indicating that the views have been deprecated (mirroring the topic guide). Thanks to rasca for the report and patch. 2011-01-30 13:33:53 +00:00
index.txt Fixed #12815 -- Added TemplateResponse, a lazy-evaluated Response class. Thanks to Simon Willison for the original idea, and to Mikhail Korobov and Ivan Sagalaev for their assistance, including the draft patch from Mikhail. 2010-12-07 13:57:01 +00:00
middleware.txt Fixed #6181 - Document django.views.decorators.http - thanks adamv for the patch. 2010-12-27 13:27:26 +00:00
request-response.txt Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1 2010-12-26 00:37:14 +00:00
settings.txt Fixed #5494, #10765, #14924 -- Modified the order in which translations are read when composing the final translation to offer at runtime. 2011-02-07 18:48:40 +00:00
signals.txt Fixed #15133 - Some markup issues in the docs; thanks Aryeh Leib Taurog for the report. 2011-01-22 12:43:50 +00:00
template-response.txt Fixed #15012 -- Added post-rendering callbacks to TemplateResponse so that decorators (in particular, the cache decorator) can defer processing until after rendering has occurred. Thanks to Joshua Ginsberg for the draft patch. 2011-01-24 14:24:35 +00:00
unicode.txt Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1 2010-12-26 00:37:14 +00:00
utils.txt
validators.txt Fixed #14537 -- Added documentation on where validators can be imported from to Validators Reference docs, and improved Sphinx formatting and metadata. Thanks to rfugger for the report. 2010-10-23 22:06:01 +00:00