[gcompris] Added translations in the bundle.



commit 1a21d60c0d33f048bfa1f1f5bbef6b70e650984f
Author: Bruno Coudoin <bruno coudoin gcompris net>
Date:   Sat Mar 5 14:22:46 2011 +0100

    Added translations in the bundle.

 macosx/createBundle.sh |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/macosx/createBundle.sh b/macosx/createBundle.sh
index aa3d81a..a999bcf 100755
--- a/macosx/createBundle.sh
+++ b/macosx/createBundle.sh
@@ -17,6 +17,14 @@ cd -
 echo "Create the bundle of the whole application"
 ige-mac-bundler gcompris.bundle
 
+# Copy localization files (gcompris.mo)
+for f in $( find $JHBUILD_PREFIX -name gcompris.mo ); do
+  stripped=$(echo $f | sed s:$JHBUILD_PREFIX/::)
+  dir=GCompris/GCompris.app/Contents/Resources/$(dirname $stripped)
+  mkdir -p $dir
+  cp $f $dir
+done
+
 # Create the distributable .dmg
 echo "Creating the final GCompris.dmg"
 rm -f GCompris.dmg



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]