From d1e395e4197c40b7fd26f1b2dcf75a96d4b2b99e Mon Sep 17 00:00:00 2001 From: Yorhel Date: Thu, 24 Sep 2009 14:00:56 +0200 Subject: L10N: Translated the 'ALL' char and fixed footer TL bug --- lib/VNDB/Handler/Producers.pm | 2 +- lib/VNDB/Handler/Users.pm | 2 +- lib/VNDB/Handler/VNBrowse.pm | 2 +- lib/VNDB/Util/LayoutHTML.pm | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/VNDB/Handler/Producers.pm b/lib/VNDB/Handler/Producers.pm index 48ebe217..e6477567 100644 --- a/lib/VNDB/Handler/Producers.pm +++ b/lib/VNDB/Handler/Producers.pm @@ -175,7 +175,7 @@ sub list { end; p class => 'browseopts'; for ('all', 'a'..'z', 0) { - a href => "/p/$_", $_ eq $char ? (class => 'optselected') : (), $_ ? uc $_ : '#'; + a href => "/p/$_", $_ eq $char ? (class => 'optselected') : (), $_ eq 'all' ? mt('_char_all') : $_ ? uc $_ : '#'; } end; end; diff --git a/lib/VNDB/Handler/Users.pm b/lib/VNDB/Handler/Users.pm index d97c8377..8575771e 100644 --- a/lib/VNDB/Handler/Users.pm +++ b/lib/VNDB/Handler/Users.pm @@ -468,7 +468,7 @@ sub list { end; p class => 'browseopts'; for ('all', 'a'..'z', 0) { - a href => "/u/$_", $_ eq $char ? (class => 'optselected') : (), $_ ? uc $_ : '#'; + a href => "/u/$_", $_ eq $char ? (class => 'optselected') : (), $_ eq 'all' ? mt('_char_all') : $_ ? uc $_ : '#'; } end; end; diff --git a/lib/VNDB/Handler/VNBrowse.pm b/lib/VNDB/Handler/VNBrowse.pm index 97d4fe26..2a6d6cd7 100644 --- a/lib/VNDB/Handler/VNBrowse.pm +++ b/lib/VNDB/Handler/VNBrowse.pm @@ -130,7 +130,7 @@ sub _filters { $self->htmlSearchBox('v', $f->{q}); p class => 'browseopts'; for ('all', 'a'..'z', 0) { - a href => "/v/$_", $_ eq $char ? (class => 'optselected') : (), $_ ? uc $_ : '#'; + a href => "/v/$_", $_ eq $char ? (class => 'optselected') : (), $_ eq 'all' ? mt('_char_all') : $_ ? uc $_ : '#'; } end; diff --git a/lib/VNDB/Util/LayoutHTML.pm b/lib/VNDB/Util/LayoutHTML.pm index 72e3fbef..85971ba9 100644 --- a/lib/VNDB/Util/LayoutHTML.pm +++ b/lib/VNDB/Util/LayoutHTML.pm @@ -156,11 +156,11 @@ sub htmlFooter { } txt "vndb $self->{version} | "; - a href => '/d7', 'about us'; + a href => '/d7', mt '_footer_aboutus'; txt ' | '; a href => "mailto:$self->{admin_email}", $self->{admin_email}; txt ' | '; - a href => $self->{source_url}, 'source'; + a href => $self->{source_url}, mt '_footer_source'; end; end; # /div maincontent end; # /body -- cgit v1.2.3