From: <ip...@us...> - 2009-02-28 14:22:31
|
Revision: 3684 http://hugin.svn.sourceforge.net/hugin/?rev=3684&view=rev Author: ippei Date: 2009-02-28 13:32:43 +0000 (Sat, 28 Feb 2009) Log Message: ----------- Mac: Help files now properly handled for English and French. Modified Paths: -------------- hugin/trunk/mac/localise-help.sh Modified: hugin/trunk/mac/localise-help.sh =================================================================== --- hugin/trunk/mac/localise-help.sh 2009-02-28 13:31:53 UTC (rev 3683) +++ hugin/trunk/mac/localise-help.sh 2009-02-28 13:32:43 UTC (rev 3684) @@ -2,16 +2,16 @@ # $Id: localised.sh 2004 2007-05-11 00:17:50Z ippei $ -resdir="$TARGET_BUILD_DIR/Hugin.app/Contents/Resources" +resdir="$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Resources" huginsrcdir="../src/hugin1/hugin" xrcsrcdir="$huginsrcdir/xrc" mkdir -p "$resdir" -for helplang in "en_EN fr_FR" +for helplang in "en_EN" "fr_FR" do - localisedresdir="$resdir/$(echo en_EN | grep -o '^[^_]*').lproj" + localisedresdir="$resdir/$(echo $helplang | grep -o '^[^_]*').lproj" if [ -d "$xrcsrcdir/data/help_$helplang" ] then This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |