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