diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-06-19 11:24:25 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-06-19 11:24:25 +0000 |
| commit | 63f9b6712909970693a9e509d13218856306bbd6 (patch) | |
| tree | 12f4c7c3f7bcab11b520838160746a0a2466e877 /docs | |
| parent | ac4d015703868b6ebee93f690431d92dda04194b (diff) | |
Added '.txt' to list of file extensions that the makemessages management command automatically scans. Refs #12202.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 4 | ||||
| -rw-r--r-- | docs/topics/i18n/localization.txt | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 0b116f8c23..36b7bcda7c 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -417,7 +417,7 @@ Example usage:: .. django-admin-option:: --extension Use the ``--extension`` or ``-e`` option to specify a list of file extensions -to examine (default: ".html"). +to examine (default: ".html", ".txt"). Example usage:: @@ -438,7 +438,7 @@ Example usage:: Use the ``--domain`` or ``-d`` option to change the domain of the messages files. Currently supported: - * ``django`` for all ``*.py`` and ``*.html`` files (default) + * ``django`` for all ``*.py``, ``*.html`` and ``*.txt`` files (default) * ``djangojs`` for ``*.js`` files .. django-admin-option:: --symlinks diff --git a/docs/topics/i18n/localization.txt b/docs/topics/i18n/localization.txt index 4215201f35..a24db8d463 100644 --- a/docs/topics/i18n/localization.txt +++ b/docs/topics/i18n/localization.txt @@ -84,8 +84,9 @@ message file in the directory ``locale/LANG/LC_MESSAGES``. In the ``de`` example, the file will be ``locale/de/LC_MESSAGES/django.po``. By default ``django-admin.py makemessages`` examines every file that has the -``.html`` file extension. In case you want to override that default, use the -``--extension`` or ``-e`` option to specify the file extensions to examine:: +``.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:: django-admin.py makemessages -l de -e txt |
