2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test merging of a ref.pot in UTF-8 encoding against a def.po in legacy
5 # encoding (that was produced from an older version of ref.pot, in ASCII
8 cat <<\EOF > mm-test14-ru.po
9 # Russian messages for CLISP
10 # Copyright (C) 1998 Free Software Foundation, Inc.
11 # Eduard Haritonov <hed@iis.nsk.su>, 1998.
12 # Arseny Slobodjuck <ampy@ich.dvo.ru>, 2002.
16 "Project-Id-Version: GNU elvis 1.7\n"
17 "POT-Creation-Date: 2002-11-01 01:22+0100\n"
18 "PO-Revision-Date: 2002-11-01 01:23+0100\n"
19 "Last-Translator: Arseny Slobodjuck <ampy@ich.dvo.ru>\n"
20 "Language-Team: Russian <ru@li.org>\n"
22 "Content-Type: text/plain; charset=koi8-r\n"
23 "Content-Transfer-Encoding: 8bit\n"
26 msgid "Division durch Null"
27 msgstr "ÄÅÌÅÎÉÅ ÎÁ ÎÕÌØ"
30 cat <<\EOF > mm-test14.pot
31 # SOME DESCRIPTIVE TITLE.
32 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
33 # This file is distributed under the same license as the PACKAGE package.
34 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
39 "Project-Id-Version: PACKAGE VERSION\n"
40 "POT-Creation-Date: 2002-11-01 01:22+0100\n"
41 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
42 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
43 "Language-Team: LANGUAGE <LL@li.org>\n"
45 "Content-Type: text/plain; charset=UTF-8\n"
46 "Content-Transfer-Encoding: 8bit\n"
49 msgid "Division durch Null"
57 : ${MSGMERGE=msgmerge}
58 ${MSGMERGE} -q -o mm-test14.tmp mm-test14-ru.po mm-test14.pot || exit 1
59 LC_ALL=C tr -d '\r' < mm-test14.tmp > mm-test14.out || exit 1
61 cat <<\EOF > mm-test14.ok
62 # Russian messages for CLISP
63 # Copyright (C) 1998 Free Software Foundation, Inc.
64 # Eduard Haritonov <hed@iis.nsk.su>, 1998.
65 # Arseny Slobodjuck <ampy@ich.dvo.ru>, 2002.
69 "Project-Id-Version: GNU elvis 1.7\n"
70 "POT-Creation-Date: 2002-11-01 01:22+0100\n"
71 "PO-Revision-Date: 2002-11-01 01:23+0100\n"
72 "Last-Translator: Arseny Slobodjuck <ampy@ich.dvo.ru>\n"
73 "Language-Team: Russian <ru@li.org>\n"
76 "Content-Type: text/plain; charset=UTF-8\n"
77 "Content-Transfer-Encoding: 8bit\n"
80 msgid "Division durch Null"
81 msgstr "деление на нуль"
89 ${DIFF} mm-test14.ok mm-test14.out