diff options
author | Yorhel <git@yorhel.nl> | 2016-01-19 20:29:40 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2016-01-20 21:16:55 +0100 |
commit | a6836df277867d73a71c55797984c947449772cc (patch) | |
tree | c72a326dd844c3c23a932dc76dc159200c1dfcdb /lib/VNDB/Util/BrowseHTML.pm | |
parent | 0caed2e7674e8ee7419365e76f86d06c33b8c8aa (diff) |
L10N: Intern all VNDB::Util::* stuff
With some related edits in other parts of the code, mostly due to
interface changes to htmlRevision() and htmlFormError().
Trivial replacements were automated by a super awesome script.
Diffstat (limited to 'lib/VNDB/Util/BrowseHTML.pm')
-rw-r--r-- | lib/VNDB/Util/BrowseHTML.pm | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/VNDB/Util/BrowseHTML.pm b/lib/VNDB/Util/BrowseHTML.pm index faa9ea3c..c3115017 100644 --- a/lib/VNDB/Util/BrowseHTML.pm +++ b/lib/VNDB/Util/BrowseHTML.pm @@ -107,16 +107,16 @@ sub htmlBrowseNavigate { my $nc = 5; # max. number of buttons on each side ul class => 'maintabs browsetabs ' . ($al eq 't' ? 'notfirst' : 'bottom'); - $p > 2 and ref $np and $tab->(1, 1, '« '.mt '_browse_first'); + $p > 2 and ref $np and $tab->(1, 1, '« first'); $p > $nc+1 and ref $np and $ell->(1); $p > $_ and ref $np and $tab->(1, $p-$_, $p-$_) for (reverse 2..($nc>$p-2?$p-2:$nc-1)); - $p > 1 and $tab->(1, $p-1, '‹ '.mt '_browse_previous'); + $p > 1 and $tab->(1, $p-1, '‹ previous'); my $l = ceil($cnt/$pp)-$p+1; - $l > 2 and $tab->(0, $l+$p-1, mt('_browse_last').' »'); + $l > 2 and $tab->(0, $l+$p-1, 'last »'); $l > $nc+1 and $ell->(0); $l > $_ and $tab->(0, $p+$_, $p+$_) for (reverse 2..($nc>$l-2?$l-2:$nc-1)); - $l > 1 and $tab->(0, $p+1, mt('_browse_next').' ›'); + $l > 1 and $tab->(0, $p+1, 'next ›'); end 'ul'; } @@ -130,10 +130,10 @@ sub htmlBrowseHist { pageurl => $url, class => 'history', header => [ - sub { td class => 'tc1_1', mt '_hist_col_rev'; td class => 'tc1_2', ''; }, - [ mt '_hist_col_date' ], - [ mt '_hist_col_user' ], - [ mt '_hist_col_page' ], + sub { td class => 'tc1_1', 'Rev.'; td class => 'tc1_2', ''; }, + [ 'Date' ], + [ 'User' ], + [ 'Page' ], ], row => sub { my($s, $n, $i) = @_; @@ -170,15 +170,15 @@ sub htmlBrowseVN { pageurl => "$url;o=$f->{o};s=$f->{s}", sorturl => $url, header => [ - $tagscore ? [ mt('_vnbrowse_col_score'), 'tagscore', undef, 'tc_s' ] : (), - [ mt('_vnbrowse_col_title'), 'title', undef, $tagscore ? 'tc_t' : 'tc1' ], + $tagscore ? [ 'Score', 'tagscore', undef, 'tc_s' ] : (), + [ 'Title', 'title', undef, $tagscore ? 'tc_t' : 'tc1' ], $f->{vnlist} ? [ '', 0, undef, 'tc7' ] : (), $f->{wish} ? [ '', 0, undef, 'tc8' ] : (), [ '', 0, undef, 'tc2' ], [ '', 0, undef, 'tc3' ], - [ mt('_vnbrowse_col_released'), 'rel', undef, 'tc4' ], - [ mt('_vnbrowse_col_popularity'), 'pop', undef, 'tc5' ], - [ mt('_vnbrowse_col_rating'), 'rating', undef, 'tc6' ], + [ 'Released', 'rel', undef, 'tc4' ], + [ 'Popularity', 'pop', undef, 'tc5' ], + [ 'Rating', 'rating', undef, 'tc6' ], ], row => sub { my($s, $n, $l) = @_; |