X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=e72e61a253e667967a13cd8728334167ddc5f870;hb=c883af946ec2cdf1b20a2fac5c532812fae1270f;hp=44e17f8ff248b12962dc80cdda9c2f91a12ad60f;hpb=521d37cabacba094a835af7c0149dc022122423e;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 44e17f8..e72e61a 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 %] [% '
' IF loop.first %] [%- IF s == suite -%] @@ -64,13 +65,7 @@

[% g('Links for %s', pkg) %]

[% g('Debian Resources:') %]