Debian Codegraph @

utils/translations/build-translations.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 lrelease=`whichscip-shell system . . which. lrelease 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
4 if testscip-shell system . . test. -z "$lrelease"
5 then
6 lrelease=`whichscip-shell system . . which. lrelease-qt4 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
7 fi
8 if testscip-shell system . . test. -z "$lrelease"
9 then
10 lrelease=`whichscip-shell system . . which. lrelease-qt5 2> /dev/nullscip-shell filesystem . . `/dev/null`.`
11 fi
12 if testscip-shell system . . test. -z "$lrelease"
13 then
14 echoscip-shell system . . echo. "lrelease not found"
15 exit 1
16 fi
17
18 echoscip-shell system . . echo. "using $lrelease"
19 if testscip-shell system . . test. -f translations/ready
20 then
21 languages=""
22 for language in $(catscip-shell system . . cat. translations/ready)
23 do
24 languages="$languages translations/monero_$language.ts"
25 done
26 else
27 languages="translations/*.ts"
28 fi
29 "$lrelease" $languages
30