The R Project SVN R-packages

Rev

Rev 1048 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1048 Rev 5732
Line 19... Line 19...
19
	echo "*** ERROR: Localizable.strings were NOT generated"
19
	echo "*** ERROR: Localizable.strings were NOT generated"
20
	exit 1
20
	exit 1
21
fi
21
fi
22
 
22
 
23
# we need to merge that with the available languages
23
# we need to merge that with the available languages
24
for LANG in $LANGUAGES; do
24
for lang in $LANGUAGES; do
25
	if [ -e "$LANG.lproj" ]; then
25
	if [ -e "$lang.lproj" ]; then
26
		if [ -e "$LANG.lproj/Localizable.strings" ]; then
26
		if [ -e "$lang.lproj/Localizable.strings" ]; then
27
			echo "Updating $LANG ..."
27
			echo "Updating $lang ..."
28
			./mergeLS Localizable.strings "$LANG.lproj/Localizable.strings"
28
			./mergeLS Localizable.strings "$lang.lproj/Localizable.strings"
29
		else
29
		else
30
			echo "-- $LANG has no localizable strings, creating them"
30
			echo "-- $lang has no localizable strings, creating them"
31
			cp Localizable.strings "$LANG.lproj/Localizable.strings"
31
			cp Localizable.strings "$lang.lproj/Localizable.strings"
32
		fi
32
		fi
33
	else
33
	else
34
		echo "** $LANG is in the language list, but there is no lproj dorectory for it!"
34
		echo "** $lang is in the language list, but there is no lproj dorectory for it!"
35
	fi
35
	fi
36
done
36
done
37
 
37
 
38
rm Localizable.strings
38
rm Localizable.strings
39
echo "  Done."
39
echo "  Done."