- $$page_content .= "<h2>Download Page for <kbd>$filen</kbd> $arch_string</h2>\n".
- "<p>You can download the requested file from the <tt>";
- $$page_content .= join( '/', @file_components).'/';
- $$page_content .= "</tt> subdirectory at";
- $$page_content .= $archive ne 'security' ? " any of these sites:" : ":";
- $$page_content .= "</p>\n";
+ if ($arch ne 'all') {
+ $$page_content .= '<h2>'.sprintf( _g('Download Page for <kbd>%s</kbd> on %s machines'), $filen, $arches{$arch} ).'</h2>';
+ } else {
+ $$page_content .= '<h2>'.sprintf( _g('Download Page for <kbd>%s</kbd>'), $filen ).'</h2>';
+ }
+ my $directory = join( '/', @file_components).'/';
+ if ($archive ne 'security' ) {
+ $$page_content .= "<p>".sprintf( _g( 'You can download the requested file from the <tt>%s</tt> subdirectory at any of these sites:' ), $directory )."</p>\n";
+ } else {
+ $$page_content .= "<p>".sprintf( _g( 'You can download the requested file from the <tt>%s</tt> subdirectory at:' ), $directory )."</p>\n";
+ }
+
+ hint(sprintf(_g("If you are running Debian, it's strongly suggested to use a
+ package manager like <a href=\"%s\">aptitude</a> or <a
+ href=\"%s\">synaptic</a> to download and install
+ packages, instead of doing so manually via this website."),
+ make_url('aptitude','',{arch=>undef}),
+ make_url('synaptic','',{arch=>undef}) ) );