summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJulien Phalip <jphalip@gmail.com>2011-11-11 13:07:14 +0000
committerJulien Phalip <jphalip@gmail.com>2011-11-11 13:07:14 +0000
commitc3df840c20cc17ceb8fdcafb4215a6f3fb87fed1 (patch)
tree11c951a19c328a9843e03d4970c9173223b97022 /docs
parent9d410ee64b1a0f2d8a714eeffa7e17e09965f01c (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')
-rw-r--r--docs/ref/django-admin.txt8
-rw-r--r--docs/releases/1.4.txt3
2 files changed, 11 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 ...>
---------------------------
diff --git a/docs/releases/1.4.txt b/docs/releases/1.4.txt
index c8e476263b..eff5a99ebf 100644
--- a/docs/releases/1.4.txt
+++ b/docs/releases/1.4.txt
@@ -477,6 +477,9 @@ Django 1.4 also includes several smaller improvements worth noting:
This should make it easier to read when debugging interaction with
client-side Javascript code.
+* Added the :djadminopt:`--no-location` option to the :djadmin:`makemessages`
+ command.
+
.. _backwards-incompatible-changes-1.4:
Backwards incompatible changes in 1.4