Jonatas CD
31f133ea08
Fixed #28252 -- Corrected docs for default file extensions of makemessages.
2017-08-11 15:22:10 -04:00
Mariusz Felisiak
a3af8c99d9
Removed extra characters in docs header underlines.
2017-03-20 18:30:32 -04:00
Asif Saifuddin Auvi
5f3a689f71
Imported django.http classes instead of django.http.
2017-02-27 14:47:11 -05:00
Claude Paroz
c651331b34
Converted usage of ugettext* functions to their gettext* aliases
...
Thanks Tim Graham for the review.
2017-02-07 09:04:04 +01:00
Claude Paroz
e34f4e6f87
Made ugettext* functions aliases of gettext*
...
Thanks Tim Graham for the review.
2017-01-28 12:01:30 +01:00
Vytis Banaitis
d1bab24e01
Refs #23919 , #27778 -- Removed obsolete mentions of unicode.
2017-01-26 08:19:27 -05:00
chillaranand
dc165ec8e5
Refs #23919 -- Replaced super(ClassName, self) with super() in docs.
2017-01-25 11:53:05 -05:00
Tim Graham
f6acd1d271
Refs #23919 -- Removed Python 2 notes in docs.
2017-01-18 11:51:29 -05:00
Tim Graham
e27e4c0339
Removed versionadded/changed annotations for 1.10.
2017-01-17 20:52:05 -05:00
Tim Graham
2b20e4148f
Refs #19567 -- Removed deprecated javascript_catalog() and json_catalog() views.
2017-01-17 20:52:03 -05:00
Adam Chainz
0a9bd266ff
Documented url()'s 'regex' parameter.
2016-12-22 19:16:26 -05:00
Ben Wilkins
9524fd9133
Fixed #25751 -- Doc'd how to use JavaScriptCatalog with i18n_patterns().
2016-12-15 10:30:14 -05:00
Henry Dang
b1a9041535
Fixed #27221 -- Doc'd how to escape a percent symbol in ugettext().
2016-11-22 13:49:18 -05:00
medmunds
d3708aeb26
Fixed #27382 -- Doc'd that ugettext_lazy() should be converted to text for non-Django code.
2016-10-29 07:23:57 -04:00
Denis Cornehl
a840710e1e
Fixed #26447 -- Deprecated settings.USE_ETAGS in favor of ConditionalGetMiddleware.
2016-10-10 14:55:59 -04:00
Jon Dufresne
2c716c1dc7
Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 boolean syntax.
2016-09-21 15:12:13 -07:00
Michael Scott
3c447b108a
Fixed #15143 -- Doc'd how to set the language for the test client.
2016-09-14 20:08:06 -04:00
Mattias Loverot
2315114090
Fixed #27067 -- Deprecated string_concat() in favor of format_lazy().
2016-08-25 16:12:40 -04:00
Mattias Loverot
35ea6d83c8
Fixed #27069 -- Doc'd which gettext functions may be aliased as _.
2016-08-17 16:34:54 -04:00
Tim Graham
415ae960bb
Fixed capitalization of "URL pattern".
2016-07-06 15:31:12 -04:00
Leila20
de4265e082
Fixed #26832 -- Added translated language name on the get_language_info documentation
2016-07-02 18:10:09 +02:00
Ville Skyttä
96f97691ad
Fixed broken links in docs and comments.
2016-06-15 21:20:23 -04:00
Ed Henderson
4a4d7f980e
Fixed #26021 -- Applied hanging indentation to docs.
2016-06-03 11:44:34 -04:00
Claude Paroz
f6fefbf8cb
Fixed #26337 -- Added i18n note about using a non-English base language
...
Thanks Cristiano Coelho for the report and Tim Graham for the review.
2016-06-02 20:56:31 +02:00
Tim Graham
46a38307c2
Removed versionadded/changed annotations for 1.9.
2016-05-20 11:44:29 -04:00
Florian Apolloner
9baf692a58
Fixed #26601 -- Improved middleware per DEP 0005.
...
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-17 07:22:22 -04:00
Tim Graham
f945fb24a3
Fixed #26554 -- Updated docs URLs to readthedocs.io
2016-04-28 10:09:57 -04:00
Claude Paroz
de40cfbe74
Fixed #19567 -- Added JavaScriptCatalog and JSONCatalog class-based views
...
Thanks Cristiano Coelho and Tim Graham for the reviews.
2016-04-15 17:28:54 +02:00
Krzysztof Jurewicz
940b7fd5cb
Fixed #21446 -- Allowed not performing redirect in set_language view
...
Thanks Claude Paroz and Tim Graham for polishing the patch.
2016-03-29 22:15:14 +02:00
Krzysztof Urbaniak
839a955d08
Fixed #25933 -- Allowed an unprefixed default language in i18n_patterns().
2016-03-08 08:14:10 -05:00
Simon Charette
d0451e4cad
Fixed #26295 -- Allowed using i18n_patterns() in any root URLconf.
...
Thanks Tim for the review.
2016-03-03 12:08:49 -05:00
Tim Graham
1d86d4c72b
Updated instructions for gettext on Windows.
2016-02-11 08:45:55 -05:00
Tim Graham
f2b45ddd99
Fixed #26206 -- Fixed docs comments causing empty code blocks.
2016-02-11 07:58:15 -05:00
rowanv
a6ef025dfb
Fixed #26124 -- Added missing code formatting to docs headers.
2016-02-01 10:42:05 -05:00
Yoong Kang Lim
31817dd2eb
Fixed #26136 -- Removed URL reversing by dotted path from JavaScript catalog example.
2016-01-27 08:58:12 -05:00
Tim Graham
9c43d8252a
Fixed Sphinx highlight warnings in docs.
2016-01-25 11:57:14 -05:00
Marten Kenbeek
16411b8400
Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
...
Thanks to Tim Graham for the review.
2015-12-31 14:21:29 -05:00
Jon Dufresne
7aabd62380
Fixed #25778 -- Updated docs links to use https when available.
2015-12-01 08:01:34 -05:00
Thijs van Dien
1679472165
Fixed #25473 -- Changed underscores in url() names to dashes in docs.
...
To improve consistency, sample URL names that had underscores
in them now use dashes instead. That excludes URL names that
have some relation to the code, such as those generated by
the admin.
Thanks guettli for reporting this.
2015-11-07 21:58:45 +01:00
Claude Paroz
9a6fc9606c
Added some function links in translation docs
2015-10-07 17:25:23 +02:00
Tim Graham
54848a96dd
Removed versionadded/changed annotations for 1.8.
2015-09-23 19:31:11 -04:00
Tim Graham
a25d3ce007
Refs #22218 -- Removed conf.urls.patterns() per deprecation timeline.
2015-09-23 19:31:09 -04:00
Rik
6e51d5d0e5
Added link to Babel's message extracting functionality.
2015-09-22 08:54:24 -04:00
Sergey Kolosov
244404227e
Fixed #22404 -- Added a view that exposes i18n catalog as a JSON
...
Added django.views.i18n.json_catalog() view, which returns a JSON
response containing translations, formats, and a plural expression
for the specified language.
2015-08-05 09:05:21 -04:00
Flavio Curella
c2e70f0265
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField
2015-07-27 18:28:13 -04:00
Rafał Selewońko
8e306967de
Fixed typo in docs/topics/i18n/translation.txt
2015-07-16 07:31:30 -04:00
Matthew Somerville
839edcebb3
Fixed #21695 -- Added asvar option to blocktrans.
...
Thanks Bojan Mihelac for the initial patch.
2015-07-01 10:03:00 -04:00
Tim Graham
aaacaeb096
Renamed RemovedInDjangoXYWarnings for new roadmap.
...
Forwardport of ae1d663b79
from stable/1.8.x plus more.
2015-06-24 16:08:20 -04:00
Wim Feijen
514b69cb9e
Updated indentation of example template in docs/topics/i18n/translation.txt.
2015-06-22 15:42:09 -04:00
Marten Kenbeek
1e82094f1b
Fixed #21927 -- Made application and instance namespaces more distinct.
...
Made URL application namespaces be set in the included URLconf and
instance namespaces in the call to include(). Deprecated other ways
to set application and instance namespaces.
2015-06-08 15:12:20 -04:00
Tim Graham
2fbea621e6
Capitalized "Python" in docs.
2015-06-05 08:24:53 -04:00
Matthew Somerville
40f0a84cb1
Fixed #24159 -- Made compilemessages run across all apps.
...
Updated the command to match the documentation, which states it
runs over all .po files.
2015-06-04 21:02:02 -04:00
Tomáš Ehrlich
002b3d87b5
Fixed #24230 -- Added translated language name for i18n template tag/filter.
2015-06-02 16:04:01 -04:00
Tim Graham
9ca0961b8a
Added headings to i18n template tags and filters.
2015-06-02 15:51:00 -04:00
José Padilla
b0bd1f0e19
Fixed typo in translation import statement
2015-05-02 20:18:34 +02:00
Dave Hodder
08c980d752
Updated capitalization in the word "JavaScript" for consistency
2015-05-01 13:26:42 -04:00
Dmitry Medvinsky
cf34ee68f0
Added translation.override() context manager to docs.
2015-04-29 21:22:52 -04:00
Baptiste Mispelon
683ece0ec8
Used full variable names instead of abbreviation in examples
...
Thanks to Andrew Ingram for the report.
2015-04-29 17:21:57 +02:00
Mounir
25b52d04f6
Fixed typo in docs/topics/i18n/translation.txt
2015-04-28 12:52:36 -04:00
Daniel Lindsley
8ca9bc5ec3
Fixed #23984 -- Added Javascript i18n documentation
...
This fleshes out the documentation around all of the exported
Javascript functions available from the ``javascript_catalog``
view.
2015-04-16 08:15:35 -04:00
Aymeric Augustin
8520551478
Pointed Jinja2 users to Babel instead of makemessages.
2015-04-01 22:37:11 +02:00
Moritz Sichert
6bb2175ed6
Fixed #22106 -- Allowed using more than one instance of javascript_catalog per project.
2015-03-20 17:27:41 -04:00
Claude Paroz
556eb67701
Fixed #23520 -- Explained that custom plural forms should be avoided
...
Thanks aruseni for the report.
2015-03-20 20:43:11 +01:00
minusf
aea103b6a5
Removed inaccurate sentence about PO files in translation docs.
2015-02-06 07:45:05 -05:00
darkryder
9ec8aa5e5d
Fixed #24149 -- Normalized tuple settings to lists.
2015-02-03 14:59:45 -05:00
Tim Graham
c79faae761
Removed versionadded/changed notes for 1.7.
2015-02-01 21:02:40 -05:00
Collin Anderson
26a92619f6
Fixed #24124 -- Changed context_processors in the default settings.py
2015-01-12 13:17:44 -05:00
Aymeric Augustin
6c392bb2c0
Moved doc on the DTL's syntax to the ref/ section.
...
This makes room for a more general introduction about templating.
Updated some links to point to the new location, but kept those that
didn't talk specifically about the DTL.
2015-01-10 19:41:14 +01:00
Aymeric Augustin
9eb4f28e89
Deprecated TEMPLATE_CONTEXT_PROCESSORS.
2014-12-28 17:02:31 +01:00
Aymeric Augustin
92e8f1f302
Moved context_processors from django.core to django.template.
2014-12-28 17:00:07 +01:00
Claude Paroz
337cd09836
Updated some other external links in the docs
2014-12-19 18:07:52 +01:00
Yohan Boniface
38fc463fbf
Fixed incorrect filter name in docs/topics/i18n/translation.txt.
2014-12-11 12:11:02 -05:00
Aymeric Augustin
7331788300
Avoided rewrapping Contexts in render_to_response.
...
This change preserves backwards-compatibility for a very common misuse
of render_to_response which even occurred in the official documentation.
It fixes that misuse wherever it happened in the code base and docs.
Context.__init__ is documented as accepting a dict and nothing else.
Since Context is dict-like, Context(Context({})) could work to some
extent. However, things get complicated with RequestContext and that
gets in the way of refactoring the template engine. This is the real
rationale for this change.
2014-11-22 17:58:38 +01:00
Berker Peksag
cbd936d0f8
Fixed #18731 -- Added an example about customizing "makemessages" command.
...
Thanks claudp for the suggestion and review.
2014-10-30 08:22:13 -04:00
Nadja Deininger
905a9a263b
Fixed #23534 -- Added documentation on blocktrans tags
...
Mentioned that other block tags are not allowed inside
a blocktrans template tag.
Thanks to edu2004eu for reporting the issue.
2014-10-13 16:52:09 +01:00
Mitch Davis
5473c36cef
Clarified that makemessages -l takes a locale name, not a language code.
2014-08-26 08:11:25 -04:00
areski
9d6551204e
Removed unnecessary code-block directives.
2014-08-19 16:44:25 -04:00
Tim Graham
9432f1e750
Fixed some doc errors that caused syntax highlighting to fail.
2014-08-18 20:37:47 -04:00
Collin Anderson
e5376999fa
Refs #23276 -- Added missing url() in some places.
2014-08-13 14:20:15 -04:00
Tim Graham
6745b6fd7a
Fixed typo in previous commit.
2014-08-12 14:40:32 -04:00
Tim Graham
a9fd740d22
Fixed #23276 -- Deprecated passing views as strings to url().
2014-08-12 13:15:40 -04:00
Ola Sitarska
2e7be92b4d
Fixed #23267 -- Fixed typo in Translation documentation
...
Thanks to Tomin1 for the report.
2014-08-11 12:06:08 +02:00
Christoph Heer
d47409831f
Fixed #23067 -- Updated docs to use django-admin
2014-07-30 14:14:03 -04:00
Marti Raudsepp
11d453bcad
Various documentation typo/spelling fixes
...
Errors detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand.
2014-04-23 02:31:49 +03:00
Erik Romijn
54d5c37de6
Fixed #22471 -- Corrected misprint in i18n docs
...
Thanks to aruseni for the report.
2014-04-18 15:05:18 +02:00
Tim Graham
d73d0e071c
Fixed #22218 -- Deprecated django.conf.urls.patterns.
...
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-04-03 07:28:10 -04:00
Tim Graham
51c8045145
Removed versionadded/changed annotations for 1.6.
2014-03-24 11:42:56 -04:00
Claude Paroz
3a97f992fb
Fixed #22313 -- Removed 'u' prefixes from documentation
2014-03-22 21:32:20 +01:00
Dejan Noveski
958b511a80
Fixed #22262 -- Added the correct line in the last example of Translator lines
2014-03-13 14:13:27 +01:00
Iain Dawson
c8823cf481
Fixed a grammar error in topics/i18n/translation.
...
Hooks are quantum; you can not have an amount of them.
2014-03-13 10:04:30 +01:00
Sergey Kolosov
8c98f39624
Fixed #15318 -- Added settings for language cookie max-age, path, domain
...
Introduced a number of settings to configure max-age, path, and domain
for the language cookie: LANGUAGE_COOKIE_AGE, LANGUAGE_COOKIE_PATH and
LANGUAGE_COOKIE_DOMAIN.
Thanks sahid for the suggestion.
2014-03-01 07:52:45 -05:00
Erik Romijn
8cd32f0965
Fixed #22120 -- Documented persistent activation of languages and cleaned up language session key use
2014-02-22 18:29:06 +01:00
Grzegorz Rożniecki
57ba5bf97b
Added some links in i18n documentation
2014-02-16 14:50:32 +01:00
Grzegorz Rożniecki
bb83a32623
Fixed two typos in documentation
2014-02-16 14:50:32 +01:00
Tim Graham
85270ef3f5
Fixed #21650 -- Corrected bad advice for plural translation.
...
Thanks nedbatchelder and claudep.
2013-12-27 10:02:22 -05:00
Baptiste Mispelon
e904d421d0
Added internal link to i18n documentation.
2013-12-15 01:50:54 +01:00
Tim Graham
f3e7ab366c
Removed gender-based pronouns per [ c0a2daad78
].
2013-11-30 08:37:15 -05:00
Claude Paroz
50a8ab7cd1
Enabled makemessages to support several translation directories
...
Thanks Rémy Hubscher, Ramiro Morales, Unai Zalakain and
Tim Graham for the reviews.
Also fixes #16084 .
2013-11-30 11:00:23 +01:00
Bernardo Pires
8bc350b385
Fixed #21372 -- Corrected docs regarding translating LANGUAGES.
...
Corrected LANGUAGES documentation on how to translate language
names. Now using django.utils.translation.ugettext_lazy instead
of a dummy gettext() function.
Thanks to Salvatore for the report.
2013-11-09 23:56:53 +01:00
Claude Paroz
b780d03d62
Removed obsolete locale restriction admonition
...
Refs #14461 . Thanks Ramiro Morales for pointing this.
2013-11-08 16:47:19 +01:00