X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;ds=sidebyside;f=templates%2Fhtml%2Fshow.tmpl;h=c380d9f30d2e2af28fa11f5ed9885cd34fd5dddf;hb=ba8ce6005b88be5d6ded406c4692b2d92238b02e;hp=9ab8f48ff73fd2526d40480c15efd1e9fada4f3f;hpb=a6146cf5473f4b13172414851b63894024394cb3;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 9ab8f48..c380d9f 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -16,7 +16,8 @@ nav_arr.push( { prefix=>g('Section:'), title=>g('All packages in this section'), url=>make_url("$subsection/"), name=>subsection } ); nav_arr.push( { prefix=>g('Package:'), name=>pkg } ); -%] [% desclang = 'en'; - SET desclang = lang IF desc.$lang.long %] + SET desclang = po_lang IF desc.$po_lang.long; + SET desclang = ddtp_lang IF desc.$ddtp_lang.long %] [%- PROCESS 'html/head.tmpl' title_tag = is_source ? g('Details of source package %s in %s', pkg, suite) : g('Details of package %s in %s', pkg, suite) @@ -29,7 +30,7 @@ navigation = nav_arr -%] -[% PROCESS 'html/menu.inc' %] +[% PROCESS 'html/util.inc' %] [% FOREACH s IN suites %] [% '
[% g('Download Source Package %s:', src.url, src.pkg) %] +
[% desc.$desclang.long %] [% END %] [% ELSE %] +
[% g('This is a virtual package. See the Debian policy for a definition of virtual packages.', policy_url, policy_url) %]
[% END %] @@ -181,12 +204,12 @@ [% FOREACH tag IN tags %] [% IF loop.first -%] @@ -215,7 +238,7 @@ [% FOREACH b IN binaries %] [% IF loop.first %]