diff options
author | Yorhel <git@yorhel.nl> | 2010-01-09 15:14:01 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2010-01-09 15:14:01 +0100 |
commit | 2b7e95b01b33fbf5d289b063460a6e318e4f4c5a (patch) | |
tree | 16451a52c160b80a67c3d4a300c7108affdf9f42 /lib/VNDB/Handler/Releases.pm | |
parent | 975ac4c2eb856b060fae5f6cd014cc338ca2e799 (diff) |
L10N: Extracted/fixed some more strings on revision pages
Diffstat (limited to 'lib/VNDB/Handler/Releases.pm')
-rw-r--r-- | lib/VNDB/Handler/Releases.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/VNDB/Handler/Releases.pm b/lib/VNDB/Handler/Releases.pm index 7c365af7..498b9fa9 100644 --- a/lib/VNDB/Handler/Releases.pm +++ b/lib/VNDB/Handler/Releases.pm @@ -40,13 +40,13 @@ sub page { map sprintf('<a href="/v%d" title="%s">%s</a>', $_->{vid}, $_->{original}||$_->{title}, shorten $_->{title}, 50), @{$_[0]}; } ], [ type => serialize => sub { mt "_rtype_$_[0]" } ], - [ patch => serialize => sub { $_[0] ? 'Patch' : 'Not a patch' } ], - [ freeware => serialize => sub { $_[0] ? 'yes' : 'nope' } ], - [ doujin => serialize => sub { $_[0] ? 'yups' : 'nope' } ], + [ patch => serialize => sub { mt $_[0] ? '_revision_yes' : '_revision_no' } ], + [ freeware => serialize => sub { mt $_[0] ? '_revision_yes' : '_revision_no' } ], + [ doujin => serialize => sub { mt $_[0] ? '_revision_yes' : '_revision_no' } ], [ title => diff => 1 ], [ original => diff => 1 ], - [ gtin => serialize => sub { $_[0]||'[none]' } ], - [ catalog => serialize => sub { $_[0]||'[none]' } ], + [ gtin => serialize => sub { $_[0]||mt '_revision_empty' } ], + [ catalog => serialize => sub { $_[0]||mt '_revision_empty' } ], [ languages => join => ', ', split => sub { map mt("_lang_$_"), @{$_[0]} } ], [ 'website' ], [ released => htmlize => sub { $self->{l10n}->datestr($_[0]) } ], |