<commit_before># Extraction from Mako templates.
# 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
[mako: */djangoapps/*/templates/**.html]
input_encoding = utf-8
[mako: */templates/**.mustache]
input_encoding = utf-8
[mako: */templates/emails/**.txt]
input_encoding = utf-8
[mako: common/lib/capa/capa/templates/**.html]
input_encoding = utf-8
[mako: themes/**.html]
input_encoding = utf-8
[mako: themes/**.html]
input_encoding = utf-8
<commit_msg>update babel_mako config to extract strings from .txt files in themes directory<commit_after># Extraction from Mako templates.
# 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
[mako: */djangoapps/*/templates/**.html]
input_encoding = utf-8
[mako: */templates/**.mustache]
input_encoding = utf-8
[mako: */templates/emails/**.txt]
input_encoding = utf-8
[mako: common/lib/capa/capa/templates/**.html]
input_encoding = utf-8
[mako: themes/**.html]
input_encoding = utf-8
[mako: themes/**.txt]
input_encoding = utf-8

{'fraction_non_alphanumeric': 0.13442277279915657, 'fraction_numerical': 0.007380073800738007, 'mean_word_length': 4.469740634005763, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5599102', 'n_tokens_mistral': 647, 'n_tokens_neox': 634, 'n_words': 155}