From de74250a3e0917cad8dbd163b854b3e6b4bfbee9 Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Fri, 25 Feb 2011 21:50:21 +0000 Subject: Building translated nib files if strings file exist. svn path=/trunk/netsurf/; revision=11802 --- cocoa/extract-strings.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 cocoa/extract-strings.sh (limited to 'cocoa/extract-strings.sh') diff --git a/cocoa/extract-strings.sh b/cocoa/extract-strings.sh new file mode 100755 index 000000000..c3f582619 --- /dev/null +++ b/cocoa/extract-strings.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +for i in $1/*.xib +do + xib=`basename "$i"` + strings="$2/$xib.strings" + + ibtool "$i" --generate-strings-file "$strings" +done + + -- cgit v1.2.3