summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-09-22 18:12:47 -0700
committerClaude Paroz <claude@2xlibre.net>2018-09-25 10:19:42 +0200
commit3a3d159ab66c32dbf7331676267a04afa20857d0 (patch)
treeaa9e2abec625fd1c4ce24f098350fe5e4ea803df /docs
parent495abe00951ceb9787d7f36590f71aa14c973d3d (diff)
Refs #29784 -- Changed Python f-string link to use intersphinx.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/i18n/translation.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt
index 60e73fa779..3adb3d91b9 100644
--- a/docs/topics/i18n/translation.txt
+++ b/docs/topics/i18n/translation.txt
@@ -139,10 +139,10 @@ have more than a single parameter. If you used positional interpolation,
translations wouldn't be able to reorder placeholder text.
Since string extraction is done by the ``xgettext`` command, only syntaxes
-supported by ``gettext`` are supported by Django. Python f-strings_ and
-`JavaScript template strings`_ are not yet supported by ``xgettext``.
+supported by ``gettext`` are supported by Django. Python :py:ref:`f-strings
+<f-strings>` and `JavaScript template strings`_ are not yet supported by
+``xgettext``.
-.. _f-strings: https://docs.python.org/3/reference/lexical_analysis.html#f-strings
.. _JavaScript template strings: https://savannah.gnu.org/bugs/?50920
.. _translator-comments: