mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
correct translations handling in updatetranslations script
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
408cbce46b
commit
b998aa66cc
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ for t in glob.glob('src/tools/*'):
|
|||
for t in glob.glob('translations/qt*.ts'):
|
||||
command = ['minsize/bin/lupdate', '-locations', 'relative', '-no-ui-lines', '-no-obsolete']
|
||||
if not 'tools' in t:
|
||||
command.extend(tfiles)
|
||||
else:
|
||||
command.extend(cfiles)
|
||||
else:
|
||||
command.extend(tfiles)
|
||||
command.extend(['-ts', t])
|
||||
subprocess.check_call(command)
|
||||
|
|
Loading…
Add table
Reference in a new issue