mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-03-14 23:27:30 +08:00
added generate POT file script
This commit is contained in:
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
|
||||||
Reference in New Issue
Block a user