• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#! /bin/sh
2. "${srcdir=.}/init.sh"; path_prepend_ . ../src
3
4# Test interpretation of $ as end-of-line anchor.
5
6cat <<\EOF > mg-test9.po
7# German translations for GNU gettext package.
8# Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
9msgid ""
10msgstr ""
11"Project-Id-Version: GNU gettext 0.11-pre1\n"
12"POT-Creation-Date: 2001-12-08 20:33+0100\n"
13"PO-Revision-Date: 2001-11-04 12:25+0100\n"
14"Last-Translator: Karl Eichwalder <ke@suse.de>\n"
15"Language-Team: German <de@li.org>\n"
16"MIME-Version: 1.0\n"
17"Content-Type: text/plain; charset=ISO-8859-1\n"
18"Content-Transfer-Encoding: 8bit\n"
19"Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
21#: argmatch.c:141
22msgid "invalid argument"
23msgstr "ung�ltiges Argument"
24
25#: argmatch.c:142
26msgid "ambiguous argument"
27msgstr "mehrdeutiges Argument"
28
29#: argmatch.c:162
30msgid "Valid arguments are:"
31msgstr "G�ltige Argumente sind:"
32
33#: copy-file.c:60
34#, c-format
35msgid "error while opening \"%s\" for reading"
36msgstr "�ffnen der Datei �%s� zum Lesen fehlgeschlagen"
37
38#: copy-file.c:67
39#, c-format
40msgid "cannot open backup file \"%s\" for writing"
41msgstr "�ffnen der Sicherungsdatei �%s� zum Schreiben fehlgeschlagen"
42
43#: copy-file.c:80
44#, c-format
45msgid "error reading \"%s\""
46msgstr "Fehler beim Lesen von �%s�"
47
48#: copy-file.c:86 copy-file.c:90
49#, c-format
50msgid "error writing \"%s\""
51msgstr "Fehler beim Schreiben von �%s�"
52
53#: copy-file.c:92
54#, c-format
55msgid "error after reading \"%s\""
56msgstr "Fehler nach dem Lesen von �%s�"
57
58#: error.c:115
59msgid "Unknown system error"
60msgstr "Unbekannter Systemfehler"
61
62#: execute.c:170 execute.c:205 pipe-bidi.c:156 pipe-bidi.c:191 pipe-in.c:169
63#: pipe-in.c:205 pipe-out.c:169 pipe-out.c:205 wait-process.c:136
64#, c-format
65msgid "%s subprocess failed"
66msgstr "Subprozess %s fehlgeschlagen"
67
68#: getopt.c:691
69#, c-format
70msgid "%s: option `%s' is ambiguous\n"
71msgstr "%s: Option �%s� ist mehrdeutig\n"
72
73#: getopt.c:716
74#, c-format
75msgid "%s: option `--%s' doesn't allow an argument\n"
76msgstr "%s: Option �--%s� erwartet kein Argument\n"
77
78#: getopt.c:721
79#, c-format
80msgid "%s: option `%c%s' doesn't allow an argument\n"
81msgstr "%s: Option �%c%s� erwartet kein Argument\n"
82
83#: getopt.c:739 getopt.c:912
84#, c-format
85msgid "%s: option `%s' requires an argument\n"
86msgstr "%s: Option �%serwartet ein Argument\n"
87
88#: getopt.c:768
89#, c-format
90msgid "%s: unrecognized option `--%s'\n"
91msgstr "%s: unbekannte Option �--%s�\n"
92
93#: getopt.c:772
94#, c-format
95msgid "%s: unrecognized option `%c%s'\n"
96msgstr "%s: unbekannte Option �%c%s�\n"
97
98#: getopt.c:798
99#, c-format
100msgid "%s: illegal option -- %c\n"
101msgstr "%s: unzul�ssige Option -- %c\n"
102
103#: getopt.c:801
104#, c-format
105msgid "%s: invalid option -- %c\n"
106msgstr "%s: ung�ltige Option -- %c\n"
107
108#: getopt.c:831 getopt.c:961
109#, c-format
110msgid ""
111"%s: option requires an argument\n"
112"--> %c\n"
113msgstr ""
114"%s: Option erwartet ein Argument\n"
115"--> %c\n"
116
117#: getopt.c:878
118#, c-format
119msgid "%s: option `-W %s' is ambiguous\n"
120msgstr "%s: Option �-W %sist mehrdeutig\n"
121
122#: getopt.c:896
123#, c-format
124msgid "%s: option `-W %s' doesn't allow an argument\n"
125msgstr "%s: Option �-W %s� erwartet kein Argument\n"
126
127#: javacomp.c:465
128msgid "Java compiler not found, try installing gcj or set $JAVAC"
129msgstr ""
130"Java-Compiler nicht gefunden; bitte �gcj� installieren oder $JAVAC setzen"
131
132#: javaexec.c:404
133msgid "Java virtual machine not found, try installing gij or set $JAVA"
134msgstr ""
135"Virtuelle Java-Maschine nicht gefunden; bitte �gcj� installieren oder\n"
136"$JAVA setzen"
137
138#: obstack.c:474 xerror.c:75 xmalloc.c:56
139msgid "memory exhausted"
140msgstr "virtueller Speicher ersch�pft"
141
142#: pipe-bidi.c:119 pipe-bidi.c:121 pipe-in.c:136 pipe-out.c:136
143msgid "cannot create pipe"
144msgstr "Es ist nicht m�glich, eine Pipe zu erzeugen"
145
146#: wait-process.c:117
147#, c-format
148msgid "%s subprocess"
149msgstr "Subprozess %s"
150
151#: wait-process.c:129
152#, c-format
153msgid "%s subprocess got fatal signal"
154msgstr "Subprozess %s hat ein fatales Signal erhalten"
155EOF
156
157: ${MSGGREP=msggrep}
158LC_MESSAGES=C LC_ALL= \
159${MSGGREP} -K -e 'argument$' -o mg-test9.tmp mg-test9.po > mg-test9.err 2>&1
160result=$?
161cat mg-test9.err | grep -v 'warning: Locale charset' | grep -v '^ '
162test $result = 0 || { Exit 1; }
163LC_ALL=C tr -d '\r' < mg-test9.tmp > mg-test9.out || Exit 1
164
165cat <<\EOF > mg-test9.ok
166# German translations for GNU gettext package.
167# Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
168msgid ""
169msgstr ""
170"Project-Id-Version: GNU gettext 0.11-pre1\n"
171"POT-Creation-Date: 2001-12-08 20:33+0100\n"
172"PO-Revision-Date: 2001-11-04 12:25+0100\n"
173"Last-Translator: Karl Eichwalder <ke@suse.de>\n"
174"Language-Team: German <de@li.org>\n"
175"MIME-Version: 1.0\n"
176"Content-Type: text/plain; charset=ISO-8859-1\n"
177"Content-Transfer-Encoding: 8bit\n"
178"Plural-Forms: nplurals=2; plural=(n != 1);\n"
179
180#: argmatch.c:141
181msgid "invalid argument"
182msgstr "ung�ltiges Argument"
183
184#: argmatch.c:142
185msgid "ambiguous argument"
186msgstr "mehrdeutiges Argument"
187
188#: getopt.c:716
189#, c-format
190msgid "%s: option `--%s' doesn't allow an argument\n"
191msgstr "%s: Option �--%serwartet kein Argument\n"
192
193#: getopt.c:721
194#, c-format
195msgid "%s: option `%c%s' doesn't allow an argument\n"
196msgstr "%s: Option �%c%s� erwartet kein Argument\n"
197
198#: getopt.c:739 getopt.c:912
199#, c-format
200msgid "%s: option `%s' requires an argument\n"
201msgstr "%s: Option �%s� erwartet ein Argument\n"
202
203#: getopt.c:831 getopt.c:961
204#, c-format
205msgid ""
206"%s: option requires an argument\n"
207"--> %c\n"
208msgstr ""
209"%s: Option erwartet ein Argument\n"
210"--> %c\n"
211
212#: getopt.c:896
213#, c-format
214msgid "%s: option `-W %s' doesn't allow an argument\n"
215msgstr "%s: Option �-W %s� erwartet kein Argument\n"
216EOF
217
218: ${DIFF=diff}
219${DIFF} mg-test9.ok mg-test9.out
220result=$?
221
222exit $result
223