3 # Test --update: POT-Creation-Date changed. This change must not be reflected
4 # in the resulting PO file; this is needed for projects which don't put the
8 trap 'rm -fr $tmpfiles' 1 2 3 15
10 tmpfiles="$tmpfiles mm-u-3.po"
11 cat <<\EOF > mm-u-3.po
12 # SOME DESCRIPTIVE TITLE.
13 # Copyright (C) YEAR Free Software Foundation, Inc.
14 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
18 "Project-Id-Version: cog_training 1.0\n"
19 "POT-Creation-Date: 2001-04-29 22:40+0200\n"
20 "PO-Revision-Date: 2001-04-29 21:19+02:00\n"
21 "Last-Translator: Felix N. <xyz@zyx.uucp>\n"
22 "Language-Team: German <de@li.org>\n"
25 "Content-Type: text/plain; charset=ISO-8859-1\n"
26 "Content-Transfer-Encoding: 8bit\n"
28 #: cogarithmetic.cc:12 cogidmarkup.cc:288 cogroman.cc:14
33 tmpfiles="$tmpfiles mm-u-3.pot"
34 cat <<EOF > mm-u-3.pot
35 # SOME DESCRIPTIVE TITLE.
36 # Copyright (C) YEAR Free Software Foundation, Inc.
37 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
41 "Project-Id-Version: PACKAGE VERSION\n"
42 "POT-Creation-Date: 2001-04-30 18:51+0200\n"
43 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
44 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
45 "Language-Team: LANGUAGE <LL@li.org>\n"
47 "Content-Type: text/plain; charset=ISO-8859-1\n"
48 "Content-Transfer-Encoding: 8bit\n"
50 #: cogarithmetic.cc:12 cogidmarkup.cc:288 cogroman.cc:14
55 tmpfiles="$tmpfiles mm-u-3.po~"
56 : ${MSGMERGE=msgmerge}
57 ${MSGMERGE} -q --update mm-u-3.po mm-u-3.pot
58 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
60 tmpfiles="$tmpfiles mm-u-3.ok"
61 cat <<\EOF > mm-u-3.ok
62 # SOME DESCRIPTIVE TITLE.
63 # Copyright (C) YEAR Free Software Foundation, Inc.
64 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
68 "Project-Id-Version: cog_training 1.0\n"
69 "POT-Creation-Date: 2001-04-29 22:40+0200\n"
70 "PO-Revision-Date: 2001-04-29 21:19+02:00\n"
71 "Last-Translator: Felix N. <xyz@zyx.uucp>\n"
72 "Language-Team: German <de@li.org>\n"
75 "Content-Type: text/plain; charset=ISO-8859-1\n"
76 "Content-Transfer-Encoding: 8bit\n"
78 #: cogarithmetic.cc:12 cogidmarkup.cc:288 cogroman.cc:14
84 ${DIFF} mm-u-3.ok mm-u-3.po