@@ -53,7 +53,7 @@ use Readonly;
5353=pod
5454 Settings
5555=cut
56- Readonly our $version => ' 3.0.3 ' ;
56+ Readonly our $version => ' 3.0.4 ' ;
5757Readonly our $default_interval => ONE_MINUTE * 2;
5858
5959=pod
@@ -70,7 +70,7 @@ Readonly our %Translations => (
7070 ' en' => ' mm/h' ,
7171 },
7272 ' title' => {
73- ' de' => ' Niederschlagsvorhersage für %s, %s' ,
73+ ' de' => ' Niederschlagsvorhersage für %s, %s' ,
7474 ' en' => ' Precipitation forecast for %s, %s' ,
7575 },
7676 ' legend' => {
@@ -576,7 +576,7 @@ sub GChart {
576576 my $data = join ' , ' , map {
577577 my ($k , $v ) = (
578578 POSIX::strftime(' %H:%M' , localtime $storedData {$_ }{' start' }),
579- sprintf (' %.3f' , $storedData {$_ }{' precipiation ' })
579+ sprintf (' %.3f' , $storedData {$_ }{' precipitation ' })
580580 );
581581 qq{ ['$k ', $v ]}
582582 } sort keys %storedData ;
@@ -691,7 +691,7 @@ sub LogProxy {
691691 join (
692692 q{ } , (
693693 POSIX::strftime(' %F_%T' , localtime $data {$_ }{' start' }),
694- sprintf (' %.3f' , $data {$_ }{' precipiation ' })
694+ sprintf (' %.3f' , $data {$_ }{' precipitation ' })
695695 )
696696 )
697697 } keys %data ),
@@ -721,9 +721,9 @@ sub TextChart {
721721 my $data = join ' \n' , map {
722722 my ($time , $precip , $bar ) = (
723723 POSIX::strftime(' %H:%M' , localtime $storedData {$_ }{' start' }),
724- sprintf (' % 7.3f' , $storedData {$_ }{' precipiation ' }),
724+ sprintf (' % 7.3f' , $storedData {$_ }{' precipitation ' }),
725725 # @todo
726- (($storedData {$_ }{' precipiation ' } < 5) ? q{ =} x POSIX::lround(abs($storedData {$_ }{' precipiation ' } * 10)) : (q{ =} x 50 ) . q{ >} ),
726+ (($storedData {$_ }{' precipitation ' } < 5) ? q{ =} x POSIX::lround(abs($storedData {$_ }{' precipitation ' } * 10)) : (q{ =} x 50 ) . q{ >} ),
727727 );
728728 qq[ $time | $precip | $bar ]
729729 } sort keys %storedData ;
@@ -845,9 +845,9 @@ sub ParseHttpResponse {
845845 }
846846
847847 $precipitation_forecast {$start } = {
848- ' start' => $start ,
849- ' end' => $end ,
850- ' precipiation ' => $precip ,
848+ ' start' => $start ,
849+ ' end' => $end ,
850+ ' precipitation ' => $precip ,
851851 };
852852 }
853853
0 commit comments