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"
24 "Content-Type: text/plain; charset=ISO-8859-1\n"
25 "Content-Transfer-Encoding: 8bit\n"
27 #: cogarithmetic.cc:12 cogidmarkup.cc:288 cogroman.cc:14
32 tmpfiles
="$tmpfiles mm-u-3.pot"
33 cat <<EOF > mm-u-3.pot
34 # SOME DESCRIPTIVE TITLE.
35 # Copyright (C) YEAR Free Software Foundation, Inc.
36 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
40 "Project-Id-Version: PACKAGE VERSION\n"
41 "POT-Creation-Date: 2001-04-30 18:51+0200\n"
42 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
43 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
44 "Language-Team: LANGUAGE <LL@li.org>\n"
46 "Content-Type: text/plain; charset=ISO-8859-1\n"
47 "Content-Transfer-Encoding: 8bit\n"
49 #: cogarithmetic.cc:12 cogidmarkup.cc:288 cogroman.cc:14
54 tmpfiles
="$tmpfiles mm-u-3.po~"
55 : ${MSGMERGE=msgmerge}
56 ${MSGMERGE} -q --update mm-u-3.po mm-u-3.pot
57 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
59 tmpfiles
="$tmpfiles mm-u-3.ok"
60 cat <<\EOF
> mm-u-3.ok
61 # SOME DESCRIPTIVE TITLE.
62 # Copyright (C) YEAR Free Software Foundation, Inc.
63 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
67 "Project-Id-Version: cog_training 1.0\n"
68 "POT-Creation-Date: 2001-04-29 22:40+0200\n"
69 "PO-Revision-Date: 2001-04-29 21:19+02:00\n"
70 "Last-Translator: Felix N. <xyz@zyx.uucp>\n"
71 "Language-Team: German <de@li.org>\n"
73 "Content-Type: text/plain; charset=ISO-8859-1\n"
74 "Content-Transfer-Encoding: 8bit\n"
76 #: cogarithmetic.cc:12 cogidmarkup.cc:288 cogroman.cc:14
82 ${DIFF} mm-u-3.ok mm-u-3.po