3 # Test --domain option.
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles="$tmpfiles mg-test2.po"
9 cat <<\EOF > mg-test2.po
12 # German translations for GNU gettext package.
13 # Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
16 "Project-Id-Version: GNU gettext 0.11-pre1\n"
17 "POT-Creation-Date: 2001-12-08 20:33+0100\n"
18 "PO-Revision-Date: 2001-11-04 12:25+0100\n"
19 "Last-Translator: Karl Eichwalder <ke@suse.de>\n"
20 "Language-Team: German <de@li.org>\n"
22 "Content-Type: text/plain; charset=ISO-8859-1\n"
23 "Content-Transfer-Encoding: 8bit\n"
24 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
28 msgid "%s: option `%s' is ambiguous\n"
29 msgstr "%s: Option »%s« ist mehrdeutig\n"
33 msgid "%s: option `--%s' doesn't allow an argument\n"
34 msgstr "%s: Option »--%s« erwartet kein Argument\n"
38 msgid "%s: option `%c%s' doesn't allow an argument\n"
39 msgstr "%s: Option »%c%s« erwartet kein Argument\n"
41 #: getopt.c:739 getopt.c:912
43 msgid "%s: option `%s' requires an argument\n"
44 msgstr "%s: Option »%s« erwartet ein Argument\n"
48 msgid "%s: unrecognized option `--%s'\n"
49 msgstr "%s: unbekannte Option »--%s«\n"
53 msgid "%s: unrecognized option `%c%s'\n"
54 msgstr "%s: unbekannte Option »%c%s«\n"
58 msgid "%s: illegal option -- %c\n"
59 msgstr "%s: unzulässige Option -- %c\n"
63 msgid "%s: invalid option -- %c\n"
64 msgstr "%s: ungültige Option -- %c\n"
66 #: getopt.c:831 getopt.c:961
68 msgid "%s: option requires an argument -- %c\n"
69 msgstr "%s: Option erwartet ein Argument -- %c\n"
73 msgid "%s: option `-W %s' is ambiguous\n"
74 msgstr "%s: Option »-W %s« ist mehrdeutig\n"
78 msgid "%s: option `-W %s' doesn't allow an argument\n"
79 msgstr "%s: Option »-W %s« erwartet kein Argument\n"
83 # Messages français pour GNU gettext.
84 # Copyright © 1996, 1997, 1998 Free Software Foundation, Inc.
85 # François Pinard <pinard@iro.umontreal.ca>, 1996.
89 "Project-Id-Version: GNU gettext 0.10.35\n"
90 "POT-Creation-Date: 2001-12-08 20:33+0100\n"
91 "PO-Revision-Date: 1998-05-04 10:03-04:00\n"
92 "Last-Translator: François Pinard <pinard@iro.umontreal.ca>\n"
93 "Language-Team: French <fr@li.org>\n"
95 "Content-Type: text/plain; charset=ISO-8859-1\n"
96 "Content-Transfer-Encoding: 8bit\n"
97 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
101 msgid "%s: option `%s' is ambiguous\n"
102 msgstr "%s: l'option « %s » est ambiguë\n"
106 msgid "%s: option `--%s' doesn't allow an argument\n"
107 msgstr "%s: l'option « --%s » ne tolère pas d'argument\n"
111 msgid "%s: option `%c%s' doesn't allow an argument\n"
112 msgstr "%s: l'option « %c%s » ne tolère pas d'argument\n"
114 #: getopt.c:739 getopt.c:912
116 msgid "%s: option `%s' requires an argument\n"
117 msgstr "%s: l'option « %s » exige un argument\n"
121 msgid "%s: unrecognized option `--%s'\n"
122 msgstr "%s: l'option « --%s » n'est pas reconnue\n"
126 msgid "%s: unrecognized option `%c%s'\n"
127 msgstr "%s: l'option « %c%s » n'est pas reconnue\n"
131 msgid "%s: illegal option -- %c\n"
132 msgstr "%s: l'option « %c » n'est pas permise\n"
136 msgid "%s: invalid option -- %c\n"
137 msgstr "%s: l'option « %c » n'est pas valide\n"
139 #: getopt.c:831 getopt.c:961
141 msgid "%s: option requires an argument -- %c\n"
142 msgstr "%s: l'option « %c » exige un argument\n"
146 msgid "%s: option `-W %s' is ambiguous\n"
147 msgstr "%s: l'option « -W %s » est ambiguë\n"
151 msgid "%s: option `-W %s' doesn't allow an argument\n"
152 msgstr "%s: l'option « -W %s » ne tolère pas d'argument\n"
155 tmpfiles="$tmpfiles mg-test2.tmp mg-test2.out"
157 ${MSGGREP} -M fr -o mg-test2.tmp mg-test2.po
158 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
159 LC_ALL=C tr -d '\r' < mg-test2.tmp > mg-test2.out
160 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
162 tmpfiles="$tmpfiles mg-test2.ok"
163 cat <<\EOF > mg-test2.ok
166 # German translations for GNU gettext package.
167 # Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
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"
182 # Messages français pour GNU gettext.
183 # Copyright © 1996, 1997, 1998 Free Software Foundation, Inc.
184 # François Pinard <pinard@iro.umontreal.ca>, 1996.
188 "Project-Id-Version: GNU gettext 0.10.35\n"
189 "POT-Creation-Date: 2001-12-08 20:33+0100\n"
190 "PO-Revision-Date: 1998-05-04 10:03-04:00\n"
191 "Last-Translator: François Pinard <pinard@iro.umontreal.ca>\n"
192 "Language-Team: French <fr@li.org>\n"
193 "MIME-Version: 1.0\n"
194 "Content-Type: text/plain; charset=ISO-8859-1\n"
195 "Content-Transfer-Encoding: 8bit\n"
196 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
200 msgid "%s: option `%s' is ambiguous\n"
201 msgstr "%s: l'option « %s » est ambiguë\n"
205 msgid "%s: option `--%s' doesn't allow an argument\n"
206 msgstr "%s: l'option « --%s » ne tolère pas d'argument\n"
210 msgid "%s: option `%c%s' doesn't allow an argument\n"
211 msgstr "%s: l'option « %c%s » ne tolère pas d'argument\n"
213 #: getopt.c:739 getopt.c:912
215 msgid "%s: option `%s' requires an argument\n"
216 msgstr "%s: l'option « %s » exige un argument\n"
220 msgid "%s: unrecognized option `--%s'\n"
221 msgstr "%s: l'option « --%s » n'est pas reconnue\n"
225 msgid "%s: unrecognized option `%c%s'\n"
226 msgstr "%s: l'option « %c%s » n'est pas reconnue\n"
230 msgid "%s: illegal option -- %c\n"
231 msgstr "%s: l'option « %c » n'est pas permise\n"
235 msgid "%s: invalid option -- %c\n"
236 msgstr "%s: l'option « %c » n'est pas valide\n"
238 #: getopt.c:831 getopt.c:961
240 msgid "%s: option requires an argument -- %c\n"
241 msgstr "%s: l'option « %c » exige un argument\n"
245 msgid "%s: option `-W %s' is ambiguous\n"
246 msgstr "%s: l'option « -W %s » est ambiguë\n"
250 msgid "%s: option `-W %s' doesn't allow an argument\n"
251 msgstr "%s: l'option « -W %s » ne tolère pas d'argument\n"
255 ${DIFF} mg-test2.ok mg-test2.out