From: eldy <> Date: Sat, 22 Nov 2003 02:33:06 +0000 (+0000) Subject: Updated he translation. X-Git-Tag: AWSTATS_6_0_BETA~76 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b834c356fdd5c46c1e66b4ba317c90d3b5007867;p=thirdparty%2FAWStats.git Updated he translation. --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 609ac41f..96ea3b6e 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -8885,7 +8885,7 @@ if (scalar keys %HTMLOutput) { $rest_h=$TotalHits-$total_h; $rest_k=$TotalBytes-$total_k; if ($rest_p > 0 || $rest_h > 0 || $rest_k > 0) { # All other logins - print "$Message[125]"; + print "".($PageDir eq 'rtl'?"":"")."$Message[125]".($PageDir eq 'rtl'?"":"").""; &ShowUserInfo(''); if ($ShowAuthenticatedUsers =~ /P/i) { print "".($rest_p?$rest_p:" ").""; } if ($ShowAuthenticatedUsers =~ /H/i) { print "$rest_h"; } @@ -8911,7 +8911,7 @@ if (scalar keys %HTMLOutput) { my $count=0; &BuildKeyList($MaxNbOf{'RobotShown'},$MinHit{'Robot'},\%_robot_h,\%_robot_h); foreach my $key (@keylist) { - print "".($RobotsHashIDLib{$key}?$RobotsHashIDLib{$key}:$key).""; + print "".($PageDir eq 'rtl'?"":"").($RobotsHashIDLib{$key}?$RobotsHashIDLib{$key}:$key).($PageDir eq 'rtl'?"":"").""; if ($ShowRobotsStats =~ /H/i) { print "".($_robot_h{$key}-$_robot_r{$key}).($_robot_r{$key}?"+$_robot_r{$key}":"").""; } if ($ShowRobotsStats =~ /B/i) { print "".Format_Bytes($_robot_k{$key}).""; } if ($ShowRobotsStats =~ /L/i) { print "".($_robot_l{$key}?Format_Date($_robot_l{$key},1):'-').""; } @@ -9192,7 +9192,7 @@ if (scalar keys %HTMLOutput) { my $libbrowser=$BrowsersHashIDLib{$keywithoutcumul}||$keywithoutcumul; my $nameicon=$BrowsersHashIcon{$keywithoutcumul}||"notavailable"; if ($BrowsersFamily{$keywithoutcumul}) { $libbrowser="$libbrowser"; } - print "$libbrowser".($BrowsersHereAreGrabbers{$key}?"$Message[112]":"$Message[113]")."$new_browser_h{$key}$p\n"; + print "".($PageDir eq 'rtl'?"":"")."$libbrowser".($PageDir eq 'rtl'?"":"")."".($BrowsersHereAreGrabbers{$key}?"$Message[112]":"$Message[113]")."$new_browser_h{$key}$p\n"; } $total_h += $new_browser_h{$key}; $count++; @@ -9471,7 +9471,7 @@ if (scalar keys %HTMLOutput) { if ($MiscListCalc{$key} eq 'hm') { $total=$_misc_h{'TotalMisc'}||0; } if ($total) { $p=int($_misc_h{$key}/$total*1000)/10; } print ""; - print "".$label{$key}.""; + print "".($PageDir eq 'rtl'?"":"").$label{$key}.($PageDir eq 'rtl'?"":"").""; if ($MiscListCalc{$key} eq 'v') { print "".($_misc_h{$key}||0)." / $total $Message[12]"; } if ($MiscListCalc{$key} eq 'u') { print "".($_misc_h{$key}||0)." / $total $Message[18]"; } if ($MiscListCalc{$key} eq 'hm') { print "-"; }