mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
cleanup
This commit is contained in:
parent
1851485d66
commit
59f9ebc13d
1 changed files with 5 additions and 1 deletions
|
@ -18,6 +18,8 @@ check_add () {
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: $0 [--locale <locale>] [--all]" 1>&2
|
echo "usage: $0 [--locale <locale>] [--all]" 1>&2
|
||||||
|
echo "pulls string ids out of .xml and .java files" 1>&2
|
||||||
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
BASE=$(dirname $0)
|
BASE=$(dirname $0)
|
||||||
|
@ -28,7 +30,9 @@ while [ -n "$1" ]; do
|
||||||
--all)
|
--all)
|
||||||
for DIR in $(ls -d res/values-*); do
|
for DIR in $(ls -d res/values-*); do
|
||||||
DIR=$(basename $DIR)
|
DIR=$(basename $DIR)
|
||||||
LOCALES="$LOCALES $DIR"
|
if [ -e $DIR/strings.xml ]; then
|
||||||
|
LOCALES="$LOCALES $DIR"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
--locale)
|
--locale)
|
||||||
|
|
Loading…
Add table
Reference in a new issue