We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2762a1e commit 5692460Copy full SHA for 5692460
scripts/update.sh
@@ -22,11 +22,18 @@ then
22
scripts/runcheckouts.sh
23
scripts/extract.sh
24
25
- tx push -s
26
- tx pull -a --mode reviewed
+ # Only commit if something substantial changed (not just the creation timestamp)
+ if [[ `git diff cc/i18n/po/en/cc_org.po|grep '^\+'|wc -l` == '2' ]]
27
+ then
28
+ git checkout cc/i18n/po/en/cc_org.po
29
+ else
30
+ git commit -m "New strings extracted from sources" cc/i18n/po/en/cc_org.po
31
+ tx push -s
32
+ fi
33
- git commit -m "New strings extracted from sources" cc/i18n/po/en/cc_org.po
34
+ tx pull -a --mode reviewed
35
git commit -a -m "Latest i18n updates from Transifex"
36
+
37
git push
38
39
# Update toplevel repository to point to latest i18n rev
0 commit comments