Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-client-windows
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-client-windows
Commits
6ba43e26
Commit
6ba43e26
authored
6 years ago
by
Andreas Traczyk
Browse files
Options
Downloads
Patches
Plain Diff
i18n: update translations script
Change-Id: Id29191e161dd9b5cbcc56849cb31c106853fe77d
parent
082a2589
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
update-translations.py
+3
-3
3 additions, 3 deletions
update-translations.py
with
3 additions
and
3 deletions
update-translations.py
+
3
−
3
View file @
6ba43e26
...
@@ -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
RingWinClien
t.pro -no-obsolete
"
):
if
os
.
system
(
"
lupdate
jami-q
t.pro -no-obsolete
"
):
print
(
"
trying with
'
lupdate-qt5
'"
)
print
(
"
trying with
'
lupdate-qt5
'"
)
if
os
.
system
(
"
lupdate-qt5
RingWinClien
t.pro -no-obsolete
"
):
if
os
.
system
(
"
lupdate-qt5
jami-q
t.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
=
"
RingWinClien
t.pro
"
proFile
=
"
jami-q
t.pro
"
shutil
.
move
(
proFile
,
proFile
+
"
~
"
)
shutil
.
move
(
proFile
,
proFile
+
"
~
"
)
destination
=
open
(
proFile
,
"
w
"
)
destination
=
open
(
proFile
,
"
w
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment