[% nav_arr = [ { name=> suite, url=>make_url('/','','suite',suite) } ];
- nav_arr.push( { name => 'Source' } ) IF source;
- nav_arr.push( { name => 'Index' } );
+ nav_arr.push( { name => g('Source') } ) IF source;
+ nav_arr.push( { name => g('Index') } );
PROCESS 'html/head.tmpl'
- title_tag = "List of sections in \"$suite\""
+ title_tag = g('List of sections in "%s"', suite)
keywords = suite
navigation = nav_arr
%]
-[% PROCESS 'html/menu.inc' %]
+[% PROCESS 'html/util.inc' %]
[% FOREACH s IN suites %]
[% '<div id="pothers">' IF loop.first %]
[%- IF s == suite -%]
[%- '</div>' IF loop.last -%]
[% END %]
-<h1>List of sections in "[% suite %]"</h1>
+<h1>[% g('List of sections in "%s"', suite) %]</h1>
[% FOREACH subsections %]
[% '<div id="lefthalfcol"><dl>' IF loop.first %]
[% '</dl></div>' IF loop.last %]
[% END %]
+[% link_title = is_source ? g('List of all source packages')
+ : g('List of all packages');
+ link_text = is_source ? g('All source packages')
+ : g('All packages');
+-%]
<p class="psmallcenter">
- <a href="allpackages" title="List of all [% "source " IF source %]packages">All [% "source " IF source %]packages</a><br>
- (<a href="allpackages?format=txt.gz">compact compressed textlist</a>)
+ <a href="allpackages" title="[% link_title %]">[% link_text %]</a><br>
+ (<a href="allpackages?format=txt.gz">[% g('compact compressed textlist') %]</a>)
</p>
+
+[%- PROCESS 'html/foot.tmpl' -%]