view po/regen_potfiles.sh @ 785:548b193c084c

Use uft8_collate_key() to sort utf8 strings. Modify file_data_set_path() to sync collate keys and file_data_pool on path change. Partially fix bug 1959854.
author zas_
date Thu, 05 Jun 2008 08:41:02 +0000
parents 4581d3f03d22
children 351dd18c7db0
line wrap: on
line source

#!/bin/sh

#generate a patch to update POTFILES.in
#Use like this: ./regen_potfiles.sh | patch -p0
(cd .. ; grep -l 'N\?_[[:space:]]*(.*)' ./src/*.c) > POTFILES.in.$$
diff -u POTFILES.in POTFILES.in.$$
rm -f POTFILES.in.$$