2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test ObjectiveC extractor.
13 _(@"foo") _ ( @"foo2" /* test */ )
17 " \" _(foo) \" /* comment "
20 (@ /* comment " */ "test"
25 NSLocalizedString(@"Information", @"")
28 : ${XGETTEXT=xgettext}
29 ${XGETTEXT} --omit-header -k_ -kNSLocalizedString -d xg-ob-1.tmp xg-ob-1.m || exit 1
30 LC_ALL=C tr -d '\r' < xg-ob-1.tmp.po > xg-ob-1.po || exit 1
32 cat <<\EOF > xg-ob-1.ok
55 ${DIFF} xg-ob-1.ok xg-ob-1.po