#!/bin/bash # Filip Komar, 2014 # @license GPL v2 # @author Filip (rebuilding a gettext dictionaries) # @copyright 2014/03 # inspired by check_for_translation_work.sh declare -A resources source ./tools/web_projects.dat for resource in "${!resources[@]}" do php_source=${resources[$resource]} php tools/extract2gettext.php $php_source $resource done echo '' echo "Done lookup for _g() and _r() in php source code and build a gettext catalog (pot file)"