From: eldy <> Date: Tue, 19 Dec 2000 21:23:17 +0000 (+0000) Subject: Change some translations texts. X-Git-Tag: AWSTATS_1_0~363 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bde8c66d54ce094f29ef2efb9b17608a8fa8b59;p=thirdparty%2FAWStats.git Change some translations texts. Add 3 new parameters for colorset. Update OS database. --- diff --git a/awstats.pl b/awstats.pl index a7339eab..13af34b0 100644 --- a/awstats.pl +++ b/awstats.pl @@ -2,18 +2,19 @@ # use diagnostics; # use strict; #-Description------------------------------------------- -# Free realtime web server logfile analyzer (in Perl) working as a CGI to show -# advanced web statistics. For better performances, you should use this script -# at least once a day (from a scheduler for example). -# See README.TXT file for setup and benchmark informations -# See COPYING.TXT file about AWStats GNU General Public License +# Free realtime web server logfile analyzer (Perl script) working from +# command line or as a CGI to show advanced web statistics. +# For better performances, you must use this script as often as necessary +# (from a scheduler for example). +# See README.TXT file for setup and benchmark informations. +# See COPYING.TXT file about AWStats GNU General Public License. #------------------------------------------------------- #------------------------------------------------------- # Defines #------------------------------------------------------- -$VERSION="2.23q"; +$VERSION="2.24 (build 1)"; $Lang=0; # Default value @@ -191,8 +192,8 @@ $message[6][1]="Ann $message[7][1]="Statistiques du site"; $message[8][1]="Première visite"; $message[9][1]="Dernière visite"; -$message[10][1]="Nbre visites"; -$message[11][1]="Nbre visiteurs différents"; +$message[10][1]="Visites"; +$message[11][1]="Visiteurs différents"; $message[12][1]="Visite"; $message[13][1]="Mot clé"; $message[14][1]="Recherche"; @@ -340,7 +341,7 @@ $message[7][3]="Estad $message[8][3]="Primera visita"; $message[9][3]="Última visita"; $message[10][3]="Número de visitas"; -$message[11][3]="No. de visitantes distintos"; +$message[11][3]="Visitantes distintos"; $message[12][3]="Visita"; $message[13][3]="Palabra clave (keyword)"; $message[14][3]="Búsquedas"; @@ -413,8 +414,8 @@ $message[6][4]="Anno"; $message[7][4]="Statistiche di"; $message[8][4]="Prima visita"; $message[9][4]="Ultima visita"; -$message[10][4]="Numero di visite"; -$message[11][4]="Numero di visitatori diverse"; +$message[10][4]="Visite"; +$message[11][4]="Visitatori diverse"; $message[12][4]="Visite"; $message[13][4]="Parole chiave"; $message[14][4]="Ricerche"; @@ -673,7 +674,7 @@ $message[71][6]="Dic"; # ---------- OS lists -------------------- -# ("os id in lower case","os text") +# ("os detector in lower case","os text") %OSHash = ( "win16","Windows 3.xx", "win95","Windows 95", @@ -703,14 +704,15 @@ $message[71][6]="Dic"; %OSAlias = ( "windows_98","win98", "windows_nt","winnt", +"windows-nt","winnt", "win32","winnt", "windows_95","win95", -"windows_31","win16", +"windows_3","win16", # This works for windows_31 and windows_3.1 "windows;i;16","win16", "windowsce","wince", "mac_powerpc","macintosh", "mac_ppc","macintosh", -"mac_68000","macintosh", +"mac_68","macintosh", # This works for mac_6800 and mac_68k "macweb","macintosh" ); @@ -1212,6 +1214,9 @@ sub Read_Config_File { if ($line =~ /^color_TableBorder/) { $color_TableBorder=$param; next; } if ($line =~ /^color_TableBG/) { $color_TableBG=$param; next; } if ($line =~ /^color_link/) { $color_link=$param; next; } + if ($line =~ /^color_hover/) { $color_hover=$param; next; } + if ($line =~ /^color_text/) { $color_text=$param; next; } + if ($line =~ /^color_titletext/) { $color_titletext=$param; next; } if ($line =~ /^color_v/) { $color_v=$param; next; } if ($line =~ /^color_w/) { $color_w=$param; next; } if ($line =~ /^color_p/) { $color_p=$param; next; } @@ -1255,6 +1260,9 @@ sub Check_Config { if (! ($color_TableRowTitle =~ /[\d]/)) { $color_TableRowTitle="#FFFFFF"; } if (! ($color_TableBGRowTitle =~ /[\d]/)) { $color_TableBGRowTitle="#BBBBBB"; } if (! ($color_link =~ /[\d]/)) { $color_link="#4000FF"; } + if (! ($color_hover =~ /[\d]/)) { $color_hover="#4000FF"; } + if (! ($color_text =~ /[\d]/)) { $color_text="#000000"; } + if (! ($color_titletext =~ /[\d]/)) { $color_titletext="#000000"; } if (! ($color_v =~ /[\d]/)) { $color_v="#F3F300"; } if (! ($color_w =~ /[\d]/)) { $color_w="#FF9933"; } if (! ($color_p =~ /[\d]/)) { $color_p="#4477DD"; } @@ -1597,15 +1605,17 @@ for ($ix=0; $ix<5; $ix++) { $_from_h[$ix]=0; } if ($ENV{"GATEWAY_INTERFACE"} eq "") { &html_head; } print "\n @@ -1620,6 +1630,7 @@ if ($ShowFlagLinks == 1) { if ($Lang != 5) { print "   \"German\"\n"; } print "
"; } +#print "HomePage •\; Back
\n"; print "$message[54][$Lang]
\n"; print "

