From 32fa02b84ece6cda1343b71154975bf6ae2918c0 Mon Sep 17 00:00:00 2001 From: Darold Gilles Date: Mon, 10 Dec 2012 15:49:45 +0100 Subject: [PATCH] Fix some translation issues. --- SquidAnalyzer.pm | 24 ++++++++++++------------ lang/de_DE.txt | 6 +++--- lang/en_US.txt | 2 +- lang/fr_FR.txt | 20 ++++++++++---------- lang/pt_BR.txt | 6 +++--- resources/squidanalyzer.css | 8 +++++--- 6 files changed, 34 insertions(+), 32 deletions(-) diff --git a/SquidAnalyzer.pm b/SquidAnalyzer.pm index ebbe80a..f9ed612 100644 --- a/SquidAnalyzer.pm +++ b/SquidAnalyzer.pm @@ -118,7 +118,7 @@ my %Translate = ( 'First_visit' => 'First visit', 'Last_visit' => 'Last visit', 'Globals_Statistics' => 'Globals Statistics', - 'Legende' => 'Legende', + 'Legend' => 'Legend', 'File_Generated' => 'File generated by', ); @@ -1437,17 +1437,17 @@ sub _print_cache_stat
$code_requests$code_bytes
-

$Translate{'Legende'}

+

$Translate{'Legend'}

