10 lines
193 B
Bash
Executable file
10 lines
193 B
Bash
Executable file
#!/bin/bash
|
|
|
|
mkdir -p locale
|
|
if [ $# -ne 1 ]; then
|
|
echo "Usage: ./create-po-file [LOCALE].pot"
|
|
else
|
|
xgettext -a --from-code=UTF-8 SparkleShare/*.cs -o locale/$1
|
|
echo "Created locale/$1."
|
|
fi
|