Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.441 kb
# Empties the map names translation files
echo "" > map_names_tr.lua
cat map_names_files |
while read a; do
echo -n "Translate(" >> map_names_tr.lua
cat $a | grep 'map_name' | cut -d'=' -f2 | sed s/\ \"/\"/ >> map_names_tr.lua
echo ")" >> map_names_tr.lua
echo -n "Translate(" >> map_names_tr.lua
cat $a | grep 'map_subname' | cut -d'=' -f2 | sed s/\ \"/\"/ >> map_names_tr.lua
echo ")" >> map_names_tr.lua
done
Jump to Line
Something went wrong with that request. Please try again.