Skip to content

Commit

Permalink
[BZ #5762]
Browse files Browse the repository at this point in the history
	* posix/getopt.c (_getopt_internal_r): Clarify error message by
	putting offending option character in quotes.  Clean up error
	messages.
	* po/be.po: Adjust msgstr in translation file.
	* po/bg.po: Likewise.
	* po/ca.po: Likewise.
	* po/cs.po: Likewise.
	* po/da.po: Likewise.
	* po/de.po: Likewise.
	* po/es.po: Likewise.
	* po/fr.po: Likewise.
	* po/hr.po: Likewise.
	* po/ko.po: Likewise.
	* po/nl.po: Likewise.
	* po/rw.po: Likewise.
	* po/sk.po: Likewise.
	* po/sv.po: Likewise.
	* po/tr.po: Likewise.
	* po/zh_CN.po: Likewise.
	* po/zh_TW.po: Likewise.
  • Loading branch information
Ulrich Drepper committed Mar 8, 2008
1 parent 725c0c8 commit 2127a18
Show file tree
Hide file tree
Showing 19 changed files with 242 additions and 221 deletions.
22 changes: 22 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
2008-03-08 Ulrich Drepper <drepper@redhat.com>

[BZ #5762]
* posix/getopt.c (_getopt_internal_r): Clarify error message by
putting offending option character in quotes. Clean up error
messages.
* po/be.po: Adjust msgstr in translation file.
* po/bg.po: Likewise.
* po/ca.po: Likewise.
* po/cs.po: Likewise.
* po/da.po: Likewise.
* po/de.po: Likewise.
* po/es.po: Likewise.
* po/fr.po: Likewise.
* po/hr.po: Likewise.
* po/ko.po: Likewise.
* po/nl.po: Likewise.
* po/rw.po: Likewise.
* po/sk.po: Likewise.
* po/sv.po: Likewise.
* po/tr.po: Likewise.
* po/zh_CN.po: Likewise.
* po/zh_TW.po: Likewise.

[BZ #5760]
* inet/inet6_opt.c (inet6_opt_init): Fix ip6h_len computation.
Patch by Roland Bless <roland@bless.de>.
Expand Down
24 changes: 12 additions & 12 deletions po/be.po
Original file line number Diff line number Diff line change
Expand Up @@ -3448,59 +3448,59 @@ msgstr "Нераспазнаная пераменная \"%s\""

#: posix/getopt.c:692 posix/getopt.c:704
#, c-format
msgid "%s: option `%s' is ambiguous\n"
msgid "%s: option '%s' is ambiguous\n"
msgstr ""

#: posix/getopt.c:737 posix/getopt.c:741
#, c-format
msgid "%s: option `--%s' doesn't allow an argument\n"
msgid "%s: option '--%s' doesn't allow an argument\n"
msgstr ""

#: posix/getopt.c:750 posix/getopt.c:755
#, c-format
msgid "%s: option `%c%s' doesn't allow an argument\n"
msgid "%s: option '%c%s' doesn't allow an argument\n"
msgstr ""

#: posix/getopt.c:791 posix/getopt.c:804 posix/getopt.c:1093
#: posix/getopt.c:1106
#, c-format
msgid "%s: option `%s' requires an argument\n"
msgid "%s: option '%s' requires an argument\n"
msgstr ""

#: posix/getopt.c:842 posix/getopt.c:845
#, c-format
msgid "%s: unrecognized option `--%s'\n"
msgid "%s: unrecognized option '--%s'\n"
msgstr ""

#: posix/getopt.c:853 posix/getopt.c:856
#, c-format
msgid "%s: unrecognized option `%c%s'\n"
msgid "%s: unrecognized option '%c%s'\n"
msgstr ""

#: posix/getopt.c:903 posix/getopt.c:906
#, c-format
msgid "%s: illegal option -- %c\n"
msgstr "%s: недапушчальны выраб -- %c\n"
msgid "%s: illegal option -- '%c'\n"
msgstr "%s: недапушчальны выраб -- '%c'\n"

#: posix/getopt.c:912 posix/getopt.c:915
#, c-format
msgid "%s: invalid option -- %c\n"
msgid "%s: invalid option -- '%c'\n"
msgstr ""

#: posix/getopt.c:962 posix/getopt.c:973 posix/getopt.c:1159
#: posix/getopt.c:1172
#, c-format
msgid "%s: option requires an argument -- %c\n"
msgid "%s: option requires an argument -- '%c'\n"
msgstr ""

#: posix/getopt.c:1025 posix/getopt.c:1036
#, c-format
msgid "%s: option `-W %s' is ambiguous\n"
msgid "%s: option '-W %s' is ambiguous\n"
msgstr ""

#: posix/getopt.c:1060 posix/getopt.c:1072
#, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n"
msgid "%s: option '-W %s' doesn't allow an argument\n"
msgstr ""

#: posix/regcomp.c:136
Expand Down
22 changes: 11 additions & 11 deletions po/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -4210,59 +4210,59 @@ msgstr ""

#: posix/getopt.c:571 posix/getopt.c:587
#, c-format
msgid "%s: option `%s' is ambiguous\n"
msgid "%s: option '%s' is ambiguous\n"
msgstr ""

#: posix/getopt.c:620 posix/getopt.c:624
#, c-format
msgid "%s: option `--%s' doesn't allow an argument\n"
msgid "%s: option '--%s' doesn't allow an argument\n"
msgstr ""

#: posix/getopt.c:633 posix/getopt.c:638
#, c-format
msgid "%s: option `%c%s' doesn't allow an argument\n"
msgid "%s: option '%c%s' doesn't allow an argument\n"
msgstr ""

#: posix/getopt.c:681 posix/getopt.c:700 posix/getopt.c:1016
#: posix/getopt.c:1035
#, c-format
msgid "%s: option `%s' requires an argument\n"
msgid "%s: option '%s' requires an argument\n"
msgstr ""

#: posix/getopt.c:738 posix/getopt.c:741
#, c-format
msgid "%s: unrecognized option `--%s'\n"
msgid "%s: unrecognized option '--%s'\n"
msgstr ""

#: posix/getopt.c:749 posix/getopt.c:752
#, c-format
msgid "%s: unrecognized option `%c%s'\n"
msgid "%s: unrecognized option '%c%s'\n"
msgstr ""

#: posix/getopt.c:804 posix/getopt.c:807
#, c-format
msgid "%s: illegal option -- %c\n"
msgid "%s: illegal option -- '%c'\n"
msgstr ""

#: posix/getopt.c:813 posix/getopt.c:816
#, c-format
msgid "%s: invalid option -- %c\n"
msgid "%s: invalid option -- '%c'\n"
msgstr ""

#: posix/getopt.c:868 posix/getopt.c:884 posix/getopt.c:1088
#: posix/getopt.c:1106
#, c-format
msgid "%s: option requires an argument -- %c\n"
msgid "%s: option requires an argument -- '%c'\n"
msgstr ""

#: posix/getopt.c:937 posix/getopt.c:953
#, c-format
msgid "%s: option `-W %s' is ambiguous\n"
msgid "%s: option '-W %s' is ambiguous\n"
msgstr ""

#: posix/getopt.c:977 posix/getopt.c:995
#, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n"
msgid "%s: option '-W %s' doesn't allow an argument\n"
msgstr ""

#: posix/regcomp.c:135
Expand Down
22 changes: 11 additions & 11 deletions po/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -4497,59 +4497,59 @@ msgstr "la variable «%s» no és reconeguda"

#: posix/getopt.c:571 posix/getopt.c:587
#, c-format
msgid "%s: option `%s' is ambiguous\n"
msgid "%s: option '%s' is ambiguous\n"
msgstr "%s: l’opció «%s» és ambígua\n"

#: posix/getopt.c:620 posix/getopt.c:624
#, c-format
msgid "%s: option `--%s' doesn't allow an argument\n"
msgid "%s: option '--%s' doesn't allow an argument\n"
msgstr "%s: l’opció «--%s» no admet arguments\n"

#: posix/getopt.c:633 posix/getopt.c:638
#, c-format
msgid "%s: option `%c%s' doesn't allow an argument\n"
msgid "%s: option '%c%s' doesn't allow an argument\n"
msgstr "%s: l’opció «%c%s» no admet arguments\n"

#: posix/getopt.c:681 posix/getopt.c:700 posix/getopt.c:1016
#: posix/getopt.c:1035
#, c-format
msgid "%s: option `%s' requires an argument\n"
msgid "%s: option '%s' requires an argument\n"
msgstr "%s: l’opció «%s» necessita un argument\n"

#: posix/getopt.c:738 posix/getopt.c:741
#, c-format
msgid "%s: unrecognized option `--%s'\n"
msgid "%s: unrecognized option '--%s'\n"
msgstr "%s: l’opció «--%s» no és reconeguda\n"

#: posix/getopt.c:749 posix/getopt.c:752
#, c-format
msgid "%s: unrecognized option `%c%s'\n"
msgid "%s: unrecognized option '%c%s'\n"
msgstr "%s: l’opció «%c%s» no és reconeguda\n"

#: posix/getopt.c:804 posix/getopt.c:807
#, c-format
msgid "%s: illegal option -- %c\n"
msgid "%s: illegal option -- '%c'\n"
msgstr "%s: no es permet l’opció «%c»\n"

#: posix/getopt.c:813 posix/getopt.c:816
#, c-format
msgid "%s: invalid option -- %c\n"
msgid "%s: invalid option -- '%c'\n"
msgstr "%s: l’opció «%c» no és vàlida\n"

#: posix/getopt.c:868 posix/getopt.c:884 posix/getopt.c:1088
#: posix/getopt.c:1106
#, c-format
msgid "%s: option requires an argument -- %c\n"
msgid "%s: option requires an argument -- '%c'\n"
msgstr "%s: l’opció «%c» necessita un argument\n"

#: posix/getopt.c:937 posix/getopt.c:953
#, c-format
msgid "%s: option `-W %s' is ambiguous\n"
msgid "%s: option '-W %s' is ambiguous\n"
msgstr "%s: l’opció «-W %s» és ambígua\n"

#: posix/getopt.c:977 posix/getopt.c:995
#, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n"
msgid "%s: option '-W %s' doesn't allow an argument\n"
msgstr "%s: l’opció «-W %s» no admet arguments\n"

#: posix/regcomp.c:135
Expand Down
22 changes: 11 additions & 11 deletions po/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -4359,65 +4359,65 @@ msgstr "Neznámá proměnná „%s“"

#: posix/getopt.c:571 posix/getopt.c:587
#, c-format
msgid "%s: option `%s' is ambiguous\n"
msgid "%s: option '%s' is ambiguous\n"
msgstr "%s: přepínač „%s“ není jednoznačný\n"

#: posix/getopt.c:620 posix/getopt.c:624
#, c-format
msgid "%s: option `--%s' doesn't allow an argument\n"
msgid "%s: option '--%s' doesn't allow an argument\n"
msgstr "%s: přepínač „--%s“ musí být zadán bez argumentu\n"

#: posix/getopt.c:633 posix/getopt.c:638
#, c-format
msgid "%s: option `%c%s' doesn't allow an argument\n"
msgid "%s: option '%c%s' doesn't allow an argument\n"
msgstr "%s: přepínač „%c%s“ musí být zadán bez argumentu\n"

#: posix/getopt.c:681 posix/getopt.c:700 posix/getopt.c:1016
#: posix/getopt.c:1035
#, c-format
msgid "%s: option `%s' requires an argument\n"
msgid "%s: option '%s' requires an argument\n"
msgstr "%s: přepínač „%s“ vyžaduje argument\n"

# Říká, že žádný přepínač takového jména nebyl nalezen.
#: posix/getopt.c:738 posix/getopt.c:741
#, c-format
msgid "%s: unrecognized option `--%s'\n"
msgid "%s: unrecognized option '--%s'\n"
msgstr "%s: neznámý přepínač „--%s“\n"

# Říká, že žádný přepínač takového jména nebyl nalezen.
#: posix/getopt.c:749 posix/getopt.c:752
#, c-format
msgid "%s: unrecognized option `%c%s'\n"
msgid "%s: unrecognized option '%c%s'\n"
msgstr "%s: neznámý přepínač „%c%s“\n"

# Rozdíl mezi 'illegal option' a 'invalid option' není žádný. To která zpráva
# je vypisována je dáno tím, zda má být výstup podle normy 'POSIX' nebo ne.
# 'Illegal option' je POSIXové.
#: posix/getopt.c:804 posix/getopt.c:807
#, c-format
msgid "%s: illegal option -- %c\n"
msgid "%s: illegal option -- '%c'\n"
msgstr "%s: neznámý přepínač -- %c\n"

# Vysvětlení viz 'illegal option'
#: posix/getopt.c:813 posix/getopt.c:816
#, c-format
msgid "%s: invalid option -- %c\n"
msgid "%s: invalid option -- '%c'\n"
msgstr "%s: neznámý přepínač -- %c\n"

#: posix/getopt.c:868 posix/getopt.c:884 posix/getopt.c:1088
#: posix/getopt.c:1106
#, c-format
msgid "%s: option requires an argument -- %c\n"
msgid "%s: option requires an argument -- '%c'\n"
msgstr "%s: přepínač vyžaduje argument – %c\n"

#: posix/getopt.c:937 posix/getopt.c:953
#, c-format
msgid "%s: option `-W %s' is ambiguous\n"
msgid "%s: option '-W %s' is ambiguous\n"
msgstr "%s: přepínač „-W %s“ není jednoznačný\n"

#: posix/getopt.c:977 posix/getopt.c:995
#, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n"
msgid "%s: option '-W %s' doesn't allow an argument\n"
msgstr "%s: přepínač „-W %s“ musí být zadán bez argumentu\n"

# Nenalezeno
Expand Down
22 changes: 11 additions & 11 deletions po/da.po
Original file line number Diff line number Diff line change
Expand Up @@ -3473,59 +3473,59 @@ msgstr "Ukendt variabel '%s'"

#: posix/getopt.c:692 posix/getopt.c:704
#, c-format
msgid "%s: option `%s' is ambiguous\n"
msgid "%s: option '%s' is ambiguous\n"
msgstr "%s: flaget '%s' er flertydigt\n"

#: posix/getopt.c:737 posix/getopt.c:741
#, c-format
msgid "%s: option `--%s' doesn't allow an argument\n"
msgid "%s: option '--%s' doesn't allow an argument\n"
msgstr "%s: flaget '--%s' tager ikke argumenter\n"

#: posix/getopt.c:750 posix/getopt.c:755
#, c-format
msgid "%s: option `%c%s' doesn't allow an argument\n"
msgid "%s: option '%c%s' doesn't allow an argument\n"
msgstr "%s: flaget '%c%s' tager ikke argumenter\n"

#: posix/getopt.c:791 posix/getopt.c:804 posix/getopt.c:1093
#: posix/getopt.c:1106
#, c-format
msgid "%s: option `%s' requires an argument\n"
msgid "%s: option '%s' requires an argument\n"
msgstr "%s: flaget '%s' skal have et argument\n"

#: posix/getopt.c:842 posix/getopt.c:845
#, c-format
msgid "%s: unrecognized option `--%s'\n"
msgid "%s: unrecognized option '--%s'\n"
msgstr "%s: ukendt flag '--%s'\n"

#: posix/getopt.c:853 posix/getopt.c:856
#, c-format
msgid "%s: unrecognized option `%c%s'\n"
msgid "%s: unrecognized option '%c%s'\n"
msgstr "%s: ukendt flag '%c%s'\n"

#: posix/getopt.c:903 posix/getopt.c:906
#, c-format
msgid "%s: illegal option -- %c\n"
msgid "%s: illegal option -- '%c'\n"
msgstr "%s: ulovligt flag -- %c\n"

#: posix/getopt.c:912 posix/getopt.c:915
#, c-format
msgid "%s: invalid option -- %c\n"
msgid "%s: invalid option -- '%c'\n"
msgstr "%s: ugyldigt flag -- %c\n"

#: posix/getopt.c:962 posix/getopt.c:973 posix/getopt.c:1159
#: posix/getopt.c:1172
#, c-format
msgid "%s: option requires an argument -- %c\n"
msgid "%s: option requires an argument -- '%c'\n"
msgstr "%s: flaget skal have et argument -- %c\n"

#: posix/getopt.c:1025 posix/getopt.c:1036
#, c-format
msgid "%s: option `-W %s' is ambiguous\n"
msgid "%s: option '-W %s' is ambiguous\n"
msgstr "%s: flaget '-W %s' er flertydigt\n"

#: posix/getopt.c:1060 posix/getopt.c:1072
#, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n"
msgid "%s: option '-W %s' doesn't allow an argument\n"
msgstr "%s: flaget '-W %s' tager ikke argumenter\n"

#: posix/regcomp.c:136
Expand Down
Loading

0 comments on commit 2127a18

Please sign in to comment.