diff options
| author | Ana Krivokapic <akrivokapic1@gmail.com> | 2014-03-24 14:03:06 +0100 |
|---|---|---|
| committer | Loic Bistuer <loic.bistuer@gmail.com> | 2014-04-26 17:07:44 +0700 |
| commit | 0707b824fe77e08ca8b75fcc3738ada694f2a3a6 (patch) | |
| tree | 31dab52c85ab79a5de469ac258f450c76fe76c3a /docs/man | |
| parent | d1f93e9c1e2c61bb06a6f99c80bd9437c5081f2d (diff) | |
Fixed #22328 -- Added --exclude option to compilemessages and makemessages.
Diffstat (limited to 'docs/man')
| -rw-r--r-- | docs/man/django-admin.1 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/man/django-admin.1 b/docs/man/django-admin.1 index c9932ac36f..fd254d5268 100644 --- a/docs/man/django-admin.1 +++ b/docs/man/django-admin.1 @@ -21,7 +21,7 @@ script found at the top level of each Django project directory. .BI cleanup Cleans out old data from the database (only expired sessions at the moment). .TP -.BI "compilemessages [" "\-\-locale=LOCALE" "]" +.BI "compilemessages [" "\-\-locale=LOCALE" "] [" "\-\-exclude=LOCALE" "]" Compiles .po files to .mo files for use with builtin gettext support. .TP .BI "createcachetable [" "tablename" "]" @@ -59,7 +59,7 @@ Executes .B sqlall for the given app(s) in the current database. .TP -.BI "makemessages [" "\-\-locale=LOCALE" "] [" "\-\-domain=DOMAIN" "] [" "\-\-extension=EXTENSION" "] [" "\-\-all" "] [" "\-\-symlinks" "] [" "\-\-ignore=PATTERN" "] [" "\-\-no\-default\-ignore" "] [" "\-\-no\-wrap" "] [" "\-\-no\-location" "]" +.BI "makemessages [" "\-\-locale=LOCALE" "] [" "\-\-exclude=LOCALE" "] [" "\-\-domain=DOMAIN" "] [" "\-\-extension=EXTENSION" "] [" "\-\-all" "] [" "\-\-symlinks" "] [" "\-\-ignore=PATTERN" "] [" "\-\-no\-default\-ignore" "] [" "\-\-no\-wrap" "] [" "\-\-no\-location" "]" Runs over the entire source tree of the current directory and pulls out all strings marked for translation. It creates (or updates) a message file in the conf/locale (in the django tree) or locale (for project and application) directory. @@ -176,6 +176,9 @@ output a full stack trace whenever an exception is raised. .I \-l, \-\-locale=LOCALE The locale to process when using makemessages or compilemessages. .TP +.I \-e, \-\-exclude=LOCALE +The locale to exclude from processing when using makemessages or compilemessages. +.TP .I \-d, \-\-domain=DOMAIN The domain of the message files (default: "django") when using makemessages. .TP |
