summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/VNPage.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2015-07-20 01:41:27 +0200
committerYorhel <git@yorhel.nl>2015-07-20 01:41:27 +0200
commitc1bc3e9da4a48d3354c46cc39e833b185a69377e (patch)
tree1269dbab1dafbcd4b2e9514407f873f4d7972ee4 /lib/VNDB/Handler/VNPage.pm
parent8b8cf479c0e1f9fe87133fa0680fc013dc858553 (diff)
L10N: Support plural forms for charroles
Used /v+/chars, other occurrences just use singular.
Diffstat (limited to 'lib/VNDB/Handler/VNPage.pm')
-rw-r--r--lib/VNDB/Handler/VNPage.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/VNPage.pm b/lib/VNDB/Handler/VNPage.pm
index f7df28fb..ae976fa2 100644
--- a/lib/VNDB/Handler/VNPage.pm
+++ b/lib/VNDB/Handler/VNPage.pm
@@ -1088,7 +1088,7 @@ sub _chars {
a href => '#', mt '_vnpage_tags_spoil2';
end;
}
- h1 mt "_charrole_$r";
+ h1 mt "_charrole_$r", scalar @{$rol{$r}};
for my $c (@{$rol{$r}}) {
my $minspoil = 5;
$minspoil = $_->{vid} == $v->{id} && $_->{spoil} < $minspoil ? $_->{spoil} : $minspoil