From 4dbdd7489849caf4492c4cf0d18efcf6e0d69cc7 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Wed, 9 Feb 2011 13:09:51 -0500 Subject: [PATCH] Remove unused transalation strings --- check_postgres.pl | 42 ++---------------------------------------- 1 file changed, 2 insertions(+), 40 deletions(-) diff --git a/check_postgres.pl b/check_postgres.pl index 374be051d..70a6edee4 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -101,7 +101,7 @@ our %msg = ( 'bug-report' => q{Please report these details to check_postgres@bucardo.org:}, 'checkpoint-baddir' => q{Invalid data_directory: "$1"}, 'checkpoint-baddir2' => q{pg_controldata could not read the given data directory: "$1"}, - 'checkpoint-badver' => q{Failed to run pg_controldata - probably the wrong version (tried $1)}, + 'checkpoint-badver' => q{Failed to run pg_controldata - probably the wrong version ($1)}, 'checkpoint-badver2' => q{Failed to run pg_controldata - is it the correct version?}, 'checkpoint-nodir' => q{Must supply a --datadir argument or set the PGDATA environment variable}, 'checkpoint-nodp' => q{Must install the Perl module Date::Parse to use the checkpoint action}, @@ -155,7 +155,6 @@ our %msg = ( 'logfile-seekfail' => q{Seek on $1 failed: $2}, 'logfile-stderr' => q{Logfile output has been redirected to stderr: please provide a filename}, 'logfile-syslog' => q{Database is using syslog, please specify path with --logfile option (fac=$1)}, - 'maxtime' => q{ maxtime=$1}, ## needs leading space 'mrtg-fail' => q{Action $1 failed: $2}, 'new-ver-nocver' => q{Could not download version information for $1}, 'new-ver-badver' => q{Could not parse version information for $1}, @@ -185,16 +184,8 @@ our %msg = ( 'preptxn-none' => q{No prepared transactions found}, 'psa-disabled' => q{No queries - is stats_command_string or track_activities off?}, 'psa-noexact' => q{Unknown error}, - 'psa-nomatches' => q{No queries were found}, 'psa-nosuper' => q{No matches - please run as a superuser}, - 'psa-skipped' => q{No matching rows were found (skipped rows: $1)}, - 'qtime-count-msg' => q{Total queries: $1}, - 'qtime-count-none' => q{not more than $1 queries}, - 'qtime-for-msg' => q{$1 queries longer than $2s, longest: $3s$4 $5}, - 'qtime-msg' => q{longest query: $1s$2 $3}, - 'qtime-none' => q{no queries}, 'queries' => q{queries}, - 'Query' => q{Query: $1}, 'query-time' => q{query_time}, 'range-badcs' => q{Invalid '$1' option: must be a checksum}, 'range-badlock' => q{Invalid '$1' option: must be number of locks, or "type1=#;type2=#"}, @@ -291,16 +282,6 @@ our %msg = ( 'transactions' => q{transactions}, 'trigger-msg' => q{Disabled triggers: $1}, 'txn-time' => q{transaction_time}, - 'txnidle-count-msg' => q{Total idle in transaction: $1}, - 'txnidle-count-none' => q{not more than $1 idle in transaction}, - 'txnidle-for-msg' => q{$1 idle transactions longer than $2s, longest: $3s$4 $5}, - 'txnidle-msg' => q{longest idle in txn: $1s$2 $3}, - 'txnidle-none' => q{no idle in transaction}, - 'txntime-count-msg' => q{Total transactions: $1}, - 'txntime-count-none' => q{not more than $1 transactions}, - 'txntime-for-msg' => q{$1 transactions longer than $2s, longest: $3s$4 $5}, - 'txntime-msg' => q{longest txn: $1s$2 $3}, - 'txntime-none' => q{No transactions}, 'txnwrap-cbig' => q{The 'critical' value must be less than 2 billion}, 'txnwrap-wbig' => q{The 'warning' value must be less than 2 billion}, 'unknown-error' => q{Unknown error}, @@ -330,7 +311,7 @@ our %msg = ( 'bug-report' => q{Merci de rapporter ces d??tails ?? check_postgres@bucardo.org:}, 'checkpoint-baddir' => q{data_directory invalide : "$1"}, 'checkpoint-baddir2' => q{pg_controldata n'a pas pu lire le répertoire des données indiqué : « $1 »}, -'checkpoint-badver' => q{Échec lors de l'exécution de pg_controldata - probablement la mauvaise version (tried $1)}, + 'checkpoint-badver' => q{Échec lors de l'exécution de pg_controldata - probablement la mauvaise version ($1)}, 'checkpoint-badver2' => q{Échec lors de l'exécution de pg_controldata - est-ce la bonne version ?}, 'checkpoint-nodir' => q{Vous devez fournir un argument --datadir ou configurer la variable d'environnement PGDATA}, 'checkpoint-nodp' => q{Vous devez installer le module Perl Date::Parse pour utiliser l'action checkpoint}, @@ -384,7 +365,6 @@ our %msg = ( 'logfile-seekfail' => q{Échec de la recherche dans $1 : $2}, 'logfile-stderr' => q{La sortie des traces a été redirigés stderr : merci de fournir un nom de fichier}, 'logfile-syslog' => q{La base de données utiliser syslog, merci de spécifier le chemin avec l'option --logfile (fac=$1)}, - 'maxtime' => q{ maxtime=$1}, ## needs leading space 'mrtg-fail' => q{Échec de l'action $1 : $2}, 'new-ver-nocver' => q{N'a pas pu t??l??charger les informations de version pour $1}, 'new-ver-badver' => q{N'a pas pu analyser les informations de version pour $1}, @@ -414,16 +394,8 @@ our %msg = ( 'preptxn-none' => q{Aucune transaction préparée trouvée}, 'psa-disabled' => q{Pas de requ??te - est-ce que stats_command_string ou track_activities sont d??sactiv??s ?}, 'psa-noexact' => q{Erreur inconnue}, - 'psa-nomatches' => q{Aucune requ??te n'a ??t?? trouv??e}, 'psa-nosuper' => q{Aucune correspondance - merci de m'ex??cuter en tant que superutilisateur}, - 'psa-skipped' => q{Aucune ligne correspondante n'a ??t?? trouv??e (lignes ignor??es : $1)}, -'qtime-count-msg' => q{Total queries: $1}, -'qtime-count-none' => q{not more than $1 queries}, -'qtime-for-msg' => q{$1 queries longer than $2s, longest: $3s$4 $5}, - 'qtime-msg' => q{requête la plus longue : $1s}, -'qtime-none' => q{no queries}, 'queries' => q{queries}, - 'Query' => q{Requ??te : $1}, 'query-time' => q{query_time}, 'range-badcs' => q{Option « $1 » invalide : doit être une somme de contrôle}, 'range-badlock' => q{Option « $1 » invalide : doit être un nombre de verrou ou « type1=#;type2=# »}, @@ -520,16 +492,6 @@ our %msg = ( 'transactions' => q{transactions}, 'trigger-msg' => q{Triggers désactivés : $1}, 'txn-time' => q{transaction_time}, -'txnidle-count-msg' => q{Total idle in transaction: $1}, - 'txnidle-count-none' => q{pas plus de $1 transaction en attente}, -'txnidle-for-msg' => q{$1 idle transactions longer than $2s, longest: $3s$4 $5}, - 'txnidle-msg' => q{transaction en attente la plus longue : $1s$2 $3}, - 'txnidle-none' => q{Aucun processus en attente dans une transaction}, -'txntime-count-msg' => q{Total transactions: $1}, -'txntime-count-none' => q{not more than $1 transactions}, -'txntime-for-msg' => q{$1 transactions longer than $2s, longest: $3s$4 $5}, - 'txntime-msg' => q{Transaction la plus longue : $1s$2 $3}, - 'txntime-none' => q{Aucune transaction}, 'txnwrap-cbig' => q{La valeur critique doit être inférieure à 2 milliards}, 'txnwrap-wbig' => q{La valeur d'avertissement doit être inférieure à 2 milliards}, 'unknown-error' => q{erreur inconnue}, -- 2.30.2