merge-requests/273/head
Bernhard Landauer 8 years ago
commit 2fa9c8c62a

@ -3,10 +3,11 @@
fns=($(awk -F'=' '/^_/ {print $1}' "../data/translations/english.trans"))
for lg in ../data/translations/*.trans ; do
not=$(grep -cE "#.*translate me" "${lg}")
trans=$(<"${lg}")
not=$(echo "${trans}" | grep -cE "#.*translate me")
echo -e "\n-- $(basename "${lg}") ${not} to translate --"
for key in "${fns[@]}"; do
if (( $(grep -oEc "^${key}=" "${lg}") != 1)); then
if [[ ! $trans =~ $key ]]; then
echo -e "\t${key} not exist"
fi
done

Loading…
Cancel
Save