add portuguese and french languages
[spider.git] / cmd / show / wwv.pl
index e010972604ce738f5e05ebe74fdfbf07b353eb64..988b760a6446fcfa0161efc0a0b13710ca6a729e 100644 (file)
@@ -26,9 +26,10 @@ while ($f = shift @f) {                 # next field
        }
 }
 
-$to = 10 if !$to;
+$from = 1 unless $from;
+$to = 5 unless $to;
 
-push @out, "Date        Hour   SFI   K   A Forecast                               Logger";
+push @out, $self->msg('wwv3');
 my @in = Geomag::search($from, $to, $main::systime);
 for (@in) {
        push @out, Geomag::print_item($_);