2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test --add-location=file option.
6 cat <<\EOF > mg-test11.po
7 # German translations for GNU gettext package.
8 # Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
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"
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"
23 msgid "invalid argument `%s' for `%s'"
24 msgstr "ungültiges Argument »%s« für »%s«"
28 msgid "ambiguous argument `%s' for `%s'"
29 msgstr "mehrdeutiges Argument »%s« für »%s«"
32 msgid "Valid arguments are:"
33 msgstr "Gültige Argumente sind:"
37 msgid "error while opening \"%s\" for reading"
38 msgstr "Öffnen der Datei »%s« zum Lesen fehlgeschlagen"
42 msgid "cannot open backup file \"%s\" for writing"
43 msgstr "Öffnen der Sicherungsdatei »%s« zum Schreiben fehlgeschlagen"
47 msgid "error reading \"%s\""
48 msgstr "Fehler beim Lesen von »%s«"
50 #: copy-file.c:86 copy-file.c:90
52 msgid "error writing \"%s\""
53 msgstr "Fehler beim Schreiben von »%s«"
57 msgid "error after reading \"%s\""
58 msgstr "Fehler nach dem Lesen von »%s«"
61 msgid "Unknown system error"
62 msgstr "Unbekannter Systemfehler"
64 #: execute.c:170 execute.c:205 pipe-bidi.c:156 pipe-bidi.c:191 pipe-in.c:169
65 #: pipe-in.c:205 pipe-out.c:169 pipe-out.c:205 wait-process.c:136
67 msgid "%s subprocess failed"
68 msgstr "Subprozess %s fehlgeschlagen"
72 msgid "%s: option `%s' is ambiguous\n"
73 msgstr "%s: Option »%s« ist mehrdeutig\n"
77 msgid "%s: option `--%s' doesn't allow an argument\n"
78 msgstr "%s: Option »--%s« erwartet kein Argument\n"
82 msgid "%s: option `%c%s' doesn't allow an argument\n"
83 msgstr "%s: Option »%c%s« erwartet kein Argument\n"
85 #: getopt.c:739 getopt.c:912
87 msgid "%s: option `%s' requires an argument\n"
88 msgstr "%s: Option »%s« erwartet ein Argument\n"
92 msgid "%s: unrecognized option `--%s'\n"
93 msgstr "%s: unbekannte Option »--%s«\n"
97 msgid "%s: unrecognized option `%c%s'\n"
98 msgstr "%s: unbekannte Option »%c%s«\n"
102 msgid "%s: illegal option -- %c\n"
103 msgstr "%s: unzulässige Option -- %c\n"
107 msgid "%s: invalid option -- %c\n"
108 msgstr "%s: ungültige Option -- %c\n"
110 #: getopt.c:831 getopt.c:961
112 msgid "%s: option requires an argument -- %c\n"
113 msgstr "%s: Option erwartet ein Argument -- %c\n"
117 msgid "%s: option `-W %s' is ambiguous\n"
118 msgstr "%s: Option »-W %s« ist mehrdeutig\n"
122 msgid "%s: option `-W %s' doesn't allow an argument\n"
123 msgstr "%s: Option »-W %s« erwartet kein Argument\n"
126 msgid "Java compiler not found, try installing gcj or set $JAVAC"
128 "Java-Compiler nicht gefunden; bitte »gcj« installieren oder $JAVAC setzen"
131 msgid "Java virtual machine not found, try installing gij or set $JAVA"
133 "Virtuelle Java-Maschine nicht gefunden; bitte »gcj« installieren oder\n"
136 #: obstack.c:474 xerror.c:75 xmalloc.c:56
137 msgid "memory exhausted"
138 msgstr "virtueller Speicher erschöpft"
140 #: pipe-bidi.c:119 pipe-bidi.c:121 pipe-in.c:136 pipe-out.c:136
141 msgid "cannot create pipe"
142 msgstr "Es ist nicht möglich, eine Pipe zu erzeugen"
144 #: wait-process.c:117
146 msgid "%s subprocess"
147 msgstr "Subprozess %s"
149 #: wait-process.c:129
151 msgid "%s subprocess got fatal signal"
152 msgstr "Subprozess %s hat ein fatales Signal erhalten"
156 ${MSGGREP} --add-location=file -N pipe-bidi.c -o mg-test11.tmp mg-test11.po \
158 LC_ALL=C tr -d '\r' < mg-test11.tmp > mg-test11.out || exit 1
160 cat <<\EOF > mg-test11.ok
161 # German translations for GNU gettext package.
162 # Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
165 "Project-Id-Version: GNU gettext 0.11-pre1\n"
166 "POT-Creation-Date: 2001-12-08 20:33+0100\n"
167 "PO-Revision-Date: 2001-11-04 12:25+0100\n"
168 "Last-Translator: Karl Eichwalder <ke@suse.de>\n"
169 "Language-Team: German <de@li.org>\n"
170 "MIME-Version: 1.0\n"
171 "Content-Type: text/plain; charset=ISO-8859-1\n"
172 "Content-Transfer-Encoding: 8bit\n"
173 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
175 #: execute.c pipe-bidi.c pipe-in.c pipe-out.c wait-process.c
177 msgid "%s subprocess failed"
178 msgstr "Subprozess %s fehlgeschlagen"
180 #: pipe-bidi.c pipe-in.c pipe-out.c
181 msgid "cannot create pipe"
182 msgstr "Es ist nicht möglich, eine Pipe zu erzeugen"
186 ${DIFF} mg-test11.ok mg-test11.out