Commit 6ba43e26 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

i18n: update translations script

Change-Id: Id29191e161dd9b5cbcc56849cb31c106853fe77d
parent 082a2589
......@@ -25,9 +25,9 @@ import os
import shutil
print("== Updating from sources")
if os.system("lupdate -no-obsolete"):
if os.system("lupdate -no-obsolete"):
print("trying with 'lupdate-qt5'")
if os.system("lupdate-qt5 -no-obsolete"):
if os.system("lupdate-qt5 -no-obsolete"):
raise RuntimeError("unable to find any suitable lupdate Qt tool on this system. Stopping")
print("== Pushing sources")
......@@ -43,7 +43,7 @@ translationFiles = []
for filename in os.listdir('./translations'):
proFile = ""
proFile = ""
shutil.move(proFile, proFile + "~")
destination = open(proFile, "w")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment