diff --git a/data/locale/babel.bat b/data/locale/babel.bat new file mode 100644 index 00000000..0388055c --- /dev/null +++ b/data/locale/babel.bat @@ -0,0 +1,2 @@ +pybabel extract -F babel.cfg -o tautulli.pot ../.. +pybabel compile -D tautulli -d . -l en \ No newline at end of file diff --git a/data/locales/babel.bat b/data/locales/babel.bat new file mode 100644 index 00000000..ff67dcfe --- /dev/null +++ b/data/locales/babel.bat @@ -0,0 +1 @@ +pybabel extract -F babel.cfg -o tautulli.pot --omit-header ../.. \ No newline at end of file diff --git a/data/locales/babel.cfg b/data/locales/babel.cfg new file mode 100644 index 00000000..4225584c --- /dev/null +++ b/data/locales/babel.cfg @@ -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 \ No newline at end of file