view po/update-potfiles.sh @ 2461:85e03a981a7c

take care of force_v2_val, only_v1_val and only_v2_val
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 27 Mar 2008 00:13:29 +0900
parents 612d25be0fbd
children be52c86750d7
line wrap: on
line source

#!/bin/bash
rm POTFILES*
echo "# Please don't update this file manually - use ./update-potfiles.sh instead!" > POTFILES.in
cd ..
find src/ \( -name "*.c*" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in