[check_postgres] [commit] More French translations from Guillaume Lelarge
check_postgres at bucardo.org
check_postgres at bucardo.org
Wed Feb 18 17:28:31 UTC 2009
Committed by Greg Sabino Mullane <greg at endpoint.com>
More French translations from Guillaume Lelarge
---
check_postgres.pl | 107 +++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 87 insertions(+), 20 deletions(-)
diff --git a/check_postgres.pl b/check_postgres.pl
index adcf2ca..4bfbd8d 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -70,13 +70,14 @@ our $YELLNAME = 1;
## that could be made into a command-line option or moved above.
## Messages. Translations always welcome
+## no critic (RequireInterpolationOfMetachars)
our %msg = (
'en' => {
'backends-users' => q{$1 for number of users must be a number or percentage},
'backends-nomax' => q{Could not determine max_connections},
'backends-mrtg' => q{DB=$1 Max connections=$2},
- 'backends-msg' => q{$1 of $2 connections ($3%)},
- 'bloat-index' => q{index $1 rows:$2 pages:$3 shouldbe:$4 ($5X) wasted bytes:$6 ($7)},
+ 'backends-msg' => q{$1 of $2 connections ($3%)},
+ 'bloat-index' => q{index $1 rows:$2 pages:$3 shouldbe:$4 ($5X) wasted bytes:$6 ($7)},
'bloat-nomin' => q{no relations meet the minimum bloat criteria},
'bloat-table' => q{table $1.$2 rows:$3 pages:$3 shouldbe:$4 ($5X) wasted size:$6 ($7)},
'die-action-version' => q{Cannot run "$1": server version must be >= $2, but is $3},
@@ -133,7 +134,7 @@ our %msg = (
'runcommand-noerr' => q{Could not open STDERR?!},
'runcommand-pgpass' => q{Created temporary pgpass file $1},
'runcommand-timeout' => q{Command timed out! Consider boosting --timeout higher than $1},
- 'runcoomand-nosys' => q{System call failed with a $1},
+ 'runcommand-nosys' => q{System call failed with a $1},
'symlink-create' => q{Created "$1"},
'symlink-done' => q{Not creating "$1": $2 already linked to "$3"},
'symlink-exists' => q{Not creating "$1": $2 file already exists},
@@ -166,32 +167,97 @@ our %msg = (
'usage' => qq{\nUsage: \$1 <options>\n Try "\$1 --help" for a complete list of options\n\n},
},
'fr' => {
+ 'backends-users' => q{$1 for number of users must be a number or percentage},
+ 'backends-nomax' => q{Could not determine max_connections},
+ 'backends-mrtg' => q{DB=$1 Max connections=$2},
+ 'backends-msg' => q{$1 of $2 connections ($3%)},
+ 'bloat-index' => q{index $1 lignes:$2 pages:$3 devrait être:$4 ($5X) octets perdus:$6 ($7)},
+ 'bloat-nomin' => q{aucune relation n'atteint le critère minimum de fragmentation},
+ 'bloat-table' => q{table $1.$2 lignes:$3 pages:$3 devrait être:$4 ($5X) place perdue:$6 ($7)},
+ 'die-action-version' => q{Ne peut pas exécuter « $1 » : la version du serveur doit être supérieure ou égale à $2, alors qu'elle est $3},
+ 'die-badtime' => q{La valeur de « $1 » doit être une heure valide. Par exemple, -$2 1s -$2 « 10 minutes »},
+ 'die-badversion' => q{Version invalide : $1},
+ 'die-noset' => q{Ne peut pas exécuter « $1 » $2 n'est pas activé},
+ 'die-nosetting' => q{N'a pas pu récupérer le paramètre « $1 »},
+ 'file-noclose' => q{N'a pas pu fermer $1 : $2},
'invalid-query' => q{Une requête invalide a renvoyé : $1},
- 'no-time-hires' => q{N'a pas trouvé le module Time::HiRes, nécessaire quand 'showtime' est activé},
- 'opt-psql-badpath' => q{Argument psql invalide : doit correspondre au chemin complet vers le fichier nommé psql},
- 'opt-psql-noexist' => q{N'a pas pu trouver l'exécutable psql : $1},
- 'opt-psql-nofind' => q{N'a pas trouvé l'exécutable psql},
- 'opt-psql-noexec' => q{Le fichier "$1" ne semble pas être exécutable},
- 'opt-psql-nover ' => q{N'a pas pu déterminer la version de psql},
+ 'mrtg-fail' => q{Ãchec de l'action $1 : $2},
'no-match-db' => q{Aucune base de données trouvée à cause des options d'exclusion/inclusion},
'no-match-fs' => q{Aucun système de fichier trouvé à cause des options d'exclusion/inclusion},
'no-match-rel' => q{Aucune relation trouvée à cause des options d'exclusion/inclusion},
'no-match-set' => q{Aucun paramètre trouvé à cause des options d'exclusion/inclusion},
'no-match-table' => q{Aucune table trouvée à cause des options d'exclusion/inclusion},
'no-match-user' => q{Aucune entrée trouvée à cause options d'exclusion/inclusion},
-
- 'symlink-create' => q{Création de "$1"},
- 'symlink-done' => q{Création impossible de "$1": $2 est déjà lié à "$3"},
- 'symlink-exists' => q{Création impossible de "$1": le fichier $2 existe déjà },
- 'symlink-fail1' => q{Failed to unlink "$1": $2},
+ 'no-time-hires' => q{N'a pas trouvé le module Time::HiRes, nécessaire quand « showtime » est activé},
+ 'opt-output-invalid' => q{Mode de sortie invalide : doit être « nagios » ou « mrtg » ou « simple » ou encore « cacti »},
+ 'opt-psql-badpath' => q{Argument psql invalide : doit correspondre au chemin complet vers le fichier nommé psql},
+ 'opt-psql-noexec' => q{Le fichier « $1« ne semble pas être exécutable},
+ 'opt-psql-noexist' => q{N'a pas pu trouver l'exécutable psql : $1},
+ 'opt-psql-nofind' => q{N'a pas trouvé l'exécutable psql},
+ 'opt-psql-nover ' => q{N'a pas pu déterminer la version de psql},
+ 'opt-psql-restrict' => q{Ne peut pas utiliser l'option --PSQL quand NO_PSQL_OPTION est activé},
+ 'range-badcs' => q{Invalid '$1' option: must be a checksum},
+ 'range-badlock' => q{Invalid '$1' option: must be number of locks, or "type1=#;type2=#"},
+ 'range-badpercent' => q{Invalid '$1' option: must be a percentage},
+ 'range-badpercsize' => q{Invalid '$1' option: must be a size or a percentage},
+ 'range-badsize' => q{Invalid size for '$1' option},
+ 'range-badtype' => q{validate_range called with unknown type '$1'},
+ 'range-badversion' => q{Invalid string for '1' option: $2},
+ 'range-cactionly' => q{This action is for cacti use only and takes not warning or critical arguments},
+ 'range-int' => q{Invalid argument for '$1' option: must be an integer},
+ 'range-int-pos' => q{Invalid argument for '$1' option: must be a positive integer},
+ 'range-neg-percent' => q{Cannot specify a negative percent!},
+ 'range-noopt-both' => q{Must provide both 'warning' and 'critical' options},
+ 'range-noopt-one' => q{Must provide a 'warning' or 'critical' option},
+ 'range-noopt-only' => q{Can only provide 'warning' OR 'critical' option},
+ 'range-noopt-orboth' => q{Must provide a 'warning' option, a 'critical' option, or both},
+ 'range-noopt-size' => q{Must provide a warning and/or critical size},
+ 'range-nosize' => q{Must provide a warning and/or critical size},
+ 'range-notime' => q{Must provide a warning and/or critical time},
+ 'range-seconds' => q{Invalid argument to '$1' option: must be number of seconds},
+ 'range-version' => q{must be in the format X.Y or X.Y.Z, where X is the major version number, }.
+ q{Y is the minor version number, and Z is the revision},
+ 'range-warnbig' => q{The 'warning' option cannot be greater than the 'critical' option},
+ 'range-warnbigsize' => q{The 'warning' option ($1 bytes) cannot be larger than the 'critical' option ($2 bytes)},
+ 'range-warnbigtime' => q{The 'warning' option ($1 s) cannot be larger than the 'critical' option ($2 s)},
+ 'range-warnsmall' => q{The 'warning' option cannot be less than the 'critical' option},
+ 'runcommand-err' => q{Erreur inconnue de la fonction « run_command »},
+ 'runcommand-nodb' => q{Aucune base de données cible trouvée},
+ 'runcommand-nodupe' => q{N'a pas pu dupliqué STDERR},
+ 'runcommand-noerr' => q{N'a pas pu ouvrir STDERR},
+ 'runcommand-pgpass' => q{Création du fichier pgpass temporaire $1},
+ 'runcommand-timeout' => q{Délai épuisée pour la commande ! Essayez d'augmenter --timeout à une valeur plus importante que $1},
+ 'runcommand-nosys' => q{Ãchec de l'appel système avec un $1},
+ 'symlink-create' => q{Création de « $1 »},
+ 'symlink-done' => q{Création impossible de « $1 »: $2 est déjà lié à "$3"},
+ 'symlink-exists' => q{Création impossible de « $1 »: le fichier $2 existe déjà },
+ 'symlink-fail1' => q{Ãchec de la suppression de « $1 » : $2},
'symlink-fail2' => q{N'a pas pu supprimer le lien symbolique $1 vers $2 : $3},
- 'symlink-name' => q{This command will not work unless the program has the word "postgres" in it},
- 'symlink-unlink' => q{Unlinking "$1":$2 },
- 'time-second' => q{seconde},
- 'time-seconds' => q{secondes},
+ 'symlink-name' => q{Cette commande ne fonctionnera pas sauf si le programme contient le mot « postgres »},
+ 'symlink-unlink' => q{Supression de « $1 » :$2 },
+ 'testmode-end' => q{FIN DU MODE DE TEST},
+ 'testmode-fail' => q{Ãchec de la connexion : $1 $2},
+ 'testmode-norun' => q{N'a pas pu exécuter « $1 » sur $2 : la version doit être supérieure ou égale à $3, mais est $4},
+ 'testmode-noset' => q{N'a pas pu exécuter « $1 » sur $2 : $3 n'est pas activé},
+ 'testmode-nover' => q{N'a pas pu trouver la version de $1},
+ 'testmode-ok' => q{Connexion OK : $1},
+ 'testmode-start' => q{DÃBUT DU MODE DE TEST},
+ 'time-day' => q{jour},
+ 'time-days' => q{jours},
+ 'time-hour' => q{heure},
+ 'time-hours' => q{heures},
'time-minute' => q{minute},
'time-minutes' => q{minutes},
- 'runcommand-nodb' => q{Aucune base de données cible trouvée},
+ 'time-month' => q{mois},
+ 'time-monthss' => q{mois},
+ 'time-second' => q{seconde},
+ 'time-seconds' => q{secondes},
+ 'time-week' => q{semaine},
+ 'time-weeks' => q{semaines},
+ 'time-year' => q{année},
+ 'time-years' => q{années},
+ 'unknown-error' => q{erreur inconnue},
+ 'usage' => qq{\nUsage: \$1 <options>\n Essayez « \$1 --help » pour liste complète des options\n\n},
},
'de' => {
'invalid-query' => q{Invalid query returned: $1},
@@ -200,6 +266,7 @@ our %msg = (
'invalid-query' => q{Invalid query returned: $1},
},
);
+## use critic
our $lang = $ENV{LC_ALL} || $ENV{LC_MESSAGES} || $ENV{LANG} || 'en';
$lang = substr($lang,0,2);
@@ -481,7 +548,7 @@ sub msg {
} ## end of msg
-sub msgn {
+sub msgn { ## no critic
return msg(@_) . "\n";
}
--
1.6.0.5
More information about the Check_postgres
mailing list