X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fdownload.tmpl;h=97ef81e054d9d9ecb77499d944facfddbde14e5e;hp=360d0cfc5cc2c4a6961c42c320881297de0de1ac;hb=1c880dbbb5b885dd620120354e735c06280030df;hpb=0880bf05ed7ba9b5700e0df614bfe607344f07b8 diff --git a/templates/html/download.tmpl b/templates/html/download.tmpl index 360d0cf..97ef81e 100644 --- a/templates/html/download.tmpl +++ b/templates/html/download.tmpl @@ -20,35 +20,31 @@ [% END %]
-

[% g('If you are running %s, it is strongly suggested to use a -package manager like aptitude or -synaptic to download and install -packages, instead of doing so manually via this website.', +

[% g('If you are running %s, it is strongly suggested to use a package manager like aptitude or synaptic to download and install packages, instead of doing so manually via this website.', organisation, make_url('aptitude','','arch',''), make_url('synaptic','','arch','')) %]

-

[% g('You should be able to use any of the listed mirrors by adding a -line to your /etc/apt/sources.list like this:') %]

-[% IF archive != "security" %] +

[% g('You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list like this:') %]

+[% IF archive == "volatile" %]
-deb http://[% mirrors.$archive.europa.0 %] [% suite %] main [% section IF section != main_section %]
+deb http://[% mirrors.$archive.europa.0 %] [% suite.replace('-','/') %] main [% section IF section != main_section %]
 

[% g('Replacing %s with the mirror in question.', mirrors.$archive.europa.0) %] +[% ELSIF archive == "security" %] +

+deb [% 'http://' _ security_mirror_url %] [% suite _ security_suite_suffix %] main [% section IF section != main_section %]
+
[% ELSE %]
-deb http://security.debian.org/debian-security [% suite _ "/updates" %] main [% section IF section != main_section %]
+deb http://[% mirrors.$archive.europa.0 %] [% suite %] main [% section IF section != main_section %]
 
+

[% g('Replacing %s with the mirror in question.', mirrors.$archive.europa.0) %] [%- END %] [% IF suite == "experimental" %]

[% g('Experimental package') %]

-

[% 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.') %]

+

[% 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.') %]

[% END %] [% IF subsection == "debian-installer" %]

[% g('debian-installer udeb package') %]

-

[% 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 %]
@@ -82,15 +78,15 @@ Do not install it on a normal %s system.', organisation) %]

[% ELSE %]

[% g('You can download the requested file from the %s subdirectory at:', filename.directory) %]

- -

[% g('Debian security updates are currently officially distributed only via security.debian.org.') %]

+ +

[% g('%s security updates are officially distributed only via %s.', + organisation, security_mirror) %]

[% END %]
[% IF a.mirror_list %] -

[% g('If none of the above sites are fast enough for you, -please see our complete mirror list.', a.mirror_list ) %]

+

[% g('If none of the above sites are fast enough for you, please see our complete mirror list.', a.mirror_list ) %]

[% END %] [% IF a.unofficial_port %] @@ -98,23 +94,20 @@ please see our complete mirror list.', a.mirror_list ) %]

[% IF port.url_name; SET port.url = ports_url _ port.url_name _ '/'; END -%] -

[% g('Note that %s is not officially included in the %s archive yet, -but the %s porter group keeps their archive in sync with the official archive as close as possible. -See the %s ports page for current information.', +

[% g('Note that %s is not officially included in the %s archive yet, but the %s porter group keeps their archive in sync with the official archive as close as possible. See the %s ports page for current information.', port.name, organisation, port.name, port.url, port.name) %]

[% END %] -

[% g('Note that in some browsers you will need to tell your browser you want the file saved to a file. -For example, in Firefox or Mozilla, you should hold the Shift key when you click on the URL.') %]

+

[% g('Note that in some browsers you will need to tell your browser you want the file saved to a file. For example, in Firefox or Mozilla, you should hold the Shift key when you click on the URL.') %]

[% g('More information on %s:', filename.file) %]

- +
[% g('Exact Size') %] [% g('%s Byte (%s %s)', size, pkgsize, pkgsize_unit) %]
[% g('Exact Size') %] [% g('%s Byte (%s %s)', size, num.format_number(pkgsize,1), pkgsize_unit) %]
[% g('MD5 checksum') %] [% md5sum %]
[% g('SHA1 checksum') %] [% sha1 || g('Not Available') %]
[% g('SHA256 checksum') %] [% sha256 || g('Not Available') %]
-[%- PROCESS 'html/foot.tmpl' -%] +[%- PROCESS 'html/foot.tmpl' page_name="$pkg/download" -%]