aboutsummaryrefslogtreecommitdiffstats
path: root/script/generate_pot.sh
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-09-24 09:23:44 +0100
committerLouise Crow <louise.crow@gmail.com>2013-09-24 09:23:44 +0100
commit7d9b66d1ff31afa8d73ea1a81f4e612e41f89cb0 (patch)
tree5206d9fbaf8d6af58bdaa35cefdfeb34a88c84ff /script/generate_pot.sh
parent40a28fa2fe21d752a15c11938791d620dd31d17f (diff)
parent8e7432be764254e6a50e6a06e77bb93bb5bba9fe (diff)
Merge branch 'release/0.14' into wdtk
Conflicts: app/views/request/show.html.erb
Diffstat (limited to 'script/generate_pot.sh')
-rwxr-xr-xscript/generate_pot.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/script/generate_pot.sh b/script/generate_pot.sh
deleted file mode 100755
index c0540c3d9..000000000
--- a/script/generate_pot.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-echo "This is NOT a completed script! Just use it as reference for what to do from the command line, or fix it until it works!"
-exit 1
-
-cd `dirname $0`
-# grab latest po files from Transifex
-tx pull -a -f
-git status | grep app.po | awk '{print $3}' | xargs git add
-git commit -m "Backup latest po files from Transifex"
-
-# now regenerate POT and PO files from Alaveteli source
-bundle exec rake gettext:store_model_attributes
-bundle exec rake gettext:findpot
-
-# upload the result to Transifex
-tx push -t
-
-# re-download (it removes the fuzzy strings and normalises it to the format last committed)
-tx pull -a -f
-git status | grep app.po | awk '{print $3}' | xargs git add
-git commit -m "Updated POT"