OSDN Git Service

Fix hb_log to truncate the message at the correct point, fixes 1244.
[handbrake-jp/handbrake-jp-git.git] / macosx / genstrings.sh
1 #! /bin/sh
2 rm -f genstrings.tmp
3 cat *.mm | grep -v "^#define.*_(" | \
4     sed 's/_( \(@"[^"]*"\) )/NSLocalizedString( \1, nil )/g' > \
5     genstrings.tmp
6 genstrings genstrings.tmp
7 rm -f genstrings.tmp