3 # Test merging of a message which has c-format specified in ref.pot but not
7 trap 'rm -fr $tmpfiles' 1 2 3 15
9 tmpfiles
="$tmpfiles mm-test13.po"
10 cat <<EOF > mm-test13.po
11 # SOME DESCRIPTIVE TITLE.
12 # Copyright (C) YEAR Free Software Foundation, Inc.
13 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
17 "Project-Id-Version: cog_training 1.0\n"
18 "POT-Creation-Date: 2001-04-29 22:40+0200\n"
19 "PO-Revision-Date: 2001-04-29 21:19+02:00\n"
20 "Last-Translator: Felix N. <xyz@zyx.uucp>\n"
21 "Language-Team: German <de@li.org>\n"
23 "Content-Type: text/plain; charset=ISO-8859-1\n"
24 "Content-Transfer-Encoding: 8bit\n"
29 msgstr "Datei namens %s"
33 msgid "directory named %s"
34 msgstr "Verzeichnis namens %s"
41 msgid "intermediate result %s"
42 msgstr "Zwischenergebnis %d"
49 tmpfiles
="$tmpfiles mm-test13.pot"
50 cat <<EOF > mm-test13.pot
51 # SOME DESCRIPTIVE TITLE.
52 # Copyright (C) YEAR Free Software Foundation, Inc.
53 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
57 "Project-Id-Version: PACKAGE VERSION\n"
58 "POT-Creation-Date: 2001-04-30 18:51+0200\n"
59 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
60 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
61 "Language-Team: LANGUAGE <LL@li.org>\n"
63 "Content-Type: text/plain; charset=ISO-8859-1\n"
64 "Content-Transfer-Encoding: 8bit\n"
72 msgid "directory named %s"
82 msgid "intermediate result %s"
90 tmpfiles
="$tmpfiles mm-test13.out"
91 : ${MSGMERGE=msgmerge}
92 ${MSGMERGE} -q mm-test13.po mm-test13.pot
-o mm-test13.out
93 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
95 tmpfiles
="$tmpfiles mm-test13.ok"
96 cat <<EOF > mm-test13.ok
97 # SOME DESCRIPTIVE TITLE.
98 # Copyright (C) YEAR Free Software Foundation, Inc.
99 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
103 "Project-Id-Version: cog_training 1.0\n"
104 "POT-Creation-Date: 2001-04-30 18:51+0200\n"
105 "PO-Revision-Date: 2001-04-29 21:19+02:00\n"
106 "Last-Translator: Felix N. <xyz@zyx.uucp>\n"
107 "Language-Team: German <de@li.org>\n"
108 "MIME-Version: 1.0\n"
109 "Content-Type: text/plain; charset=ISO-8859-1\n"
110 "Content-Transfer-Encoding: 8bit\n"
114 msgid "file named %s"
115 msgstr "Datei namens %s"
118 msgid "directory named %s"
119 msgstr "Verzeichnis namens %s"
128 msgid "intermediate result %s"
129 msgstr "Zwischenergebnis %d"
137 ${DIFF} mm-test13.ok mm-test13.out