aboutsummaryrefslogtreecommitdiffstats
path: root/tools/update-tx
blob: 919dcf372760a26785a27a31d510c4f574293ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
# Copyright 2015, Alexis La Goutte (See AUTHORS file)
#
# Resync translation between Gerrit repo and Transifex

#Get last translation for Transifex
tx pull -f

#Regenerate last translation for repo
for i in ui/qt/*.ts ; do
        lupdate ui/qt/*.h ui/qt/*.cpp wireshark-qt.cpp ui/qt/*.ui -ts $i
done

#Push last change tranlastion on Transifex
tx push -t -s

#Add new commit with last translaation update
#git commit -a -m "TX: Update Translations (sync)"

#Push update translation on Gerrit
#git push origin HEAD:refs/for/master/tx

#
#  Editor modelines
#
#  Local Variables:
#  c-basic-offset: 4
#  tab-width: 8
#  indent-tabs-mode: nil
#  End:
#
#  ex: set shiftwidth=4 tabstop=8 expandtab:
#  :indentSize=4:tabSize=8:noTabs=true:
#