web/wp-content/plugins/feedburner-plugin/languages/makemofiles
changeset 204 09a1c134465b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/plugins/feedburner-plugin/languages/makemofiles	Wed Dec 19 17:46:52 2012 -0800
@@ -0,0 +1,13 @@
+#!/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"