3 # Test merging of a ref.pot in UTF-8 encoding against a def.po in legacy
4 # encoding (that was produced from an older version of ref.pot, in ASCII
8 trap 'rm -fr $tmpfiles' 1 2 3 15
10 tmpfiles
="$tmpfiles mm-test14-ru.po"
11 cat <<\EOF
> mm-test14-ru.po
12 # Russian messages for CLISP
13 # Copyright (C) 1998 Free Software Foundation, Inc.
14 # Eduard Haritonov <hed@iis.nsk.su>, 1998.
15 # Arseny Slobodjuck <ampy@ich.dvo.ru>, 2002.
19 "Project-Id-Version: GNU elvis 1.7\n"
20 "POT-Creation-Date: 2002-11-01 01:22+0100\n"
21 "PO-Revision-Date: 2002-11-01 01:23+0100\n"
22 "Last-Translator: Arseny Slobodjuck <ampy@ich.dvo.ru>\n"
23 "Language-Team: Russian <ru@li.org>\n"
25 "Content-Type: text/plain; charset=koi8-r\n"
26 "Content-Transfer-Encoding: 8bit\n"
29 msgid
"Division durch Null"
30 msgstr
"ÄÅÌÅÎÉÅ ÎÁ ÎÕÌØ"
33 tmpfiles
="$tmpfiles mm-test14.pot"
34 cat <<\EOF
> mm-test14.pot
35 # SOME DESCRIPTIVE TITLE.
36 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
37 # This file is distributed under the same license as the PACKAGE package.
38 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
43 "Project-Id-Version: PACKAGE VERSION\n"
44 "POT-Creation-Date: 2002-11-01 01:22+0100\n"
45 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
46 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
47 "Language-Team: LANGUAGE <LL@li.org>\n"
49 "Content-Type: text/plain; charset=UTF-8\n"
50 "Content-Transfer-Encoding: 8bit\n"
53 msgid
"Division durch Null"
61 tmpfiles
="$tmpfiles mm-test14.out"
62 : ${MSGMERGE=msgmerge}
63 ${MSGMERGE} -q mm-test14-ru.po mm-test14.pot
-o mm-test14.out
64 test $?
= 0 ||
{ rm -fr $tmpfiles; exit 1; }
66 tmpfiles
="$tmpfiles mm-test14.ok"
67 cat <<\EOF
> mm-test14.ok
68 # Russian messages for CLISP
69 # Copyright (C) 1998 Free Software Foundation, Inc.
70 # Eduard Haritonov <hed@iis.nsk.su>, 1998.
71 # Arseny Slobodjuck <ampy@ich.dvo.ru>, 2002.
75 "Project-Id-Version: GNU elvis 1.7\n"
76 "POT-Creation-Date: 2002-11-01 01:22+0100\n"
77 "PO-Revision-Date: 2002-11-01 01:23+0100\n"
78 "Last-Translator: Arseny Slobodjuck <ampy@ich.dvo.ru>\n"
79 "Language-Team: Russian <ru@li.org>\n"
81 "Content-Type: text/plain; charset=UTF-8\n"
82 "Content-Transfer-Encoding: 8bit\n"
85 msgid
"Division durch Null"
86 msgstr
"деление на нуль"
94 ${DIFF} mm-test14.ok mm-test14.out