Commit 4c03b2bb by Ned Batchelder

Merge pull request #9451 from edx/ned/extract_more_i18n

Adjust the i18n extraction rules to get all the strings we should get.
parents f2b3f913 3eb2e31c
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
% endif % endif
<span class="status ${status.classname}" id="status_${id}" aria-describedby="input_${id}"> <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> </span>
% if msg: % if msg:
<br/> <br/>
......
# Extraction from Mako templates # Extraction from Mako templates.
[mako: cms/templates/**.html] # Mako files can appear in a number of different places. Some we want to
# extract strings from, some we don't.
#
# Extract from these directory trees:
#
# cms/templates
# cms/djangoapps/APPNAME/templates
# common/templates
# common/djangoapps/APPNAME/templates
# lms/templates
# lms/djangoapps/APPNAME/templates
# common/lib/capa/capa/templates
#
# Don't extract from these directory trees:
# common/test/test_microsites/test_microsite/templates
#
[mako: */templates/**.html]
input_encoding = utf-8 input_encoding = utf-8
[mako: lms/templates/**.html] [mako: */djangoapps/*/templates/**.html]
input_encoding = utf-8 input_encoding = utf-8
[mako: lms/templates/**.mustache] [mako: */templates/**.mustache]
input_encoding = utf-8 input_encoding = utf-8
[mako: common/templates/**.html] [mako: */templates/emails/**.txt]
input_encoding = utf-8 input_encoding = utf-8
[mako: cms/templates/emails/**.txt] [mako: common/lib/capa/capa/templates/**.html]
input_encoding = utf-8 input_encoding = utf-8
[mako: lms/templates/emails/**.txt] [mako: themes/**.html]
input_encoding = utf-8 input_encoding = utf-8
# Use this configuration file for extracting strings from .underscore files. # Use this configuration file for extracting strings from .underscore files.
[underscore: cms/templates/**.underscore] [underscore: **.underscore]
input_encoding = utf-8
[underscore: common/templates/**.underscore]
input_encoding = utf-8
[underscore: lms/templates/**.underscore]
input_encoding = utf-8 input_encoding = utf-8
[extractors] [extractors]
......
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