diff --git a/create-pot-file b/create-pot-file index b13c1f84..9cdbd1b4 100755 --- a/create-pot-file +++ b/create-pot-file @@ -2,8 +2,8 @@ mkdir -p locale if [ $# -ne 1 ]; then - echo "Usage: ./create-po-file [LOCALE].pot" + echo "Usage: ./create-po-file [LOCALE].po" else - xgettext -a --from-code=UTF-8 SparkleShare/*.cs -o locale/$1 + xgettext --language=C# --keyword=_ --from-code=UTF-8 SparkleShare/*.cs -o locale/$1 echo "Created locale/$1." fi