From c3df840c20cc17ceb8fdcafb4215a6f3fb87fed1 Mon Sep 17 00:00:00 2001 From: Julien Phalip Date: Fri, 11 Nov 2011 13:07:14 +0000 Subject: 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 --- docs/ref/django-admin.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/ref') 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 --------------------------- -- cgit v1.3