web/wp-content/plugins/feedburner-plugin/languages/makemofiles
author Anthony Ly <anthonyly.com@gmail.com>
Wed, 19 Dec 2012 17:46:52 -0800
changeset 204 09a1c134465b
permissions -rw-r--r--
man wordpress + plugins order post + slideshow

#!/bin/sh

DIR=/home/john/code/wordpressplugins/feedburner-plugin/languages
FILES=`find $DIR -name "*.po" -exec basename {} .po \;`

for f in $FILES; do
	if [ ! -e "$DIR/$f.mo" ]; then
		echo "Compiling $f..."
		msgfmt "$DIR/$f.po" -o "$DIR/$f.mo"
	fi
done

echo "DONE"