summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSamir Shah <solaris.smoke@gmail.com>2017-09-08 07:19:48 +0300
committerTim Graham <timograham@gmail.com>2017-09-08 07:53:56 -0400
commit4ac2ab30f5d165da969d78ae4a17186c9d01a24c (patch)
treea28bd433bdbaca8c601288d1c2987db0044b03c3 /docs
parent6e4c6281dbb7ee12bcdc22620894edb4e9cf623f (diff)
Removed obsolete doc references to javascript_catalog.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.3.txt4
-rw-r--r--docs/releases/1.7.txt2
-rw-r--r--docs/topics/i18n/translation.txt7
3 files changed, 5 insertions, 8 deletions
diff --git a/docs/releases/1.3.txt b/docs/releases/1.3.txt
index 96d1935932..88c83ecd27 100644
--- a/docs/releases/1.3.txt
+++ b/docs/releases/1.3.txt
@@ -583,8 +583,8 @@ domain):
translations shipped with applications by using the :setting:`LOCALE_PATHS`
setting is now possible for this domain too. These translations have higher
precedence than the translations of Python packages passed to the
- :ref:`javascript_catalog view <javascript_catalog-view>`. Paths listed first
- have higher precedence than the ones listed later.
+ ``javascript_catalog()`` view. Paths listed first have higher precedence than
+ the ones listed later.
* Translations under the ``locale`` subdirectory of the *project directory*
have never been taken in account for JavaScript translations and remain in
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index c01c12b558..6da941bc99 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -1742,7 +1742,7 @@ will be removed in Django 1.9. You can simply remove the
--------------------------------------
``javascript_quote()`` was an undocumented function present in ``django.utils.text``.
-It was used internally in the :ref:`javascript_catalog view <javascript_catalog-view>`
+It was used internally in the ``javascript_catalog()`` view
whose implementation was changed to make use of ``json.dumps()`` instead.
If you were relying on this function to provide safe output from untrusted
strings, you should use ``django.utils.html.escapejs`` or the
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt
index 4875419b6b..148028c717 100644
--- a/docs/topics/i18n/translation.txt
+++ b/docs/topics/i18n/translation.txt
@@ -960,8 +960,6 @@ The main solution to these problems is the following ``JavaScriptCatalog`` view,
which generates a JavaScript code library with functions that mimic the
``gettext`` interface, plus an array of translation strings.
-.. _javascript_catalog-view:
-
The ``JavaScriptCatalog`` view
------------------------------
@@ -2071,9 +2069,8 @@ translations for the same literal:
.. seealso::
The translations for literals included in JavaScript assets are looked up
- following a similar but not identical algorithm. See the
- :ref:`javascript_catalog view documentation <javascript_catalog-view>` for
- more details.
+ following a similar but not identical algorithm. See
+ :class:`.JavaScriptCatalog` for more details.
In all cases the name of the directory containing the translation is expected to
be named using :term:`locale name` notation. E.g. ``de``, ``pt_BR``, ``es_AR``,