#!/bin/sh if [ ! -r ../po/portal.pot ]; then echo "Error: Could not find ../po/portal.pot" echo "This script must be run from the tools/ directory." exit fi xgettext -kfunc_lang -kgettext -s -C -j -o ../po/portal.pot \ ../template/*.html \ ../template/about/*.html \ ../template/admin/*.html \ ../template/community/*.html \ ../template/navigation/*.html \ ../system/*.php \ ../system/form/*.php \ ../system/form/about/*.php \ ../system/form/about/casestudies/*.php \ ../system/form/support/*.php \ ../system/global/*.php \ ../system/page/*.php \ ../admin/*.php