From 776475265e536cf4fd6ed7229880e1ff01466da8 Mon Sep 17 00:00:00 2001 From: K4YT3X Date: Sun, 13 Sep 2020 17:10:03 -0400 Subject: [PATCH] added generate POT file script --- src/generate_pot.ps1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/generate_pot.ps1 diff --git a/src/generate_pot.ps1 b/src/generate_pot.ps1 new file mode 100644 index 0000000..1d62e98 --- /dev/null +++ b/src/generate_pot.ps1 @@ -0,0 +1,14 @@ +<# +Name: Video2X Generate POT Script +Creator: K4YT3X +Date Created: September 12, 2020 +Last Modified: September 12, 2020 + +Description: A PowerShell script that uses Python's pygettext +script to generate the POT file for translations. + +To start a PowerShell session with execution policy bypass +powershell -ExecutionPolicy Bypass +#> + +python $env:LOCALAPPDATA\Programs\Python\Python38\Tools\i18n\pygettext.py -d video2x *.py wrappers\*.py