diff options
| author | Jonatas CD <jonatas.cd@gmail.com> | 2017-08-11 21:22:10 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-08-11 15:24:34 -0400 |
| commit | b0ed14644a10dc8263e02b7f075e31169b450ea7 (patch) | |
| tree | 6f624ef776f952262a6b8fe94fc00bd554f1187e /docs | |
| parent | bca1ffc87afaff83072030890894a73d3e2478e8 (diff) | |
[1.11.x] Fixed #28252 -- Corrected docs for default file extensions of makemessages.
Backport of 31f133ea08d41907a67f9e3d667f2a09c167a97c 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 aa85aff907..36d00a4136 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -1668,9 +1668,9 @@ message file under the directory listed first in :setting:`LOCALE_PATHS` or will generate an error if :setting:`LOCALE_PATHS` is empty. By default :djadmin:`django-admin makemessages <makemessages>` examines every -file that has the ``.html`` or ``.txt`` file extension. In case you want to -override that default, use the ``--extension`` or ``-e`` option to specify the -file extensions to examine:: +file that has the ``.html``, ``.txt`` or ``.py`` file extension. If you want to +override that default, use the :option:`--extension <makemessages --extension>` +or ``-e`` option to specify the file extensions to examine:: django-admin makemessages -l de -e txt |
