diff --git a/babel.cfg b/babel.cfg new file mode 100644 index 0000000..b315e2c --- /dev/null +++ b/babel.cfg @@ -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/**]