diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-02-22 20:13:36 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-04-04 17:06:20 +0000 |
commit | f1803dbbb72c5b007a39f5617635a2ec68732b58 (patch) | |
tree | e3994b2935ec798d28411e65973eb84a5e223cd6 /tools | |
parent | 71eda00ad19ed4d7405f8885abe565d5fa88eb47 (diff) |
Add update-tx tools (Resync translation between repo and Transifex)
Change-Id: Ica2902fbc8a089b3b877b00c1fd72397f2c08146
Reviewed-on: https://code.wireshark.org/review/7314
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/update-tx | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/update-tx b/tools/update-tx new file mode 100755 index 0000000000..7e4314b11d --- /dev/null +++ b/tools/update-tx @@ -0,0 +1,33 @@ +#!/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 +lupdate ui/qt/Wireshark.pro +lrelease ui/qt/Wireshark.pro + +#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: +# |