SparkleShare/create-pot-file
Łukasz Jernaś 85f9c86856 Fix po file generation
xgettext should only look for messages marked with Catalog.Get*()
and _() leaving other strings alone.
2010-06-11 00:44:06 +02:00

10 lines
215 B
Bash
Executable file

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