X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fstation.pl;h=a5ffe2adc01f9e8f651da739982a10134dab5b46;hb=097f2329b24fd3082e880e789f8a38224784b0e0;hp=868ebda9b81f34cd5aed73f20b39044cb1a19aaf;hpb=b6fd93ded24e1e9dd485ef7254f2c7e938b21e93;p=spider.git diff --git a/cmd/show/station.pl b/cmd/show/station.pl index 868ebda9..a5ffe2ad 100644 --- a/cmd/show/station.pl +++ b/cmd/show/station.pl @@ -73,16 +73,16 @@ if (@f <= 2 && uc $f[0] eq 'ALL') { my $seek = $cref->isa('Route::Node') ? $call : join(',', $cref->parents) if $cref; if ($seek) { - push @out, "User : $call (at $seek)"; + push @out, sprintf("%-13s: %s (%s %s)", $self->msg('user'), $call, $self->msg('at'), $seek); } else { - push @out, "User : $call"; + push @out, sprintf("%-13s: %s", $self->msg('user'), $call); } - push @out, "Name : $name" if $name; - push @out, "Last Connect : $last" if $last; - push @out, "QTH : $qth" if $qth; - push @out, "Location : $latlong ($qra)" if $latlong || $qra ; - push @out, sprintf("Heading : %.0f Deg %.0f Mi. %.0f Km.", $bearing, $miles, $dx) if $latlong; - push @out, "Home Node : $homenode" if $homenode; + push @out, sprintf("%-13s: %s", $self->msg('name1'), $name) if $name; + push @out, sprintf("%-13s: %s", $self->msg('lastconn'), $last) if $last; + push @out, sprintf("%-13s: %s", 'QTH', $qth) if $qth; + push @out, sprintf("%-13s: %s", $self->msg('location'), "$latlong ($qra)") if $latlong || $qra ; + push @out, sprintf("%-13s: %.0f Deg. %.0f Mi. %.0f Km.", $self->msg('heading'), $bearing, $miles, $dx) if $latlong; + push @out, sprintf("%-13s: %s", $self->msg('homenode2'), $homenode) if $homenode; } else { push @out, $self->msg('usernf', $call); }