diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-04-18 07:46:05 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-04-20 12:10:33 +0200 |
| commit | 505fec6badba0622bbf97bb659188c3d62a9bc58 (patch) | |
| tree | ca5c256eb32d7f9906c59652049a45690458b52b /docs/topics | |
| parent | 3152146e3abd029be2457d2e780599d399db0fe2 (diff) | |
Capitalized Unicode in docs, strings, and comments.
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/i18n/translation.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 354ef95a69..eb816c690b 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -418,7 +418,7 @@ arbitrary Python code. For example, the following won't work because the `requests <https://pypi.org/project/requests/>`_ library doesn't handle ``gettext_lazy`` objects:: - body = gettext_lazy("I \u2764 Django") # (unicode :heart:) + body = gettext_lazy("I \u2764 Django") # (Unicode :heart:) requests.post('https://example.com/send', data={'body': body}) You can avoid such problems by casting ``gettext_lazy()`` objects to text |
