summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/VNPage.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-08-16 14:23:27 +0200
committerYorhel <git@yorhel.nl>2009-08-17 16:27:15 +0200
commit14def396a3f2f148ad48d04740d0f022d80e8cf8 (patch)
treefa3cc984f8fe5f1a1cc922a43c25bc32dd50c8c1 /lib/VNDB/Handler/VNPage.pm
parenta645b404e49ce4b1d90dc05c7da44eb0e8ffc117 (diff)
L10N: Converted producer and release types
And replaced the ugly release type cssicon class hack. The class is now 'tr'.$type_numer, instead of the first three characters of their English representation in lowercase. No idea why I haven't done it this way in the first place...
Diffstat (limited to 'lib/VNDB/Handler/VNPage.pm')
-rw-r--r--lib/VNDB/Handler/VNPage.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/VNPage.pm b/lib/VNDB/Handler/VNPage.pm
index a2d64297..b618f792 100644
--- a/lib/VNDB/Handler/VNPage.pm
+++ b/lib/VNDB/Handler/VNPage.pm
@@ -385,7 +385,7 @@ sub _releases {
next if $_ eq 'oth';
cssicon $_, mt "_plat_$_";
}
- cssicon lc(substr($self->{release_types}[$rel->{type}],0,3)), $self->{release_types}[$rel->{type}];
+ cssicon "rt$rel->{type}", mt "_rtype_$rel->{type}";
end;
td class => 'tc4';
a href => "/r$rel->{id}", title => $rel->{original}||$rel->{title}, $rel->{title};