Конфигурация babel для мультиязычности
This commit is contained in:
36
babel.cfg
Normal file
36
babel.cfg
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
# ==========================================================
|
||||||
|
# Babel configuration
|
||||||
|
# ==========================================================
|
||||||
|
|
||||||
|
# ----------------------------------------------------------
|
||||||
|
# Python source files
|
||||||
|
# ----------------------------------------------------------
|
||||||
|
[python: **.py]
|
||||||
|
|
||||||
|
encoding = utf-8
|
||||||
|
|
||||||
|
keywords =
|
||||||
|
_
|
||||||
|
gettext
|
||||||
|
ngettext:1,2
|
||||||
|
pgettext:1c,2
|
||||||
|
npgettext:1c,2,3
|
||||||
|
lazy_gettext
|
||||||
|
lazy_pgettext:1c,2
|
||||||
|
__
|
||||||
|
|
||||||
|
# ----------------------------------------------------------
|
||||||
|
# Jinja2 templates (optional)
|
||||||
|
# ----------------------------------------------------------
|
||||||
|
[jinja2: **/templates/**.html]
|
||||||
|
encoding = utf-8
|
||||||
|
|
||||||
|
# ----------------------------------------------------------
|
||||||
|
# Ignore directories
|
||||||
|
# ----------------------------------------------------------
|
||||||
|
[ignore: venv/**]
|
||||||
|
[ignore: .venv/**]
|
||||||
|
[ignore: env/**]
|
||||||
|
[ignore: migrations/**]
|
||||||
|
[ignore: alembic/**]
|
||||||
|
[ignore: tests/**]
|
||||||
Reference in New Issue
Block a user