]> granicus.if.org Git - handbrake/commitdiff
Add localization
authorprigaux <pri@nopapers.org>
Mon, 29 Jan 2007 10:10:01 +0000 (10:10 +0000)
committerprigaux <pri@nopapers.org>
Mon, 29 Jan 2007 10:10:01 +0000 (10:10 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/MediaFork_0.8.0@251 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/MediaFork.xcodeproj/project.pbxproj
macosx/localize.sh [new file with mode: 0755]

index 15e0ab3e786c480a7c159965b50af3fa8c878ff8..1b3939d94251887a9c22d72efbef831a4a35e8e9 100644 (file)
                                        ppc,
                                        i386,
                                );
+                               MACOSX_DEPLOYMENT_TARGET = 10.3;
                                SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
                        };
                        name = UB;
                4D4E7BC5087804870051572B /* Development */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
+                               MACOSX_DEPLOYMENT_TARGET = 10.3;
                                SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
                        };
                        name = Development;
                4D4E7BC6087804870051572B /* Deployment */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
+                               MACOSX_DEPLOYMENT_TARGET = 10.3;
                                SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
                        };
                        name = Deployment;
                4D4E7BC7087804870051572B /* Default */ = {
                        isa = XCBuildConfiguration;
                        buildSettings = {
+                               MACOSX_DEPLOYMENT_TARGET = 10.3;
                                SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
                        };
                        name = Default;
diff --git a/macosx/localize.sh b/macosx/localize.sh
new file mode 100755 (executable)
index 0000000..27c423c
--- /dev/null
@@ -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