- $Translate{'Hit'}: $Translate{'Hit_help'}
- $Translate{'Miss'}: $Translate{'Miss_help'}
- $Translate{'Users'}: $Translate{'Users_help'}
- $Translate{'Sites'}: $Translate{'Sites_help'}
- $Translate{'Domains'}: $Translate{'Domains_help'}
+ $Translate{'Hit'}: $Translate{'Hit_help'}
+ $Translate{'Miss'}: $Translate{'Miss_help'}
+ $Translate{'Users'}: $Translate{'Users_help'}
+ $Translate{'Sites'}: $Translate{'Sites_help'}
+ $Translate{'Domains'}: $Translate{'Domains_help'}
}; print $out qq{ - $Translate{'Cost'}: $Translate{'Cost_help'} $self->{CostPrice} $self->{Currency}
+ $Translate{'Cost'}: $Translate{'Cost_help'} $self->{CostPrice} $self->{Currency}
} if ($self->{CostPrice}); print $out qq{
@@ -2728,13 +2728,13 @@ sub _gen_summary print $out qq{ -

$Translate{'Legende'}

+

$Translate{'Legend'}

- $Translate{'Hit'}: $Translate{'Hit_help'}
- $Translate{'Miss'}: $Translate{'Miss_help'}
+ $Translate{'Hit'}: $Translate{'Hit_help'}
+ $Translate{'Miss'}: $Translate{'Miss_help'}
}; - print $out qq{$Translate{'Cost'}: $Translate{'Cost_help'} $self->{CostPrice} $self->{Currency}
} if ($self->{CostPrice}); + print $out qq{$Translate{'Cost'}: $Translate{'Cost_help'} $self->{CostPrice} $self->{Currency}
} if ($self->{CostPrice}); print $out qq{
}; diff --git a/lang/de_DE.txt b/lang/de_DE.txt index b9180fa..5d3822f 100644 --- a/lang/de_DE.txt +++ b/lang/de_DE.txt @@ -91,6 +91,6 @@ Domain_graph_hits_title Domain Treffer Statistik Domain_graph_bytes_title Domain Bytes Statistik First_visit Erster Besuch Last_visit Letzter Besuch -Globals_Statistics Globals Statistics -Legende Legend -File_Generated File generated by +Globals_Statistics Globals Statistik +Legend Beschriftung +File_Generated Erzeugt durch diff --git a/lang/en_US.txt b/lang/en_US.txt index ae5305a..fa2d8eb 100644 --- a/lang/en_US.txt +++ b/lang/en_US.txt @@ -92,5 +92,5 @@ Domain_graph_bytes_title Domain Bytes Statistiques on First_visit First visit Last_visit Last visit Globals_Statistics Globals Statistics -Legende Legend +Legend Legend File_Generated File generated by diff --git a/lang/fr_FR.txt b/lang/fr_FR.txt index 879690f..ee707be 100644 --- a/lang/fr_FR.txt +++ b/lang/fr_FR.txt @@ -26,7 +26,7 @@ CharSet iso-8859-15 12 Déc Requests Requêtes Bytes Octets -Megabytes Mega octets +Megabytes Méga octets Total Total Years Années Months Mois @@ -38,19 +38,19 @@ Users Utilisateurs Sites Sites Domains Domaines Requests_graph Requêtes -Megabytes_graph Mega octets +Megabytes_graph Méga octets Months_graph Mois Days_graph Jours -Hit_graph Trouves +Hit_graph Trouvés Miss_graph Manquants Total_graph Total Domains_graph Domaines -Users_help Nombre total d'utilisateurs differents pendant cette période -Sites_help Nombre total de sites differents visités pendant cette période -Domains_help Nombre total de domaines visités pendant cette période +Users_help Nombre total d'utilisateurs différents pendant cette période +Sites_help Nombre total de sites différents visités pendant cette période +Domains_help Nombre total de domaines différents visités pendant cette période Hit_help Objets trouvés dans le cache Miss_help Objets non trouvés dans le cache -Cost_help 1 Mega octet = +Cost_help 1 Méga octet = Generation Rapport généré Main_cache_title Statistiques du cache Cache_title Statistiques du cache pour @@ -71,7 +71,7 @@ Monthly Mensuelles Months Mois Mime_title Statistiques des types MIME pour Mime_number Nombre de types MIME -Network_title Statistiques Réseaux pour +Network_title Statistiques réseaux pour Network_number Nombre de réseaux Duration Durée Time Temps @@ -92,7 +92,7 @@ Domain_graph_bytes_title Statistiques des transferts par domaines pour First_visit Première visite Last_visit Dernière visite Globals_Statistics Statistiques Globales -Legende Légende -File_Generated Fichier généré par +Legend Légende +File_Generated Généré par Up_link Haut de Page diff --git a/lang/pt_BR.txt b/lang/pt_BR.txt index 35bf3a7..a17aba3 100644 --- a/lang/pt_BR.txt +++ b/lang/pt_BR.txt @@ -92,6 +92,6 @@ Domain_graph_hits_title Acessos a Dom Domain_graph_bytes_title Bytes Transferidos de Domínios em First_visit Primeira visita Last_visit Ultima visita -Globals_Statistics Globales Statistiques -Legende Legend -File_Generated File generated by +Globals_Statistics Estatísticas globais +Legend Legenda +File_Generated Gerado pela diff --git a/resources/squidanalyzer.css b/resources/squidanalyzer.css index 7faa80c..9659e7c 100644 --- a/resources/squidanalyzer.css +++ b/resources/squidanalyzer.css @@ -10,12 +10,14 @@ body { font-size: 10pt; background-color: #F1F1F1; min-width: 900px; } .line-separator { height:1px; width:520px; background:#717171; border-bottom:1px solid #313030; margin-top:-25px; margin-left: 10px; margin-bottom: 45px; } -.descLegende { font-style: italic; } +.descLegend { font-style: italic; } .legendeTitle { font-variant: small-caps; font-weight: bold; font-size: 1.3em; line-height: 18pt; letter-spacing: 2px; } #alignLeft { float: left; } +.italicPercent { font-style: italic; font-size: 0.7em; } + #contenu { padding-bottom: 50px; } #contenu h4 { font-size: 1.6em; font-variant: small-caps; padding-left: 15px; letter-spacing: 2px; } @@ -44,7 +46,7 @@ table.stata td { text-align: center; padding-left: 20px; padding-right: 20px; pa table.stata th.nobg { background: none; border-top: 0px; border-left: 0px; padding-left: 20px; padding-right: 20px; padding-top: 3px; padding-bottom: 3px; } -table.stata td a { font-variant: small-caps; text-decoration: none; color: black; font-weight: bold; font-style: normal; font-size: 15px; } +table.stata td a { font-variant: small-caps; text-decoration: none; color: black; font-weight: bold; font-style: normal; font-size: 14px; } table.stata td a:hover { color: #76add2; } @@ -75,7 +77,7 @@ table.stata td a:hover { color: #76add2; } /* Header */ /**************/ -#header { background: black; height: 120px; width: 100%; border-bottom: 3px solid #76add2; } +#header { background: black; height: 130px; width: 100%; border-bottom: 3px solid #76add2; } #header h1 { margin: 0; color: white; font-size: 3em; font-style: italic; font-variant: small-caps; letter-spacing: 2px; } #header h1 img { float: left; margin-top: 5px; margin-right: 20px; padding-left: 20px; } #header .sous-titre { color: #76add2; font-style: italic; padding-left: 180px; font-size:0.8em; font-weight: 600; }