Translation generators are divided in two categories, interface and documentation

This commit is contained in:
Manuel Cortez 2016-06-29 17:25:34 -05:00
parent a8bebc2808
commit d66db99241
2 changed files with 7 additions and 0 deletions

7
scripts/genpot_doc.bat Normal file
View File

@ -0,0 +1,7 @@
@echo off
echo Generating file list..
dir ..\doc\*.py /L /B /S > %TEMP%\listfile.txt
echo Generating .POT file...
xgettext --language=Python -o socializer-documentation.pot --keyword=_ -d socializer -f %TEMP%\listfile.txt -c --no-location --no-wrap
del %TEMP%\listfile.txt
echo Done.