X-Git-Url: https://git.deb.at/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fhtml%2Fshow.tmpl;h=ec71a19cf074c22983515dfd5319d0c4e77b2a5e;hb=a98e2f32ffcd19a821efcc5e74480192600a8531;hp=808c517aef6e94e68c8789bc93e1f0be9288ca2d;hpb=0826daa3d7e40754506b392b395aaf66974c5598;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 808c517..ec71a19 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('Warning: This package is from the experimental distribution. -That means it is likely unstable or buggy, and it may even cause data loss. -Please be sure to consult the changelog and other possible documentation before -using it.', changelog_link) %]
+[% g('Warning: This package is from the experimental distribution. That means it is likely unstable or buggy, and it may even cause data loss. Please be sure to consult the changelog and other possible documentation before using it.', + changelog_link) %]
[% END %] [% IF subsection == "debian-installer" %][% g('Warning: This package is intended for the use in building -debian-installer images only. -Do not install it on a normal %s system.', organisation ) %]
+[% g('Warning: This package is intended for the use in building debian-installer images only. Do not install it on a normal %s system.', + organisation ) %]
[% END %][% 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 %] @@ -177,16 +199,18 @@ Do not install it on a normal %s system.', organisation ) %] [% FOREACH tag IN tags %] [% IF loop.first -%] [% END %] -[% FOREACH binaries %] +[% FOREACH b IN binaries %] [% IF loop.first %]