diff options
| author | Julien Phalip <jphalip@gmail.com> | 2011-11-11 13:07:14 +0000 |
|---|---|---|
| committer | Julien Phalip <jphalip@gmail.com> | 2011-11-11 13:07:14 +0000 |
| commit | c3df840c20cc17ceb8fdcafb4215a6f3fb87fed1 (patch) | |
| tree | 11c951a19c328a9843e03d4970c9173223b97022 /docs/ref | |
| parent | 9d410ee64b1a0f2d8a714eeffa7e17e09965f01c (diff) | |
Fixed #16903 -- Added `--no-location` option to the `makemessages` command to not write '#: filename:line' comment lines in language files. Thanks to alpar for the suggestion and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/django-admin.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 519ef3c766..24fa0d7b34 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -475,6 +475,14 @@ Use the ``--no-default-ignore`` option to disable the default values of Use the ``--no-wrap`` option to disable breaking long message lines into several lines in language files. +.. django-admin-option:: --no-location + +.. versionadded:: 1.4 + +Use the ``--no-location`` option to not write '``#: filename:line``' +comment lines in language files. Note that using this option makes it harder +for technically skilled translators to understand each message's context. + reset <appname appname ...> --------------------------- |
