mirror of
https://github.com/k4yt3x/video2x.git
synced 2025-01-30 15:48:13 +00:00
added generate POT file script
This commit is contained in:
parent
21928f9eb4
commit
776475265e
14
src/generate_pot.ps1
Normal file
14
src/generate_pot.ps1
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user