summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--data/lang.txt18
-rw-r--r--lib/VNDB/Handler/VNPage.pm8
3 files changed, 23 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 54379b02..98d46ab0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,7 +7,7 @@ git - ?
- Tweaked Multi's idlequote timings
- Added :SUBSUB: macro to the doc pages
- Allow NULL values for releases_rev.minage
- - Made age ratings translatable
+ - Made age ratings and external VN link titles translatable
- Added wikipedia link for producers
2.8 - 2009-10-24
diff --git a/data/lang.txt b/data/lang.txt
index 06975ddc..e0e7bfce 100644
--- a/data/lang.txt
+++ b/data/lang.txt
@@ -5345,6 +5345,24 @@ ru : Ссылки
cs : Odkazy
hu : Linkek
+:_vnpage_l_wp
+en : Wikipedia
+ru*:
+cs*:
+hu*:
+
+:_vnpage_l_encubed
+en : Encubed
+ru*:
+cs*:
+hu*:
+
+:_vnpage_l_renai
+en : Renai.us
+ru*:
+cs*:
+hu*:
+
:_vnpage_description
en : Description
ru : Описание
diff --git a/lib/VNDB/Handler/VNPage.pm b/lib/VNDB/Handler/VNPage.pm
index 7a258d5a..b27fa58b 100644
--- a/lib/VNDB/Handler/VNPage.pm
+++ b/lib/VNDB/Handler/VNPage.pm
@@ -111,16 +111,16 @@ sub page {
end;
}
my @links = (
- $v->{l_wp} ? [ 'Wikipedia', 'http://en.wikipedia.org/wiki/%s', $v->{l_wp} ] : (),
- $v->{l_encubed} ? [ 'Encubed', 'http://novelnews.net/tag/%s/', $v->{l_encubed} ] : (),
- $v->{l_renai} ? [ 'Renai.us', 'http://renai.us/game/%s.shtml', $v->{l_renai} ] : (),
+ $v->{l_wp} ? [ 'wp', 'http://en.wikipedia.org/wiki/%s', $v->{l_wp} ] : (),
+ $v->{l_encubed} ? [ 'encubed', 'http://novelnews.net/tag/%s/', $v->{l_encubed} ] : (),
+ $v->{l_renai} ? [ 'renai', 'http://renai.us/game/%s.shtml', $v->{l_renai} ] : (),
);
if(@links) {
Tr ++$i % 2 ? (class => 'odd') : ();
td mt '_vnpage_links';
td;
for(@links) {
- a href => sprintf($_->[1], $_->[2]), $_->[0];
+ a href => sprintf($_->[1], $_->[2]), mt "_vnpage_l_$_->[0]";
txt ', ' if $_ ne $links[$#links];
}
end;