Add babel config

This commit is contained in:
JonnyWong16 2021-06-04 15:43:32 -07:00
commit 2884114912
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 11 additions and 0 deletions

2
data/locale/babel.bat Normal file
View file

@ -0,0 +1,2 @@
pybabel extract -F babel.cfg -o tautulli.pot ../..
pybabel compile -D tautulli -d . -l en

1
data/locales/babel.bat Normal file
View file

@ -0,0 +1 @@
pybabel extract -F babel.cfg -o tautulli.pot --omit-header ../..

8
data/locales/babel.cfg Normal file
View file

@ -0,0 +1,8 @@
# Extraction from Python source files
[python: plexpy/**.py]
# Extraction from Mako templates
[mako: data/interfaces/default/**.html]
input_encoding = utf-8