view po/update-potfiles.sh @ 3139:647edbe263bd

neon: Don't bother trying to seek on a Twisted server. It lies about it's capabilities, which leads to failure. (Closes #56)
author William Pitcock <nenolod@atheme.org>
date Thu, 07 May 2009 11:43:21 -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