summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Misc.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2016-01-17 13:23:42 +0100
committerYorhel <git@yorhel.nl>2016-01-17 14:51:44 +0100
commit8e876179272ce79b0023f771be5f3842bf5ef679 (patch)
tree568bf5c3eb859d20bc6fc81c435326d21d444d51 /lib/VNDB/Handler/Misc.pm
parent110db705ecdfb5c89500ff8f24652bcd1e25fc45 (diff)
L10N: Intern blood_types/genders/(char|staff)_roles/discussion_boards
I definitely needed the Tie::IxHash thing for these.
Diffstat (limited to 'lib/VNDB/Handler/Misc.pm')
-rw-r--r--lib/VNDB/Handler/Misc.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm
index e36c0254..95bfe155 100644
--- a/lib/VNDB/Handler/Misc.pm
+++ b/lib/VNDB/Handler/Misc.pm
@@ -109,7 +109,7 @@ sub homepage {
my $posts = $self->dbThreadGet(what => 'lastpost boardtitles', results => 10, sort => 'lastpost', reverse => 1, notusers => 1);
ul;
for (@$posts) {
- my $boards = join ', ', map mt("_dboard_$_->{type}").($_->{iid}?' > '.$_->{title}:''), @{$_->{boards}};
+ my $boards = join ', ', map $self->{discussion_boards}{$_->{type}}.($_->{iid}?' > '.$_->{title}:''), @{$_->{boards}};
li;
lit mt '_home_recentposts_item', $_->{ldate},
sprintf('<a href="%s" title="%s">%s</a>', "/t$_->{id}.$_->{count}",