summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2010-04-14 10:11:45 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2010-04-14 12:33:06 (GMT)
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 133793c..6e491d7 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -39,5 +39,6 @@ plugins/netutils.c
39plugins/popen.c 39plugins/popen.c
40plugins/urlize.c 40plugins/urlize.c
41plugins/utils.c 41plugins/utils.c
42plugins/utils.h
42plugins-root/check_dhcp.c 43plugins-root/check_dhcp.c
43plugins-root/check_icmp.c 44plugins-root/check_icmp.c
diff --git a/po/de.po b/po/de.po
index b7a3df4..dce8620 100644
--- a/po/de.po
+++ b/po/de.po
@@ -9,7 +9,7 @@ msgid ""
9msgstr "" 9msgstr ""
10"Project-Id-Version: nagiosplug\n" 10"Project-Id-Version: nagiosplug\n"
11"Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n" 11"Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n"
12"POT-Creation-Date: 2010-04-14 05:43-0400\n" 12"POT-Creation-Date: 2010-04-14 06:17-0400\n"
13"PO-Revision-Date: 2004-12-23 17:46+0100\n" 13"PO-Revision-Date: 2004-12-23 17:46+0100\n"
14"Last-Translator: <>\n" 14"Last-Translator: <>\n"
15"Language-Team: English <en@li.org>\n" 15"Language-Team: English <en@li.org>\n"
@@ -5317,6 +5317,106 @@ msgstr "konnte keinen Speicher für '%s' reservieren\n"
5317msgid "failed malloc in strscat\n" 5317msgid "failed malloc in strscat\n"
5318msgstr "konnte keinen Speicher für '%s' reservieren\n" 5318msgstr "konnte keinen Speicher für '%s' reservieren\n"
5319 5319
5320#: plugins/utils.h:140
5321#, c-format
5322msgid ""
5323" %s (-h | --help) for detailed help\n"
5324" %s (-V | --version) for version information\n"
5325msgstr ""
5326
5327#: plugins/utils.h:144
5328msgid ""
5329"\n"
5330"Options:\n"
5331" -h, --help\n"
5332" Print detailed help screen\n"
5333" -V, --version\n"
5334" Print version information\n"
5335msgstr ""
5336
5337#: plugins/utils.h:151
5338#, c-format
5339msgid ""
5340" -H, --hostname=ADDRESS\n"
5341" Host name, IP Address, or unix socket (must be an absolute path)\n"
5342" -%c, --port=INTEGER\n"
5343" Port number (default: %s)\n"
5344msgstr ""
5345
5346#: plugins/utils.h:157
5347msgid ""
5348" -4, --use-ipv4\n"
5349" Use IPv4 connection\n"
5350" -6, --use-ipv6\n"
5351" Use IPv6 connection\n"
5352msgstr ""
5353
5354#: plugins/utils.h:163
5355msgid ""
5356" -v, --verbose\n"
5357" Show details for command-line debugging (Nagios may truncate output)\n"
5358msgstr ""
5359
5360#: plugins/utils.h:167
5361msgid ""
5362" -w, --warning=DOUBLE\n"
5363" Response time to result in warning status (seconds)\n"
5364" -c, --critical=DOUBLE\n"
5365" Response time to result in critical status (seconds)\n"
5366msgstr ""
5367
5368#: plugins/utils.h:173
5369msgid ""
5370" -w, --warning=RANGE\n"
5371" Warning range (format: start:end). Alert if outside this range\n"
5372" -c, --critical=RANGE\n"
5373" Critical range\n"
5374msgstr ""
5375
5376#: plugins/utils.h:179
5377#, c-format
5378msgid ""
5379" -t, --timeout=INTEGER\n"
5380" Seconds before connection times out (default: %d)\n"
5381msgstr ""
5382
5383#: plugins/utils.h:184
5384msgid ""
5385" --extra-opts=[section][@file]\n"
5386" Read additionnal options from ini file\n"
5387msgstr ""
5388
5389#: plugins/utils.h:187
5390msgid ""
5391" See: http://nagiosplugins.org/extra-opts for --extra-opts usage and "
5392"examples.\n"
5393msgstr ""
5394
5395#: plugins/utils.h:194
5396msgid ""
5397" See:\n"
5398" http://nagiosplug.sourceforge.net/developer-guidelines."
5399"html#THRESHOLDFORMAT\n"
5400" for THRESHOLD format and examples.\n"
5401msgstr ""
5402
5403#: plugins/utils.h:199
5404msgid ""
5405"\n"
5406"Send email to nagios-users@lists.sourceforge.net if you have questions\n"
5407"regarding use of this software. To submit patches or suggest improvements,\n"
5408"send email to nagiosplug-devel@lists.sourceforge.net\n"
5409"\n"
5410msgstr ""
5411
5412#: plugins/utils.h:204
5413msgid ""
5414"\n"
5415"The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n"
5416"copies of the plugins under the terms of the GNU General Public License.\n"
5417"For more information about these matters, see the file named COPYING.\n"
5418msgstr ""
5419
5320#: plugins-root/check_dhcp.c:320 5420#: plugins-root/check_dhcp.c:320
5321#, c-format 5421#, c-format
5322msgid "Error: Could not get hardware address of interface '%s'\n" 5422msgid "Error: Could not get hardware address of interface '%s'\n"
diff --git a/po/fr.po b/po/fr.po
index bced839..744bbdd 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -10,7 +10,7 @@ msgid ""
10msgstr "" 10msgstr ""
11"Project-Id-Version: fr\n" 11"Project-Id-Version: fr\n"
12"Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n" 12"Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n"
13"POT-Creation-Date: 2010-04-14 05:43-0400\n" 13"POT-Creation-Date: 2010-04-14 06:17-0400\n"
14"PO-Revision-Date: 2010-04-14 05:30-0400\n" 14"PO-Revision-Date: 2010-04-14 05:30-0400\n"
15"Last-Translator: Thomas Guyot-Sionnest <dermoth@aei.ca>\n" 15"Last-Translator: Thomas Guyot-Sionnest <dermoth@aei.ca>\n"
16"Language-Team: Nagios Plugin Development Mailing List <nagiosplug-" 16"Language-Team: Nagios Plugin Development Mailing List <nagiosplug-"
@@ -2612,12 +2612,12 @@ msgstr "Ce plugin vérifie le service ntp sur l'hÎte"
2612#: plugins/check_ntp.c:849 plugins/check_ntp_peer.c:667 2612#: plugins/check_ntp.c:849 plugins/check_ntp_peer.c:667
2613#: plugins/check_ntp_time.c:609 2613#: plugins/check_ntp_time.c:609
2614msgid "Offset to result in warning status (seconds)" 2614msgid "Offset to result in warning status (seconds)"
2615msgstr "Décalage résultant un avertissement (secondes)" 2615msgstr "Décalage résultant en un avertissement (secondes)"
2616 2616
2617#: plugins/check_ntp.c:851 plugins/check_ntp_peer.c:669 2617#: plugins/check_ntp.c:851 plugins/check_ntp_peer.c:669
2618#: plugins/check_ntp_time.c:611 2618#: plugins/check_ntp_time.c:611
2619msgid "Offset to result in critical status (seconds)" 2619msgid "Offset to result in critical status (seconds)"
2620msgstr "Décalage résultant un état critique (secondes)" 2620msgstr "Décalage résultant en un état critique (secondes)"
2621 2621
2622#: plugins/check_ntp.c:853 plugins/check_ntp_peer.c:675 2622#: plugins/check_ntp.c:853 plugins/check_ntp_peer.c:675
2623msgid "Warning threshold for jitter" 2623msgid "Warning threshold for jitter"
@@ -5411,6 +5411,155 @@ msgstr "La fonction realloc à échoué dans strpcpy\n"
5411msgid "failed malloc in strscat\n" 5411msgid "failed malloc in strscat\n"
5412msgstr "La fonction malloc à échoué dans strscat\n" 5412msgstr "La fonction malloc à échoué dans strscat\n"
5413 5413
5414#: plugins/utils.h:140
5415#, c-format
5416msgid ""
5417" %s (-h | --help) for detailed help\n"
5418" %s (-V | --version) for version information\n"
5419msgstr ""
5420" %s (-h | --help) pour l'aide détaillée\n"
5421" %s (-V | --version) pour les informations relative Ă  la version\n"
5422
5423#: plugins/utils.h:144
5424msgid ""
5425"\n"
5426"Options:\n"
5427" -h, --help\n"
5428" Print detailed help screen\n"
5429" -V, --version\n"
5430" Print version information\n"
5431msgstr ""
5432"\n"
5433"Options:\n"
5434" -h, --help\n"
5435" Afficher l'aide détaillée\n"
5436" -V, --version\n"
5437" Afficher les informations relative Ă  la version\n"
5438
5439#: plugins/utils.h:151
5440#, c-format
5441msgid ""
5442" -H, --hostname=ADDRESS\n"
5443" Host name, IP Address, or unix socket (must be an absolute path)\n"
5444" -%c, --port=INTEGER\n"
5445" Port number (default: %s)\n"
5446msgstr ""
5447" -H, --hostname=ADDRESS\n"
5448" Nom d'hĂŽte, Adresse IP, ou socket UNIX (doit ĂȘtre un chemin absolu)\n"
5449" -%c, --port=INTEGER\n"
5450" Numéro de port (défaut: %s)\n"
5451
5452#: plugins/utils.h:157
5453msgid ""
5454" -4, --use-ipv4\n"
5455" Use IPv4 connection\n"
5456" -6, --use-ipv6\n"
5457" Use IPv6 connection\n"
5458msgstr ""
5459" -4, --use-ipv4\n"
5460" Utiliser une connection IPv4\n"
5461" -6, --use-ipv6\n"
5462" Utiliser une connection IPv6\n"
5463
5464#: plugins/utils.h:163
5465msgid ""
5466" -v, --verbose\n"
5467" Show details for command-line debugging (Nagios may truncate output)\n"
5468msgstr ""
5469" -v, --verbose\n"
5470" Affiche les informations de déboguage en ligne de commande (Nagios peut "
5471"tronquer la sortie)\n"
5472
5473#: plugins/utils.h:167
5474msgid ""
5475" -w, --warning=DOUBLE\n"
5476" Response time to result in warning status (seconds)\n"
5477" -c, --critical=DOUBLE\n"
5478" Response time to result in critical status (seconds)\n"
5479msgstr ""
5480" -w, --warning=DOUBLE\n"
5481" Temps de réponse résultant en un état d'avertissement (secondes)\n"
5482" -c, --critical=DOUBLE\n"
5483" Temps de réponse résultant en un état critique (secondes)\n"
5484
5485#: plugins/utils.h:173
5486msgid ""
5487" -w, --warning=RANGE\n"
5488" Warning range (format: start:end). Alert if outside this range\n"
5489" -c, --critical=RANGE\n"
5490" Critical range\n"
5491msgstr ""
5492" -w, --warning=RANGE\n"
5493" Seuil d'avertissement (format: début:fin). Alerte à l'extérieur de la "
5494"plage\n"
5495" -c, --critical=RANGE\n"
5496" Seuil critique\n"
5497
5498#: plugins/utils.h:179
5499#, c-format
5500msgid ""
5501" -t, --timeout=INTEGER\n"
5502" Seconds before connection times out (default: %d)\n"
5503msgstr ""
5504" -t, --timeout=INTEGER\n"
5505" Délais de connection en secondes (défaut: %d)\n"
5506
5507#: plugins/utils.h:184
5508msgid ""
5509" --extra-opts=[section][@file]\n"
5510" Read additionnal options from ini file\n"
5511msgstr ""
5512" --extra-opts=[section][@file]\n"
5513" Lire les options additionnelles Ă  partir d'un fichier ini\n"
5514
5515#: plugins/utils.h:187
5516msgid ""
5517" See: http://nagiosplugins.org/extra-opts for --extra-opts usage and "
5518"examples.\n"
5519msgstr ""
5520" Voir: http://nagiosplugins.org/extra-opts pour le format et examples de --"
5521"extra-opts.\n"
5522
5523#: plugins/utils.h:194
5524msgid ""
5525" See:\n"
5526" http://nagiosplug.sourceforge.net/developer-guidelines."
5527"html#THRESHOLDFORMAT\n"
5528" for THRESHOLD format and examples.\n"
5529msgstr ""
5530" Voir:\n"
5531" http://nagiosplug.sourceforge.net/developer-guidelines."
5532"html#THRESHOLDFORMAT\n"
5533" pour le format et examples des seuils (THRESHOLD).\n"
5534
5535#: plugins/utils.h:199
5536msgid ""
5537"\n"
5538"Send email to nagios-users@lists.sourceforge.net if you have questions\n"
5539"regarding use of this software. To submit patches or suggest improvements,\n"
5540"send email to nagiosplug-devel@lists.sourceforge.net\n"
5541"\n"
5542msgstr ""
5543"\n"
5544"Envoyez un email Ă  nagios-users@lists.sourceforge.net si vous avez des "
5545"questions\n"
5546"reliées à l'utilisation de ce logiciel. Pour envoyer des patches ou suggérer "
5547"des\n"
5548"améliorations, envoyez un email à nagiosplug-devel@lists.sourceforge.net\n"
5549"\n"
5550
5551#: plugins/utils.h:204
5552msgid ""
5553"\n"
5554"The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n"
5555"copies of the plugins under the terms of the GNU General Public License.\n"
5556"For more information about these matters, see the file named COPYING.\n"
5557msgstr ""
5558"\n"
5559"Les plugins de Nagios ne portent AUCUNE GARANTIE. Vous pouvez redistribuer\n"
5560"des copies des plugins selon les termes de la GNU General Public License.\n"
5561"Pour de plus ample informations, voir le fichier COPYING.\n"
5562
5414#: plugins-root/check_dhcp.c:320 5563#: plugins-root/check_dhcp.c:320
5415#, c-format 5564#, c-format
5416msgid "Error: Could not get hardware address of interface '%s'\n" 5565msgid "Error: Could not get hardware address of interface '%s'\n"
@@ -5838,12 +5987,3 @@ msgstr ""
5838#: plugins-root/check_icmp.c:1334 5987#: plugins-root/check_icmp.c:1334
5839msgid "The -v switch can be specified several times for increased verbosity." 5988msgid "The -v switch can be specified several times for increased verbosity."
5840msgstr "" 5989msgstr ""
5841
5842#~ msgid "See:"
5843#~ msgstr "Voir:"
5844
5845#~ msgid "for THRESHOLD format and examples."
5846#~ msgstr "pour le format et examples des seuils (THRESHOLD)."
5847
5848#~ msgid "for --extra-opts usage and examples."
5849#~ msgstr "pour le format et examples de --extra-opts."
diff --git a/po/nagios-plugins.pot b/po/nagios-plugins.pot
index 4d7dc2b..5b02cac 100644
--- a/po/nagios-plugins.pot
+++ b/po/nagios-plugins.pot
@@ -8,7 +8,7 @@ msgid ""
8msgstr "" 8msgstr ""
9"Project-Id-Version: PACKAGE VERSION\n" 9"Project-Id-Version: PACKAGE VERSION\n"
10"Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n" 10"Report-Msgid-Bugs-To: nagiosplug-devel@lists.sourceforge.net\n"
11"POT-Creation-Date: 2010-04-14 05:43-0400\n" 11"POT-Creation-Date: 2010-04-14 06:17-0400\n"
12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 12"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 13"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14"Language-Team: LANGUAGE <LL@li.org>\n" 14"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -5178,6 +5178,106 @@ msgstr ""
5178msgid "failed malloc in strscat\n" 5178msgid "failed malloc in strscat\n"
5179msgstr "" 5179msgstr ""
5180 5180
5181#: plugins/utils.h:140
5182#, c-format
5183msgid ""
5184" %s (-h | --help) for detailed help\n"
5185" %s (-V | --version) for version information\n"
5186msgstr ""
5187
5188#: plugins/utils.h:144
5189msgid ""
5190"\n"
5191"Options:\n"
5192" -h, --help\n"
5193" Print detailed help screen\n"
5194" -V, --version\n"
5195" Print version information\n"
5196msgstr ""
5197
5198#: plugins/utils.h:151
5199#, c-format
5200msgid ""
5201" -H, --hostname=ADDRESS\n"
5202" Host name, IP Address, or unix socket (must be an absolute path)\n"
5203" -%c, --port=INTEGER\n"
5204" Port number (default: %s)\n"
5205msgstr ""
5206
5207#: plugins/utils.h:157
5208msgid ""
5209" -4, --use-ipv4\n"
5210" Use IPv4 connection\n"
5211" -6, --use-ipv6\n"
5212" Use IPv6 connection\n"
5213msgstr ""
5214
5215#: plugins/utils.h:163
5216msgid ""
5217" -v, --verbose\n"
5218" Show details for command-line debugging (Nagios may truncate output)\n"
5219msgstr ""
5220
5221#: plugins/utils.h:167
5222msgid ""
5223" -w, --warning=DOUBLE\n"
5224" Response time to result in warning status (seconds)\n"
5225" -c, --critical=DOUBLE\n"
5226" Response time to result in critical status (seconds)\n"
5227msgstr ""
5228
5229#: plugins/utils.h:173
5230msgid ""
5231" -w, --warning=RANGE\n"
5232" Warning range (format: start:end). Alert if outside this range\n"
5233" -c, --critical=RANGE\n"
5234" Critical range\n"
5235msgstr ""
5236
5237#: plugins/utils.h:179
5238#, c-format
5239msgid ""
5240" -t, --timeout=INTEGER\n"
5241" Seconds before connection times out (default: %d)\n"
5242msgstr ""
5243
5244#: plugins/utils.h:184
5245msgid ""
5246" --extra-opts=[section][@file]\n"
5247" Read additionnal options from ini file\n"
5248msgstr ""
5249
5250#: plugins/utils.h:187
5251msgid ""
5252" See: http://nagiosplugins.org/extra-opts for --extra-opts usage and "
5253"examples.\n"
5254msgstr ""
5255
5256#: plugins/utils.h:194
5257msgid ""
5258" See:\n"
5259" http://nagiosplug.sourceforge.net/developer-guidelines."
5260"html#THRESHOLDFORMAT\n"
5261" for THRESHOLD format and examples.\n"
5262msgstr ""
5263
5264#: plugins/utils.h:199
5265msgid ""
5266"\n"
5267"Send email to nagios-users@lists.sourceforge.net if you have questions\n"
5268"regarding use of this software. To submit patches or suggest improvements,\n"
5269"send email to nagiosplug-devel@lists.sourceforge.net\n"
5270"\n"
5271msgstr ""
5272
5273#: plugins/utils.h:204
5274msgid ""
5275"\n"
5276"The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n"
5277"copies of the plugins under the terms of the GNU General Public License.\n"
5278"For more information about these matters, see the file named COPYING.\n"
5279msgstr ""
5280
5181#: plugins-root/check_dhcp.c:320 5281#: plugins-root/check_dhcp.c:320
5182#, c-format 5282#, c-format
5183msgid "Error: Could not get hardware address of interface '%s'\n" 5283msgid "Error: Could not get hardware address of interface '%s'\n"