view po/update-potfiles.sh @ 3126:2d2a50196556

Backed out changeset 617cd51dfee5 This didn't work, and doesn't seem right.
author William Pitcock <nenolod@atheme.org>
date Wed, 06 May 2009 14:04:28 -0500
parents be52c86750d7
children
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 "*.cxx" -o -name "*.cc" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in