diff options
author | jbj <jbj> | 2001-02-22 20:58:16 +0000 |
---|---|---|
committer | jbj <jbj> | 2001-02-22 20:58:16 +0000 |
commit | 666c257ce23779be8feb028de4e8fc49cea60515 (patch) | |
tree | 3fff6bfe2cf310ae19bad84e1514015ea7b152df | |
parent | b6704c3d91b286099e74368723d9f1a3b7643f12 (diff) | |
download | libpopt-666c257ce23779be8feb028de4e8fc49cea60515.tar.gz |
- (popt): use sprintf rather than snprintf for portability.
don't bother reporting lchown failures, unimplemented on Red Hat 5.2 alpha.
-rw-r--r-- | po/cs.po | 6 | ||||
-rw-r--r-- | po/da.po | 6 | ||||
-rw-r--r-- | po/de.po | 6 | ||||
-rw-r--r-- | po/es.po | 6 | ||||
-rw-r--r-- | po/eu_ES.po | 6 | ||||
-rw-r--r-- | po/fi.po | 6 | ||||
-rw-r--r-- | po/fr.po | 6 | ||||
-rw-r--r-- | po/gl.po | 6 | ||||
-rw-r--r-- | po/hu.po | 6 | ||||
-rw-r--r-- | po/id.po | 6 | ||||
-rw-r--r-- | po/is.po | 6 | ||||
-rw-r--r-- | po/it.po | 6 | ||||
-rw-r--r-- | po/ja.po | 6 | ||||
-rw-r--r-- | po/ko.po | 6 | ||||
-rw-r--r-- | po/no.po | 6 | ||||
-rw-r--r-- | po/pl.po | 6 | ||||
-rw-r--r-- | po/popt.pot | 6 | ||||
-rw-r--r-- | po/pt.po | 6 | ||||
-rw-r--r-- | po/pt_BR.po | 6 | ||||
-rw-r--r-- | po/ro.po | 6 | ||||
-rw-r--r-- | po/ru.po | 6 | ||||
-rw-r--r-- | po/sk.po | 6 | ||||
-rw-r--r-- | po/sl.po | 6 | ||||
-rw-r--r-- | po/sr.po | 6 | ||||
-rw-r--r-- | po/sv.po | 6 | ||||
-rw-r--r-- | po/tr.po | 6 | ||||
-rw-r--r-- | po/uk.po | 6 | ||||
-rw-r--r-- | po/wa.po | 6 | ||||
-rw-r--r-- | po/zh.po | 6 | ||||
-rw-r--r-- | po/zh_CN.GB2312.po | 6 | ||||
-rw-r--r-- | popthelp.c | 41 |
31 files changed, 111 insertions, 110 deletions
@@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 2001-02-08 14:56+0100\n" "Last-Translator: Milan Kerslager <kerslage@linux.cz>\n" "Language-Team: Czech <cs@li.org>\n" @@ -90,10 +90,10 @@ msgstr "DOUBLE" msgid "ARG" msgstr "ARG" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "Pou¾ití:" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "[VOLBY...]" @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: Sun Jan 21 2001 04:30:32+0200\n" "Last-Translator: Martin Hansen <mah@k64.dk>\n" "Language-Team: Dansk <dansk@klid.dk>\n" @@ -91,10 +91,10 @@ msgstr "DOUBLE" msgid "ARG" msgstr "ARG" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "Brug:" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "[TILVALG...]" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" diff --git a/po/eu_ES.po b/po/eu_ES.po index e5f71fe..db307f7 100644 --- a/po/eu_ES.po +++ b/po/eu_ES.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 2001-01-17 01:01+0100\n" "Last-Translator: Jesús Bravo Álvarez <jba@pobox.com>\n" "Language-Team: Galician <trasno@ceu.fi.udc.es>\n" @@ -90,10 +90,10 @@ msgstr "DOUBLE" msgid "ARG" msgstr "ARG" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "Uso:" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "[OPCIÓN...]" @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 2000-08-03 23:26+0200\n" "Last-Translator: László Németh <nemeth@qwertynet.hu>\n" "Language-Team: Hungarian\n" @@ -90,10 +90,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 2001-01-23 01:35+0000\n" "Last-Translator: Richard Allen <ra@hp.is>\n" "Language-Team: is <kde-isl@mmedia.is>\n" @@ -90,10 +90,10 @@ msgstr "DOUBLE" msgid "ARG" msgstr "ARG" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "Notkun:" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "[ROFI...]" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.2\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 2001-01-23 22:52+01:00\n" "Last-Translator: Kjartan Maraas <kmaraas@online.no>\n" "Language-Team: Norwegian <no@li.org>\n" @@ -90,10 +90,10 @@ msgstr "DOUBLE" msgid "ARG" msgstr "ARG" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "Bruk:" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "[FLAGG...]" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" diff --git a/po/popt.pot b/po/popt.pot index e5f71fe..db307f7 100644 --- a/po/popt.pot +++ b/po/popt.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 2001-01-21 19:31+00:00\n" "Last-Translator: Pedro Morais <morais@kde.org>\n" "Language-Team: pt <morais@kde.org>\n" @@ -90,10 +90,10 @@ msgstr "DOUBLE" msgid "ARG" msgstr "ARG" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "Utilização:" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "[OPÇÃO...]" diff --git a/po/pt_BR.po b/po/pt_BR.po index 7ef5b2f..858656d 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 2000-06-14 23:23+EST\n" "Last-Translator: Cristian Gafton <gafton@redhat.com>\n" "Language-Team: Romanian <ro@li.org>\n" @@ -91,10 +91,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "Sintaxa:" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "[OPTIUNE...]" @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 2001-01-21 21:00-0500\n" "Last-Translator: Eugene Kanter <eugene@blackcatlinux.com>\n" "Language-Team: Black Cat Linux Team <blackcat-support@blackcatlinux.com>\n" @@ -90,10 +90,10 @@ msgstr "DOUBLE" msgid "ARG" msgstr "ARG" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ:" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "[ðáòáíåôò...]" @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 1999-08-04 21:40+0200\n" "Last-Translator: Stanislav Meduna <stano@eunet.sk>\n" "Language-Team: Slovak <sk-i18n@rak.isternet.sk>\n" @@ -94,10 +94,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 2000-09-05 12:30+0200\n" "Last-Translator: Roman Maurer <roman.maurer@hermes.si>\n" "Language-Team: Slovenian <sl@li.org>\n" @@ -90,10 +90,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 2001-01-16 00:40+0100\n" "Last-Translator: Christian Rose <menthos@menthos.com>\n" "Language-Team: Swedish <sv@li.org>\n" @@ -90,10 +90,10 @@ msgstr "DOUBLE" msgid "ARG" msgstr "ARG" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "Användning:" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "[FLAGGA...]" @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 2000-02-11 13:01+0200\n" "Last-Translator: Nilgun Belma Buguner <nilgun@technologist.com>\n" "Language-Team: Turkish <tr@li.org>\n" @@ -90,10 +90,10 @@ msgstr "DOUBLE" msgid "ARG" msgstr "ARG" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "Kullanýmý:" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "[SEÇENEK...]" @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 1999-09-30 16:54+0200\n" "Last-Translator: Yuri Syrota <rasta@renome.rovno.ua>\n" "Language-Team: Ukrainian <uk@li.org>\n" @@ -94,10 +94,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 1999-03-18 23:11+0100\n" "Last-Translator: Nobody yet\n" "Language-Team: walon <linux-wa@chanae.alphanet.ch>\n" @@ -98,10 +98,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -95,10 +95,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" diff --git a/po/zh_CN.GB2312.po b/po/zh_CN.GB2312.po index c12ed7f..c6d055b 100644 --- a/po/zh_CN.GB2312.po +++ b/po/zh_CN.GB2312.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: popt 1.6.1\n" -"POT-Creation-Date: 2001-01-17 12:28-0500\n" +"POT-Creation-Date: 2001-02-22 15:37-0500\n" "PO-Revision-Date: 1999-11-11 05:04+0800\n" "Last-Translator: Dillion Chen <dillon.chen@turbolinux.com.cn>\n" "Language-Team: TLDN\n" @@ -90,10 +90,10 @@ msgstr "" msgid "ARG" msgstr "" -#: popthelp.c:240 +#: popthelp.c:241 msgid "Usage:" msgstr "" -#: popthelp.c:259 +#: popthelp.c:260 msgid "[OPTION...]" msgstr "" @@ -78,31 +78,34 @@ static void singleOptionHelp(FILE * f, int maxLeftCol, const char * argDescrip = getArgDescrip(opt, translation_domain); int helpLength; char * left; + int nb = maxLeftCol + 1; - left = malloc(maxLeftCol + 1); + /* Make sure there's more than enough room in target buffer. */ + if (opt->longName) nb += strlen(opt->longName); + if (argDescrip) nb += strlen(argDescrip); + + left = malloc(nb); left[0] = left[maxLeftCol] = '\0'; if (opt->longName && opt->shortName) - snprintf(left, maxLeftCol, "-%c, %s%s", opt->shortName, + sprintf(left, "-%c, %s%s", opt->shortName, ((opt->argInfo & POPT_ARGFLAG_ONEDASH) ? "-" : "--"), opt->longName); else if (opt->shortName) - snprintf(left, maxLeftCol, "-%c", opt->shortName); + sprintf(left, "-%c", opt->shortName); else if (opt->longName) - snprintf(left, maxLeftCol, "%s%s", + sprintf(left, "%s%s", ((opt->argInfo & POPT_ARGFLAG_ONEDASH) ? "-" : "--"), opt->longName); - if (!*left) return ; + if (!*left) goto out; if (argDescrip) { char * le = left + strlen(left); - int nl = maxLeftCol - (le - left); - if (opt->argInfo & POPT_ARGFLAG_OPTIONAL) { - *le++ = '['; nl--; - } + if (opt->argInfo & POPT_ARGFLAG_OPTIONAL) + *le++ = '['; if (opt->argDescrip == NULL) { switch (opt->argInfo & POPT_ARG_MASK) { case POPT_ARG_NONE: - snprintf(le, nl-1, "[true]"); + sprintf(le, "[true]"); break; case POPT_ARG_VAL: { long aLong = opt->val; @@ -110,14 +113,14 @@ static void singleOptionHelp(FILE * f, int maxLeftCol, if (opt->argInfo & POPT_ARGFLAG_NOT) aLong = ~aLong; switch (opt->argInfo & POPT_ARGFLAG_LOGICALOPS) { case POPT_ARGFLAG_OR: - snprintf(le, nl-1, "[|=0x%lx]", aLong); break; + sprintf(le, "[|=0x%lx]", aLong); break; case POPT_ARGFLAG_AND: - snprintf(le, nl-1, "[&=0x%lx]", aLong); break; + sprintf(le, "[&=0x%lx]", aLong); break; case POPT_ARGFLAG_XOR: - snprintf(le, nl-1, "[^=0x%lx]", aLong); break; + sprintf(le, "[^=0x%lx]", aLong); break; default: if (!(aLong == 0L || aLong == 1L || aLong == -1L)) - snprintf(le, nl-1, "[=%ld]", aLong); + sprintf(le, "[=%ld]", aLong); break; } } break; @@ -126,17 +129,15 @@ static void singleOptionHelp(FILE * f, int maxLeftCol, case POPT_ARG_STRING: case POPT_ARG_FLOAT: case POPT_ARG_DOUBLE: - snprintf(le, nl-1, "=%s", argDescrip); + sprintf(le, "=%s", argDescrip); break; } } else { - snprintf(le, nl-1, "=%s", argDescrip); + sprintf(le, "=%s", argDescrip); } - nl -= strlen(le); le += strlen(le); - if (opt->argInfo & POPT_ARGFLAG_OPTIONAL) { - *le++ = ']'; nl--; - } + if (opt->argInfo & POPT_ARGFLAG_OPTIONAL) + *le++ = ']'; *le = '\0'; } |