add config files for PyBabel and update.py
This commit is contained in:
19
conf/locale/babel.cfg
Normal file
19
conf/locale/babel.cfg
Normal file
@@ -0,0 +1,19 @@
|
||||
# Extraction from Python source files
|
||||
#[python: cms/**.py]
|
||||
#[python: lms/**.py]
|
||||
#[python: common/**.py]
|
||||
|
||||
# Extraction from Javscript source files
|
||||
#[javascript: cms/**.js]
|
||||
#[javascript: lms/**.js]
|
||||
#[javascript: common/static/js/capa/**.js]
|
||||
#[javascript: common/static/js/course_groups/**.js]
|
||||
# do not extract from common/static/js/vendor/**
|
||||
|
||||
# Extraction from Mako templates
|
||||
[mako: cms/templates/**.html]
|
||||
input_encoding = utf-8
|
||||
[mako: lms/templates/**.html]
|
||||
input_encoding = utf-8
|
||||
[mako: common/templates/**.html]
|
||||
input_encoding = utf-8
|
||||
1
conf/locale/config
Normal file
1
conf/locale/config
Normal file
@@ -0,0 +1 @@
|
||||
{"locales" : ["en", "fr", "de"]}
|
||||
Reference in New Issue
Block a user