X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fdownload.tmpl;h=66b921204a177ac1c0f32d45c13a084803868ffc;hp=4a405f24da53a63ee079e1d9a5b79120b4714891;hb=65c3333549a7b7db89fd908a68cc337431e8189b;hpb=650e3b989de974b2a097fdb433beb1a6de2d115c diff --git a/templates/html/download.tmpl b/templates/html/download.tmpl index 4a405f2..66b9212 100644 --- a/templates/html/download.tmpl +++ b/templates/html/download.tmpl @@ -1,11 +1,11 @@ [%- PROCESS 'html/head.tmpl' - title_tag = "Package Download Selection -- $filename.file" + title_tag = g('Package Download Selection -- %s', filename.file) description = desc keywords = "$suite, $archive, $section, $subsection, $version" - navigation = [ { prefix=>'Distribution:', title=>'Overview over this suite', url=>make_url('/'), name=>suite }, - { prefix=>'Package:', url=>make_url(pkg,'','arch',undef), name=>pkg }, + navigation = [ { prefix=>g('Distribution:'), title=>g('Overview over this suite'), url=>make_url('/'), name=>suite }, + { prefix=>g('Package:'), url=>make_url(pkg,'','arch',undef), name=>pkg }, { url=>make_url(pkg), name=>architecture }, - { name => 'Download' }, + { name => g('Download') }, ] -%] [%- PROCESS 'config/archive_layout.tmpl' -%] @@ -14,47 +14,40 @@ [%- PROCESS 'html/messages.tmpl' -%] [% IF architecture != 'all' %] -

Download Page for [% filename.file %] on [% architectures.$architecture %] machines

+

[% g('Download Page for %s on %s machines', filename.file, architectures.$architecture) %]

[% ELSE %] -

Download Page for [% filename.file %]

+

[% g('Download Page for %s', filename.file) %]

[% END %]
-

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

-

You should be able to use any of the listed mirrors by adding a -line to your /etc/apt/sources.list like this:

+

[% 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" %]
 deb http://[% mirrors.$archive.europa.0 %] [% suite %] main [% section IF section != main_section %]
 
-

Replacing [% mirrors.$archive.europa.0 %] with the mirror in question. +

[% g('Replacing %s with the mirror in question.', mirrors.$archive.europa.0) %] [% ELSE %]

-deb http://security.debian.org/debian-security [% suite _ "/updates" %] main [% section IF section != main_section %]
+deb [% 'http://' _ security_mirror_url %] [% suite _ security_suite_suffix %] main [% section IF section != main_section %]
 
[%- END %] [% IF suite == "experimental" %] -

Experimental package

-

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

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

debian-installer udeb package

-

Warning: This package is intended for the use in building -debian-installer images only. -Do not install it on a normal Debian system.

+

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

[% END %]
[%- SET a = mirrors.$archive -%] [% IF archive != 'security' %] -

You can download the requested file from the [% filename.directory %] subdirectory at any of these sites:

+

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

[% FOREACH continent IN [ 'north_america', 'south_america', 'asia', 'africa' ] %] [% IF a.$continent %] @@ -79,16 +72,16 @@ Do not install it on a normal Debian system.

[% END %]
[% ELSE %] -

You can download the requested file from the [% filename.directory %] subdirectory at:

- -

Debian security updates are currently officially distributed only via security.debian.org

+

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

+ +

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

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

If none of the above sites are fast enough for you, -please see our complete 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 %] @@ -96,22 +89,20 @@ please see our complete mirror list.

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

Note that [% port.name %] is not officially included in the [% organisation %] archive yet, -but the [% port.name %] porter group keeps their archive in sync with the official archive as close as possible. -See the [% port.name %] 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 %] -

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

-

More information on [% filename.file %]:

+

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

- - - - + + + +
Exact Size [% size %] Byte ([% pkgsize %] [% pkgsize_unit %])
MD5 checksum [% md5sum %]
SHA1 checksum [% sha1 || 'Not Available' %]
SHA256 checksum [% sha256 || 'Not Available' %]
[% g('Exact Size') %] [% g('%s Byte (%s %s)', size, pkgsize, pkgsize_unit) %]
[% g('MD5 checksum') %] [% md5sum %]
[% g('SHA1 checksum') %] [% sha1 || g('Not Available') %]
[% g('SHA256 checksum') %] [% sha256 || g('Not Available') %]
[%- PROCESS 'html/foot.tmpl' -%]