2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test --update: location changed, and xgettext comment added. Both changes
5 # must be reflected in the resulting PO file.
8 # SOME DESCRIPTIVE TITLE.
9 # Copyright (C) YEAR Free Software Foundation, Inc.
10 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
14 "Project-Id-Version: cog_training 1.0\n"
15 "POT-Creation-Date: 2001-04-29 22:40+0200\n"
16 "PO-Revision-Date: 2001-04-29 21:19+02:00\n"
17 "Last-Translator: Felix N. <xyz@zyx.uucp>\n"
18 "Language-Team: German <de@li.org>\n"
21 "Content-Type: text/plain; charset=ISO-8859-1\n"
22 "Content-Transfer-Encoding: 8bit\n"
24 #: cogarithmetic.cc:12
29 cat <<EOF > mm-u-2.pot
30 # SOME DESCRIPTIVE TITLE.
31 # Copyright (C) YEAR Free Software Foundation, Inc.
32 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
36 "Project-Id-Version: PACKAGE VERSION\n"
37 "POT-Creation-Date: 2001-04-29 22:40+0200\n"
38 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
39 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
40 "Language-Team: LANGUAGE <LL@li.org>\n"
42 "Content-Type: text/plain; charset=ISO-8859-1\n"
43 "Content-Transfer-Encoding: 8bit\n"
46 #: cogarithmetic.cc:33
51 : ${MSGMERGE=msgmerge}
52 ${MSGMERGE} -q --update mm-u-2.po mm-u-2.pot || exit 1
53 mv mm-u-2.po mm-u-2.tmp || { exit 1; }
54 LC_ALL=C tr -d '\r' < mm-u-2.tmp > mm-u-2.po || exit 1
56 cat <<\EOF > mm-u-2.ok
57 # SOME DESCRIPTIVE TITLE.
58 # Copyright (C) YEAR Free Software Foundation, Inc.
59 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
63 "Project-Id-Version: cog_training 1.0\n"
64 "POT-Creation-Date: 2001-04-29 22:40+0200\n"
65 "PO-Revision-Date: 2001-04-29 21:19+02:00\n"
66 "Last-Translator: Felix N. <xyz@zyx.uucp>\n"
67 "Language-Team: German <de@li.org>\n"
70 "Content-Type: text/plain; charset=ISO-8859-1\n"
71 "Content-Transfer-Encoding: 8bit\n"
74 #: cogarithmetic.cc:33
80 ${DIFF} mm-u-2.ok mm-u-2.po