2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test --domain option.
6 cat <<\EOF > mg-test2.po
9 # German translations for GNU gettext package.
10 # Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
13 "Project-Id-Version: GNU gettext 0.11-pre1\n"
14 "POT-Creation-Date: 2001-12-08 20:33+0100\n"
15 "PO-Revision-Date: 2001-11-04 12:25+0100\n"
16 "Last-Translator: Karl Eichwalder <ke@suse.de>\n"
17 "Language-Team: German <de@li.org>\n"
19 "Content-Type: text/plain; charset=ISO-8859-1\n"
20 "Content-Transfer-Encoding: 8bit\n"
21 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
25 msgid "%s: option `%s' is ambiguous\n"
26 msgstr "%s: Option »%s« ist mehrdeutig\n"
30 msgid "%s: option `--%s' doesn't allow an argument\n"
31 msgstr "%s: Option »--%s« erwartet kein Argument\n"
35 msgid "%s: option `%c%s' doesn't allow an argument\n"
36 msgstr "%s: Option »%c%s« erwartet kein Argument\n"
38 #: getopt.c:739 getopt.c:912
40 msgid "%s: option `%s' requires an argument\n"
41 msgstr "%s: Option »%s« erwartet ein Argument\n"
45 msgid "%s: unrecognized option `--%s'\n"
46 msgstr "%s: unbekannte Option »--%s«\n"
50 msgid "%s: unrecognized option `%c%s'\n"
51 msgstr "%s: unbekannte Option »%c%s«\n"
55 msgid "%s: illegal option -- %c\n"
56 msgstr "%s: unzulässige Option -- %c\n"
60 msgid "%s: invalid option -- %c\n"
61 msgstr "%s: ungültige Option -- %c\n"
63 #: getopt.c:831 getopt.c:961
65 msgid "%s: option requires an argument -- %c\n"
66 msgstr "%s: Option erwartet ein Argument -- %c\n"
70 msgid "%s: option `-W %s' is ambiguous\n"
71 msgstr "%s: Option »-W %s« ist mehrdeutig\n"
75 msgid "%s: option `-W %s' doesn't allow an argument\n"
76 msgstr "%s: Option »-W %s« erwartet kein Argument\n"
80 # Messages français pour GNU gettext.
81 # Copyright © 1996, 1997, 1998 Free Software Foundation, Inc.
82 # François Pinard <pinard@iro.umontreal.ca>, 1996.
86 "Project-Id-Version: GNU gettext 0.10.35\n"
87 "POT-Creation-Date: 2001-12-08 20:33+0100\n"
88 "PO-Revision-Date: 1998-05-04 10:03-04:00\n"
89 "Last-Translator: François Pinard <pinard@iro.umontreal.ca>\n"
90 "Language-Team: French <fr@li.org>\n"
92 "Content-Type: text/plain; charset=ISO-8859-1\n"
93 "Content-Transfer-Encoding: 8bit\n"
94 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
98 msgid "%s: option `%s' is ambiguous\n"
99 msgstr "%s: l'option « %s » est ambiguë\n"
103 msgid "%s: option `--%s' doesn't allow an argument\n"
104 msgstr "%s: l'option « --%s » ne tolère pas d'argument\n"
108 msgid "%s: option `%c%s' doesn't allow an argument\n"
109 msgstr "%s: l'option « %c%s » ne tolère pas d'argument\n"
111 #: getopt.c:739 getopt.c:912
113 msgid "%s: option `%s' requires an argument\n"
114 msgstr "%s: l'option « %s » exige un argument\n"
118 msgid "%s: unrecognized option `--%s'\n"
119 msgstr "%s: l'option « --%s » n'est pas reconnue\n"
123 msgid "%s: unrecognized option `%c%s'\n"
124 msgstr "%s: l'option « %c%s » n'est pas reconnue\n"
128 msgid "%s: illegal option -- %c\n"
129 msgstr "%s: l'option « %c » n'est pas permise\n"
133 msgid "%s: invalid option -- %c\n"
134 msgstr "%s: l'option « %c » n'est pas valide\n"
136 #: getopt.c:831 getopt.c:961
138 msgid "%s: option requires an argument -- %c\n"
139 msgstr "%s: l'option « %c » exige un argument\n"
143 msgid "%s: option `-W %s' is ambiguous\n"
144 msgstr "%s: l'option « -W %s » est ambiguë\n"
148 msgid "%s: option `-W %s' doesn't allow an argument\n"
149 msgstr "%s: l'option « -W %s » ne tolère pas d'argument\n"
153 ${MSGGREP} -M fr -o mg-test2.tmp mg-test2.po || exit 1
154 LC_ALL=C tr -d '\r' < mg-test2.tmp > mg-test2.out || exit 1
156 cat <<\EOF > mg-test2.ok
159 # German translations for GNU gettext package.
160 # Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
163 "Project-Id-Version: GNU gettext 0.11-pre1\n"
164 "POT-Creation-Date: 2001-12-08 20:33+0100\n"
165 "PO-Revision-Date: 2001-11-04 12:25+0100\n"
166 "Last-Translator: Karl Eichwalder <ke@suse.de>\n"
167 "Language-Team: German <de@li.org>\n"
168 "MIME-Version: 1.0\n"
169 "Content-Type: text/plain; charset=ISO-8859-1\n"
170 "Content-Transfer-Encoding: 8bit\n"
171 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
175 # Messages français pour GNU gettext.
176 # Copyright © 1996, 1997, 1998 Free Software Foundation, Inc.
177 # François Pinard <pinard@iro.umontreal.ca>, 1996.
181 "Project-Id-Version: GNU gettext 0.10.35\n"
182 "POT-Creation-Date: 2001-12-08 20:33+0100\n"
183 "PO-Revision-Date: 1998-05-04 10:03-04:00\n"
184 "Last-Translator: François Pinard <pinard@iro.umontreal.ca>\n"
185 "Language-Team: French <fr@li.org>\n"
186 "MIME-Version: 1.0\n"
187 "Content-Type: text/plain; charset=ISO-8859-1\n"
188 "Content-Transfer-Encoding: 8bit\n"
189 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
193 msgid "%s: option `%s' is ambiguous\n"
194 msgstr "%s: l'option « %s » est ambiguë\n"
198 msgid "%s: option `--%s' doesn't allow an argument\n"
199 msgstr "%s: l'option « --%s » ne tolère pas d'argument\n"
203 msgid "%s: option `%c%s' doesn't allow an argument\n"
204 msgstr "%s: l'option « %c%s » ne tolère pas d'argument\n"
206 #: getopt.c:739 getopt.c:912
208 msgid "%s: option `%s' requires an argument\n"
209 msgstr "%s: l'option « %s » exige un argument\n"
213 msgid "%s: unrecognized option `--%s'\n"
214 msgstr "%s: l'option « --%s » n'est pas reconnue\n"
218 msgid "%s: unrecognized option `%c%s'\n"
219 msgstr "%s: l'option « %c%s » n'est pas reconnue\n"
223 msgid "%s: illegal option -- %c\n"
224 msgstr "%s: l'option « %c » n'est pas permise\n"
228 msgid "%s: invalid option -- %c\n"
229 msgstr "%s: l'option « %c » n'est pas valide\n"
231 #: getopt.c:831 getopt.c:961
233 msgid "%s: option requires an argument -- %c\n"
234 msgstr "%s: l'option « %c » exige un argument\n"
238 msgid "%s: option `-W %s' is ambiguous\n"
239 msgstr "%s: l'option « -W %s » est ambiguë\n"
243 msgid "%s: option `-W %s' doesn't allow an argument\n"
244 msgstr "%s: l'option « -W %s » ne tolère pas d'argument\n"
248 ${DIFF} mg-test2.ok mg-test2.out