diff options
author | Yorhel <git@yorhel.nl> | 2009-10-07 14:16:36 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-10-07 14:16:36 +0200 |
commit | 246165b399856e207295773da2c03b135c1ca86a (patch) | |
tree | 2c3d25b2c23e40e2f4806f574ff4bdde9708fbe7 /lib/VNDB/Func.pm | |
parent | de8d188a37b651a59a6460c0ead0e7aa4edab858 (diff) |
L10N: Extracted release list statuses
Should be converted to enums at some point... integers don't do the
trick here.
Diffstat (limited to 'lib/VNDB/Func.pm')
-rw-r--r-- | lib/VNDB/Func.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Func.pm b/lib/VNDB/Func.pm index cd4c4b62..ad38215e 100644 --- a/lib/VNDB/Func.pm +++ b/lib/VNDB/Func.pm @@ -149,10 +149,10 @@ sub gtintype { sub liststat { my $l = shift; return '' if !$l; - my $rs = $YAWF::OBJ->{vn_rstat}[$l->{rstat}]; + my $rs = mt('_rlst_rstat_'.$l->{rstat}); $rs = qq|<b class="done">$rs</b>| if $l->{rstat} == 2; # Obtained $rs = qq|<b class="todo">$rs</b>| if $l->{rstat} < 2; # Unknown/pending - my $vs = $YAWF::OBJ->{vn_vstat}[$l->{vstat}]; + my $vs = mt('_rlst_vstat_'.$l->{vstat}); $vs = qq|<b class="done">$vs</b>| if $l->{vstat} == 2; # Finished $vs = qq|<b class="todo">$vs</b>| if $l->{vstat} == 0 || $l->{vstat} == 4; # Unknown/dropped return "$rs / $vs"; |