Code

Integrate fix from Jon Cruz regarding localization on OS X
authorjiho-sf <jiho-sf@users.sourceforge.net>
Sun, 17 May 2009 20:59:53 +0000 (20:59 +0000)
committerjiho-sf <jiho-sf@users.sourceforge.net>
Sun, 17 May 2009 20:59:53 +0000 (20:59 +0000)
Added support folders for localization. Apparently just having those, even empty, helps to get the correct language.
https://bugs.launchpad.net/inkscape/+bug/242105

packaging/macosx/osx-app.sh

index ac7cafd3cabdf740844f290e245679c50388a8e3..d397858e27b28315157b16b6fabe497ab5096668 100755 (executable)
@@ -175,6 +175,7 @@ pkgbin="$package/Contents/Resources/bin"
 pkglib="$package/Contents/Resources/lib"
 pkglocale="$package/Contents/Resources/locale"
 pkgpython="$package/Contents/Resources/python/site-packages/"
+pkgresources="$package/Contents/Resources"
 
 mkdir -p "$pkgexec"
 mkdir -p "$pkgbin"
@@ -182,6 +183,15 @@ mkdir -p "$pkglib"
 mkdir -p "$pkglocale"
 mkdir -p "$pkgpython"
 
+mkdir -p "$pkgresources/Dutch.lprj"
+mkdir -p "$pkgresources/English.lprj"
+mkdir -p "$pkgresources/French.lprj"
+mkdir -p "$pkgresources/German.lprj"
+mkdir -p "$pkgresources/Italian.lprj"
+mkdir -p "$pkgresources/Spanish.lprj"
+mkdir -p "$pkgresources/fi.lprj"
+mkdir -p "$pkgresources/no.lprj"
+mkdir -p "$pkgresources/sv.lprj"
 
 # Build and add the launcher
 #----------------------------------------------------------