2010-05-18 18:40:58 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
mkdir -p locale
|
|
|
|
if [ $# -ne 1 ]; then
|
2010-06-10 22:44:06 +00:00
|
|
|
echo "Usage: ./create-po-file [LOCALE].po"
|
2010-05-18 18:40:58 +00:00
|
|
|
else
|
2010-06-10 22:44:06 +00:00
|
|
|
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
|