aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lookup_for_second_argument.sh
blob: 30bcc103442585cef0c86288c4bd1db9acf0f0c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
# Filip Komar, 2014
# @license GPL v2
# @author Filip (prepare for transformation to gettext translation system)
# @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/lookup_for_second_argument.php $php_source $resource
done
echo ''
echo "Done lookup for second argument in functions _t() and _d() in the source code"