summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-09-24 14:00:56 +0200
committerYorhel <git@yorhel.nl>2009-09-24 14:00:56 +0200
commitd1e395e4197c40b7fd26f1b2dcf75a96d4b2b99e (patch)
tree2264fea8a75ad8e3a18f0e983856ce9b69bfba8f
parent00302970ff88d28c4ecb1009ec48895d75e164fe (diff)
L10N: Translated the 'ALL' char and fixed footer TL bug
-rw-r--r--data/lang.txt6
-rw-r--r--lib/VNDB/Handler/Producers.pm2
-rw-r--r--lib/VNDB/Handler/Users.pm2
-rw-r--r--lib/VNDB/Handler/VNBrowse.pm2
-rw-r--r--lib/VNDB/Util/LayoutHTML.pm4
5 files changed, 11 insertions, 5 deletions
diff --git a/data/lang.txt b/data/lang.txt
index 37569a57..c7267fe2 100644
--- a/data/lang.txt
+++ b/data/lang.txt
@@ -602,6 +602,12 @@ en : The Visual Novel Database
ru : The Visual Novel Database
+# the 'ALL' in "ALL A B C D .. #"
+:_char_all
+en : ALL
+ru : ВСЕ
+
+
# Main menu
:_menu
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