Skip to content
Snippets Groups Projects
Commit 6ba43e26 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

i18n: update translations script

Change-Id: Id29191e161dd9b5cbcc56849cb31c106853fe77d
parent 082a2589
No related branches found
No related tags found
No related merge requests found
...@@ -25,9 +25,9 @@ import os ...@@ -25,9 +25,9 @@ import os
import shutil import shutil
print("== Updating from sources") 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'") 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") raise RuntimeError("unable to find any suitable lupdate Qt tool on this system. Stopping")
print("== Pushing sources") print("== Pushing sources")
...@@ -43,7 +43,7 @@ translationFiles = [] ...@@ -43,7 +43,7 @@ translationFiles = []
for filename in os.listdir('./translations'): for filename in os.listdir('./translations'):
translationFiles.append("translations/{0}".format(filename)) translationFiles.append("translations/{0}".format(filename))
proFile = "RingWinClient.pro" proFile = "jami-qt.pro"
shutil.move(proFile, proFile + "~") shutil.move(proFile, proFile + "~")
destination = open(proFile, "w") destination = open(proFile, "w")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment