Mercurial > geeqie
annotate po/regen_potfiles.sh @ 1685:47b191b77e07
Revert "Add pgettext for some ambiguous strings"
Now there should be all ambiguous strings gone. This reverts commit 1628
With that commit also all ambiguous strings should be solved.
author | mow |
---|---|
date | Tue, 30 Jun 2009 19:53:55 +0000 |
parents | 351dd18c7db0 |
children |
rev | line source |
---|---|
584 | 1 #!/bin/sh |
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 |