Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (17 sloc) 370 Bytes
#!/bin/sh
for j in English.lproj/*.nib
do
nibfile=`basename "$j"`
echo processing $nibfile
for i in *.lproj
do
if [ $i != English.lproj ]
then
echo Updating $i...
nibtool -I "$i/$nibfile" -W "$i/${nibfile}.new" -d "$i/MainMenu.strings" "English.lproj/$nibfile"
rm -rf "$i/$nibfile"
mv "$i/${nibfile}.new" "$i/$nibfile"
echo done.
fi
done
done
Jump to Line
Something went wrong with that request. Please try again.