aboutsummaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2010-04-14 06:11:45 -0400
committerGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2010-04-14 08:33:06 -0400
commit25d1ee331dbe4977a4a1a756c67f32bd51d9b070 (patch)
treeb15cfec59fdbaa8b283f8e7aa2e3d8c4207a7376 /po
parentb649333321701eccfd99df0d39c6b8d8c92d6a8b (diff)
downloadmonitoring-plugins-25d1ee331dbe4977a4a1a756c67f32bd51d9b070.tar.gz
Fix translations when extra-opts aren't enabled
Bug #2832884 reported problem with translations outputting pot file headers. This is caused by "" matching the header of the translation files. This patch moves gettext macros inside utils macros and update some french translations.
Diffstat (limited to 'po')
-rw-r--r--po/POTFILES.in1
-rw-r--r--po/de.po102
-rw-r--r--po/fr.po164
-rw-r--r--po/nagios-plugins.pot102
4 files changed, 355 insertions, 14 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 133793c4..6e491d78 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -39,5 +39,6 @@ plugins/netutils.c
plugins/popen.c
plugins/urlize.c
plugins/utils.c
+plugins/utils.h
plugins-root/check_dhcp.c
plugins-root/check_icmp.c
diff --git a/po/de.po b/po/de.po
index b7a3df42..dce8620d 100644
--- a/po/de.po
+++ b/po/de.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nagiosplug\n"
"Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2010-04-14 05:43-0400\n"
+"POT-Creation-Date: 2010-04-14 06:17-0400\n"
"PO-Revision-Date: 2004-12-23 17:46+0100\n"
"Last-Translator: <>\n"
"Language-Team: English <en@li.org>\n"
@@ -5317,6 +5317,106 @@ msgstr "konnte keinen Speicher für '%s' reservieren\n"
msgid "failed malloc in strscat\n"
msgstr "konnte keinen Speicher für '%s' reservieren\n"
+#: plugins/utils.h:140
+#, c-format
+msgid ""
+" %s (-h | --help) for detailed help\n"
+" %s (-V | --version) for version information\n"
+msgstr ""
+
+#: plugins/utils.h:144
+msgid ""
+"\n"
+"Options:\n"
+" -h, --help\n"
+" Print detailed help screen\n"
+" -V, --version\n"
+" Print version information\n"
+msgstr ""
+
+#: plugins/utils.h:151
+#, c-format
+msgid ""
+" -H, --hostname=ADDRESS\n"
+" Host name, IP Address, or unix socket (must be an absolute path)\n"
+" -%c, --port=INTEGER\n"
+" Port number (default: %s)\n"
+msgstr ""
+
+#: plugins/utils.h:157
+msgid ""
+" -4, --use-ipv4\n"
+" Use IPv4 connection\n"
+" -6, --use-ipv6\n"
+" Use IPv6 connection\n"
+msgstr ""
+
+#: plugins/utils.h:163
+msgid ""
+" -v, --verbose\n"
+" Show details for command-line debugging (Nagios may truncate output)\n"
+msgstr ""
+
+#: plugins/utils.h:167
+msgid ""
+" -w, --warning=DOUBLE\n"
+" Response time to result in warning status (seconds)\n"
+" -c, --critical=DOUBLE\n"
+" Response time to result in critical status (seconds)\n"
+msgstr ""
+
+#: plugins/utils.h:173
+msgid ""
+" -w, --warning=RANGE\n"
+" Warning range (format: start:end). Alert if outside this range\n"
+" -c, --critical=RANGE\n"
+" Critical range\n"
+msgstr ""
+
+#: plugins/utils.h:179
+#, c-format
+msgid ""
+" -t, --timeout=INTEGER\n"
+" Seconds before connection times out (default: %d)\n"
+msgstr ""
+
+#: plugins/utils.h:184
+msgid ""
+" --extra-opts=[section][@file]\n"
+" Read additionnal options from ini file\n"
+msgstr ""
+
+#: plugins/utils.h:187
+msgid ""
+" See: http://nagiosplugins.org/extra-opts for --extra-opts usage and "
+"examples.\n"
+msgstr ""
+
+#: plugins/utils.h:194
+msgid ""
+" See:\n"
+" http://nagiosplug.sourceforge.net/developer-guidelines."
+"html#THRESHOLDFORMAT\n"
+" for THRESHOLD format and examples.\n"
+msgstr ""
+
+#: plugins/utils.h:199
+msgid ""
+"\n"
+"Send email to nagios-users@lists.sourceforge.net if you have questions\n"
+"regarding use of this software. To submit patches or suggest improvements,\n"
+"send email to nagiosplug-devel@lists.sourceforge.net\n"
+"\n"
+msgstr ""
+
+#: plugins/utils.h:204
+msgid ""
+"\n"
+"The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n"
+"copies of the plugins under the terms of the GNU General Public License.\n"
+"For more information about these matters, see the file named COPYING.\n"
+msgstr ""
+
#: plugins-root/check_dhcp.c:320
#, c-format
msgid "Error: Could not get hardware address of interface '%s'\n"
diff --git a/po/fr.po b/po/fr.po
index bced839c..744bbdd6 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: fr\n"
"Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2010-04-14 05:43-0400\n"
+"POT-Creation-Date: 2010-04-14 06:17-0400\n"
"PO-Revision-Date: 2010-04-14 05:30-0400\n"
"Last-Translator: Thomas Guyot-Sionnest <dermoth@aei.ca>\n"
"Language-Team: Nagios Plugin Development Mailing List <nagiosplug-"
@@ -2612,12 +2612,12 @@ msgstr "Ce plugin vérifie le service ntp sur l'hÎte"
#: plugins/check_ntp.c:849 plugins/check_ntp_peer.c:667
#: plugins/check_ntp_time.c:609
msgid "Offset to result in warning status (seconds)"
-msgstr "Décalage résultant un avertissement (secondes)"
+msgstr "Décalage résultant en un avertissement (secondes)"
#: plugins/check_ntp.c:851 plugins/check_ntp_peer.c:669
#: plugins/check_ntp_time.c:611
msgid "Offset to result in critical status (seconds)"
-msgstr "Décalage résultant un état critique (secondes)"
+msgstr "Décalage résultant en un état critique (secondes)"
#: plugins/check_ntp.c:853 plugins/check_ntp_peer.c:675
msgid "Warning threshold for jitter"
@@ -5411,6 +5411,155 @@ msgstr "La fonction realloc à échoué dans strpcpy\n"
msgid "failed malloc in strscat\n"
msgstr "La fonction malloc à échoué dans strscat\n"
+#: plugins/utils.h:140
+#, c-format
+msgid ""
+" %s (-h | --help) for detailed help\n"
+" %s (-V | --version) for version information\n"
+msgstr ""
+" %s (-h | --help) pour l'aide détaillée\n"
+" %s (-V | --version) pour les informations relative Ă  la version\n"
+
+#: plugins/utils.h:144
+msgid ""
+"\n"
+"Options:\n"
+" -h, --help\n"
+" Print detailed help screen\n"
+" -V, --version\n"
+" Print version information\n"
+msgstr ""
+"\n"
+"Options:\n"
+" -h, --help\n"
+" Afficher l'aide détaillée\n"
+" -V, --version\n"
+" Afficher les informations relative Ă  la version\n"
+
+#: plugins/utils.h:151
+#, c-format
+msgid ""
+" -H, --hostname=ADDRESS\n"
+" Host name, IP Address, or unix socket (must be an absolute path)\n"
+" -%c, --port=INTEGER\n"
+" Port number (default: %s)\n"
+msgstr ""
+" -H, --hostname=ADDRESS\n"
+" Nom d'hĂŽte, Adresse IP, ou socket UNIX (doit ĂȘtre un chemin absolu)\n"
+" -%c, --port=INTEGER\n"
+" Numéro de port (défaut: %s)\n"
+
+#: plugins/utils.h:157
+msgid ""
+" -4, --use-ipv4\n"
+" Use IPv4 connection\n"
+" -6, --use-ipv6\n"
+" Use IPv6 connection\n"
+msgstr ""
+" -4, --use-ipv4\n"
+" Utiliser une connection IPv4\n"
+" -6, --use-ipv6\n"
+" Utiliser une connection IPv6\n"
+
+#: plugins/utils.h:163
+msgid ""
+" -v, --verbose\n"
+" Show details for command-line debugging (Nagios may truncate output)\n"
+msgstr ""
+" -v, --verbose\n"
+" Affiche les informations de déboguage en ligne de commande (Nagios peut "
+"tronquer la sortie)\n"
+
+#: plugins/utils.h:167
+msgid ""
+" -w, --warning=DOUBLE\n"
+" Response time to result in warning status (seconds)\n"
+" -c, --critical=DOUBLE\n"
+" Response time to result in critical status (seconds)\n"
+msgstr ""
+" -w, --warning=DOUBLE\n"
+" Temps de réponse résultant en un état d'avertissement (secondes)\n"
+" -c, --critical=DOUBLE\n"
+" Temps de réponse résultant en un état critique (secondes)\n"
+
+#: plugins/utils.h:173
+msgid ""
+" -w, --warning=RANGE\n"
+" Warning range (format: start:end). Alert if outside this range\n"
+" -c, --critical=RANGE\n"
+" Critical range\n"
+msgstr ""
+" -w, --warning=RANGE\n"
+" Seuil d'avertissement (format: début:fin). Alerte à l'extérieur de la "
+"plage\n"
+" -c, --critical=RANGE\n"
+" Seuil critique\n"
+
+#: plugins/utils.h:179
+#, c-format
+msgid ""
+" -t, --timeout=INTEGER\n"
+" Seconds before connection times out (default: %d)\n"
+msgstr ""
+" -t, --timeout=INTEGER\n"
+" Délais de connection en secondes (défaut: %d)\n"
+
+#: plugins/utils.h:184
+msgid ""
+" --extra-opts=[section][@file]\n"
+" Read additionnal options from ini file\n"
+msgstr ""
+" --extra-opts=[section][@file]\n"
+" Lire les options additionnelles Ă  partir d'un fichier ini\n"
+
+#: plugins/utils.h:187
+msgid ""
+" See: http://nagiosplugins.org/extra-opts for --extra-opts usage and "
+"examples.\n"
+msgstr ""
+" Voir: http://nagiosplugins.org/extra-opts pour le format et examples de --"
+"extra-opts.\n"
+
+#: plugins/utils.h:194
+msgid ""
+" See:\n"
+" http://nagiosplug.sourceforge.net/developer-guidelines."
+"html#THRESHOLDFORMAT\n"
+" for THRESHOLD format and examples.\n"
+msgstr ""
+" Voir:\n"
+" http://nagiosplug.sourceforge.net/developer-guidelines."
+"html#THRESHOLDFORMAT\n"
+" pour le format et examples des seuils (THRESHOLD).\n"
+
+#: plugins/utils.h:199
+msgid ""
+"\n"
+"Send email to nagios-users@lists.sourceforge.net if you have questions\n"
+"regarding use of this software. To submit patches or suggest improvements,\n"
+"send email to nagiosplug-devel@lists.sourceforge.net\n"
+"\n"
+msgstr ""
+"\n"
+"Envoyez un email Ă  nagios-users@lists.sourceforge.net si vous avez des "
+"questions\n"
+"reliées à l'utilisation de ce logiciel. Pour envoyer des patches ou suggérer "
+"des\n"
+"améliorations, envoyez un email à nagiosplug-devel@lists.sourceforge.net\n"
+"\n"
+
+#: plugins/utils.h:204
+msgid ""
+"\n"
+"The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n"
+"copies of the plugins under the terms of the GNU General Public License.\n"
+"For more information about these matters, see the file named COPYING.\n"
+msgstr ""
+"\n"
+"Les plugins de Nagios ne portent AUCUNE GARANTIE. Vous pouvez redistribuer\n"
+"des copies des plugins selon les termes de la GNU General Public License.\n"
+"Pour de plus ample informations, voir le fichier COPYING.\n"
+
#: plugins-root/check_dhcp.c:320
#, c-format
msgid "Error: Could not get hardware address of interface '%s'\n"
@@ -5838,12 +5987,3 @@ msgstr ""
#: plugins-root/check_icmp.c:1334
msgid "The -v switch can be specified several times for increased verbosity."
msgstr ""
-
-#~ msgid "See:"
-#~ msgstr "Voir:"
-
-#~ msgid "for THRESHOLD format and examples."
-#~ msgstr "pour le format et examples des seuils (THRESHOLD)."
-
-#~ msgid "for --extra-opts usage and examples."
-#~ msgstr "pour le format et examples de --extra-opts."
diff --git a/po/nagios-plugins.pot b/po/nagios-plugins.pot
index 4d7dc2b4..5b02caca 100644
--- a/po/nagios-plugins.pot
+++ b/po/nagios-plugins.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2010-04-14 05:43-0400\n"
+"POT-Creation-Date: 2010-04-14 06:17-0400\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"
@@ -5178,6 +5178,106 @@ msgstr ""
msgid "failed malloc in strscat\n"
msgstr ""
+#: plugins/utils.h:140
+#, c-format
+msgid ""
+" %s (-h | --help) for detailed help\n"
+" %s (-V | --version) for version information\n"
+msgstr ""
+
+#: plugins/utils.h:144
+msgid ""
+"\n"
+"Options:\n"
+" -h, --help\n"
+" Print detailed help screen\n"
+" -V, --version\n"
+" Print version information\n"
+msgstr ""
+
+#: plugins/utils.h:151
+#, c-format
+msgid ""
+" -H, --hostname=ADDRESS\n"
+" Host name, IP Address, or unix socket (must be an absolute path)\n"
+" -%c, --port=INTEGER\n"
+" Port number (default: %s)\n"
+msgstr ""
+
+#: plugins/utils.h:157
+msgid ""
+" -4, --use-ipv4\n"
+" Use IPv4 connection\n"
+" -6, --use-ipv6\n"
+" Use IPv6 connection\n"
+msgstr ""
+
+#: plugins/utils.h:163
+msgid ""
+" -v, --verbose\n"
+" Show details for command-line debugging (Nagios may truncate output)\n"
+msgstr ""
+
+#: plugins/utils.h:167
+msgid ""
+" -w, --warning=DOUBLE\n"
+" Response time to result in warning status (seconds)\n"
+" -c, --critical=DOUBLE\n"
+" Response time to result in critical status (seconds)\n"
+msgstr ""
+
+#: plugins/utils.h:173
+msgid ""
+" -w, --warning=RANGE\n"
+" Warning range (format: start:end). Alert if outside this range\n"
+" -c, --critical=RANGE\n"
+" Critical range\n"
+msgstr ""
+
+#: plugins/utils.h:179
+#, c-format
+msgid ""
+" -t, --timeout=INTEGER\n"
+" Seconds before connection times out (default: %d)\n"
+msgstr ""
+
+#: plugins/utils.h:184
+msgid ""
+" --extra-opts=[section][@file]\n"
+" Read additionnal options from ini file\n"
+msgstr ""
+
+#: plugins/utils.h:187
+msgid ""
+" See: http://nagiosplugins.org/extra-opts for --extra-opts usage and "
+"examples.\n"
+msgstr ""
+
+#: plugins/utils.h:194
+msgid ""
+" See:\n"
+" http://nagiosplug.sourceforge.net/developer-guidelines."
+"html#THRESHOLDFORMAT\n"
+" for THRESHOLD format and examples.\n"
+msgstr ""
+
+#: plugins/utils.h:199
+msgid ""
+"\n"
+"Send email to nagios-users@lists.sourceforge.net if you have questions\n"
+"regarding use of this software. To submit patches or suggest improvements,\n"
+"send email to nagiosplug-devel@lists.sourceforge.net\n"
+"\n"
+msgstr ""
+
+#: plugins/utils.h:204
+msgid ""
+"\n"
+"The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n"
+"copies of the plugins under the terms of the GNU General Public License.\n"
+"For more information about these matters, see the file named COPYING.\n"
+msgstr ""
+
#: plugins-root/check_dhcp.c:320
#, c-format
msgid "Error: Could not get hardware address of interface '%s'\n"