annotate po/regen_potfiles.sh @ 1752:843c4eb46e09

fixed incorrect translation
author nadvornik
date Sun, 13 Sep 2009 21:03:17 +0000
parents 351dd18c7db0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
584
4609c84c9ce0 Add an helper script to regenerate POTFILES.in file.
zas_
parents:
diff changeset
1 #!/bin/sh
4609c84c9ce0 Add an helper script to regenerate POTFILES.in file.
zas_
parents:
diff changeset
2
588
4581d3f03d22 Modify regen_potfiles.sh to generate a patch instead of
zas_
parents: 584
diff changeset
3 #generate a patch to update POTFILES.in
4581d3f03d22 Modify regen_potfiles.sh to generate a patch instead of
zas_
parents: 584
diff changeset
4 #Use like this: ./regen_potfiles.sh | patch -p0
1681
351dd18c7db0 Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files.
zas_
parents: 588
diff changeset
5 TMP=POTFILES.in.$$
351dd18c7db0 Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files.
zas_
parents: 588
diff changeset
6 ((find ../src/ -type f -name '*.c' ; find ../ -type f -name '*.desktop.in') | while read f; do
351dd18c7db0 Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files.
zas_
parents: 588
diff changeset
7 (echo $f | sed 's#^../##')
351dd18c7db0 Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files.
zas_
parents: 588
diff changeset
8 done) | sort > $TMP
351dd18c7db0 Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files.
zas_
parents: 588
diff changeset
9 diff -u POTFILES.in $TMP
351dd18c7db0 Fix POTFILES.in and update regen_potfiles.sh to add .desktop.in files.
zas_
parents: 588
diff changeset
10 rm -f $TMP