adium/adium

76929959ad9a
file isExecutable
libpurple 2.10.4 [im.pidgin.adium @ b5a51884d41f2b5ffd21b1443cc57f126a97273b]

Now actually the specified version of libpurple, I forgot to mtn update after propagating again.
(transplanted from 2fa7640aa8ee8fa9fd68fda4e09518192b89ae4e)
#!/bin/sh
####
#
# Usage: From the directory above the .lproj folders:
# manual_nib_update NIB_NAME
#
# NIB_NAME should not include the .nib extension and should
# have its new form in the English.lproj folder
####
NIBNAME=$1
ORIGINAL_NIBNAME=$1-original
NEW_NIBNAME=$1-new
for lang in \
Catalan \
Danish \
Dutch \
French \
German \
Italian \
Japanese \
Norwegian \
Russian \
Spanish \
Swedish \
cs \
is \
pt_BR \
zh_CN \
zh_TW \
; do
if [ -d $lang.lproj ] ; then
# Keep the original around for its localization, our entire goal
mkdir $lang.lproj/$NIBNAME-original.nib
cp $lang.lproj/$NIBNAME.nib/*.nib $lang.lproj/$NIBNAME-original.nib
# Copy the English nib in
cp English.lproj/$NIBNAME.nib/*.nib $lang.lproj/$NIBNAME.nib
cd $lang.lproj
# Bring the previous translations over into a NEW_NIBNAME nib
nibtool -O -L $ORIGINAL_NIBNAME.nib > d.d
nibtool -d d.d -O -W $NEW_NIBNAME.nib $NIBNAME.nib
# Copy NEW_NIBNAME's nib files into NIBNAME. This is to avoid smashing .svn folders
cp $NEW_NIBNAME.nib/*.nib $NIBNAME.nib
# Cleanup
rm d.d
rm -rf $ORIGINAL_NIBNAME.nib
rm -rf $NEW_NIBNAME.nib
rm $NIBNAME.nib/info.nib
cd ..
echo Updated $lang
fi
done