mirror of https://github.com/odrling/Aegisub
Copy locale files into the bundle.
Originally committed to SVN as r2637.
This commit is contained in:
parent
f165d6987c
commit
4e536f2a10
|
@ -33,6 +33,17 @@ cp ${SKEL_DIR}/Contents/Resources/etc/fonts/fonts.* ${PKG_DIR}/Contents/Resource
|
||||||
cp ${SKEL_DIR}/Contents/Resources/etc/fonts/conf.d/*.conf ${PKG_DIR}/Contents/Resources/etc/fonts/conf.d
|
cp ${SKEL_DIR}/Contents/Resources/etc/fonts/conf.d/*.conf ${PKG_DIR}/Contents/Resources/etc/fonts/conf.d
|
||||||
cat ${SKEL_DIR}/Contents/Info.plist |sed -f scripts/osx-bundle.sed > ${PKG_DIR}/Contents/Info.plist
|
cat ${SKEL_DIR}/Contents/Info.plist |sed -f scripts/osx-bundle.sed > ${PKG_DIR}/Contents/Info.plist
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "---- Copying locale files ----"
|
||||||
|
for i in `cat po/LINGUAS`; do
|
||||||
|
if test -f "po/${i}.gmo"; then
|
||||||
|
mkdir -v ${PKG_DIR}/Contents/Resources/${i}.lproj;
|
||||||
|
cp -v po/${i}.gmo ${PKG_DIR}/Contents/Resources//${i}.lproj/aegisub.po;
|
||||||
|
else
|
||||||
|
echo "${i}.gmo not found!"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "---- Binaries ----"
|
echo "---- Binaries ----"
|
||||||
cp -v aegisub/.libs/aegisub ${PKG_DIR}/Contents/MacOS
|
cp -v aegisub/.libs/aegisub ${PKG_DIR}/Contents/MacOS
|
||||||
|
|
Loading…
Reference in New Issue