SparkleShare/create-pot-file

10 lines
215 B
Plaintext
Raw Normal View History

2010-05-18 18:40:58 +00:00
#!/bin/bash
mkdir -p locale
if [ $# -ne 1 ]; then
echo "Usage: ./create-po-file [LOCALE].po"
2010-05-18 18:40:58 +00:00
else
xgettext --language=C# --keyword=_ --from-code=UTF-8 SparkleShare/*.cs -o locale/$1
2010-05-18 18:40:58 +00:00
echo "Created locale/$1."
fi