summaryrefslogtreecommitdiffstats
path: root/macosx/localize.sh
diff options
context:
space:
mode:
authorprigaux <[email protected]>2007-02-11 20:00:15 +0000
committerprigaux <[email protected]>2007-02-11 20:00:15 +0000
commita74fd5a1ec37e53fe7008f022639af6ede0e82c9 (patch)
tree0a6a32640a840b72653149aa11efa264674df976 /macosx/localize.sh
parentf45dfeb2afb1b0bf46054959e8ea9494f3b7d14f (diff)
Merge the 0.8.0_mpeg4ip branch into the trunk
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@285 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/localize.sh')
-rwxr-xr-xmacosx/localize.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/macosx/localize.sh b/macosx/localize.sh
new file mode 100755
index 000000000..27c423caa
--- /dev/null
+++ b/macosx/localize.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# This script localize the built application
+ cd macosx/i18n/
+export LNG=`ls *strings | sed 's/.strings//g' | sed 's/Localizable//g'`
+cd ../../$1/Contents/Resources
+for l in $LNG
+do
+ cp -r English.lproj $l.lproj
+ cp ../../../macosx/i18n/$l.strings $l.lproj/Localizable.strings
+done