No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gettext / gettext-tools / tests / msgattrib-3
blob1c21a17fe7d693de0f511c5762b16b01f3514467
1 #! /bin/sh
3 # Test --no-fuzzy option.
5 tmpfiles=""
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles="$tmpfiles ma-test3.po"
9 cat <<\EOF > ma-test3.po
10 # HEADER.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: Bonnie Tyler\n"
15 "Content-Type: text/plain; charset=ISO-8859-1\n"
16 "Content-Transfer-Encoding: 8bit\n"
18 #: married-men:4
19 #, fuzzy
20 msgid "The world is full of married men"
21 msgstr "So viele verheiratete Männer"
23 #: married-men:5
24 msgid "with wives who never understand"
25 msgstr "und ihre Frauen verstehen sie nicht"
27 #: married-men:6
28 msgid "They're looking for someone to share"
29 msgstr ""
31 # schwer zu übersetzen...
32 #: married-men:7
33 msgid "the excitement of a love affair"
34 msgstr ""
36 #: married-men:8
37 msgid "Just as soon as they find you"
38 msgstr ""
40 #: married-men:9
41 msgid "They warn you and darn you"
42 msgstr ""
44 #~ msgid "You fly on the wings of romance"
45 #~ msgstr "Die Flügel der frischen Liebe heben dich zum Himmel"
47 #, fuzzy
48 #~ msgid "In the eyes of the world"
49 #~ msgstr "Für die anderen"
51 # Etwas freie Übersetzung.
52 #~ msgid "You're just another crazy girl"
53 #~ msgstr "bist du bloß ein verrücktes dummes Ding"
55 #~ msgid "Who loves a married man"
56 #~ msgstr "das einen verheirateten Mann liebt"
57 EOF
59 tmpfiles="$tmpfiles ma-test3.out"
60 : ${MSGATTRIB=msgattrib}
61 ${MSGATTRIB} --no-fuzzy ma-test3.po -o ma-test3.out
62 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
64 tmpfiles="$tmpfiles ma-test3.ok"
65 cat <<\EOF > ma-test3.ok
66 # HEADER.
68 msgid ""
69 msgstr ""
70 "Project-Id-Version: Bonnie Tyler\n"
71 "Content-Type: text/plain; charset=ISO-8859-1\n"
72 "Content-Transfer-Encoding: 8bit\n"
74 #: married-men:5
75 msgid "with wives who never understand"
76 msgstr "und ihre Frauen verstehen sie nicht"
78 #: married-men:6
79 msgid "They're looking for someone to share"
80 msgstr ""
82 # schwer zu übersetzen...
83 #: married-men:7
84 msgid "the excitement of a love affair"
85 msgstr ""
87 #: married-men:8
88 msgid "Just as soon as they find you"
89 msgstr ""
91 #: married-men:9
92 msgid "They warn you and darn you"
93 msgstr ""
95 #~ msgid "You fly on the wings of romance"
96 #~ msgstr "Die Flügel der frischen Liebe heben dich zum Himmel"
98 # Etwas freie Übersetzung.
99 #~ msgid "You're just another crazy girl"
100 #~ msgstr "bist du bloß ein verrücktes dummes Ding"
102 #~ msgid "Who loves a married man"
103 #~ msgstr "das einen verheirateten Mann liebt"
106 : ${DIFF=diff}
107 ${DIFF} ma-test3.ok ma-test3.out
108 result=$?
110 rm -fr $tmpfiles
112 exit $result