Skip to content
Snippets Groups Projects
create_po4a_conf.sh 249 B
#!/bin/bash

cat <<EOF >po4a.conf
[po4a_langs] fr de
[po4a_paths] po/documentation.pot \$lang:po/documentation.\$lang.po
[options] opt: " -k 80"

EOF

for f in $(cat sources.txt)
do
echo "[type: asciidoc] en/$f \$lang:./\$lang/$f" >> po4a.conf
done