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

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 RingWinClient.pro -no-obsolete"):
if os.system("lupdate jami-qt.pro -no-obsolete"):
print("trying with 'lupdate-qt5'")
if os.system("lupdate-qt5 RingWinClient.pro -no-obsolete"):
if os.system("lupdate-qt5 jami-qt.pro -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'):
translationFiles.append("translations/{0}".format(filename))
proFile = "RingWinClient.pro"
proFile = "jami-qt.pro"
shutil.move(proFile, proFile + "~")
destination = open(proFile, "w")
......
Markdown is supported
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