3 # Test --update: nothing changed; don't normalize second message
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles
="$tmpfiles mm-u-1.po"
10 # SOME DESCRIPTIVE TITLE.
11 # Copyright (C) YEAR Free Software Foundation, Inc.
12 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
16 "Project-Id-Version: cog_training 1.0\n"
17 "POT-Creation-Date: 2001-04-29 22:40+0200\n"
18 "PO-Revision-Date: 2001-04-29 21:19+02:00\n"
19 "Last-Translator: Felix N. <xyz@zyx.uucp>\n"
20 "Language-Team: German <de@li.org>\n"
22 "Content-Type: text/plain; charset=ISO-8859-1\n"
23 "Content-Transfer-Encoding: 8bit\n"
25 #: cogarithmetic.cc:12
29 # stay away from normalizing
30 #: cogarithmetic.cc:12
36 tmpfiles
="$tmpfiles mm-u-1.pot"
37 cat <<EOF > mm-u-1.pot
38 # SOME DESCRIPTIVE TITLE.
39 # Copyright (C) YEAR Free Software Foundation, Inc.
40 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
44 "Project-Id-Version: PACKAGE VERSION\n"
45 "POT-Creation-Date: 2001-04-29 22:40+0200\n"
46 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
47 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
48 "Language-Team: LANGUAGE <LL@li.org>\n"
50 "Content-Type: text/plain; charset=ISO-8859-1\n"
51 "Content-Transfer-Encoding: 8bit\n"
53 #: cogarithmetic.cc:12
57 #: cogarithmetic.cc:12
62 tmpfiles
="$tmpfiles mm-u-1.bak"
63 cp mm-u-1.po mm-u-1.bak
65 tmpfiles
="$tmpfiles mm-u-1.po~"
66 : ${MSGMERGE=msgmerge}
67 ${MSGMERGE} -q --update mm-u-1.po mm-u-1.pot
68 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
71 ${DIFF} mm-u-1.bak mm-u-1.po