2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test Scheme support: GIMP script-fu extension _"..."
6 cat <<EOF > xg-sc-4.scm
7 (script-fu-register "script-fu-paste-as-brush"
9 _"Paste the clipboard contents into a new brush"
10 "Michael Natterer <mitch@gimp.org>"
14 SF-STRING _"Brush name" "My Brush"
15 SF-STRING _"File name" "mybrush"
16 SF-ADJUSTMENT _"Spacing" '(25 0 1000 1 1 1 0)
20 : ${XGETTEXT=xgettext}
21 ${XGETTEXT} -k_ --omit-header --no-location --add-comments=TRANSLATORS: \
22 -d xg-sc-4.tmp xg-sc-4.scm || exit 1
23 LC_ALL=C tr -d '\r' < xg-sc-4.tmp.po > xg-sc-4.po || exit 1
25 cat <<EOF > xg-sc-4.ok
29 msgid "Paste the clipboard contents into a new brush"
43 ${DIFF} xg-sc-4.ok xg-sc-4.po