summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/ULists.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/ULists.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/ULists.pm')
-rw-r--r--lib/VNDB/Handler/ULists.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Handler/ULists.pm b/lib/VNDB/Handler/ULists.pm
index 3cffb9e6..f01d0db2 100644
--- a/lib/VNDB/Handler/ULists.pm
+++ b/lib/VNDB/Handler/ULists.pm
@@ -170,7 +170,7 @@ sub wishlist {
a href => "/v$i->{vid}", title => $i->{original}||$i->{title}, ' '.shorten $i->{title}, 70;
end;
td class => 'tc2', ucfirst $self->{wishlist_status}[$i->{wstat}];
- td class => 'tc3', date $i->{added}, 'compact';
+ td class => 'tc3', $self->{l10n}->date($i->{added}, 'compact');
end;
},
$own ? (footer => sub {
@@ -312,7 +312,7 @@ sub _vnlist_browse {
td class => 'tc1'.($own ? ' own' : '');
input type => 'checkbox', name => 'sel', value => $_->{rid}
if $own;
- lit datestr $_->{released};
+ lit $self->{l10n}->datestr($_->{released});
end;
td class => 'tc2';
cssicon "lang $_", mt "_lang_$_" for @{$_->{languages}};