\n"; @@ -2116,7 +2127,7 @@ if ($QueryString =~ /unknownrefererbrowser/) { print "
"; $tab_titre=$message[50][$Lang]; &tab_head; - print "Referer$message[9][$Lang]\n"; + print "Referer$message[9][$Lang]\n"; @sortunknownrefererbrowser=sort { $SortDir*$_unknownrefererbrowser_l{$a} <=> $SortDir*$_unknownrefererbrowser_l{$b} } keys (%_unknownrefererbrowser_l); foreach $key (@sortunknownrefererbrowser) { $yearcon=substr($_unknownrefererbrowser_l{$key},0,4); @@ -2135,7 +2146,7 @@ if ($QueryString =~ /unknownreferer/) { print "
"; $tab_titre=$message[46][$Lang]; &tab_head; - print "Referer$message[9][$Lang]\n"; + print "Referer$message[9][$Lang]\n"; @sortunknownreferer=sort { $SortDir*$_unknownreferer_l{$a} <=> $SortDir*$_unknownreferer_l{$b} } keys (%_unknownreferer_l); foreach $key (@sortunknownreferer) { $yearcon=substr($_unknownreferer_l{$key},0,4); @@ -2154,7 +2165,7 @@ if ($QueryString =~ /notfounderror/) { print "
"; $tab_titre=$message[47][$Lang]; &tab_head; - print "URL$message[49][$Lang]\n"; + print "URL$message[49][$Lang]\n"; @sortsider404=sort { $SortDir*$_sider404_h{$a} <=> $SortDir*$_sider404_h{$b} } keys (%_sider404_h); foreach $key (@sortsider404) { print "$key$_sider404_h{$key}"; @@ -2169,7 +2180,7 @@ if ($QueryString =~ /browserdetail/) { print "
"; $tab_titre=$message[33][$Lang]."
"; &tab_head; - print "VersionHits$message[15][$Lang]\n"; + print "VersionHits$message[15][$Lang]\n"; for ($i=1; $i<=$#_nsver_h; $i++) { if ($_nsver_h[$i] gt 0) { $h=$_nsver_h[$i]; $p=int($_nsver_h[$i]/$_browser_h{"netscape"}*1000)/10; $p="$p %"; @@ -2184,7 +2195,7 @@ if ($QueryString =~ /browserdetail/) { print "
"; $tab_titre=$message[34][$Lang]."
"; &tab_head; - print "VersionHits$message[15][$Lang]\n"; + print "VersionHits$message[15][$Lang]\n"; for ($i=1; $i<=$#_msiever_h; $i++) { if ($_msiever_h[$i] gt 0) { $h=$_msiever_h[$i]; $p=int($_msiever_h[$i]/$_browser_h{"msie"}*1000)/10; $p="$p %"; @@ -2234,15 +2245,15 @@ if (($Lang != 1) && ($Lang != 3) && ($Lang != 6)) { This data refers to the number of different physical persons who had reached the site in any one day.
- Number of time a page of the site is viewed (Sum for all visitors for all visits).
+ Number of times a page of the site is viewed (Sum for all visitors for all visits).
This piece of data differs from \"hits\" in that it counts only HTML pages as oppose to images and other files.
- Number of time a page, image, file of the site is viewed or downloaded by someone.
+ Number of times a page, image, file of the site is viewed or downloaded by someone.
This piece of data is provided as a reference only, since the number of \"pages\" viewed is often prefered for marketing purposes.
- Number of kilobytes downloaded by your visitors.
+# Number of kilobytes downloaded by your visitors.
This piece of information refers to the amount of data downloaded by all pages, images and files within your site measured in KBs.
@@ -2296,7 +2307,7 @@ if (($Lang != 1) && ($Lang != 3) && ($Lang != 6)) { Tried to reach a non existing URL. This error often means that there is an invalid link somewhere in your site or that a visitor mistyped a certain URL.
- Server has taken a too long time to respond to request. It might be a CGI script so slow that server need to kill this job or a overcharged web server. + Server has taken too much time to respond to a request. This error frequently involves either a slow CGI script which the server was required to kill or an extremely congested web server.
@@ -2691,7 +2702,7 @@ for ($ix=1; $ix<=12; $ix++) { $kilo=int(($MonthBytes{$monthix.$YearRequired}/1024)*100)/100; print ""; print "\"$message[10][$Lang]:"; - print "\"$message[18][$Lang]:"; + print "\"$message[11][$Lang]:"; print " "; print "\"$message[56][$Lang]:"; print "\"$message[57][$Lang]:"; @@ -2765,7 +2776,7 @@ foreach $key (@sortdomains_p) { print "

"; $tab_titre="TOP $MaxNbOfHostsShown $message[55][$Lang] $TotalHosts $message[26][$Lang] ($TotalUnique $message[11][$Lang])"; &tab_head; -print "$message[18][$Lang]$message[56][$Lang]$message[57][$Lang]$message[44][$Lang]$message[9][$Lang]\n"; +print "$message[18][$Lang]$message[56][$Lang]$message[57][$Lang]$message[44][$Lang]$message[9][$Lang]\n"; $count=0;$total_p=0;$total_h=0;$total_k=0; foreach $key (@sorthosts_p) { @@ -2809,7 +2820,7 @@ if ($rest_p > 0) { print "$message[2][$Lang] print "

"; $tab_titre=$message[53][$Lang]; &tab_head; -print "RobotHits$message[9][$Lang]\n"; +print "RobotHits$message[9][$Lang]\n"; @sortrobot=sort { $SortDir*$_robot_h{$a} <=> $SortDir*$_robot_h{$b} } keys (%_robot_h); foreach $key (@sortrobot) { $yearcon=substr($_robot_l{$key},0,4); @@ -2828,7 +2839,7 @@ foreach $key (@sortrobot) { print "

"; $tab_titre="TOP $MaxNbOfPageShown $message[55][$Lang] $TotalDifferentPages $message[27][$Lang]"; &tab_head; -print "Page-URL $message[29][$Lang]  \n"; +print "Page-URL $message[29][$Lang]  \n"; if ($SortDir<0) { $max=$_sider_p{$sortsiders[0]}; } else { $max=$_sider_p{$sortsiders[$#sortsiders]}; } $count=0; @@ -2895,7 +2906,7 @@ print "\n"; print "

"; $tab_titre="$message[31][$Lang]"; &tab_head; -print "BrowserHits$message[15][$Lang]\n"; +print "BrowserHits$message[15][$Lang]\n"; foreach $key (@sortbrowsers) { $p=int($_browser_h{$key}/$TotalHits*1000)/10; if ($key eq "Unknown") { @@ -2913,7 +2924,7 @@ foreach $key (@sortbrowsers) { print "

"; $tab_titre=$message[35][$Lang]; &tab_head; -print "OSHits$message[15][$Lang]\n"; +print "OSHits$message[15][$Lang]\n"; foreach $key (@sortos) { $p=int($_os_h{$key}/$TotalHits*1000)/10; if ($key eq "Unknown") { @@ -2934,7 +2945,7 @@ foreach $key (@sortos) { print "

"; $tab_titre="$message[36][$Lang]"; &tab_head; -print "$message[37][$Lang]Hits$message[15][$Lang]\n"; +print "$message[37][$Lang]Hits$message[15][$Lang]\n"; if ($TotalHits > 0) { $_=int($_from_h[0]/$TotalHits*1000)/10; } print "$message[38][$Lang]:$_from_h[0] $_ %\n"; if ($TotalHits > 0) { $_=int($_from_h[1]/$TotalHits*1000)/10; } @@ -2983,7 +2994,7 @@ print "$message[42][$Lang] :$_from_h[4]  print "

"; $tab_titre="TOP $MaxNbOfKeywordsShown $message[55][$Lang] $TotalDifferentKeywords $message[43][$Lang]"; &tab_head; -print "$message[13][$Lang]$message[14][$Lang]$message[15][$Lang]\n"; +print "$message[13][$Lang]$message[14][$Lang]$message[15][$Lang]\n"; $count=0; foreach $key (@sortsearchwords) { if ( $count>=$MaxNbOfKeywordsShown ) { last; } @@ -3010,7 +3021,7 @@ if ($rest >0) { print "

"; $tab_titre=$message[32][$Lang]; &tab_head; -print "$message[32][$Lang]Hits$message[15][$Lang]\n"; +print "$message[32][$Lang]Hits$message[15][$Lang]\n"; foreach $key (@sorterrors) { $p=int($_errors_h{$key}/$TotalErrors*1000)/10; if ($httpcode{$key}) { print ""; }