diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-09-22 18:12:47 -0700 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2018-09-25 10:21:36 +0200 |
| commit | c6d147bed8760ed79a34ffdad2f41988301f07f7 (patch) | |
| tree | b75fda1db910e6f7e71fd66dcce47b7de6bc6e95 /docs | |
| parent | 1d9725504c2a17f55f253e3ff4cff838ee1fe708 (diff) | |
[2.1.x] Refs #29784 -- Changed Python f-string link to use intersphinx.
Backport of 3a3d159ab66c32dbf7331676267a04afa20857d0 from master.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/i18n/translation.txt | 6 |
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: |
