Fixed found translation.

This commit is contained in:
Kevin LABOURDETTE 2016-09-27 16:15:21 +02:00
parent 2659073fec
commit 43bc24186b
4 changed files with 45 additions and 45 deletions

View File

@ -71,9 +71,9 @@ sub new {
"warning-time:s" => { name => 'warning_time' },
"critical-time:s" => { name => 'critical_time' },
"threshold-value:s" => { name => 'threshold_value', default => 'count' },
"format-ok:s" => { name => 'format_ok', default => '%{count} element(s) finded' },
"format-warning:s" => { name => 'format_warning', default => '%{count} element(s) finded' },
"format-critical:s" => { name => 'format_critical', default => '%{count} element(s) finded' },
"format-ok:s" => { name => 'format_ok', default => '%{count} element(s) found' },
"format-warning:s" => { name => 'format_warning', default => '%{count} element(s) found' },
"format-critical:s" => { name => 'format_critical', default => '%{count} element(s) found' },
"values-separator:s" => { name => 'values_separator', default => ', ' },
});
$self->{count} = 0;
@ -296,7 +296,7 @@ FORMAT OPTIONS:
=item B<--format-ok>
Output format (Default: '%{count} element(s) finded')
Output format (Default: '%{count} element(s) found')
Can used:
'%{values}' = display all values (also text string)
'%{values_ok}' = values from attributes and text node only (seperated by option values-separator)
@ -304,11 +304,11 @@ Can used:
=item B<--format-warning>
Output warning format (Default: %{count} element(s) finded')
Output warning format (Default: %{count} element(s) found')
=item B<--format-critical>
Output critical format (Default: %{count} element(s) finded')
Output critical format (Default: %{count} element(s) found')
=item B<--values-separator>

View File

@ -70,9 +70,9 @@ sub new {
"warning-time:s" => { name => 'warning_time' },
"critical-time:s" => { name => 'critical_time' },
"threshold-value:s" => { name => 'threshold_value', default => 'count' },
"format-ok:s" => { name => 'format_ok', default => '%{count} element(s) finded' },
"format-warning:s" => { name => 'format_warning', default => '%{count} element(s) finded' },
"format-critical:s" => { name => 'format_critical', default => '%{count} element(s) finded' },
"format-ok:s" => { name => 'format_ok', default => '%{count} element(s) found' },
"format-warning:s" => { name => 'format_warning', default => '%{count} element(s) found' },
"format-critical:s" => { name => 'format_critical', default => '%{count} element(s) found' },
"values-separator:s" => { name => 'values_separator', default => ', ' },
});
$self->{count} = 0;
@ -309,7 +309,7 @@ FORMAT OPTIONS:
=item B<--format-ok>
Output format (Default: '%{count} element(s) finded')
Output format (Default: '%{count} element(s) found')
Can used:
'%{values}' = display all values (also text string)
'%{values_ok}' = values from attributes and text node only (seperated by option values-separator)
@ -317,11 +317,11 @@ Can used:
=item B<--format-warning>
Output warning format (Default: %{count} element(s) finded')
Output warning format (Default: %{count} element(s) found')
=item B<--format-critical>
Output critical format (Default: %{count} element(s) finded')
Output critical format (Default: %{count} element(s) found')
=item B<--values-separator>

View File

@ -163,7 +163,7 @@ sub manage_selection {
if (scalar(keys %{$self->{node}}) <= 0) {
$self->{output}->output_add(severity => 'OK',
short_msg => 'No node(s) finded');
short_msg => 'No node(s) found');
}
}

View File

@ -150,7 +150,7 @@ sub manage_selection {
if (scalar(keys %{$self->{ap}}) <= 0 && scalar(keys %{$self->{ssid}}) <= 0) {
$self->{output}->output_add(severity => 'OK',
short_msg => 'No AP nor SSID finded, check your filter or maybe we are on a slave controller ? ');
short_msg => 'No AP nor SSID found, check your filter or maybe we are on a slave controller ? ');
}
}