add config files for PyBabel and update.py
This commit is contained in:
10
.gitignore
vendored
10
.gitignore
vendored
@@ -31,3 +31,13 @@ cover_html/
|
||||
chromedriver.log
|
||||
/nbproject
|
||||
ghostdriver.log
|
||||
/cms/doc/en/getting_started/
|
||||
/conf/locale/en
|
||||
/conf/locale/fr
|
||||
create-dev-env.hack.sh
|
||||
distribute-0.6.36.tar.gz
|
||||
i18n/googleTranslate.hack.py
|
||||
i18n/mitx/conf/locale/fr/LC_MESSAGES/django.po
|
||||
i18n/split.py
|
||||
.gitignore
|
||||
|
||||
|
||||
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