summaryrefslogtreecommitdiff
path: root/frontends/cocoa/extract-strings.sh
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/cocoa/extract-strings.sh')
-rwxr-xr-xfrontends/cocoa/extract-strings.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/frontends/cocoa/extract-strings.sh b/frontends/cocoa/extract-strings.sh
new file mode 100755
index 000000000..c3f582619
--- /dev/null
+++ b/frontends/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
+
+