2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Tests for C# plural keyword support
8 public static void Main (String[] args) {
9 GetPluralString("test 1", "plural test");
10 MyPluralString (context, "I've 1", "you've lost");
15 : ${XGETTEXT=xgettext}
16 ${XGETTEXT} --omit-header --no-location --keyword=MyPluralString:2,3 \
17 -d xg-cs-4.tmp xg-cs-4.cs || exit 1
18 LC_ALL=C tr -d '\r' < xg-cs-4.tmp.po > xg-cs-4.po || exit 1
20 cat <<EOF > xg-cs-4.ok
22 msgid_plural "plural test"
27 msgid_plural "you've lost"
33 ${DIFF} xg-cs-4.ok xg-cs-4.po