Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

379 B
Raw Blame
#!/bin/bash
rm -f translatable.po
rm -f untranslatable.po
pot_dir_prefix="gettext/"
echo ""
for srcFile in `find $pot_dir_prefix -name "*.pot" -type f`
do
	printf "\r\033[KCleaning file \e[32m$srcFile\e[0m"
	dstFile="$srcFile.bld"
	awk -f stripUntranslatable.awk $srcFile | sed '/POT-Creation-Date/d'> $dstFile
	cat $dstFile >> translatable.po
	mv $dstFile $srcFile
done
echo ""