Fix po file generation
xgettext should only look for messages marked with Catalog.Get*() and _() leaving other strings alone.
This commit is contained in:
parent
f873d668e1
commit
85f9c86856
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue