Adjust the i18n extraction rules to get all the strings we should get.

There's a move afoot to put assets inside individual Django apps,
instead of in upper-level "templates" directories.  These i18n
configuration files have to take this into account.

.underscore files are easy to find by their unique file extension, so
the rule can be simple.  Mako files are .html, so we have to be more
nuanced about it.  We don't want to get pure HTML files, and we don't
want to get .html files for tests, even if they are Mako templates.
This commit is contained in:
Ned Batchelder
2015-08-24 16:27:36 -04:00
parent f2b3f913c8
commit 3eb2e31c52
3 changed files with 26 additions and 13 deletions

View File

@@ -19,7 +19,7 @@
% endif
<span class="status ${status.classname}" id="status_${id}" aria-describedby="input_${id}">
<span class="sr">${status.display_name</span>
<span class="sr">${status.display_name}</span>
</span>
% if msg:
<br/>