]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
langauges.txt generator: output the current en line in order to preserve the padding
authorterencehill <piuntn@gmail.com>
Fri, 16 Oct 2015 21:23:15 +0000 (23:23 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 16 Oct 2015 21:23:15 +0000 (23:23 +0200)
check-translations.sh

index 34404877a22e2238fcbe79691d4e791181204f53..a7406532d8d61829e952a19d91ccc5ccb0e28494 100755 (executable)
@@ -36,7 +36,8 @@ fi
 
 if [ x"$mode" = x"txt" ]; then
        {
 
 if [ x"$mode" = x"txt" ]; then
        {
-               echo "en    English \"English\""
+               item=`grep "^en " languages.txt`
+               echo "$item"
                for X in common.*.po; do
                        [ -f "$X" ] || continue
                        if [ -n "$language" ]; then
                for X in common.*.po; do
                        [ -f "$X" ] || continue
                        if [ -n "$language" ]; then