Commits

Philippe Casgrain committed f91fe43

French and German xib files are generated from strings (which are still English at the moment) using a new "Translate" build script.

Comments (0)

Files changed (11)

 *.mpkg
 *.framework
 *.orig
+French.lproj/*.xib
+German.lproj/*.xib

English.lproj/MainMenu.strings

Binary file added.

English.lproj/Projects.strings

Binary file added.

English.lproj/Repo.strings

Binary file added.

French.lproj/MainMenu.strings

Binary file added.

French.lproj/Projects.strings

Binary file added.

French.lproj/Repo.strings

Binary file added.

German.lproj/MainMenu.strings

Binary file added.

German.lproj/Projects.strings

Binary file added.

German.lproj/Repo.strings

Binary file added.

Murky.xcodeproj/project.pbxproj

 				8D11072C0486CEB800E47090 /* Sources */,
 				8D11072E0486CEB800E47090 /* Frameworks */,
 				27E396E710E87CAC009F99ED /* genstrings */,
+				37915E6310E900A00057D687 /* Translate */,
 				8D1107290486CEB800E47090 /* Resources */,
 			);
 			buildRules = (
 			shellScript = "# -q silences duplicate comments with same key warning\ngenstrings -o ${SRCROOT}/English.lproj ${SRCROOT}/**/*.[hm]\n";
 			showEnvVarsInLog = 0;
 		};
+		37915E6310E900A00057D687 /* Translate */ = {
+			isa = PBXShellScriptBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			inputPaths = (
+			);
+			name = Translate;
+			outputPaths = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+			shellPath = /bin/sh;
+			shellScript = "# Extract English strings (use this to check if you added new strings to your nibs)\nibtool --generate-strings-file English.lproj/MainMenu.strings English.lproj/MainMenu.xib\nibtool --generate-strings-file English.lproj/Projects.strings English.lproj/Projects.xib\nibtool --generate-strings-file English.lproj/Repo.strings English.lproj/Repo.xib\n\n# Generate French interface\nibtool --strings-file French.lproj/MainMenu.strings --write French.lproj/MainMenu.xib English.lproj/MainMenu.xib\nibtool --strings-file French.lproj/Projects.strings --write French.lproj/Projects.xib English.lproj/Projects.xib\nibtool --strings-file French.lproj/Repo.strings --write French.lproj/Repo.xib English.lproj/Repo.xib\n\n# Generate German interface\nibtool --strings-file German.lproj/MainMenu.strings --write German.lproj/MainMenu.xib English.lproj/MainMenu.xib\nibtool --strings-file German.lproj/Projects.strings --write German.lproj/Projects.xib English.lproj/Projects.xib\nibtool --strings-file German.lproj/Repo.strings --write German.lproj/Repo.xib English.lproj/Repo.xib\n";
+		};
 /* End PBXShellScriptBuildPhase section */
 
 /* Begin PBXSourcesBuildPhase section */