summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/ULists.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2013-01-21 13:07:33 +0100
committerYorhel <git@yorhel.nl>2013-01-21 13:07:33 +0100
commit6f5d0ae1bacab24e4ba9c854501930572f84d256 (patch)
tree9c72bb6ce3f527cd33a42eee45b4d9c2edc6e20d /lib/VNDB/Handler/ULists.pm
parentd2659304b32097e64f012a28f9c26c434c84f9e3 (diff)
I18N: Merge all translation strings that eval to "Unknown"
A generic '_unknown' is more easily usable.
Diffstat (limited to 'lib/VNDB/Handler/ULists.pm')
-rw-r--r--lib/VNDB/Handler/ULists.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/VNDB/Handler/ULists.pm b/lib/VNDB/Handler/ULists.pm
index 94e3a3fe..cdc30d01 100644
--- a/lib/VNDB/Handler/ULists.pm
+++ b/lib/VNDB/Handler/ULists.pm
@@ -405,7 +405,7 @@ sub vnlist {
end;
p class => 'browseopts';
a href => $url->(t => -1), -1 == $f->{t} ? (class => 'optselected') : (), mt '_rlist_all';
- a href => $url->(t => $_), $_ == $f->{t} ? (class => 'optselected') : (), mt '_vnlist_status_'.$_ for @{$self->{vnlist_status}};
+ a href => $url->(t => $_), $_ == $f->{t} ? (class => 'optselected') : (), mtvnlstat $_ for @{$self->{vnlist_status}};
end;
end 'div';
@@ -451,7 +451,7 @@ sub _vnlist_browse {
a href => "/v$i->{vid}", title => $i->{original}||$i->{title}, shorten $i->{title}, 70;
b class => 'grayedout', $i->{notes} if $i->{notes};
end;
- td class => 'tc6', $i->{status} ? mt '_vnlist_status_'.$i->{status} : '';
+ td class => 'tc6', $i->{status} ? mtvnlstat $i->{status} : '';
td class => 'tc7';
my $obtained = grep $_->{status}==2, @{$i->{rels}};
my $total = scalar @{$i->{rels}};
@@ -479,7 +479,7 @@ sub _vnlist_browse {
td class => 'tc5';
a href => "/r$_->{rid}", title => $_->{original}||$_->{title}, shorten $_->{title}, 50;
end;
- td class => 'tc6', $_->{status} ? mt '_rlist_status_'.$_->{status} : '';
+ td class => 'tc6', $_->{status} ? mtrlstat $_->{status} : '';
td class => 'tc7_8', colspan => 2, '';
end 'tr';
}
@@ -493,7 +493,7 @@ sub _vnlist_browse {
Select id => 'vns', name => 'vns';
option value => -2, mt '_rlist_withvn';
optgroup label => mt '_rlist_changestat';
- option value => $_, mt "_vnlist_status_$_"
+ option value => $_, mtvnlstat $_
for (@{$self->{vnlist_status}});
end;
option value => 999, mt '_rlist_setnote';
@@ -502,7 +502,7 @@ sub _vnlist_browse {
Select id => 'rel', name => 'rel';
option value => -2, mt '_rlist_withrel';
optgroup label => mt '_rlist_changestat';
- option value => $_, mt "_rlist_status_$_"
+ option value => $_, mtrlstat $_
for (@{$self->{rlist_status}});
end;
option value => -1, mt '_rlist_del';