X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=19c0f08fc5d135b25beea9c5bd19d97d3dbdc671;hb=214891c4361ffbae032f964ecdc0f114c63c9544;hp=eee041bbe128031f15eb1e414a672a063aec867f;hpb=8ac8fa1f369ab0073709518ec2a8d44aa859afcf;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index eee041b..19c0f08 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('Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.', + "https://bugs.launchpad.net/ubuntu/+source/$src.pkg/+filebug", + "https://answers.launchpad.net/ubuntu/+source/$src.pkg/+addquestion") %]
+[%- END -%] + +[%- IF original_maintainers.size -%] +[% IF original_maintainers.size == 1 -%] +[% g('It should generally not be necessary for users to contact the original maintainer.') %]
[%- END -%] [% url = page.get_newest('url'); @@ -121,7 +151,7 @@ IF url %][% 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 %] @@ -174,12 +205,12 @@ [% FOREACH tag IN tags %] [% IF loop.first -%] [% END %] -[% FOREACH binaries %] +[% FOREACH b IN binaries %] [% IF loop.first %]