i18n: change the harvest path and add an extra option in ts update script

Change-Id: Ic1b7518862aa8eced46eaa7e0f2b70ab11bab799
This commit is contained in:
Ming Rui Zhang
2020-09-09 13:45:53 -04:00
committed by Andreas Traczyk
parent 90a1dbce27
commit 0445e091b0

View File

@@ -11,4 +11,4 @@ $QtDir = "C:\Qt\$qtver\$qtMsvcDir"
$tsFileNames = Get-ChildItem -Path "$clientDir\translations" -Recurse -Include *.ts
$lupdate = "$QtDir\bin\lupdate.exe"
Invoke-Expression("$lupdate $clientDir -ts $tsFileNames")
Invoke-Expression("$lupdate $clientDir\src -ts $tsFileNames -no-obsolete")