diff options
author | Yorhel <git@yorhel.nl> | 2009-09-27 10:01:46 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-09-27 10:01:46 +0200 |
commit | 9d733c1d82f5b2b8013d3d921f66cc962fea8048 (patch) | |
tree | 72be2e064f5b410fe988cb7f417f143f2d63a9e4 /lib/VNDB/Handler/VNPage.pm | |
parent | 2c6f9360a25fd576fce5b35f3f512c05429d9d57 (diff) |
Converted anime.type to ENUM and made them translatable
Again, two separate but related things.
Diffstat (limited to 'lib/VNDB/Handler/VNPage.pm')
-rw-r--r-- | lib/VNDB/Handler/VNPage.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/VNPage.pm b/lib/VNDB/Handler/VNPage.pm index f244c098..74aef27f 100644 --- a/lib/VNDB/Handler/VNPage.pm +++ b/lib/VNDB/Handler/VNPage.pm @@ -337,7 +337,7 @@ sub _anime { txt '] '; end; acronym title => $_->{title_kanji}||$_->{title_romaji}, shorten $_->{title_romaji}, 50; - b ' ('.(defined $_->{type} ? $self->{anime_types}[$_->{type}].', ' : '').$_->{year}.')'; + b ' ('.(defined $_->{type} ? mt("_animetype_$_->{type}").', ' : '').$_->{year}.')'; txt "\n"; } } |