annotate po/regen_potfiles.sh @ 1377:dab37628f5d8

layout_status_update_pixel_cb(): cleanup and optimization, drop pango markup in i18n string, use a small function to calculate numbers length, only allocate text when needed.
author zas_
date Wed, 04 Mar 2009 21:33:19 +0000
parents 4581d3f03d22
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
4581d3f03d22 Modify regen_potfiles.sh to generate a patch instead of
zas_
parents: 584
diff changeset
5 (cd .. ; grep -l 'N\?_[[:space:]]*(.*)' ./src/*.c) > POTFILES.in.$$
4581d3f03d22 Modify regen_potfiles.sh to generate a patch instead of
zas_
parents: 584
diff changeset
6 diff -u POTFILES.in POTFILES.in.$$
4581d3f03d22 Modify regen_potfiles.sh to generate a patch instead of
zas_
parents: 584
diff changeset
7 rm -f POTFILES.in.$$