###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2010 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
exit 1
fi
-cat ./langs/de/cgi-bin/de.pl | grep \'.*\' | awk -F\' '{print $2}'| sort > /tmp/de_cgi-bin.$$
-cat ./langs/de/install/lang_de.c | grep TR_ | awk -F\ '{print $2}' > /tmp/de_install.$$
+cat ./langs/en/cgi-bin/en.pl | grep \'.*\' | awk -F\' '{print $2}'| sort > /tmp/en_cgi-bin.$$
-for i in ./langs/en; do
+for i in ./langs/*; do
+ [ -d "${i}" ] || continue
language=`echo "$i" | awk -F/ '{ print $3 }'`
-
- echo "############################################################################"
- echo "# Checking install/setup translations for language: ${language} #"
- echo "############################################################################"
- cat ./langs/${language}/install/lang_${language}.c | grep TR_ | awk -F\ '{print $2}' | \
- diff /tmp/de_install.$$ - | grep \<
+ [ "${language}" = "en" ] && continue
echo "############################################################################"
echo "# Checking cgi-bin translations for language: ${language} #"
echo "############################################################################"
cat ./langs/${language}/cgi-bin/${language}.pl | grep \'.*\' | awk -F\' '{print $2}' | sort | \
- diff /tmp/de_cgi-bin.$$ - | grep \<
+ diff /tmp/en_cgi-bin.$$ - | grep \<
done
-rm -f /tmp/de_cgi-bin.$$
-rm -f /tmp/de_install.$$
+rm -f /tmp/en_cgi-bin.$$
exit 0