summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-11-10 21:32:15 +0100
committerYorhel <git@yorhel.nl>2010-11-10 21:32:15 +0100
commitaecbeeb6564e9e21630ec933a56fe488c6b0b66d (patch)
treed74afdc3953b8c589451a5f8ee91a69225bec791
parent15808bc64c7717c0a157c24ee9bfd0a097daf707 (diff)
Handler::VNPage: display "official" relation status
-rw-r--r--data/lang.txt7
-rw-r--r--lib/VNDB/Handler/VNPage.pm1
2 files changed, 8 insertions, 0 deletions
diff --git a/data/lang.txt b/data/lang.txt
index d5a4884a..01c47f28 100644
--- a/data/lang.txt
+++ b/data/lang.txt
@@ -6536,6 +6536,13 @@ cs : Vztahy
hu : Összefüggések
nl : Relaties
+:_vnpage_relations_unofficial
+en : ~[unofficial~]
+ru*:
+cs*:
+hu*:
+nl : ~[officieus~]
+
:_vnpage_anime
en : Related anime
ru : Связанное аниме
diff --git a/lib/VNDB/Handler/VNPage.pm b/lib/VNDB/Handler/VNPage.pm
index 32188e00..4a4b3f4f 100644
--- a/lib/VNDB/Handler/VNPage.pm
+++ b/lib/VNDB/Handler/VNPage.pm
@@ -292,6 +292,7 @@ sub _relations {
dt mt "_vnrel_$_";
dd;
for (@{$rel{$_}}) {
+ b class => 'grayedout', mt('_vnpage_relations_unofficial').' ' if !$_->{official};
a href => "/v$_->{id}", title => $_->{original}||$_->{title}, shorten $_->{title}, 40;
br;
}