summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Misc.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-08-16 18:41:57 +0200
committerYorhel <git@yorhel.nl>2009-08-17 16:27:16 +0200
commit472f4055f3da696c8e4dd63eb34c538ec5d53a73 (patch)
treea5c91e35595b5f5926711fe2df7366c0061d55ef /lib/VNDB/Handler/Misc.pm
parentee47664ade604832bfb3ce56ea8490bdb4592c47 (diff)
L10N: Moved some functions from Func.pm to L10N.pm and added Russian quant() and age()
Diffstat (limited to 'lib/VNDB/Handler/Misc.pm')
-rw-r--r--lib/VNDB/Handler/Misc.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm
index 20b8c564..a0949c92 100644
--- a/lib/VNDB/Handler/Misc.pm
+++ b/lib/VNDB/Handler/Misc.pm
@@ -100,7 +100,7 @@ sub homepage {
for (@$posts) {
my $boards = join ', ', map $self->{discussion_boards}{$_->{type}}.($_->{iid}?' > '.$_->{title}:''), @{$_->{boards}};
li;
- txt age($_->{ldate}).' ';
+ txt $self->{l10n}->age($_->{ldate}).' ';
a href => "/t$_->{id}.$_->{count}", title => "Posted in $boards", shorten $_->{title}, 20;
txt ' by ';
a href => "/u$_->{luid}", $_->{lusername};
@@ -132,7 +132,7 @@ sub homepage {
ul;
for (@$upcoming) {
li;
- lit datestr $_->{released};
+ lit $self->{l10n}->datestr($_->{released});
txt ' ';
cssicon $_, mt "_plat_$_" for (@{$_->{platforms}});
txt ' ';
@@ -149,7 +149,7 @@ sub homepage {
ul;
for (@$justrel) {
li;
- lit datestr $_->{released};
+ lit $self->{l10n}->datestr($_->{released});
txt ' ';
cssicon $_, mt "_plat_$_" for (@{$_->{platforms}});
txt ' ';