X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=7037fee2d9a3037b258584e3f4e3f0f4cb2bd1c3;hp=b6179f9ada3d0f543a052b059cd03d98ff930782;hb=05972114f36a4a9cb076dec5320337a35462f3b9;hpb=2ce97a428f8c822ca734d60a8be0a02edeb8573e diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index b6179f9..7037fee 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 -%] @@ -62,7 +63,7 @@ [% UNLESS is_virtual %]

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

-

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

+

[% g('%s Resources:', organisation) %]