summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-08-16 09:48:29 +0200
committerYorhel <git@yorhel.nl>2009-08-17 16:27:15 +0200
commit5684e4821c0e0bdffa523e886e6644649e8f519a (patch)
treed3070a670c3877352b889a85de8f768947861b31 /lib/VNDB/Util
parent9e0d927405b2eb82b7f518fa1f7f28b3fa1e53ca (diff)
L10N: Converted homepage and history pages
There are a few things left hardcoded, though: The 'expand' link is also in Javascript, that will probably need some mechanism for TL as well. The format of the items on the homepage might need to change depending on the language, I can imagine that not every language uses the 'title by name' construct. Especially the age() function needs a localized version.
Diffstat (limited to 'lib/VNDB/Util')
-rw-r--r--lib/VNDB/Util/CommonHTML.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VNDB/Util/CommonHTML.pm b/lib/VNDB/Util/CommonHTML.pm
index 84436c8d..5bfaf94c 100644
--- a/lib/VNDB/Util/CommonHTML.pm
+++ b/lib/VNDB/Util/CommonHTML.pm
@@ -507,10 +507,10 @@ sub htmlHistory {
pageurl => $url,
class => 'history',
header => [
- sub { td colspan => 2, class => 'tc1', 'Rev.' },
- [ 'Date' ],
- [ 'User' ],
- sub { td; a href => '#', id => 'history_comments', 'expand'; txt 'Page'; end; }
+ sub { td colspan => 2, class => 'tc1', mt '_hist_col_rev' },
+ [ mt '_hist_col_date' ],
+ [ mt '_hist_col_user' ],
+ sub { td; a href => '#', id => 'history_comments', 'expand'; txt mt '_hist_col_page'; end; }
],
row => sub {
my($s, $n, $i) = @_;