Commit 15b5ffe1 authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Merge branch 'no_obsolete' into 'master'

Add argument to remove unused translations when running makemessages

See merge request !893
parents 6ac2495c c7c4f5df
...@@ -320,3 +320,6 @@ DEFAULT_EXCEPTION_REPORTER_FILTER = ( ...@@ -320,3 +320,6 @@ DEFAULT_EXCEPTION_REPORTER_FILTER = (
# Make sure the locations in django.po files don't include line nrs. # Make sure the locations in django.po files don't include line nrs.
makemessages.Command.xgettext_options.append('--add-location=file') makemessages.Command.xgettext_options.append('--add-location=file')
# Remove unused translations.
makemessages.Command.xgettext_options.append('--no-obsolete')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment