mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-24 06:55:26 -07:00
Add babel config
This commit is contained in:
parent
895d67fad3
commit
2884114912
3 changed files with 11 additions and 0 deletions
2
data/locale/babel.bat
Normal file
2
data/locale/babel.bat
Normal 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
1
data/locales/babel.bat
Normal file
|
@ -0,0 +1 @@
|
|||
pybabel extract -F babel.cfg -o tautulli.pot --omit-header ../..
|
8
data/locales/babel.cfg
Normal file
8
data/locales/babel.cfg
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue