summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/ULists.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/ULists.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/ULists.pm')
-rw-r--r--lib/VNDB/Handler/ULists.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/ULists.pm b/lib/VNDB/Handler/ULists.pm
index 65e7fc84..3cffb9e6 100644
--- a/lib/VNDB/Handler/ULists.pm
+++ b/lib/VNDB/Handler/ULists.pm
@@ -316,7 +316,7 @@ sub _vnlist_browse {
end;
td class => 'tc2';
cssicon "lang $_", mt "_lang_$_" for @{$_->{languages}};
- cssicon substr(lc $self->{release_types}[$_->{type}], 0, 3), $self->{release_types}[$_->{type}].' release';
+ cssicon "rt$_->{type}", mt("_rtype_$_->{type}").' release';
end;
td class => 'tc3';
a href => "/r$_->{rid}", title => $_->{original}||$_->{title}, shorten $_->{title}, 50;