-
Change-Id: Ic1b7518862aa8eced46eaa7e0f2b70ab11bab799
Change-Id: Ic1b7518862aa8eced46eaa7e0f2b70ab11bab799
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
update-translations.ps1 439 B
[cmdletbinding()]
param (
[string]$qtver
);
$clientDir = split-path -parent $MyInvocation.MyCommand.Definition
$qtver = If ($qtver) { $qtver } Else { "5.15.0" }
$qtMsvcDir = "msvc2019_64"
$QtDir = "C:\Qt\$qtver\$qtMsvcDir"
$tsFileNames = Get-ChildItem -Path "$clientDir\translations" -Recurse -Include *.ts
$lupdate = "$QtDir\bin\lupdate.exe"
Invoke-Expression("$lupdate $clientDir\src -ts $tsFileNames -no-obsolete")