From d66db992411b5a03ac14cb5a71c9584fa444b629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Wed, 29 Jun 2016 17:25:34 -0500 Subject: [PATCH] Translation generators are divided in two categories, interface and documentation --- scripts/genpot_doc.bat | 7 +++++++ scripts/{genpot.bat => genpot_interface.bat} | 0 2 files changed, 7 insertions(+) create mode 100644 scripts/genpot_doc.bat rename scripts/{genpot.bat => genpot_interface.bat} (100%) diff --git a/scripts/genpot_doc.bat b/scripts/genpot_doc.bat new file mode 100644 index 0000000..006828d --- /dev/null +++ b/scripts/genpot_doc.bat @@ -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. diff --git a/scripts/genpot.bat b/scripts/genpot_interface.bat similarity index 100% rename from scripts/genpot.bat rename to scripts/genpot_interface.bat