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