You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
434 B
Bash
16 lines
434 B
Bash
#!/usr/bin/bash
|
|
|
|
fns=($(awk -F'=' '/^_/ {print $1}' "../data/translations/english.trans"))
|
|
|
|
for lg in ../data/translations/*.trans ; do
|
|
trans=$(<"${lg}")
|
|
not=$(echo "${trans}" | grep -cE "#.*translate me")
|
|
echo -e "\n-- $(basename "${lg}") ${not} to translate --"
|
|
for key in "${fns[@]}"; do
|
|
if [[ ! $trans =~ $key ]]; then
|
|
echo -e "\t${key} not exist"
|
|
fi
|
|
done
|
|
done
|
|
|
|
#echo -e "${fns[*]}" |